/* Variables CSS */
:root {
    --primary-color: #64b142; 
    --secondary-color: #925c76; 
    --text-color: #333;
    --light-text-color: #666;
    --background-color-light: #f7f2f5; 
    --card-bg: #fff;
    --border-radius: 15px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Reset et base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-contact {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-contact:hover {
    background-color: #559c3a;
    transform: translateY(-2px);
}

.btn-discover {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-discover:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header */
.main-header {
    background-color: var(--card-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
}

.logo-image {
    height: 40px; 
    margin-right: 10px; 
}

.logo h1 {
    font-size: 24px;
    margin-left: 0;
    margin-bottom: 0;
}

.tagline {
    font-size: 14px;
    color: var(--light-text-color);
    margin-left: -150px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 700px;
    /* --- CORRECTION ICI --- */
    background-image: url('https://i.imgur.com/3Me4q4c.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    max-width: 600px;
    z-index: 1;
}

.hero-content h2 {
    font-size: 4em;
    font-weight: 700;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content .subtitle {
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-buttons .btn-contact {
    background-color: var(--card-bg);
    color: var(--primary-color);
}

.hero-buttons .btn-contact:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hero-buttons .btn-discover {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.hero-info-cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-info-cards .info-card {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    padding: 20px;
    border-radius: var(--border-radius);
    width: 300px;
    box-shadow: var(--box-shadow);
}

.hero-info-cards .info-card h4 {
    margin-top: 5px;
    font-size: 1.2em;
}

.hero-info-cards .info-card i {
    font-size: 24px;
    color: var(--secondary-color);
}

/* Section Commune */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--light-text-color);
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.card i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.card h4 {
    font-size: 1.2em;
}

/* Products Section */
.products-section {
    background-color: var(--background-color-light); 
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: left;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h4 {
    padding: 15px;
    font-size: 1.2em;
    margin: 0;
}

.product-card p {
    padding: 0 15px 15px;
    color: var(--light-text-color);
    margin: 0;
}

.promotions-banner {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
}

.promotions-banner i {
    font-size: 32px;
    margin-bottom: 10px;
}

.promotions-banner p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.btn-promos {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
}

.btn-promos:hover {
    background-color: #7b4f62;
}

/* About Section */
.about-section {
    background-color: var(--card-bg);
}

.about-content {
    display: flex;
    gap: 50px;
    text-align: left;
}

.about-text {
    flex: 1;
}

.about-values {
    flex: 1;
}

.about-values h2 {
    text-align: center;
}

.value-card {
    background-color: var(--background-color-light);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.value-card i {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

blockquote.mission {
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-top: 30px;
}

/* Contact Section */
.contact-section {
    background-color: var(--background-color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: left;
}

.contact-card h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.contact-card i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-card ul {
    list-style: none;
}

/* Promotions Section */
.promotions-section {
    background-color: var(--card-bg);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.promo-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    text-align: left;
    position: relative;
}

.promo-badge {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.8em;
    padding: 5px 10px;
    border-radius: 50px;
    position: absolute;
    top: 15px;
    right: 15px;
}

.discount-card {
    background-color: var(--secondary-color);
    color: #fff;
}

.discount-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #83274f; 
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-banner {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.newsletter-banner i {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about .logo h2 {
    font-size: 20px;
    color: #fff;
}

.footer-about .logo i {
    color: var(--primary-color);
}

.footer-about p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-nav ul, .footer-contact p {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a, .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-nav a:hover, .footer-links a:hover {
    color: #fff;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.8em;
}

/* Media Queries pour le responsive design */
@media (max-width: 1024px) {
    .main-header {
        flex-direction: column;
        text-align: center;
        padding-bottom: 10px;
    }

    .main-nav {
        margin-top: 15px;
    }

    .main-nav ul {
        justify-content: center;
        gap: 20px;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .tagline {
        margin-left: 0;
        margin-top: 5px;
    }

    .btn-contact {
        margin-top: 15px;
    }

    .hero-section {
        flex-direction: column;
        height: auto;
        padding: 50px 20px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-info-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-info-cards .info-card {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text, .about-values {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5em;
    }

    .hero-content .subtitle {
        font-size: 1.2em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}