/* --- VARIABLES --- */
:root {
    --graineob-green: #00572C;
    --graineob-gold: #B7A261;
    --white: #ffffff;
    --graineob-beige: #F8ECDD;
}

/* =========================================
   POLICES LOCALES (MONTSERRAT) - CORRIGÉ
   ========================================= */

/* Poids Normal (400) */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v31-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap; 
}

/* Poids Gras (700) */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v31-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Poids Extra-Gras (800) */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v31-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --- RESET BASIQUE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--text-dark); 
    -webkit-font-smoothing: antialiased; /* Pour un rendu plus net */
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- UTILITAIRES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    /* On passe d'une opacité de 0.05 à 0.12 et on augmente le flou */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img { height: 80px; width: auto; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav a {
    font-weight: bold;
    color: var(--graineob-green);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--graineob-gold);
}

.separator { color: var(--graineob-gold); user-select: none; }

/* --- BURGER MENU (Caché sur Desktop) --- */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu .bar {
    width: 30px;
    height: 3px;
    background-color: var(--graineob-green);
    border-radius: 10px;
    transition: all 0.3s linear;
}


/* =========================================
   PAGE ACCUEIL
   ========================================= */

/* --- HERO SECTION --- */
.hero {
    background-image:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/hero-bg.jpg'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 500px; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative; /* <-- AJOUTE JUSTE CETTE LIGNE */
}
.hero-services {
    background-image:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/hero-services.jpg');
}

.hero-container {
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem; 
    line-height: 1.2;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 1);
}

/* --- SECTION PRÉSENTATION --- */
.presentation-section {
    padding: 60px 0;
    text-align: center;
}

.texte-intro {
    font-size: 1.5rem; /* AUGMENTÉ : on passe de 1.3rem à 1.5rem pour plus d'impact */
    font-weight: bold;
    line-height: 1.6;
    max-width: 800px; /* RÉ-ÉLARGI : comme le texte est plus grand, on lui redonne un peu d'espace (au lieu de 650px) */
    margin: 0 auto;
}

/* --- SECTION NOS GRAINES --- */
.graines-section {
    padding: 40px 0 100px; 
    position: relative; 
    overflow: hidden; /* LA SOLUTION MAGIQUE : coupe tout ce qui dépasse proprement et supprime la 2ème scrollbar */
}

.graines-grid {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 70px; 
}

.graines-gauche h2 {
    color: var(--graineob-green);
    font-size: 3rem; /* AUGMENTÉ : on passe de 2.5rem à 3rem pour que le titre ressorte bien */
    margin-bottom: 35px;
}

/* Gestion du bloc des cercles */
.images-cercle-wrapper {
    display: flex;
    position: relative;
    height: 220px; 
    width: 520px; 
}

/* Le style manquant qui arrondit les images ! */
.img-cercle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--white); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
}

/* Ordre et espacement */
.img-1 { left: 0; z-index: 1; } 
.img-2 { left: 145px; z-index: 2; } 
.img-3 { left: 290px; z-index: 3; } 

/* Bloc de droite */
.graines-droite {
    max-width: 500px; /* ÉLARGI : on passe de 450px à 500px pour laisser respirer le texte agrandi */
}

.graines-droite p {
    font-size: 1.4rem; /* AUGMENTÉ : on passe de 1.2rem à 1.4rem */
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.5; /* Légèrement augmenté pour aérer les lignes */
}

/* Le bouton manquant ! */
.btn-primary {
    display: inline-block;
    background-color: #028C48;
    color: var(--white);
    font-size: 1.1rem; /* AUGMENTÉ : on ajoute cette ligne pour grossir légèrement le texte du bouton */
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--graineob-gold);
}

/* Les petites fleurs */
.illustration-fleurs {
    position: absolute;
    bottom: 0; /* Calé pile sur la ligne du bas de la section */
    right: 0; /* Calé pile sur le bord droit */
    height: 300px; /* J'ai légèrement agrandi pour que ça remplisse bien le coin */
    pointer-events: none; /* Empêche les clics fantômes */
    /* J'ai supprimé le z-index: -1 qui pouvait faire disparaître les fleurs sur certains navigateurs */
}


/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: var(--graineob-green);
    color: var(--white);
    padding: 40px 20px 20px;
    
}

.footer-container { max-width: 1200px; margin: 0 auto; }

.footer-logo-wrapper { text-align: center; margin-bottom: 40px; }
.footer-logo { height: 120px; }

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { text-decoration: underline; color: var(--graineob-gold); }

.footer-address p { margin-bottom: 15px; line-height: 1.5; font-style: normal; }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links img { 
    width: 30px;
    height: 30px; 
    object-fit: contain; 
    transition: opacity 0.3s ease; 
}

.social-links a:hover img {
    opacity: 0.7; 
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 0.9rem;
}


/* =========================================
   ANIMATIONS AU SCROLL
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.animate-up { transform: translateY(60px); }
.animate-left { transform: translateX(-100px); }
.animate-right { transform: translateX(100px); }

.is-visible {
    opacity: 1;
    transform: translate(0, 0); 
}

/* --- SECTION CONDITIONNEMENT --- */
.conditionnement-section {
    background-image: url('images/sac-graineob.jpg'); 
    background-size: cover;
    background-position: right center; 
    margin: 0; /* CORRECTION : on met la marge à 0 pour coller la section en haut et en bas */
    height: 220px; 
    display: flex;
    align-items: center;
}

.conditionnement-section .container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px; 
}

/* L'encart blanc/beige pour le texte */
.conditionnement-texte {
    background-color: #f1e8dfd4; 
    padding: 12px 25px; /* BOÎTE PLUS FINE : on réduit les marges internes */
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-align: center;
    width: fit-content;
}

.conditionnement-texte h2 {
    color: #902a2f; 
    font-size: 2rem; /* TEXTE RÉDUIT : on passe de 2.8 à 2.0 */
    font-weight: 900; 
    margin-bottom: 4px; /* Un tout petit peu d'espace avec la ligne du bas */
    text-transform: uppercase;
    white-space: nowrap; 
    letter-spacing: 0.5px; 
}

.conditionnement-texte p {
    color: var(--graineob-green);
    font-size: 1.6rem; /* TEXTE RÉDUIT : on passe de 1.6 à 1.2 */
    font-weight: 800; 
    margin: 0;
    white-space: nowrap; 
}

/* --- SECTION PURETÉ --- */
.purete-section {
    position: relative;
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden; 
}

/* L'illustration en fond à gauche - REMONTÉE */
.purete-section::before {
    content: "";
    position: absolute;
    /* On passe de -50px à -10px pour les remonter derrière l'image */
    bottom: -10px; 
    left: -30px;
    width: 350px;
    height: 500px;
    background-image: url('images/fleurs.svg'); 
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: contain;
    
    transform: scaleX(-1); 
    opacity: 0.25; 
    
    z-index: 1;
    pointer-events: none;
}

.purete-grid {
    position: relative;
    z-index: 2; 
    display: flex;
    align-items: center;
    gap: 80px;
}

/* --- L'IMAGE --- */
.purete-image {
    flex: 1;
}

.purete-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 60px; 
    border: 15px solid #fff; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* --- LE TEXTE --- */
.purete-texte {
    flex: 1.2;
}

.purete-texte h2 {
    color: #902a2f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.purete-texte h3 {
    color: var(--graineob-green);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.purete-texte p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1a1a1a;
}


.services-expertise {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h2 {
    font-weight: 900;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.service-image-wrapper {
    position: relative;
    flex: 1;
    margin-top: 60px; 
}

.service-card .service-image-wrapper {
    margin-top: 0;
}

.image-placeholder {
    position: relative;
    z-index: 2; 
    background-color: #ccc;
    border: 15px solid #fff;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    width: 100%;
}

.image-placeholder.square { aspect-ratio: 1 / 1; }
.image-placeholder.rect { aspect-ratio: 16 / 9; }

.service-text h3, 
.service-card h3 {
    font-weight: 900;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin: 20px 0;
    text-transform: uppercase;
}

.service-card h3{
    margin-top: 70px;}



.services-header p,
.service-text p, 
.service-card p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #222;
    font-weight: 500;
    margin: 0 auto;
}

.services-header p {
    max-width: 750px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.service-text { flex: 1; }

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    
}

.fleur-triage {
    position: absolute;
    bottom: 100%; 
    left: 10px; 
    width: 280px; 
    z-index: 1; 
    transform: scaleX(-1);
    margin-bottom: -15px; 
    opacity: 0.5;
    pointer-events: none;
}

.fleur-condi {
    position: absolute;
    bottom: 100%;
    right: 10px;
    width: 250px;
    z-index: 1;
    margin-bottom: -15px;
    opacity: 0.5;
    transform: none;
    pointer-events: none;
}

/* =========================================
   BANNIÈRE CALL TO ACTION (CTA)
   ========================================= */

.cta-banner {
    /* Utilise ta variable beige ou remplace par la couleur exacte Figma */
    background-color: var(--graineob-beige); 
    padding: 80px 20px; /* Espace confortable en haut et en bas */
    text-align: center;
    position: relative;
    overflow: hidden; /* Empêche les fleurs de dépasser de la section */
    border-top: 4px solid var(--graineob-green);
}

.cta-container {
    position: relative;
    z-index: 2; /* S'assure que le texte et le bouton sont au-dessus des fleurs */
}

.cta-banner h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 1.8rem; /* Taille moyenne, pas trop massive */
    color: #1a1a1a; /* Gris très foncé / presque noir */
    line-height: 1.4;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* On réutilise ton style de bouton existant, on l'ajuste juste un peu */
.btn-cta {
    font-size: 1.2rem;
    padding: 18px 45px;
    letter-spacing: 0.5px;
    /* L'ombre légère pour qu'il ressorte du fond */
    box-shadow: 0 5px 15px rgba(0, 87, 44, 0.2); 
    background-color: var(--graineob-green);
}

/* Gestion de l'illustration florale */
.fleur-cta {
    position: absolute;
    bottom: -10px; /* Calé en bas */
    right: 20px; /* Calé à droite */
    width: 280px; /* Bonne taille selon ta maquette */
    z-index: 1; /* Reste derrière le bouton si jamais ça se croise sur petit écran */
    opacity: 0.8; /* Un peu plus présente que dans les autres sections */
    pointer-events: none; /* Empêche de bloquer le clic sur le bouton */
}

/* =========================================
   PAGE CONTACT
   ========================================= */

/* --- HERO CONTACT --- */
.hero-contact {
    /* Pense bien à mettre la bonne image de champ de blé ici */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero-contact.jpg');
}

/* --- SECTION PRINCIPALE --- */
.contact-page-section {
    background-color: var(--graineob-beige); /* Le beige de ta maquette */
    padding: 100px 0;
    position: relative;
    overflow: hidden; /* Pour couper la fleur si elle dépasse */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2; /* Passe au-dessus des fleurs */
}

/* --- COLONNE GAUCHE (Infos) --- */
.contact-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    color: #000;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.contact-intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Assez gras sur la maquette */
    font-size: 1.2rem;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 50px;
    max-width: 450px;
}

/* Les petits blocs de contact avec icônes */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.icon-circle img {
    width: 24px;
    height: 24px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #000;
}

.contact-text span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
}

/* --- COLONNE DROITE (Formulaire) --- */
.contact-form-wrapper {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    padding: 15px 20px;
    border: 2px solid #b3b3b3; /* Gris moyen pour la bordure */
    border-radius: 20px; /* Bordures très arrondies */
    outline: none;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
    font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--graineob-green); /* Le bord devient vert au clic */
}

/* On ajuste le bouton vert spécifiquement pour le formulaire */
.btn-submit {
    width: 100%; /* Prend toute la largeur de la carte */
    margin-top: 10px;
    font-size: 1.2rem;
    padding: 18px;
    border: none;
    cursor: pointer;
}

/* --- PETITE CARTE SOUS LES INFOS --- */
.mini-map {
    margin-top: 40px; 
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
}

.mini-map iframe {
    display: block; 
}

/* --- ILLUSTRATION FLEURS --- */
.fleur-contact {
    position: absolute;
    bottom: -10px; /* Calé tout en bas */
    left: -20px; /* Calé sur le bord gauche */
    width: 250px;
    z-index: 1; /* Derrière le texte */
    opacity: 1;
    pointer-events: none;
    transform: scaleX(-1);
}







/* =========================================
   PAGE QUI SOMMES-NOUS
   ========================================= */

/* --- HERO --- */
.hero-about {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero-about.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- INTRO --- */
.about-intro {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.intro-text {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    font-size: 1.5rem; 
    font-weight: bold;
    line-height: 1.6;
    max-width: 800px; 
    margin: 0 auto 50px auto; 
}

.green-line {
    border: none;
    height: 3px; 
    background-color: var(--graineob-green, #028C48); 
    max-width: 900px; 
    margin: 0 auto;
}

/* =========================================
   LIGNES ÉQUIPE / TECHNOLOGIE
   ========================================= */

.about-row {
    padding: 100px 0; 
    position: relative; /* CRUCIAL : Ancre pour fleur 1 et fleur 2 */
}

.bg-white { background-color: #ffffff; }
.bg-beige { background-color: #fcf6eb; }

.row-container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2; /* Garde le contenu au-dessus des fleurs de fond */
}

.row-container.reverse {
    flex-direction: row-reverse;
}

.about-text-wrapper {
    flex: 1;
}

.about-image-wrapper {
    flex: 1;
    position: relative; /* CRUCIAL : Ancre pour fleur 3 */
}

.about-text-wrapper h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Style des paragraphes de la section équipe (calqué sur les services) */
.about-text-wrapper p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #222;
    font-weight: 500;
    
    /* J'ai mis margin: 0 au lieu de margin: 0 auto, car sur ta maquette, 
       le texte de ces blocs est aligné à gauche et non centré */
    margin: 0; 
}

.styled-image {
    position: relative;
    z-index: 2; /* L'image reste au-dessus des ombres */
    width: 100%;
    height: auto;
    border: 15px solid #fff;
    border-radius: 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    display: block;
}

/* --- PLACEMENT EXACT DES FLEURS --- */

/* --- PLACEMENT EXACT DES FLEURS --- */

.fleur-about {
    position: absolute;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1; /* Toutes les fleurs restent en arrière-plan */
}

/* Fleur 1 (Éloi) : Posée sur le bloc Aurélie (ligne du bas) */
.fleur-1 {
    bottom: 0; /* 0 la pose exactement sur la ligne de démarcation */
    right: 5%; 
    width: 250px;
}

/* Fleur 2 (Aurélie) : Posée sur le bloc Machine, décalée de la gauche */
.fleur-2 {
    bottom: 0; /* Posée exactement sur la ligne blanche */
    left: 15%; /* Augmenté à 15% pour qu'elle ne soit plus "trop sur la gauche" */
    width: 240px;
    transform: scaleX(-1); /* Pointe vers la droite */
}

/* Fleur 3 (Machine) : Collée au footer, tout à droite */
.fleur-3 {
    bottom: 0; /* Se pose sur la ligne du footer vert */
    right: 5%; /* Tout à droite, alignée avec la fleur 1 */
    width: 260px;
}

/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 950px) {
    .row-container, 
    .row-container.reverse {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .about-row {
        padding: 60px 0;
    }
    .fleur-about {
        display: none; /* Nettoie sur mobile */
    }
}
/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 768px) {
    .intro-text {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    .green-line {
        width: 90%;
    }
}



/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 950px) {
    .contact-grid {
        grid-template-columns: 1fr; /* On passe sur 1 seule colonne */
        gap: 50px;
    }
    
    .contact-info h2 { font-size: 2.2rem; }
    
    .contact-form-wrapper { padding: 30px 20px; }
    
    .map-container {
        margin-top: 40px;
    }
    
    .map-container iframe {
        height: 300px; /* La carte est moins haute sur téléphone */
    }

    .fleur-contact {
        width: 180px;
        opacity: 0.5; /* On l'atténue un peu sur mobile */
    }
}

/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 768px) {
    .cta-banner { padding: 60px 20px; }
    .cta-banner h2 { font-size: 1.4rem; }
    .fleur-cta { 
        width: 180px; 
        right: -30px; /* On la décale un peu pour pas trop charger l'écran */
        opacity: 0.4; /* On l'atténue sur mobile */
    }
}

/* --- RESPONSIVE MOBILE (SERVICES) --- */
/* --- RESPONSIVE MOBILE (SERVICES) --- */
@media screen and (max-width: 950px) {

    /* 1. SÉCURITÉ GLOBALE */
    body, html {
        overflow-x: hidden; 
    }

    /* 2. LE VRAI CORRECTIF : On force le conteneur à rester dans l'écran */
    .container {
        width: 100%;
        max-width: 100vw;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box; /* Indispensable : inclut le padding dans la largeur de 100% */
    }

    /* 3. STRUCTURE DES GRILLES ET LIGNES */
    .service-row, .services-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        gap: 50px;
    }

    /* 4. FIX DES CARTES ET DES TEXTES */
    .service-card, .service-text {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centre parfaitement tout à l'intérieur de la carte */
    }

    .services-header p,
    .service-text p,
    .service-card p {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 0; /* Le padding de 20px du .container suffit à donner de l'air */
        white-space: normal; /* Force le retour à la ligne naturel */
        word-wrap: break-word; /* Coupe les mots s'ils sont vraiment trop longs */
    }

    /* 5. FIX DES IMAGES (On absorbe la grosse bordure blanche) */
    .service-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
    }

    .image-placeholder {
        width: 90%; 
        max-width: 350px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* 6. AJUSTEMENTS ESTHÉTIQUES ET NETTOYAGE */
    .services-header h2 { font-size: 2.2rem; }
    .fleur-triage, .fleur-condi { display: none; }
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .purete-grid { flex-direction: column; text-align: center; }
    .purete-section::before { width: 200px; opacity: 0.15; }
}

/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 900px) {
    .conditionnement-section {
        height: auto; 
        padding: 40px 20px;
    }
    
    .conditionnement-section .container {
        justify-content: center;
    }

    .conditionnement-texte {
        width: 100%; 
        padding: 15px;
    }

    .conditionnement-texte h2 {
        font-size: 1.6rem;
        white-space: normal; 
    }
    
    .conditionnement-texte p {
        font-size: 1.1rem;
        white-space: normal;
    }
}


/* =========================================
   RESPONSIVE (MOBILE & TABLETTE)
   ========================================= */

/* Tablette et petits écrans (Section Graines) */
@media screen and (max-width: 900px) {
    .graines-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .images-cercle-wrapper {
        width: 100%;
        justify-content: center;
        /* On réduit un peu la hauteur du wrapper pour s'adapter aux nouvelles tailles */
        height: 160px; 
    }
    
    /* On force les images à être un peu plus petites sur mobile */
    .img-1, .img-2, .img-3 {
        width: 140px; 
        height: 140px;
    }
    
    /* On réduit l'écartement de 100px à 65px */
    .img-1 { left: auto; transform: translateX(-100px); }
    .img-2 { left: auto; transform: translateX(0); }
    .img-3 { left: auto; transform: translateX(100px); }

    .illustration-fleurs {
        opacity: 0.3; 
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    /* Header et Menu */
    .burger-menu { display: flex; }
    .separator { display: none; } 

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; 
        height: 100vh;
        width: 70%;
        background-color: var(--white);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease-in-out;
    }

    .main-nav.active { right: 0; }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    /* Animation Burger - Correctif pour une croix parfaite */
.burger-menu.active .bar:nth-child(1) { 
    /* On ajuste le translate pour que le centre de la barre 1 tombe sur le centre du bouton */
    transform: translateY(8px) rotate(45deg); 
}

.burger-menu.active .bar:nth-child(2) { 
    opacity: 0; 
}

.burger-menu.active .bar:nth-child(3) { 
    /* On ajuste le translate pour que le centre de la barre 3 tombe au même endroit */
    transform: translateY(-8px) rotate(-45deg); 
}

    /* Hero */
    .hero {
        min-height: 350px;
    }
    
    .hero h1 {
        font-size: 2.2rem; 
    }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
}

@media screen and (max-width: 768px) {
    /* ÉTAPE 1 : Verrouillage du Header */
    .site-header {
        position: fixed !important; /* On force le passage en fixed pour la stabilité mobile */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 3000; /* Priorité maximale pour rester devant tout le reste */
        
        /* On garde tes propriétés de style exactes */
        background-color: var(--white);
        padding: 15px 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
        
        /* On s'assure que le header ne se réduit pas */
        height: auto; 
        box-sizing: border-box;
    }

    /* ÉTAPE 2 : Compensation du vide */
    body {
        /* On pousse tout le contenu vers le bas pour pas que le header fixed le cache */
        /* Si ton header fait environ 70-80px de haut, on met cette valeur ici */
        padding-top: 80px !important; 
    }

    /* ÉTAPE 3 : Coordination avec le Menu Mobile */
    .main-nav {
        /* Le menu doit s'ouvrir juste en dessous du header ou le couvrir selon ton choix */
        /* Ici, on le fait partir de 0 pour couvrir l'écran, mais avec un z-index juste en dessous du header */
        position: fixed;
        top: 0;
        z-index: 2999; 
    }
    
    /* On s'assure que le bouton burger est accessible et bien placé dans le header fixed */
    .burger-menu {
        display: flex;
        position: relative;
        z-index: 3001; /* Devant le fond du header */
    }
}

/* --- INDICATEUR DE SCROLL --- */

.scroll-down-indicator {
    position: absolute;
    bottom: 30px; /* À ajuster pour qu'il soit bien visible en bas de l'écran */
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--white); /* Utilise ta couleur blanche */
    border-radius: 50px;
    cursor: pointer;
    z-index: 10; /* Pour qu'il passe devant l'image de fond */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Le petit point/flèche qui bouge à l'intérieur - MAINTENANT UNE FLÈCHE */
.scroll-down-indicator span {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg); /* Rotation pour former la pointe */
    width: 10px; /* Taille de l'arrow head */
    height: 10px;
    border-right: 2px solid var(--white); /* Deux côtés pour l'arrow head */
    border-bottom: 2px solid var(--white);
    animation: scroll-down-anim 2s infinite; /* L'animation */
}

/* L'animation pour le mouvement de haut en bas */
@keyframes scroll-down-anim {
    0% {
        top: 10px;
        opacity: 1;
    }
    50% {
        top: 20px; /* Descend plus bas à mi-chemin */
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Optionnel : cacher l'indicateur quand l'utilisateur a commencé à scroller (comme avant) */
.scroll-down-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}


/* --- PAGES LÉGALES --- */
.legal-hero {
    min-height: 45vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg');
}

.legal-content-section {
    background-color: #fff;
    padding: 80px 0;
}

.legal-container {
    max-width: 850px; /* On garde une largeur étroite pour la lecture */
    margin: 0 auto;
}

.legal-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: var(--graineob-green);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--graineob-beige);
    padding-bottom: 10px;
}

.legal-block p {
    line-height: 1.7;
    margin-bottom: 15px;
}

/* =========================================
   TARTEAUCITRON - TA BASE QUI MARCHE + BOUTONS IDENTIQUES
   ========================================= */

/* 1. Tuer le voile de fond */
html body #tarteaucitronRoot {
    background: transparent !important;
    pointer-events: none !important; 
}
html body #tarteaucitronRoot::before, 
html body #tarteaucitronRoot::after,
html body #tarteaucitronBack { display: none !important; }

/* 2. FORCER LA BOÎTE DANS LE COIN */
html body #tarteaucitronRoot [id^="tarteaucitronAlert"] {
    pointer-events: auto !important; 
    position: fixed !important; 
    top: auto !important; 
    right: auto !important; 
    bottom: 30px !important; 
    left: 30px !important;
    margin: 0 !important;
    transform: none !important;
    width: 350px !important; 
    max-width: 85vw !important;
    background-color: #ffffff !important; 
    border-radius: 15px !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2) !important; 
    padding: 25px !important;
    border: none !important;
    border-top: 5px solid var(--graineob-green) !important; 
    z-index: 999999 !important;
    box-sizing: border-box !important;
}

html body #tarteaucitronRoot [id^="tarteaucitronDisclaimerAlert"] {
    color: #333 !important; 
    font-size: 0.95rem !important; 
    margin: 0 !important;
    line-height: 1.5 !important;
}
html body #tarteaucitronRoot [id^="tarteaucitronClosePanel"] { display: none !important; }