/* =========================================================================
   MARTI-amo, feuille de style principale
   Direction artistique : titres serif, respiration large, photographie
   dominante, vert profond et tons naturels chauds.
   ========================================================================= */

@import url('../fonts/fonts.css');

:root {
    /* Vert de marque, issu du logo */
    --vert: #57a12a;
    --vert-clair: #6fbb3c;
    --vert-pale: #eef4e8;
    --vert-fonce: #1d3a22;
    --vert-profond: #142a18;
    --vert-encre: #16301c;

    /* Tons naturels chauds */
    --creme: #faf5ef;
    --sable: #f5efe6;
    --terre: #a9825b;

    /* Texte */
    --encre: #1a1f1b;
    --texte: #5c6560;
    --texte-clair: rgba(250, 245, 239, .78);

    /* Structure */
    --bordure: #e6e1d8;
    --ombre: 0 2px 6px rgba(20, 42, 24, .05), 0 18px 46px rgba(20, 42, 24, .09);
    --ombre-forte: 0 6px 18px rgba(20, 42, 24, .1), 0 34px 70px rgba(20, 42, 24, .16);
    --rayon: 6px;
    --rayon-l: 10px;
    --rayon-pilule: 100px;

    /* Typographie */
    --serif: 'Lora', Georgia, 'Times New Roman', serif;
    --sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

    /* Rythme */
    --conteneur: 1320px;
    --gouttiere: 28px;
    --section-y: 110px;
}

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.72;
    color: var(--texte);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
/* L attribut hidden doit primer sur tout display declare plus loin. */
[hidden] { display: none !important; }
/* La fonction image() enveloppe chaque visuel dans un <picture> :
   les conteneurs qui doivent etre remplis le declarent explicitement. */
.hero-media picture,
.hero-interne-media picture,
.bandeau-cta-media picture,
.carte-membre-visuel picture,
.portrait-visuel picture,
.comparateur-apres picture {
    width: 100%; height: 100%;
}
a { color: var(--vert-fonce); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vert); }

h1, h2, h3, h4 {
    font-family: var(--serif);
    line-height: 1.16;
    margin: 0 0 .5em;
    color: var(--vert-encre);
    font-weight: 700;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }
h4 { font-size: 1.12rem; }

p, ul, ol, table { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.3em; }
blockquote { margin: 0; }
abbr[title] { text-decoration: none; color: var(--vert); }
:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; border-radius: 3px; }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--conteneur)); margin-inline: auto; }
.section { padding: var(--section-y) 0; }
.section-creme { background: var(--creme); }
.section-sable { background: var(--sable); }
.section-verte { background: var(--vert-profond); color: var(--texte-clair); }
.section-verte h2, .section-verte h3 { color: #fff; }

/* Surtitre encadré de deux filets */
.surtitre {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--sans); font-size: .74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .22em; color: var(--vert);
    margin: 0 0 1.1em;
}
.surtitre::before, .surtitre::after {
    content: ""; width: 26px; height: 1px; background: currentColor; opacity: .65;
}
.section-verte .surtitre { color: var(--vert-clair); }

.entete-section { text-align: center; max-width: 720px; margin: 0 auto 3.4em; }
.entete-section .surtitre { justify-content: center; }
.entete-section h2 { margin-bottom: .35em; }
.entete-section p { margin: 0; font-size: 1.06rem; }
.section-note { margin-top: 2.4em; font-size: .93rem; color: var(--texte); text-align: center; }

.lien-evitement {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--vert-fonce); color: #fff; padding: 14px 22px;
}
.lien-evitement:focus { left: 0; }

/* --- Boutons ----------------------------------------------------------- */
.bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    padding: 17px 34px; border-radius: var(--rayon-pilule); border: 2px solid transparent;
    font-family: var(--sans); font-weight: 700; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .12em;
    text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bouton:hover { transform: translateY(-2px); }
.bouton-principal { background: var(--vert); color: #fff; border-color: var(--vert); }
.bouton-principal:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; box-shadow: 0 12px 26px rgba(29, 58, 34, .22); }
.bouton-secondaire { background: transparent; color: var(--vert-encre); border-color: rgba(26, 31, 27, .28); }
.bouton-secondaire:hover { background: var(--vert-encre); border-color: var(--vert-encre); color: #fff; }
.bouton-clair { background: #fff; color: var(--vert-fonce); border-color: #fff; }
.bouton-clair:hover { background: var(--vert); border-color: var(--vert); color: #fff; }
.bouton-contour-clair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.bouton-contour-clair:hover { background: #fff; color: var(--vert-fonce); border-color: #fff; }
.bouton-petit { padding: 13px 24px; font-size: .72rem; }

.lien-fleche {
    display: inline-flex; align-items: center; gap: .55em;
    font-family: var(--sans); font-weight: 700; font-size: .76rem;
    text-transform: uppercase; letter-spacing: .12em;
    text-decoration: none; color: var(--vert-encre);
    border-bottom: 2px solid var(--vert); padding-bottom: 5px;
    transition: color .18s ease, gap .18s ease;
}
.lien-fleche::after { content: "\2192"; font-size: 1.15em; line-height: 1; }
.lien-fleche:hover { color: var(--vert); gap: .95em; }
.section-verte .lien-fleche { color: #fff; }
.section-verte .lien-fleche:hover { color: var(--vert-clair); }

/* --- En-tête ----------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--bordure);
    backdrop-filter: saturate(180%) blur(10px);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.logo { flex: 0 0 auto; }
.logo img { width: 230px; height: auto; }

.nav-principale { margin-left: auto; }
.nav-niveau1 { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-niveau1 > li { position: relative; }
.nav-niveau1 > li > a {
    display: block; padding: 34px 13px; font-size: .84rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .09em; white-space: nowrap;
    color: var(--encre); text-decoration: none; position: relative;
}
.nav-niveau1 > li > a::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 26px; height: 2px;
    background: var(--vert); transform: scaleX(0); transform-origin: left;
    transition: transform .22s ease;
}
.nav-niveau1 > li > a:hover, .nav-niveau1 > li > a.actif { color: var(--vert); }
.nav-niveau1 > li > a:hover::after, .nav-niveau1 > li > a.actif::after { transform: scaleX(1); }
.deplier { display: none; }
.panneau-entete, .panneau-fermer, .panneau-tel, .panneau-mention { display: none; }
.voile-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-actions .bouton { padding: 15px 26px; }
.nav-actions-mobile { display: none; }
.burger { display: none; }

/* --- Méga-menu ---------------------------------------------------------- */
.mega-menu {
    position: fixed; left: 0; right: 0; top: 92px;
    background: #fff; border-top: 1px solid var(--bordure);
    box-shadow: 0 30px 60px rgba(20, 42, 24, .13);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.a-sous-menu:hover .mega-menu,
.a-sous-menu:focus-within .mega-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.mega-inner {
    display: grid; grid-template-columns: 300px 1fr; gap: 56px;
    padding: 46px 0 50px; align-items: start;
}
.mega-visuel { position: relative; border-radius: var(--rayon-l); overflow: hidden; }
.mega-visuel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mega-visuel::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(20, 42, 24, .95) 0%, rgba(20, 42, 24, .86) 42%, rgba(20, 42, 24, .3) 72%, rgba(20, 42, 24, .05) 100%);
}
.mega-visuel-texte { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.mega-visuel-texte p { color: rgba(255, 255, 255, .84); font-size: .88rem; margin: 0 0 1em; line-height: 1.5; }
.mega-titre { font-family: var(--serif); font-size: 1.3rem; color: #fff; font-weight: 700; margin-bottom: .3em; }
.mega-visuel-texte .lien-fleche { color: #fff; border-color: var(--vert-clair); }

.mega-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.mega-liste a {
    display: flex; align-items: baseline; gap: 14px;
    padding: 15px 16px 15px 0; text-decoration: none; color: var(--encre);
    border-bottom: 1px solid var(--bordure);
    transition: color .18s ease, padding-left .18s ease;
}
.mega-liste a::before {
    content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
    background: var(--vert-pale); transition: background-color .18s ease, transform .18s ease;
}
.mega-liste a:hover { color: var(--vert); padding-left: 8px; }
.mega-liste a:hover::before { background: var(--vert); transform: scale(1.3); }
.mega-nom { font-weight: 600; font-size: .97rem; }
.mega-tout { display: none; }

/* --- Hero d'accueil ----------------------------------------------------- */
.hero { position: relative; background: var(--creme); overflow: hidden; }
.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 60px;
    align-items: center; padding: 96px 0 104px;
}
.hero h1 { margin-bottom: .38em; }
.hero-accroche { font-size: 1.14rem; max-width: 52ch; color: var(--texte); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2.2em 0 0; }
.hero-preuves {
    display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; padding: 0;
    margin: 2.4em 0 0; font-size: .93rem;
}
.hero-preuves li { display: flex; align-items: center; gap: .55em; color: var(--encre); font-weight: 600; }
.hero-preuves li::before {
    content: ""; width: 20px; height: 20px; border-radius: 50%; flex: 0 0 auto;
    background: var(--vert-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2357a12a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero-media { position: absolute; right: 0; top: 0; bottom: 0; width: 50vw; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, var(--creme) 0%, rgba(250, 245, 239, .55) 22%, transparent 55%);
}
.hero-encart {
    position: absolute; left: -54px; bottom: 64px; z-index: 3;
    background: #fff; border-radius: var(--rayon-l); padding: 22px 26px;
    box-shadow: var(--ombre-forte); display: flex; align-items: center; gap: 16px;
    max-width: 300px;
}
.hero-encart-note { font-family: var(--serif); font-size: 2rem; color: var(--vert); line-height: 1; font-weight: 700; }
.hero-encart span { font-size: .85rem; color: var(--texte); line-height: 1.4; display: block; max-width: 150px; }
.hero-encart-etoiles { color: #e0a63c; letter-spacing: 2px; font-size: .8rem; }

/* --- Bandeau chiffres --------------------------------------------------- */
.bandeau-chiffres { background: var(--vert-profond); color: #fff; padding: 56px 0; }
.grille-chiffres {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
    list-style: none; margin: 0; padding: 0; text-align: center;
}
.grille-chiffres li { position: relative; }
.grille-chiffres li + li::before {
    content: ""; position: absolute; left: -15px; top: 12%; bottom: 12%; width: 1px;
    background: rgba(255, 255, 255, .16);
}
.grille-chiffres strong {
    display: block; font-family: var(--serif); font-weight: 700;
    font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.9rem); color: var(--vert-clair); line-height: 1.05;
}
.grille-chiffres span { font-size: .89rem; color: rgba(255, 255, 255, .74); display: block; margin-top: .5em; }

/* --- Hero interne ------------------------------------------------------- */
.hero-interne { position: relative; background: var(--vert-profond); color: var(--texte-clair); overflow: hidden; }
.hero-interne-media { position: absolute; inset: 0; z-index: 0; }
.hero-interne-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-interne-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(20, 42, 24, .93) 0%, rgba(20, 42, 24, .78) 44%, rgba(20, 42, 24, .3) 100%);
}
.hero-interne-inner { position: relative; z-index: 1; padding: 92px 0 96px; max-width: 800px; }
.hero-interne h1 { color: #fff; }
.hero-interne .surtitre { color: var(--vert-clair); }
.reponse-directe {
    font-size: 1.1rem; color: rgba(255, 255, 255, .88); max-width: 66ch;
    border-left: 3px solid var(--vert); padding-left: 22px; margin-top: 1.6em;
}
.hero-interne-meta {
    display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .11em; font-weight: 700;
    color: rgba(255, 255, 255, .7); margin-top: 2em;
}

/* --- Fil d'Ariane (sous le hero) --------------------------------------- */
.fil-ariane { background: #fff; border-bottom: 1px solid var(--bordure); font-size: .78rem; }
.fil-ariane ol {
    display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 16px 0;
    text-transform: uppercase; letter-spacing: .08em;
}
.fil-ariane li + li::before { content: "\203A"; margin-right: 8px; color: #c9c3b7; }
.fil-ariane a { color: var(--texte); text-decoration: none; }
.fil-ariane a:hover { color: var(--vert); }
.fil-ariane [aria-current] { color: var(--vert-encre); font-weight: 700; }

/* --- Contenu éditorial -------------------------------------------------- */
/* Le corps occupe toute la colonne, jusqu’a la colonne laterale. */
.article-corps { max-width: none; }
.article-corps h2 { margin-top: 1.9em; }
.article-corps h2:first-child { margin-top: 0; }
.article-corps h3 { margin-top: 1.7em; color: var(--vert-fonce); font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.contenu-grille { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }

.liste-check { list-style: none; padding: 0; }
.liste-check li { position: relative; padding-left: 2em; margin-bottom: .7em; }
.liste-check li::before {
    content: ""; position: absolute; left: 0; top: .38em; width: 1.25em; height: 1.25em;
    border-radius: 50%; background: var(--vert-pale)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2357a12a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/62% no-repeat;
}
.liste-num { counter-reset: n; list-style: none; padding: 0; }
.liste-num li { counter-increment: n; position: relative; padding-left: 2.7em; margin-bottom: .9em; }
.liste-num li::before {
    content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .12em;
    font-family: var(--serif); font-weight: 700; font-size: .95rem; color: var(--vert);
}

.encadre {
    background: var(--creme); border-left: 3px solid var(--vert);
    border-radius: 0 var(--rayon) var(--rayon) 0; padding: 26px 30px; margin: 2.2em 0;
}
.encadre-titre { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--vert-encre); margin-bottom: .4em; }
.encadre p:last-child { margin-bottom: 0; }

/* --- Cartes profil, page Nous rejoindre --------------------------------- */
.carte-profil { display: flex; flex-direction: column; text-align: left; }
.carte-profil p { font-size: .94rem; }
.carte-profil-statut {
    font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--vert); margin: 0 0 .5em;
}
.carte-profil-accroche { font-weight: 700; color: var(--vert-encre); }
.carte-profil-attendu {
    margin-top: auto; padding-top: 1.1em; border-top: 1px solid var(--bordure);
    font-size: .88rem; color: var(--texte-doux);
}
.carte-profil-attendu-titre {
    display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--vert-encre); margin-bottom: .35em;
}

.lien-document {
    display: flex; align-items: center; flex-wrap: wrap; gap: .4em .8em;
    background: var(--creme); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 18px 24px; margin: 2.2em 0;
}
.lien-document a { font-weight: 700; color: var(--vert-encre); }
.lien-document-meta {
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    color: var(--texte); background: #fff; border: 1px solid var(--bordure);
    border-radius: var(--rayon-pilule); padding: 4px 12px;
}

.citation { border-left: 3px solid var(--terre); padding-left: 26px; font-family: var(--serif); font-size: 1.2rem; font-style: italic; margin: 2.2em 0; color: var(--vert-encre); }
.citation cite { display: block; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--texte); margin-top: .8em; }

.tableau-conteneur { overflow-x: auto; margin: 2.2em 0; border: 1px solid var(--bordure); border-radius: var(--rayon-l); }
table { width: 100%; border-collapse: collapse; margin: 0; font-size: .94rem; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--bordure); }
thead th {
    background: var(--vert-profond); color: #fff; font-weight: 700; white-space: nowrap;
    font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--creme); }

/* Figures intercalées dans le contenu */
.figure-contenu { margin: 2.6em 0; }
.figure-contenu img { border-radius: var(--rayon-l); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure-contenu figcaption {
    font-size: .84rem; color: var(--texte); margin-top: .9em; padding-left: 16px;
    border-left: 2px solid var(--vert);
}
.figure-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2.6em 0; }
.figure-duo img { border-radius: var(--rayon-l); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* --- Bloc texte + image alterné ---------------------------------------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.duo-inverse .duo-media { order: -1; }
.duo-media { position: relative; }
.duo-media img { width: 100%; border-radius: var(--rayon-l); aspect-ratio: 4 / 5; object-fit: cover; }
.duo-media-large img { aspect-ratio: 4 / 3; }
.duo-vignette {
    position: absolute; right: -34px; bottom: -34px; width: 46%;
    border: 8px solid #fff; border-radius: var(--rayon-l); box-shadow: var(--ombre); overflow: hidden;
}
.duo-inverse .duo-vignette { right: auto; left: -34px; }
.duo-vignette img { aspect-ratio: 1; border-radius: 3px; }
.duo-texte h2 { margin-bottom: .5em; }
.duo-texte > p:last-child { margin-bottom: 0; }
.duo-actions { margin-top: 2em; }

.badge-flottant {
    position: absolute; left: -30px; top: 40px; z-index: 2;
    background: var(--vert); color: #fff; border-radius: var(--rayon-l);
    padding: 20px 24px; box-shadow: var(--ombre-forte); max-width: 190px;
}
.badge-flottant strong { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1; }
.badge-flottant span { font-size: .8rem; opacity: .92; display: block; margin-top: .35em; line-height: 1.35; }

/* --- Colonne latérale --------------------------------------------------- */
.colonne-laterale { position: sticky; top: 116px; display: grid; gap: 24px; }
.carte-laterale { background: var(--creme); border-radius: var(--rayon-l); padding: 28px; }
.carte-laterale-verte { background: var(--vert-profond); color: var(--texte-clair); }
.carte-laterale-verte h2, .carte-laterale-verte h3 { color: #fff; }
.carte-laterale-verte a:not(.bouton) { color: #fff; }
.carte-laterale h3 { font-size: 1.15rem; margin-bottom: .6em; }
.carte-laterale p { font-size: .93rem; }
.carte-laterale ul { list-style: none; padding: 0; margin: 0; }
.carte-laterale li a {
    display: block; padding: 11px 0; font-size: .93rem; text-decoration: none;
    color: var(--encre); border-bottom: 1px solid var(--bordure); transition: color .18s ease, padding-left .18s ease;
}
.carte-laterale li:last-child a { border-bottom: 0; }
.carte-laterale li a:hover { color: var(--vert); padding-left: 6px; }
.carte-laterale-verte li a { color: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .14); }
.carte-laterale-verte li a:hover { color: var(--vert-clair); }
.carte-laterale .bouton { width: 100%; margin-top: 1em; }
.carte-contact-tel {
    font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: #fff;
    text-decoration: none; display: block; margin: .35em 0 .5em;
}
.carte-laterale-media { padding: 0; overflow: hidden; }
.carte-laterale-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carte-laterale-corps { padding: 26px 28px 28px; }

/* --- Cartes pôles ------------------------------------------------------- */
.grille-poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.carte-pole {
    background: #fff; border-radius: var(--rayon-l); overflow: hidden;
    box-shadow: var(--ombre); display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.carte-pole:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.carte-pole-media { position: relative; overflow: hidden; }
.carte-pole-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.carte-pole:hover .carte-pole-media img { transform: scale(1.05); }
.carte-pole-num {
    position: absolute; left: 22px; top: 22px; background: rgba(255, 255, 255, .94);
    color: var(--vert-fonce); font-family: var(--serif); font-weight: 700; z-index: 1;
    width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.carte-pole-corps { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.carte-pole h3 { margin-bottom: .35em; }
.carte-pole h3 a { text-decoration: none; }
.carte-pole-accroche { color: var(--texte); font-size: .96rem; }
.carte-pole-liens { list-style: none; padding: 0; margin: 1.2em 0 1.8em; flex: 1; }
.carte-pole-liens li + li { border-top: 1px solid var(--bordure); }
.carte-pole-liens a {
    display: block; padding: 10px 0; font-size: .92rem; text-decoration: none;
    color: var(--encre); transition: color .18s ease, padding-left .18s ease;
}
.carte-pole-liens a:hover { color: var(--vert); padding-left: 6px; }

/* --- Réassurance -------------------------------------------------------- */
.grille-reassurance {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    list-style: none; padding: 0; margin: 0; background: var(--bordure);
    border: 1px solid var(--bordure); border-radius: var(--rayon-l); overflow: hidden;
}
.carte-reassurance { background: #fff; padding: 36px 32px; }
.carte-reassurance .carte-titre { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--vert-encre); margin-bottom: .4em; }
.carte-reassurance p:last-child { margin-bottom: 0; font-size: .94rem; }
.icone {
    display: flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 50%; background: var(--vert-pale); margin-bottom: 20px;
}
.icone svg { width: 26px; height: 26px; stroke: var(--vert); fill: none; stroke-width: 1.6; }

/* --- Étapes ------------------------------------------------------------- */
.grille-etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; }
.carte-etape { position: relative; padding-top: 30px; }
.carte-etape::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--bordure); }
.carte-etape::after { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 2px; background: var(--vert); }
.etape-num { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--vert-pale); line-height: 1; margin-bottom: .18em; }
.section-verte .etape-num { color: rgba(111, 187, 60, .34); }
.section-verte .carte-etape::before { background: rgba(255, 255, 255, .16); }
.carte-etape h3 { font-size: 1.15rem; margin-bottom: .45em; }
.carte-etape p { font-size: .94rem; margin-bottom: 0; }

/* --- Avis --------------------------------------------------------------- */
.avis-entete { display: flex; flex-direction: column; align-items: center; margin-bottom: 3em; text-align: center; }
.avis-note { display: flex; align-items: baseline; gap: .55em; margin: .6em 0 0; }
.avis-note strong { font-family: var(--serif); font-size: 1.9rem; color: var(--vert); }
.avis-note span { color: var(--texte); font-size: .93rem; }
.grille-avis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.carte-avis { background: #fff; border-radius: var(--rayon-l); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--ombre); }
.avis-etoiles { color: #e0a63c; letter-spacing: 3px; margin-bottom: .8em; }
.carte-avis blockquote { flex: 1; }
.carte-avis blockquote p { font-size: .95rem; font-style: italic; }
.avis-auteur { margin: 0; border-top: 1px solid var(--bordure); padding-top: 1em; }
.avis-nom { display: block; font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--vert-encre); }
.avis-meta { display: block; font-size: .8rem; color: var(--texte); text-transform: uppercase; letter-spacing: .07em; margin-top: .2em; }

/* --- Villes ------------------------------------------------------------- */
.liste-villes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.liste-villes a {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon);
    padding: 17px 20px; text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.liste-villes a:hover { border-color: var(--vert); transform: translateY(-3px); box-shadow: var(--ombre); }
.ville-nom { font-weight: 700; color: var(--vert-encre); }
.ville-cp { font-size: .8rem; color: var(--texte); }

.grille-villes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; padding: 0; margin: 0; }
.carte-ville { position: relative; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre); background: var(--vert-profond); }
.carte-ville img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.carte-ville:hover img { transform: scale(1.06); }
.carte-ville::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(20, 42, 24, .92), rgba(20, 42, 24, .1) 62%);
}
.carte-ville-corps { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 1; }
.carte-ville h3 { color: #fff; margin-bottom: .2em; font-size: 1.28rem; }
.carte-ville h3 a { color: #fff; text-decoration: none; }
.carte-ville h3 a::after { content: ""; position: absolute; inset: 0; }
.carte-ville p { color: rgba(255, 255, 255, .8); font-size: .85rem; margin: 0; }

.ville-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 2.6em 0 0; }
.ville-infos li { border-left: 2px solid rgba(111, 187, 60, .5); padding-left: 18px; }
.ville-infos strong { display: block; color: #fff; font-size: 1.5rem; font-family: var(--serif); line-height: 1.1; }
.ville-infos span { font-size: .84rem; color: rgba(255, 255, 255, .72); }

/* --- Réalisations ------------------------------------------------------- */
.grille-realisations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; list-style: none; padding: 0; margin: 0; }
.carte-realisation { background: #fff; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.carte-realisation:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.carte-realisation-media { position: relative; overflow: hidden; }
.carte-realisation img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .5s ease; }
.carte-realisation:hover img { transform: scale(1.05); }
.carte-realisation-corps { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.carte-realisation h3, .carte-realisation h2 { font-size: 1.25rem; margin-bottom: .4em; }
.carte-realisation h3 a, .carte-realisation h2 a { text-decoration: none; }
.realisation-tags { position: absolute; left: 18px; top: 18px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; z-index: 1; }
.realisation-tags li {
    font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    background: rgba(255, 255, 255, .94); color: var(--vert-fonce); padding: 6px 13px; border-radius: var(--rayon-pilule);
}
.realisation-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 1.1em 0 0; margin: auto 0 0; font-size: .84rem; color: var(--texte); border-top: 1px solid var(--bordure); }
.realisation-meta strong { color: var(--vert-encre); display: block; font-family: var(--serif); }

.comparateur { position: relative; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre-forte); user-select: none; touch-action: pan-y; }
.comparateur img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.comparateur-apres { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.comparateur-apres picture { display: block; width: 100%; height: 100%; }
.comparateur-apres img { width: 100%; height: 100%; object-fit: cover; }
.comparateur-poignee { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-50%); cursor: ew-resize; }
.comparateur-poignee::after {
    content: "\25C2 \25B8"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #fff; color: var(--vert-fonce); border-radius: 100px; padding: 10px 14px;
    font-size: .78rem; font-weight: 700; box-shadow: var(--ombre); white-space: nowrap;
}
.comparateur-etiquette {
    position: absolute; top: 18px; background: rgba(20, 42, 24, .84); color: #fff;
    font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    padding: 7px 15px; border-radius: var(--rayon-pilule);
}
.comparateur-etiquette-avant { left: 18px; }
.comparateur-etiquette-apres { right: 18px; }
.comparateur-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.fiche-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; list-style: none; padding: 0; margin: 2.6em 0; background: var(--bordure); border: 1px solid var(--bordure); border-radius: var(--rayon-l); overflow: hidden; }
.fiche-chiffres li { background: #fff; padding: 22px 24px; }
.fiche-chiffres span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--texte); margin-bottom: .35em; }
.fiche-chiffres strong { font-family: var(--serif); font-size: 1.2rem; color: var(--vert-encre); }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 2.4em 0; }
.galerie img { border-radius: var(--rayon-l); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* --- Équipe ------------------------------------------------------------- */
.grille-equipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; list-style: none; padding: 0; margin: 0; }
.carte-membre { background: #fff; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre); }
.carte-membre-visuel { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--vert-pale); position: relative; }
.carte-membre-initiales { font-family: var(--serif); font-size: 3.4rem; font-weight: 700; color: var(--vert); }
.carte-membre img { width: 100%; height: 100%; object-fit: cover; }
.carte-membre-corps { padding: 26px; }
.carte-membre h3 { margin-bottom: .1em; font-size: 1.18rem; }
.membre-role { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--vert); font-weight: 700; margin-bottom: 1em; }
.carte-membre p { font-size: .93rem; }

.portrait-dirigeant { display: grid; grid-template-columns: 400px 1fr; gap: 70px; align-items: start; }
.portrait-visuel {
    aspect-ratio: 4 / 5; border-radius: var(--rayon-l); overflow: hidden;
    background: var(--vert-pale); display: flex; align-items: center; justify-content: center;
    box-shadow: var(--ombre-forte); position: relative;
}
.portrait-visuel img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initiales { font-family: var(--serif); font-size: 6rem; font-weight: 700; color: var(--vert); }
.portrait-legende { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(20, 42, 24, .88); color: #fff; padding: 16px 22px; font-size: .84rem; }

/* --- Blog --------------------------------------------------------------- */
.grille-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; list-style: none; padding: 0; margin: 0; }
.carte-article { background: #fff; border-radius: var(--rayon-l); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--ombre); transition: transform .25s ease, box-shadow .25s ease; }
.carte-article:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.carte-article-media { overflow: hidden; }
.carte-article img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .5s ease; }
.carte-article:hover img { transform: scale(1.05); }
.carte-article-corps { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.article-categorie { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--vert); margin-bottom: .7em; }
.carte-article h3, .carte-article h2 { font-size: 1.2rem; }
.carte-article h3 a, .carte-article h2 a { text-decoration: none; }
.carte-article p { font-size: .94rem; flex: 1; }
.article-signature { font-size: .82rem; color: var(--texte); border-top: 1px solid var(--bordure); padding-top: 1em; margin: auto 0 0; }
.chapo { font-family: var(--serif); font-size: 1.24rem; line-height: 1.55; color: var(--vert-encre); margin-bottom: 1.6em; }

/* --- Formulaire --------------------------------------------------------- */
.bloc-formulaire { background: #fff; border-radius: var(--rayon-l); padding: 44px; box-shadow: var(--ombre); }
.titre-formulaire { font-size: 1.75rem; margin-bottom: .3em; }
.form-intro { font-size: .97rem; margin-bottom: 2em; }
.formulaire-devis fieldset { border: 0; padding: 0; margin: 0 0 2em; }
.formulaire-devis legend {
    font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
    color: var(--vert); padding: 0; margin-bottom: 1.2em;
}
.grille-champs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.champ { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-size: .84rem; font-weight: 700; color: var(--encre); }
.champ input, .champ select, .champ textarea {
    font: inherit; font-size: .97rem; padding: 14px 16px; border: 1px solid var(--bordure);
    border-radius: var(--rayon); background: var(--creme); color: var(--encre); width: 100%;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
    border-color: var(--vert); background: #fff; box-shadow: 0 0 0 3px rgba(87, 161, 42, .14); outline: none;
}
.champ textarea { resize: vertical; min-height: 140px; }
.champ-case { flex-direction: row; align-items: flex-start; gap: 12px; margin-bottom: 1.2em; }
.champ-case input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--vert); }
.champ-case label { font-weight: 400; font-size: .93rem; line-height: 1.55; }
.champ-rgpd { background: var(--creme); border-radius: var(--rayon); padding: 18px 20px; }
.bloc-travaux { margin-top: 1.2em; padding-top: 1.2em; border-top: 1px dashed var(--bordure); }
.champ-pot-de-miel { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0; }
.form-mention { font-size: .84rem; color: var(--texte); }
.form-erreurs { background: #fdeeee; border-left: 3px solid #c0392b; border-radius: 0 var(--rayon) var(--rayon) 0; padding: 20px 24px; margin-bottom: 1.8em; }
.form-erreurs p { font-weight: 700; color: #a33226; margin-bottom: .4em; }
.form-erreurs ul { margin: 0; font-size: .93rem; }

.contact-grille { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: start; }
.carte-coordonnees { background: var(--vert-profond); color: var(--texte-clair); border-radius: var(--rayon-l); padding: 34px; }
.carte-coordonnees h2, .carte-coordonnees h3 { color: #fff; }
.carte-coordonnees a:not(.bouton) { color: #fff; }
.carte-coordonnees address { font-style: normal; line-height: 1.85; }
.carte-carte { border-radius: var(--rayon-l); overflow: hidden; border: 1px solid var(--bordure); }
.carte-carte iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.25); }

/* --- Bandeau CTA -------------------------------------------------------- */
.bandeau-cta { position: relative; background: var(--vert-profond); color: var(--texte-clair); overflow: hidden; }
.bandeau-cta-media { position: absolute; inset: 0; z-index: 0; }
.bandeau-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.bandeau-cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 42, 24, .96) 0%, rgba(20, 42, 24, .88) 48%, rgba(20, 42, 24, .62) 100%); }
.bandeau-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; padding: 84px 0; }
.bandeau-cta h2 { color: #fff; margin-bottom: .4em; }
.bandeau-cta p { color: rgba(255, 255, 255, .84); margin-bottom: .6em; }
.bandeau-cta-reponse {
    display: inline-flex; align-items: center; gap: .6em; font-weight: 700; color: var(--vert-clair);
    margin-bottom: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em;
}
.bandeau-cta-actions { display: flex; flex-direction: column; gap: 14px; }

/* --- Maillage ----------------------------------------------------------- */
.grille-lies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.grille-lies a {
    display: block; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon-l);
    padding: 26px; text-decoration: none; height: 100%;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.grille-lies a:hover { border-color: var(--vert); transform: translateY(-4px); box-shadow: var(--ombre); }
.lie-nom { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: var(--vert-encre); margin-bottom: .45em; }
.lie-desc { display: block; font-size: .88rem; color: var(--texte); line-height: 1.55; }

.grille-lies-media { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.carte-lie-media { position: relative; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre); background: var(--vert-profond); }
.carte-lie-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease; }
.carte-lie-media:hover img { transform: scale(1.06); }
.carte-lie-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 42, 24, .92), rgba(20, 42, 24, .05) 62%); }
.carte-lie-corps { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.carte-lie-corps p { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.06rem; color: #fff; line-height: 1.3; }
.carte-lie-corps a { color: #fff; text-decoration: none; }
.carte-lie-corps a::after { content: ""; position: absolute; inset: 0; }


/* --- Partenaires -------------------------------------------------------- */
.grille-partenaires { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; }
.carte-partenaire {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--bordure); border-radius: var(--rayon-l); overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.carte-partenaire:hover { border-color: var(--vert); transform: translateY(-4px); box-shadow: var(--ombre); }
.carte-partenaire-logo {
    display: flex; align-items: center; justify-content: center;
    min-height: 170px; padding: 34px; background: var(--creme);
    border-bottom: 1px solid var(--bordure);
}
.carte-partenaire-logo img,
.carte-partenaire-logo picture { max-height: 92px; width: auto; max-width: 260px; object-fit: contain; }
.carte-partenaire-logo picture img { max-height: 92px; width: auto; }
.carte-partenaire-corps { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.carte-partenaire-categorie {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .14em; color: var(--vert); margin-bottom: .7em;
}
.carte-partenaire h2 { font-size: 1.45rem; margin-bottom: .3em; }
.carte-partenaire-accroche { font-family: var(--serif); font-size: 1.05rem; color: var(--vert-encre); margin-bottom: 1.1em; }
.carte-partenaire p { font-size: .95rem; }
.carte-partenaire-lien {
    background: var(--vert-pale); border-radius: var(--rayon);
    padding: 18px 20px; margin: .6em 0 1.4em; font-size: .93rem;
}
.carte-partenaire-lien-titre {
    display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .14em; color: var(--vert-fonce); margin-bottom: .45em;
}
.carte-partenaire-actions { margin: auto 0 0; padding-top: .4em; }

/* --- Pied de page ------------------------------------------------------- */
.site-footer { background: var(--vert-profond); color: rgba(255, 255, 255, .74); padding-top: 84px; }
.footer-grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 62px; }
.footer-logo { background: #fff; border-radius: var(--rayon); padding: 12px 16px; width: 240px; height: auto; }
.footer-baseline { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--vert-clair); font-weight: 700; margin: 1.4em 0 1em; }
.footer-desc { font-size: .93rem; }
.footer-titre { font-family: var(--serif); font-weight: 700; color: #fff; font-size: 1.12rem; margin-bottom: 1.1em; }
.footer-titre-second { margin-top: 2em; }
.footer-liens, .footer-reseaux { list-style: none; padding: 0; margin: 0; }
.footer-liens li { margin-bottom: 7px; }
.footer-liens li.sous { padding-left: 14px; }
.footer-liens a, .footer-reseaux a, .footer-nap a, .footer-legal a { color: rgba(255, 255, 255, .74); text-decoration: none; font-size: .92rem; transition: color .18s ease; }
.footer-liens a:hover, .footer-reseaux a:hover, .footer-nap a:hover, .footer-legal a:hover { color: var(--vert-clair); }
.footer-villes { columns: 2; column-gap: 20px; }
.footer-toutes-zones { margin: 1em 0 0; }
.footer-toutes-zones a { font-weight: 700; color: var(--vert-clair); font-size: .9rem; text-decoration: none; }
.footer-toutes-zones a:hover { text-decoration: underline; }
.footer-nap { font-style: normal; line-height: 1.9; font-size: .93rem; }
.nap-nom { font-family: var(--serif); font-weight: 700; color: #fff; font-size: 1.02rem; }
.footer-horaires { font-size: .9rem; margin-top: 1.2em; }
.footer-reponse { font-weight: 700; color: var(--vert-clair); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-reseaux li { margin-bottom: 7px; }
.footer-bas { border-top: 1px solid rgba(255, 255, 255, .12); padding: 26px 0; font-size: .84rem; }
.footer-bas-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-bas p { margin: 0; color: rgba(255, 255, 255, .55); max-width: 72ch; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { font-size: .84rem; }

/* --- Barre CTA mobile --------------------------------------------------- */
.barre-mobile { display: none; }

/* --- Divers ------------------------------------------------------------- */
.page-404 { text-align: center; padding: 120px 0; }
.page-404 .bouton { margin: .6em .3em 0; }
.plan-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 44px; }
.plan-grille ul { list-style: none; padding: 0; }
.plan-grille li { margin-bottom: 7px; }
.plan-grille h2 { font-size: 1.3rem; }
.mentions-corps { max-width: 76ch; }
.mentions-corps h2 { margin-top: 2.2em; }
.mentions-corps dl { margin: 0 0 1.6em; }
.mentions-corps dt { font-weight: 700; color: var(--vert-encre); margin-top: 1em; }
.mentions-corps dd { margin: 0 0 .2em; }

/* Apparition au défilement.
   Le masquage n’est applique que si JavaScript est actif : sans lui,
   tout le contenu reste visible. */
.js .apparait { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .apparait.visible { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
    :root { --section-y: 82px; --gouttiere: 24px; }
    .grille-poles, .grille-realisations, .grille-articles, .grille-villes { grid-template-columns: repeat(2, 1fr); }
    .grille-partenaires { grid-template-columns: 1fr; }
    .grille-avis, .grille-lies, .grille-lies-media { grid-template-columns: repeat(2, 1fr); }
    .grille-etapes { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .grille-reassurance { grid-template-columns: repeat(2, 1fr); }
    .contenu-grille { grid-template-columns: 1fr; gap: 56px; }
    .colonne-laterale { position: static; grid-template-columns: repeat(2, 1fr); }
    .footer-grille { grid-template-columns: repeat(2, 1fr); }
    .duo { gap: 48px; }
    .portrait-dirigeant { grid-template-columns: 320px 1fr; gap: 48px; }
    .contact-grille { grid-template-columns: 1fr; gap: 48px; }
    .hero-inner { grid-template-columns: minmax(0, 480px) 1fr; }
}

@media (max-width: 980px) {
    .burger {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        margin-left: auto; width: 48px; height: 48px; padding: 0 11px;
        background: var(--vert-pale); border: 0; border-radius: var(--rayon); cursor: pointer;
    }
    .burger span { display: block; height: 2px; background: var(--vert-fonce); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
    .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .header-actions { display: none; }
    .header-inner { min-height: 74px; gap: 16px; }
    .logo img { width: 185px; }

    /* Le backdrop-filter cree un bloc conteneur : un enfant en position fixed
       se calerait alors sur l'en-tete au lieu du viewport. On le retire ici. */
    .site-header { backdrop-filter: none; background: #fff; }

    /* Voile sombre derriere le panneau */
    .voile-menu {
        display: block; position: fixed; inset: 0; z-index: 110;
        background: rgba(20, 42, 24, .55);
        opacity: 0; pointer-events: none;
        transition: opacity .28s ease;
    }
    .voile-menu.visible { opacity: 1; pointer-events: auto; }

    /* Panneau lateral, ouverture par la droite */
    .nav-principale {
        position: fixed; top: 0; right: 0; bottom: 0; left: auto;
        width: min(88vw, 390px); z-index: 120;
        background: #fff; display: flex; flex-direction: column;
        overflow-y: auto; overscroll-behavior: contain;
        padding: 0; margin: 0;
        box-shadow: -18px 0 50px rgba(20, 42, 24, .22);
        transform: translateX(100%); visibility: hidden;
        transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility .32s;
    }
    .nav-principale.ouvert { transform: translateX(0); visibility: visible; }

    .panneau-entete {
        display: flex; align-items: center; justify-content: space-between;
        gap: 16px; padding: 18px var(--gouttiere);
        border-bottom: 1px solid var(--bordure); flex: 0 0 auto;
    }
    .panneau-logo { width: 175px; height: auto; }
    .panneau-fermer {
        display: flex; align-items: center; justify-content: center; position: relative;
        width: 44px; height: 44px; flex: 0 0 auto; cursor: pointer;
        background: var(--vert-pale); border: 0; border-radius: 50%;
    }
    .panneau-fermer span {
        position: absolute; width: 17px; height: 2px; background: var(--vert-fonce); border-radius: 2px;
    }
    .panneau-fermer span:first-child { transform: rotate(45deg); }
    .panneau-fermer span:last-child { transform: rotate(-45deg); }

    .nav-niveau1 { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gouttiere) 0; }
    .nav-niveau1 > li { border-bottom: 1px solid var(--bordure); display: flex; flex-wrap: wrap; align-items: center; }
    .nav-niveau1 > li > a { flex: 1; padding: 17px 0; font-size: .92rem; letter-spacing: .08em; }
    .a-sous-menu > a { cursor: pointer; }
    .nav-niveau1 > li > a::after { display: none; }
    .deplier {
        display: block; width: 44px; height: 44px; border: 0; background: transparent;
        position: relative; cursor: pointer; flex: 0 0 auto;
    }
    .deplier::after {
        content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px;
        border-right: 2px solid var(--vert-fonce); border-bottom: 2px solid var(--vert-fonce);
        transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s ease;
    }
    .deplier[aria-expanded="true"]::after { transform: translate(-50%, -30%) rotate(-135deg); }

    /* Sous-menus en accordeon */
    .mega-menu {
        position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
        box-shadow: none; border: 0; background: transparent;
        padding: 0 0 14px; display: none; flex-basis: 100%; width: 100%;
    }
    .mega-menu.ouvert { display: block; }
    .a-sous-menu:hover .mega-menu { opacity: 1; visibility: visible; }
    .mega-inner { grid-template-columns: 1fr; gap: 0; padding: 0; width: 100%; }
    .mega-visuel { display: none; }
    .mega-liste { grid-template-columns: 1fr; gap: 0; }
    .mega-liste a {
        background: var(--creme); margin-bottom: 5px; padding: 13px 16px;
        border-bottom: 0; border-radius: var(--rayon);
    }
    .mega-liste a::before { width: 6px; height: 6px; background: var(--vert); opacity: .45; }
    .mega-tout { display: block; }
    .mega-tout a { background: var(--vert-pale); font-weight: 700; }
    .mega-tout a::before { background: var(--vert); opacity: 1; }
    .mega-tout .mega-nom { color: var(--vert-fonce); }

    /* Pied du panneau */
    .nav-actions-mobile {
        display: block; margin-top: auto; flex: 0 0 auto;
        padding: 24px var(--gouttiere) calc(24px + env(safe-area-inset-bottom));
        background: var(--creme); border-top: 1px solid var(--bordure);
    }
    .nav-actions-mobile .bouton { width: 100%; }
    .panneau-tel { display: block; margin-top: 18px; text-decoration: none; }
    .panneau-tel-label {
        display: block; font-size: .7rem; text-transform: uppercase;
        letter-spacing: .14em; color: var(--texte); font-weight: 700;
    }
    .panneau-tel-num {
        display: block; font-family: var(--serif); font-size: 1.35rem;
        font-weight: 700; color: var(--vert-fonce);
    }
    .panneau-mention { display: block; font-size: .8rem; color: var(--texte); margin: .5em 0 0; }

    .barre-mobile {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        box-shadow: 0 -6px 24px rgba(20, 42, 24, .2);
    }
    .barre-mobile-item {
        display: flex; align-items: center; justify-content: center;
        padding: 18px 12px; font-weight: 700; font-size: .78rem; text-decoration: none;
        text-transform: uppercase; letter-spacing: .12em; background: var(--vert); color: #fff;
    }
    body { padding-bottom: 58px; }

    .hero-inner { grid-template-columns: 1fr; padding: 44px 0 34px; gap: 0; }
    .hero-media { position: relative; width: auto; margin: 0; height: 320px; }
    .hero-media::before { display: none; }
    .hero-encart { left: var(--gouttiere); bottom: 20px; max-width: calc(100% - 2 * var(--gouttiere)); }
    .bandeau-cta-inner, .duo, .portrait-dirigeant { grid-template-columns: 1fr; gap: 36px; }
    .duo-inverse .duo-media { order: 0; }
    .duo-media img { aspect-ratio: 4 / 3; }
    .duo-vignette, .badge-flottant { display: none; }
    .portrait-visuel { max-width: 340px; }
    .grille-chiffres { grid-template-columns: repeat(2, 1fr); gap: 34px; }
    .grille-chiffres li + li::before { display: none; }
    .galerie { grid-template-columns: repeat(2, 1fr); }
    .fiche-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-interne-inner { padding: 62px 0 66px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    :root { --gouttiere: 18px; --section-y: 60px; }
    .grille-poles, .grille-realisations, .grille-articles, .grille-villes,
    .grille-avis, .grille-lies, .grille-lies-media, .grille-etapes, .grille-reassurance,
    .grille-champs, .colonne-laterale, .footer-grille, .galerie, .figure-duo {
        grid-template-columns: 1fr;
    }
    .footer-villes { columns: 2; }
    .bloc-formulaire { padding: 26px 20px; }
    .hero-actions .bouton, .bandeau-cta-actions .bouton, .page-404 .bouton { width: 100%; }
    .footer-bas-inner { flex-direction: column; align-items: flex-start; }
    .comparateur-poignee::after { padding: 7px 10px; font-size: .7rem; }
    .entete-section { margin-bottom: 2.4em; }
    .carte-realisation-corps, .carte-article-corps, .carte-pole-corps { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .apparait { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .barre-mobile, .bandeau-cta, .bloc-formulaire, .hero-media { display: none; }
    body { font-size: 12pt; color: #000; }
}
