/* ==========================================================================
   Cauris · Site institutionnel
   Ivoire (le pays) · Lagune (Ébrié) · Forêt (le drapeau) · Latérite (la terre) · Or (la valeur)
   ========================================================================== */

:root {
    --ivoire: #F7F3EA;
    --ivoire-2: #EFE7D6;
    --ivoire-3: #E4D9C2;
    --lagune: #0B3B36;
    --lagune-2: #0F4C44;
    --lagune-3: #16615A;
    --foret: #138A5B;
    --foret-pale: #E2F1E8;
    --laterite: #EE7D30;
    --laterite-fonce: #B8501A;
    --laterite-pale: #FCEADC;
    --or: #D9A441;
    --or-fonce: #8A6418;
    --or-pale: #F7ECD2;
    --encre: #0F1F1C;
    --texte-2: #4A5753;
    --texte-3: #6E7B77;
    --filet: rgba(11, 59, 54, .12);
    --filet-fort: rgba(11, 59, 54, .22);
    --blanc: #FFFFFF;
    --rouge: #B42318;

    --titre: "Sora", "Segoe UI", Arial, sans-serif;
    --texte: "Figtree", "Segoe UI", Arial, sans-serif;

    --r-s: 12px;
    --r-m: 20px;
    --r-l: 28px;
    --r-xl: 40px;
    --ombre-douce: 0 1px 2px rgba(11, 59, 54, .06), 0 8px 24px -8px rgba(11, 59, 54, .12);
    --ombre-portee: 0 2px 4px rgba(11, 59, 54, .06), 0 24px 56px -20px rgba(11, 59, 54, .32);
    --ombre-flottante: 0 30px 80px -24px rgba(3, 20, 18, .55);

    --largeur: 1240px;
    --gouttiere: clamp(18px, 4vw, 40px);
    --entete-h: 76px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0; background: var(--ivoire); color: var(--encre);
    font-family: var(--texte); font-size: 1.0625rem; line-height: 1.65;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lagune-3); text-underline-offset: 3px; }
a:hover { color: var(--lagune); }
address { font-style: normal; }
main:focus { outline: none; }
::selection { background: var(--or-pale); color: var(--lagune); }
:focus-visible { outline: 3px solid var(--laterite); outline-offset: 3px; border-radius: 6px; }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.evitement { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 20px; border-radius: 999px; background: var(--laterite); color: var(--lagune); font-weight: 700; text-decoration: none; }
.evitement:focus { top: 16px; }
.cadre { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- Boutons ---------- */

.bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--texte); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.bouton:hover { transform: translateY(-1px); }
.bouton:active { transform: translateY(0); }
.bouton--petit { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.bouton--laterite { background: var(--laterite); color: var(--lagune); box-shadow: 0 10px 24px -10px rgba(238, 125, 48, .7); }
.bouton--laterite:hover { background: #F48A40; color: var(--lagune); box-shadow: 0 14px 30px -10px rgba(238, 125, 48, .8); }
.bouton--lagune { background: var(--lagune); color: var(--ivoire); }
.bouton--lagune:hover { background: var(--lagune-2); color: var(--blanc); }
.bouton--verre { background: rgba(255, 255, 255, .08); border-color: rgba(247, 243, 234, .28); color: var(--ivoire); backdrop-filter: blur(8px); }
.bouton--verre:hover { background: rgba(255, 255, 255, .16); border-color: rgba(247, 243, 234, .5); color: var(--blanc); }
.bouton--contour { border-color: var(--filet-fort); color: var(--lagune); background: transparent; }
.bouton--contour:hover { border-color: var(--lagune); background: var(--blanc); color: var(--lagune); }
.bouton--bloc { width: 100%; }

.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lagune-3); text-decoration: none; }
.lien-fleche .icone { width: 18px; height: 18px; transition: transform .18s; }
.lien-fleche:hover { color: var(--lagune); }
.lien-fleche:hover .icone { transform: translateX(4px); }

/* ---------- En-tête flottant ---------- */

.entete { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 var(--gouttiere); pointer-events: none; }
.entete__barre {
    pointer-events: auto; position: relative;
    display: flex; align-items: center; gap: 24px;
    max-width: calc(var(--largeur) - 2 * 16px); margin: 0 auto; min-height: var(--entete-h); padding: 0 12px 0 20px;
    border-radius: 999px; background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .6); box-shadow: var(--ombre-douce);
    backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
    transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.page-sombre .entete:not(.est-defile) .entete__barre { background: rgba(255, 255, 255, .06); border-color: rgba(247, 243, 234, .14); box-shadow: none; }

.marque { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--lagune); flex: none; }
.marque:hover { color: var(--lagune); }
.marque__embleme { width: 40px; height: 40px; border-radius: 12px; }
.marque__nom { font-family: var(--titre); font-weight: 700; font-size: 1.375rem; letter-spacing: -.02em; }
.page-sombre .entete:not(.est-defile) .marque { color: var(--ivoire); }

.navigation { display: flex; align-items: center; gap: 20px; flex: 1; }
.navigation__liste { display: flex; gap: 2px; margin-left: auto; }
.navigation__lien {
    display: block; padding: 9px 14px; border-radius: 999px;
    font-weight: 600; font-size: .96875rem; color: var(--encre); text-decoration: none;
    transition: background-color .18s, color .18s;
}
.navigation__lien:hover { background: rgba(11, 59, 54, .07); color: var(--lagune); }
.navigation__lien[aria-current="page"] { background: var(--lagune); color: var(--ivoire); }
.page-sombre .entete:not(.est-defile) .navigation__lien { color: rgba(247, 243, 234, .86); }
.page-sombre .entete:not(.est-defile) .navigation__lien:hover { background: rgba(255, 255, 255, .1); color: var(--blanc); }
.navigation__actions { display: flex; align-items: center; gap: 14px; }
.navigation__connexion { font-weight: 600; font-size: .9375rem; color: var(--lagune-3); text-decoration: none; padding: 8px 4px; }
.navigation__connexion:hover { color: var(--lagune); text-decoration: underline; }
.page-sombre .entete:not(.est-defile) .navigation__connexion { color: rgba(247, 243, 234, .86); }

.menu-bouton { display: none; }

/* ---------- Typographie des sections ---------- */

.section { padding: clamp(60px, 7vw, 104px) 0; }
.surtitre {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
    padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--or-pale);
    font-weight: 700; font-size: .875rem; color: var(--or-fonce);
}
.surtitre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--laterite); box-shadow: 0 0 0 4px rgba(238, 125, 48, .18); }
.surtitre--clair { background: rgba(255, 255, 255, .08); color: #F3D9A6; }
.titre-section {
    font-family: var(--titre); font-weight: 700;
    font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.03em;
    color: var(--lagune); text-wrap: balance;
}
.texte-courant { font-size: 1.125rem; line-height: 1.7; color: var(--texte-2); max-width: 62ch; }
.texte-courant + .texte-courant { margin-top: 14px; }
.tete-section { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.tete-section .texte-courant { margin-top: 18px; }
.tete-section--centree { margin-left: auto; margin-right: auto; text-align: center; }
.tete-section--centree .texte-courant { margin-left: auto; margin-right: auto; }
.tete-section--ligne { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.note-source { grid-column: 1 / -1; font-size: .875rem; color: var(--texte-3); }

/* ---------- Ouverture ---------- */

.heros {
    position: relative; overflow: hidden; isolation: isolate;
    padding: calc(var(--entete-h) + 96px) 0 clamp(140px, 14vw, 200px);
    background: radial-gradient(120% 90% at 85% 10%, var(--lagune-3) 0%, var(--lagune) 45%, #072A26 100%);
    color: var(--ivoire);
}
.heros::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: radial-gradient(rgba(247, 243, 234, .09) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 80%);
}
.heros__halo { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); }
.heros__halo--laterite { width: 520px; height: 520px; right: -120px; top: 80px; background: rgba(238, 125, 48, .32); }
.heros__halo--foret { width: 460px; height: 460px; left: -160px; bottom: -80px; background: rgba(19, 138, 91, .35); }
.heros__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(40px, 5vw, 72px); align-items: center; }

.pastille-contexte {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px;
    padding: 8px 16px 8px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(247, 243, 234, .14);
    font-size: .9375rem; font-weight: 600; color: rgba(247, 243, 234, .9);
}
.pastille-contexte__drapeau { display: inline-flex; overflow: hidden; border-radius: 4px; width: 24px; height: 16px; flex: none; }
.pastille-contexte__drapeau span { flex: 1; }
.pastille-contexte__drapeau span:nth-child(1) { background: #F77F00; }
.pastille-contexte__drapeau span:nth-child(2) { background: #FFFFFF; }
.pastille-contexte__drapeau span:nth-child(3) { background: #009E60; }

.heros__titre {
    font-family: var(--titre); font-weight: 700;
    font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.045em;
    color: var(--blanc); text-wrap: balance;
}
.heros__chapeau { margin-top: 26px; max-width: 54ch; font-size: 1.1875rem; line-height: 1.65; color: rgba(247, 243, 234, .76); }
.heros__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.heros__preuves { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(247, 243, 234, .12); }
.heros__preuves li { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: rgba(247, 243, 234, .82); }
.heros__preuves .icone { width: 20px; height: 20px; color: var(--or); }
.heros__vague { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 8vw, 120px); fill: var(--ivoire); }

/* La scène : le produit en situation */
.scene { position: relative; min-height: 600px; }
.scene__tableau {
    position: absolute; right: 0; top: 0; width: min(388px, 74%);
    padding: 24px 26px 22px; border-radius: var(--r-l);
    background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-flottante);
}
.scene__tableau-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.scene__surtitre { font-size: .8125rem; font-weight: 700; color: var(--texte-3); }
.scene__lieu { font-family: var(--titre); font-weight: 600; font-size: .9375rem; color: var(--lagune); }
.scene__direct { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: var(--foret-pale); color: var(--foret); font-size: .75rem; font-weight: 700; }
.scene__direct span { width: 7px; height: 7px; border-radius: 50%; background: var(--foret); animation: pouls 2.2s infinite; }
.scene__montant { margin-top: 16px; font-family: var(--titre); font-weight: 700; font-size: 2.375rem; letter-spacing: -.04em; line-height: 1; color: var(--lagune); font-variant-numeric: tabular-nums; }
.scene__montant small { font-size: .9375rem; letter-spacing: 0; color: var(--texte-3); font-weight: 600; }
.scene__evolution { margin-top: 8px; display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--laterite-pale); color: var(--laterite-fonce); font-size: .8125rem; font-weight: 700; }
.scene__courbe { width: 100%; height: 92px; margin: 18px 0 8px; }
.scene__zones { display: grid; gap: 10px; }
.scene__zones li { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 12px; font-size: .8125rem; color: var(--texte-2); }
.scene__zones strong { font-family: var(--titre); font-size: .8125rem; color: var(--lagune); }
.scene__jauge { height: 7px; border-radius: 999px; background: var(--ivoire-2); overflow: hidden; }
.scene__jauge span { display: block; height: 100%; width: var(--valeur); border-radius: inherit; background: linear-gradient(90deg, var(--foret), #34B37E); }

.scene__telephone {
    position: absolute; left: -28px; bottom: 0; width: 204px;
    padding: 10px; border-radius: 40px; background: #08201D;
    box-shadow: var(--ombre-flottante), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
    transform: rotate(-4deg);
}
.scene__ecran { position: relative; padding: 18px 16px 18px; border-radius: 31px; background: var(--ivoire); color: var(--encre); }
.scene__ecran::before { content: ""; position: absolute; top: 8px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 999px; background: #08201D; }
.scene__statut { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .6875rem; font-weight: 700; color: var(--texte-2); }
.scene__hors-ligne { padding: 2px 8px; border-radius: 999px; background: var(--or-pale); color: var(--or-fonce); }
.scene__app-titre { margin-top: 16px; font-family: var(--titre); font-weight: 700; font-size: 1rem; color: var(--lagune); }
.scene__app-personne { font-size: .75rem; color: var(--texte-3); }
.scene__app-montant { margin-top: 12px; padding: 12px 0 4px; border-top: 1px dashed var(--filet-fort); font-family: var(--titre); font-weight: 800; font-size: 1.75rem; letter-spacing: -.04em; color: var(--lagune); }
.scene__app-montant span { font-size: .75rem; letter-spacing: 0; color: var(--texte-3); }
.scene__app-libelle { font-size: .75rem; color: var(--texte-2); }
.scene__app-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.scene__app-choix span { padding: 8px 4px; border-radius: 12px; border: 1px solid var(--filet-fort); text-align: center; white-space: nowrap; font-size: .625rem; font-weight: 700; color: var(--texte-2); }
.scene__app-choix .est-actif { border-color: var(--lagune); background: var(--lagune); color: var(--ivoire); }
.scene__app-bouton { display: block; margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--laterite); color: var(--lagune); text-align: center; font-weight: 800; font-size: .875rem; }
.scene__app-note { margin-top: 10px; text-align: center; font-size: .625rem; color: var(--texte-3); }

.scene__bulle {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 18px;
    background: rgba(255, 255, 255, .96); color: var(--texte-2); box-shadow: var(--ombre-portee);
    font-size: .8125rem; line-height: 1.35;
}
.scene__bulle strong { color: var(--lagune); font-family: var(--titre); font-weight: 600; }
.scene__bulle--1 { left: 43%; bottom: 122px; }
.scene__bulle--2 { left: 36%; bottom: 34px; }
.scene__bulle-icone { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; flex: none; }
.scene__bulle-icone .icone { width: 20px; height: 20px; }
.scene__bulle-icone--foret { background: var(--foret-pale); color: var(--foret); }
.scene__bulle-icone--or { background: var(--or-pale); color: var(--or-fonce); }
.scene__legende { position: absolute; right: 4px; bottom: -36px; font-size: .75rem; color: rgba(247, 243, 234, .5); }

@media (prefers-reduced-motion: no-preference) {
    .heros__texte > * { animation: monter .7s cubic-bezier(.2, .7, .2, 1) both; }
    .heros__texte > :nth-child(2) { animation-delay: .06s; }
    .heros__texte > :nth-child(3) { animation-delay: .12s; }
    .heros__texte > :nth-child(4) { animation-delay: .18s; }
    .heros__texte > :nth-child(5) { animation-delay: .24s; }
    .scene__tableau { animation: monter .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
    .scene__telephone { animation: monter-tourne .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
    .scene__bulle--1 { animation: monter .7s .7s both, flotter 6s 1.4s ease-in-out infinite; }
    .scene__bulle--2 { animation: monter .7s .9s both, flotter 7s 1.6s ease-in-out infinite reverse; }
}
@keyframes monter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes monter-tourne { from { opacity: 0; transform: translateY(30px) rotate(-8deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(19, 138, 91, .5); } 70% { box-shadow: 0 0 0 7px rgba(19, 138, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(19, 138, 91, 0); } }

/* ---------- Publics ---------- */

.publics { position: relative; z-index: 2; margin-top: clamp(-90px, -6vw, -48px); }
.publics__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.public {
    display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px;
    border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-portee);
    color: var(--texte-2); text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.public:hover { transform: translateY(-4px); color: var(--texte-2); box-shadow: 0 2px 4px rgba(11, 59, 54, .06), 0 32px 64px -24px rgba(11, 59, 54, .4); }
.public__icone { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 6px; }
.public__icone .icone { width: 26px; height: 26px; }
.public__icone--lagune { background: #DCEBE8; color: var(--lagune-3); }
.public__icone--or { background: var(--or-pale); color: var(--or-fonce); }
.public__icone--foret { background: var(--foret-pale); color: var(--foret); }
.public__titre { font-family: var(--titre); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--lagune); line-height: 1.25; }
.public__lien { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--lagune-3); }
.public__lien .icone { width: 18px; height: 18px; transition: transform .2s; }
.public:hover .public__lien .icone { transform: translateX(4px); }

/* ---------- Enjeux ---------- */

.enjeux__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px clamp(40px, 6vw, 88px); align-items: center; }
.enjeux__texte .texte-courant { margin-top: 22px; }
.indicateurs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.indicateur { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.indicateur dt { color: var(--texte-2); font-size: .9375rem; line-height: 1.5; }
.indicateur dd { position: relative; width: 112px; height: 112px; }
.indicateur--large { grid-column: 1 / -1; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 28px; background: var(--lagune); background-image: radial-gradient(120% 140% at 100% 0%, var(--lagune-3), var(--lagune) 60%); }
.indicateur--large dd { width: auto; height: auto; font-family: var(--titre); font-weight: 800; font-size: clamp(4rem, 8vw, 6rem); letter-spacing: -.06em; line-height: .9; color: var(--ivoire); }
.indicateur--large dt { color: rgba(247, 243, 234, .78); font-size: 1.0625rem; max-width: 28ch; }
.anneau { width: 112px; height: 112px; transform: rotate(-90deg); }
.anneau circle { fill: none; stroke-width: 11; stroke: var(--ivoire-2); }
.anneau .anneau__valeur { stroke: var(--laterite); stroke-linecap: round; stroke-dasharray: calc(var(--part) * 3.1416) 314.16; }
.anneau--foret .anneau__valeur { stroke: var(--foret); }
.anneau__texte { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--titre); font-weight: 700; font-size: 1.625rem; letter-spacing: -.03em; color: var(--lagune); }

/* ---------- Parcours ---------- */

.parcours-section { background: linear-gradient(180deg, var(--ivoire) 0%, var(--ivoire-2) 100%); }
.parcours { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.parcours::before {
    content: ""; position: absolute; left: 10%; right: 10%; top: 54px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--or) 0 10px, transparent 10px 18px); opacity: .6;
}
.etape { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px 24px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.etape p:last-child { font-size: .9375rem; color: var(--texte-2); margin-top: 6px; }
.etape__icone { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 12px; background: var(--ivoire); color: var(--lagune-3); box-shadow: inset 0 0 0 1px var(--filet); }
.etape__icone .icone { width: 26px; height: 26px; }
.etape__rang { font-size: .8125rem; font-weight: 700; color: var(--or-fonce); }
.etape__titre { font-family: var(--titre); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.02em; color: var(--lagune); }
.etape__acteur { font-size: .8125rem; font-weight: 700; color: var(--laterite-fonce); }
.etape--finale { background: var(--lagune); background-image: radial-gradient(140% 100% at 100% 0%, var(--lagune-3), var(--lagune) 70%); }
.etape--finale .etape__icone { background: rgba(255, 255, 255, .1); color: var(--or); box-shadow: none; }
.etape--finale .etape__titre { color: var(--ivoire); }
.etape--finale .etape__rang { color: #F3D9A6; }
.etape--finale .etape__acteur { color: #F8B07E; }
.etape--finale p:last-child { color: rgba(247, 243, 234, .76); }

/* ---------- Composantes (grille bento) ---------- */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tuile {
    grid-column: span 4; position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 8px; padding: 26px;
    border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce);
}
.tuile h3 { font-family: var(--titre); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.02em; color: var(--lagune); }
.tuile p { font-size: .9375rem; color: var(--texte-2); }
.tuile__icone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 8px; background: var(--ivoire); color: var(--lagune-3); }
.tuile__icone .icone { width: 24px; height: 24px; }

.tuile--terrain { grid-column: span 7; grid-row: span 2; flex-direction: row; gap: 28px; align-items: stretch; padding: 34px; background: var(--lagune); background-image: radial-gradient(90% 120% at 100% 100%, rgba(238, 125, 48, .35), transparent 60%), radial-gradient(120% 100% at 0% 0%, var(--lagune-3), var(--lagune) 65%); }
.tuile--terrain h3 { color: var(--ivoire); font-size: 1.625rem; }
.tuile--terrain p { color: rgba(247, 243, 234, .78); font-size: 1.0625rem; }
.tuile--terrain .tuile__icone { background: rgba(255, 255, 255, .1); color: var(--or); }
.tuile__texte { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tuile__quittance {
    align-self: center; flex: none; width: 196px; padding: 20px 18px; border-radius: 16px;
    background: var(--ivoire); color: var(--encre); transform: rotate(4deg); box-shadow: var(--ombre-flottante);
    -webkit-mask: radial-gradient(circle 6px at 50% 0, transparent 98%, #000) 0 0 / 16px 100% repeat-x;
}
.tuile--terrain .tuile__quittance p { color: var(--texte-2); }
.tuile__quittance-tete { font-size: .6875rem; font-weight: 700; color: var(--texte-3) !important; }
.tuile__quittance-num { font-family: var(--titre); font-weight: 600; font-size: .875rem; color: var(--lagune) !important; }
.tuile__quittance-montant { margin: 14px 0; padding: 12px 0; border-top: 1px dashed var(--filet-fort); border-bottom: 1px dashed var(--filet-fort); font-family: var(--titre); font-weight: 800; font-size: 1.5rem !important; letter-spacing: -.03em; color: var(--lagune) !important; }
.tuile__qr { width: 64px; height: 64px; color: var(--lagune); }
.tuile--terrain .tuile__quittance .tuile__quittance-tete { font-size: .6875rem; line-height: 1.4; }
.tuile--terrain .tuile__quittance .tuile__quittance-num { font-size: .875rem; line-height: 1.4; }
.tuile__chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 24px; }
.tuile__chiffres div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(247, 243, 234, .1); }
.tuile__chiffres dd { font-family: var(--titre); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; color: var(--ivoire); }
.tuile__chiffres dt { font-size: .8125rem; color: rgba(247, 243, 234, .65); }

.tuile--supervision { grid-column: span 5; }
.tuile__alertes { display: grid; gap: 8px; margin-top: 10px; }
.tuile__alertes li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--ivoire); font-size: .875rem; font-weight: 600; color: var(--encre); }
.point { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.point--laterite { background: var(--laterite); box-shadow: 0 0 0 4px rgba(238, 125, 48, .18); }
.point--or { background: var(--or); box-shadow: 0 0 0 4px rgba(217, 164, 65, .2); }

.tuile--recensement { grid-column: span 5; background: var(--or-pale); }
.tuile--recensement .tuile__icone { background: rgba(255, 255, 255, .7); color: var(--or-fonce); }
.tuile--recensement p { max-width: 30ch; }
.tuile__points { position: relative; width: 100%; height: 118px; margin-top: auto; border-radius: 18px; background: rgba(255, 255, 255, .6); }
.tuile--recensement .tuile__points { margin-top: 14px; }
.tuile__points span { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--lagune-3); box-shadow: 0 0 0 4px rgba(22, 97, 90, .15); }
.tuile__points span:nth-child(3n) { background: var(--laterite); box-shadow: 0 0 0 4px rgba(238, 125, 48, .18); }

/* ---------- Territoire ---------- */

.territoire-section { padding-top: 0; }
.territoire {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
    padding: clamp(36px, 6vw, 72px); border-radius: var(--r-xl); overflow: hidden; position: relative;
    background: radial-gradient(90% 120% at 100% 50%, var(--lagune-3), var(--lagune) 55%, #072A26);
    color: var(--ivoire);
}
.territoire .titre-section { color: var(--ivoire); }
.territoire__points { display: grid; gap: 18px; margin-top: 28px; }
.territoire__points li { position: relative; padding-left: 34px; color: rgba(247, 243, 234, .76); }
.territoire__points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: rgba(217, 164, 65, .22); box-shadow: inset 0 0 0 5px var(--lagune), inset 0 0 0 9px var(--or); }
.territoire__points strong { color: var(--ivoire); }
.territoire__carte { position: relative; }
.carte { width: 100%; max-width: 520px; margin: 0 auto; }
.carte__voisins path { fill: none; stroke: rgba(247, 243, 234, .12); stroke-width: 1; }
.carte__pays { fill: rgba(247, 243, 234, .06); stroke: rgba(247, 243, 234, .55); stroke-width: 1.4; stroke-linejoin: round; }
.carte__ville circle { fill: var(--or); stroke: none; filter: drop-shadow(0 0 6px rgba(217, 164, 65, .9)); }
.carte__ville--majeure circle { fill: var(--laterite); filter: drop-shadow(0 0 10px rgba(238, 125, 48, .95)); }
.carte__ville text { fill: rgba(247, 243, 234, .9); font-family: var(--texte); font-size: 14px; font-weight: 600; }
.carte__ville--majeure text { font-size: 15px; font-weight: 700; fill: var(--blanc); }

/* ---------- Confiance ---------- */

.confiance { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.garanties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.garantie { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-m); background: var(--blanc); box-shadow: var(--ombre-douce); }
.garantie__icone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; background: var(--foret-pale); color: var(--foret); }
.garantie__icone .icone { width: 24px; height: 24px; }
.garantie h3 { font-family: var(--titre); font-weight: 600; font-size: 1.0625rem; color: var(--lagune); margin-bottom: 4px; }
.garantie p { font-size: .9375rem; color: var(--texte-2); }

.reference { padding: 30px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-portee); }
.reference__titre { font-family: var(--titre); font-weight: 700; font-size: 1.25rem; color: var(--lagune); margin-bottom: 20px; }
.reference__liste { display: grid; gap: 0; margin-bottom: 22px; }
.reference__liste li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 0 0 20px; }
.reference__liste li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 34px; bottom: 4px; width: 2px; background: var(--ivoire-2); }
.reference__date { display: grid; place-items: center; height: 30px; border-radius: 999px; background: var(--or-pale); color: var(--or-fonce); font-size: .75rem; font-weight: 800; }
.reference__liste strong { display: block; font-size: .9375rem; color: var(--lagune); }
.reference__liste p { font-size: .875rem; color: var(--texte-2); }

/* ---------- Démarche ---------- */

.demarche-section { padding-top: 0; }
.phases { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: phase; }
.phase { counter-increment: phase; position: relative; padding: 34px 30px 30px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.phase::before {
    content: counter(phase); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
    border-radius: 50%; background: var(--ivoire-2); color: var(--lagune);
    font-family: var(--titre); font-weight: 700;
}
.phase:not(:last-child)::after { content: ""; position: absolute; right: -20px; top: 56px; width: 20px; height: 2px; background: var(--or); }
.phase__duree { font-size: .8125rem; font-weight: 700; color: var(--laterite-fonce); }
.phase__titre { font-family: var(--titre); font-weight: 600; font-size: 1.375rem; letter-spacing: -.02em; color: var(--lagune); margin: 2px 0 10px; }
.phase p:last-child { color: var(--texte-2); font-size: .9375rem; }
.phase--finale { background: var(--laterite-pale); }
.phase--finale::before { background: var(--laterite); color: var(--lagune); }

/* ---------- Appel ---------- */

.appel-section { padding: 0 0 clamp(72px, 9vw, 120px); }
.appel {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center;
    padding: clamp(36px, 6vw, 64px); border-radius: var(--r-xl);
    background: radial-gradient(70% 140% at 100% 100%, rgba(238, 125, 48, .45), transparent 60%), radial-gradient(120% 120% at 0% 0%, var(--lagune-3), var(--lagune) 60%);
    color: var(--ivoire);
}
.appel__filigrane { position: absolute; right: -40px; top: -90px; width: 320px; height: 320px; opacity: .06; z-index: -1; transform: rotate(18deg); }
.appel__titre { font-family: var(--titre); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: -.03em; color: var(--blanc); text-wrap: balance; }
.appel__texte p { margin-top: 16px; color: rgba(247, 243, 234, .78); max-width: 58ch; }
.appel__actions { display: grid; justify-items: start; gap: 14px; justify-self: end; }
.appel__telephone { color: rgba(247, 243, 234, .82); font-weight: 600; text-decoration: none; }
.appel__telephone:hover { color: var(--blanc); text-decoration: underline; }

/* ---------- Pied de page ---------- */

.pied { background: #072A26; color: rgba(247, 243, 234, .74); padding-top: 72px; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.pied a { color: rgba(247, 243, 234, .86); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied__haut { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.marque--claire, .marque--claire:hover { color: var(--ivoire) !important; text-decoration: none !important; }
.pied__accroche { margin-top: 22px; font-family: var(--titre); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ivoire); }
.pied__texte { margin-top: 10px; max-width: 42ch; font-size: .9375rem; }
.pied__titre { font-family: var(--titre); font-weight: 600; font-size: 1rem; color: var(--ivoire); margin-bottom: 16px; }
.pied__colonne li { margin: 9px 0; font-size: .9375rem; }
.pied__adresse { font-size: .9375rem; margin-bottom: 18px; }
.pied__bas { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 28px; padding: 26px 0 34px; border-top: 1px solid rgba(247, 243, 234, .1); }
.pied__drapeau { display: flex; width: 36px; height: 8px; border-radius: 999px; overflow: hidden; }
.pied__drapeau span { flex: 1; }
.pied__drapeau span:nth-child(1) { background: #F77F00; }
.pied__drapeau span:nth-child(2) { background: #FFFFFF; }
.pied__drapeau span:nth-child(3) { background: #009E60; }
.pied__mention { font-size: .8125rem; color: rgba(247, 243, 234, .55); }
.pied__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .875rem; }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

.entete-page {
    position: relative; overflow: hidden; isolation: isolate;
    padding: calc(var(--entete-h) + 84px) 0 64px;
    background: radial-gradient(60% 120% at 100% 0%, var(--or-pale), transparent 70%), var(--ivoire);
}
.entete-page::after { content: ""; position: absolute; right: -80px; top: 40px; width: 360px; height: 360px; border-radius: 50%; background: rgba(238, 125, 48, .08); filter: blur(10px); z-index: -1; }
.ariane ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 26px; font-size: .875rem; }
.ariane li { display: inline-flex; align-items: center; gap: 6px; }
.ariane li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ivoire-3); margin-right: 2px; }
.ariane a { color: var(--texte-2); text-decoration: none; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); }
.ariane a:hover { background: var(--blanc); color: var(--lagune); }
.ariane span { color: var(--texte-3); }
.ariane [aria-current] { color: var(--lagune); font-weight: 700; }
.entete-page__titre { font-family: var(--titre); font-weight: 700; font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.06; letter-spacing: -.04em; color: var(--lagune); max-width: 20ch; }
.entete-page__chapeau { margin-top: 20px; font-size: 1.25rem; line-height: 1.6; color: var(--texte-2); max-width: 62ch; }

.page-avec-sommaire { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-top: 24px; padding-bottom: clamp(72px, 9vw, 112px); }
.sommaire { position: sticky; top: calc(var(--entete-h) + 36px); padding: 22px; border-radius: var(--r-m); background: var(--blanc); box-shadow: var(--ombre-douce); }
.sommaire__titre { font-family: var(--titre); font-weight: 600; font-size: .9375rem; color: var(--lagune); margin-bottom: 10px; }
.sommaire a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--texte-2); text-decoration: none; font-size: .9375rem; }
.sommaire a:hover { background: var(--ivoire); color: var(--lagune); }
.sommaire a[aria-current] { background: var(--lagune); color: var(--ivoire); font-weight: 600; }
.bloc { margin-bottom: 64px; }
.bloc:last-child { margin-bottom: 0; }
.bloc > .texte-courant + * { margin-top: 24px; }
.titre-3 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; color: var(--lagune); margin-bottom: 18px; }

.section--compacte { padding-top: 24px; }
.section--grise { background: var(--ivoire-2); }
.entete-section { max-width: 760px; margin-bottom: 44px; display: grid; gap: 4px; }
.entete-section__rubrique { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--or-pale); font-weight: 700; font-size: .875rem; color: var(--or-fonce); }
.entete-section__rubrique::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--laterite); box-shadow: 0 0 0 4px rgba(238, 125, 48, .18); }
.titre-2 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: -.03em; color: var(--lagune); text-wrap: balance; }

.liste-puces { display: grid; gap: 10px; }
.liste-puces li { position: relative; padding-left: 28px; color: var(--texte-2); }
.liste-puces li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--foret-pale); }
.liste-puces li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 5px); width: 6px; height: 3px; border-left: 2px solid var(--foret); border-bottom: 2px solid var(--foret); transform: rotate(-45deg); }

.liste-numerotee { counter-reset: n; display: grid; gap: 14px; }
.liste-numerotee li { counter-increment: n; position: relative; padding-left: 40px; color: var(--texte-2); }
.liste-numerotee li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--laterite-pale); color: var(--laterite-fonce); font-weight: 800; font-size: .875rem; display: grid; place-items: center; }

.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.deux-colonnes--large { gap: 32px 64px; align-items: start; }
.encadre { padding: 28px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.encadre--vert { background: var(--lagune); color: rgba(247, 243, 234, .82); box-shadow: var(--ombre-portee); }
.encadre--vert .encadre__titre { color: var(--ivoire); }
.encadre--vert a { color: #F3D9A6; }
.encadre--vert dt { color: rgba(247, 243, 234, .6) !important; }
.encadre__titre { font-family: var(--titre); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--lagune); margin-bottom: 16px; }

.tableau-donnees { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; margin-top: 8px; border-radius: var(--r-m); overflow: hidden; background: var(--blanc); box-shadow: var(--ombre-douce); }
.tableau-donnees th, .tableau-donnees td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--filet); }
.tableau-donnees thead th { background: var(--lagune); color: var(--ivoire); font-family: var(--titre); font-weight: 600; font-size: .875rem; border-bottom: 0; }
.tableau-donnees tbody tr:last-child > * { border-bottom: 0; }
.tableau-donnees tbody th { font-weight: 700; color: var(--lagune); width: 30%; }
.tableau-donnees td { color: var(--texte-2); }

.espaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.espace { padding: 26px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.espace__titre { font-family: var(--titre); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.02em; color: var(--lagune); }
.espace__public { display: inline-block; margin: 8px 0 12px; padding: 3px 12px; border-radius: 999px; background: var(--or-pale); color: var(--or-fonce); font-size: .8125rem; font-weight: 700; }
.espace p:last-child { color: var(--texte-2); font-size: .9375rem; }

.liste-composantes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fiche-composante { padding: 28px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.fiche-composante__num { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--laterite-pale); color: var(--laterite-fonce); font-weight: 800; font-size: .8125rem; }
.fiche-composante__titre { font-family: var(--titre); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--lagune); margin: 12px 0 6px; }
.fiche-composante__resume { color: var(--texte-2); margin-bottom: 16px; }

.principes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principe { padding: 24px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.principe:first-child { background: var(--lagune); }
.principe:first-child h3 { color: var(--ivoire); }
.principe:first-child p { color: rgba(247, 243, 234, .78); }
.principe h3 { font-family: var(--titre); font-weight: 600; font-size: 1.125rem; color: var(--lagune); margin-bottom: 8px; }
.principe p { color: var(--texte-2); font-size: .9375rem; }

.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.role { padding: 30px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.role__titre { font-family: var(--titre); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--lagune); margin-bottom: 16px; }

.etapes-adhesion { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: etape; }
.etapes-adhesion li { counter-increment: etape; padding: 28px 24px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.etapes-adhesion li::before { content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--lagune); color: var(--ivoire); font-family: var(--titre); font-weight: 700; }
.etapes-adhesion h3 { font-family: var(--titre); font-weight: 600; font-size: 1.125rem; color: var(--lagune); margin-bottom: 8px; }
.etapes-adhesion p { color: var(--texte-2); font-size: .9375rem; }

.pilote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.pilote > div:first-child { display: grid; gap: 4px; }
.pilote .texte-courant { margin-top: 18px; }
.engagements { padding: 10px 28px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-portee); }
.engagements div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.engagements div:last-child { border-bottom: 0; }
.engagements dt { font-weight: 700; color: var(--lagune); }
.engagements dd { color: var(--texte-2); }

.questions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.questions > div:first-child { display: grid; gap: 4px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-m); background: var(--blanc); box-shadow: var(--ombre-douce); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--ombre-portee); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 64px 22px 24px; font-weight: 700; color: var(--lagune); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--ivoire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%230B3B36' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--laterite-pale); }
.faq details p { padding: 0 24px 22px; color: var(--texte-2); max-width: 66ch; }

.engagements-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.engagements-grille div { padding: 28px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-douce); }
.engagements-grille dt { font-family: var(--titre); font-weight: 600; font-size: 1.125rem; color: var(--lagune); margin-bottom: 8px; }
.engagements-grille dd { color: var(--texte-2); font-size: .9375rem; }

/* ---------- Contact et formulaires ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; padding-bottom: 40px; }
.contact__formulaire { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--blanc); box-shadow: var(--ombre-portee); }
.contact__infos { display: grid; gap: 16px; position: sticky; top: calc(var(--entete-h) + 36px); }
.coordonnees { display: grid; gap: 12px; margin-top: 18px; }
.coordonnees dt { font-size: .8125rem; font-weight: 700; color: var(--texte-3); }

.formulaire { display: grid; gap: 28px; }
.formulaire__aide { color: var(--texte-3); font-size: .9375rem; }
.groupe { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.groupe legend { font-family: var(--titre); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--lagune); padding: 0; margin-bottom: 18px; }
.champ { display: grid; gap: 8px; align-content: start; }
.champ-double { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.champ label { font-weight: 700; font-size: .9375rem; color: var(--encre); }
.champ__facultatif { font-weight: 500; color: var(--texte-3); }
.champ__aide { font-size: .875rem; color: var(--texte-3); }
.champ input:not([type="checkbox"]), .champ select, .champ textarea {
    width: 100%; min-height: 54px; padding: 13px 18px;
    font: inherit; color: var(--encre); background: var(--ivoire);
    border: 1.5px solid transparent; border-radius: 16px;
    transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.champ textarea { min-height: 128px; resize: vertical; }
.champ select { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B3B36' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; background-size: 12px 8px; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--ivoire-3); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; background-color: var(--blanc); border-color: var(--lagune-3); box-shadow: 0 0 0 5px rgba(22, 97, 90, .12); }
.champ [aria-invalid="true"] { border-color: var(--rouge) !important; background-color: #FFF6F5; }
.champ__erreur { color: var(--rouge); font-weight: 700; font-size: .875rem; }
.champ--piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.champ--case { grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 4px 14px; padding: 18px; border-radius: 16px; background: var(--ivoire); }
.champ--case input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--lagune); }
.champ--case label { font-weight: 500; color: var(--texte-2); }
.champ--case .champ__erreur { grid-column: 2; }
.formulaire .bouton { justify-self: start; }
.formulaire button.bouton--primaire, .message-confirmation .bouton--primaire { background: var(--laterite); color: var(--lagune); }

.bouton--primaire { background: var(--lagune); color: var(--ivoire); }
.bouton--grand { min-height: 56px; }

.message-erreur { border-radius: var(--r-m); background: #FDF0EE; padding: 20px 24px; margin-bottom: 28px; box-shadow: inset 4px 0 0 var(--rouge); }
.message-erreur h2 { font-family: var(--titre); font-size: 1.125rem; color: var(--rouge); margin-bottom: 8px; }
.message-erreur ul { display: grid; gap: 4px; }
.message-erreur a { color: var(--rouge); font-weight: 600; }
.message-confirmation { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.message-confirmation h2 { font-family: var(--titre); font-size: 1.625rem; letter-spacing: -.02em; color: var(--lagune); }
.message-confirmation h2::before { content: ""; display: block; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px; background: var(--foret-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4.5 12.5 5 5 10-11' fill='none' stroke='%23138A5B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px no-repeat; }
.message-confirmation p { color: var(--texte-2); }

/* ---------- Pages légales ---------- */

.prose { max-width: 76ch; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--blanc); box-shadow: var(--ombre-douce); }
.prose__maj { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ivoire); font-size: .875rem; color: var(--texte-3); margin-bottom: 22px; }
.prose__chapeau { font-size: 1.1875rem; color: var(--texte-2); margin-bottom: 8px; }
.prose h2 { font-family: var(--titre); font-weight: 700; font-size: 1.375rem; letter-spacing: -.02em; color: var(--lagune); margin: 40px 0 12px; }
.prose p { color: var(--texte-2); margin-bottom: 14px; }
.prose ul { margin-bottom: 14px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--texte-2); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--laterite); }
.prose .tableau-donnees { box-shadow: none; border: 1px solid var(--filet); margin: 8px 0 16px; }
.fiche-legale { margin-bottom: 8px; border-radius: var(--r-m); background: var(--ivoire); padding: 4px 20px; }
.fiche-legale div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.fiche-legale div:last-child { border-bottom: 0; }
.fiche-legale dt { font-weight: 700; color: var(--lagune); }
.fiche-legale dd { color: var(--texte-2); }

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */

@media (max-width: 1180px) {
    .navigation__connexion { display: none; }
    .navigation__lien { padding: 9px 11px; }
    .heros__grille { grid-template-columns: 1fr; }
    .scene { max-width: 640px; width: 100%; margin: 0 auto; }
    .tuile--terrain { grid-column: span 12; grid-row: auto; }
    .tuile--supervision, .tuile--recensement { grid-column: span 6; }
}

@media (max-width: 1020px) {
    .entete__barre { padding: 0 10px 0 16px; min-height: 64px; }
    .menu-bouton {
        display: inline-grid; place-content: center; gap: 6px; margin-left: auto;
        width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--lagune);
    }
    .menu-bouton__trait { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ivoire); transition: transform .2s; }
    .menu-bouton[aria-expanded="true"] .menu-bouton__trait:first-of-type { transform: translateY(4px) rotate(45deg); }
    .menu-bouton[aria-expanded="true"] .menu-bouton__trait:last-of-type { transform: translateY(-4px) rotate(-45deg); }
    .page-sombre .entete:not(.est-defile) .menu-bouton { background: rgba(255, 255, 255, .12); }
    .navigation {
        position: absolute; top: calc(100% + 10px); left: 0; right: 0;
        display: none; flex-direction: column; align-items: stretch; gap: 14px;
        padding: 14px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-flottante);
    }
    .navigation.est-ouverte { display: flex; }
    .navigation__liste { flex-direction: column; margin: 0; }
    .navigation__lien, .page-sombre .entete:not(.est-defile) .navigation__lien { color: var(--encre); padding: 14px 16px; border-radius: 14px; font-size: 1.0625rem; }
    .navigation__actions { flex-direction: column; align-items: stretch; }
    .navigation__connexion, .page-sombre .entete:not(.est-defile) .navigation__connexion { display: block; text-align: center; color: var(--lagune-3); }
    .navigation__actions .bouton { width: 100%; }

    .publics__grille, .phases, .principes, .engagements-grille { grid-template-columns: 1fr; }
    .phase:not(:last-child)::after { display: none; }
    .enjeux__grille, .confiance, .territoire, .appel, .pilote, .questions, .contact, .page-avec-sommaire { grid-template-columns: 1fr; }
    .appel__actions { justify-self: start; }
    .parcours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .parcours::before { display: none; }
    .etape--finale { grid-column: 1 / -1; }
    .pied__haut { grid-template-columns: 1fr 1fr; }
    .pied__marque { grid-column: 1 / -1; }
    .pied__bas { grid-template-columns: 1fr; }
    .sommaire, .contact__infos { position: static; }
    .etapes-adhesion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    body { font-size: 1rem; }
    .heros { padding-top: calc(var(--entete-h) + 56px); }
    .heros__actions .bouton { width: 100%; }
    .scene { min-height: 0; display: grid; gap: 12px; }
    .scene__tableau { position: relative; width: 100%; top: 0; right: auto; padding: 20px; }
    .scene__montant { font-size: 1.875rem; }
    .scene__telephone { display: none; }
    .scene__bulle, .scene__bulle--1, .scene__bulle--2 { position: relative; inset: auto; animation: none !important; }
    .scene__legende { position: static; margin-top: 4px; }
    .indicateurs, .garanties, .parcours, .espaces, .liste-composantes, .roles, .etapes-adhesion, .deux-colonnes, .champ-double { grid-template-columns: 1fr; }
    .indicateur--large { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
    .bento { display: flex; flex-direction: column; }
    .tuile--terrain { flex-direction: column; }
    .tuile__quittance { align-self: flex-start; }
    .tuile__points { position: relative; inset: auto; width: 100%; height: 120px; margin-top: 12px; }
    .pied__haut { grid-template-columns: 1fr; }
    .fiche-legale div, .engagements div { grid-template-columns: 1fr; gap: 2px; }
    .tableau-donnees thead { display: none; }
    .tableau-donnees, .tableau-donnees tbody, .tableau-donnees tr, .tableau-donnees th, .tableau-donnees td { display: block; width: 100%; }
    .tableau-donnees tr { padding: 12px 0; border-bottom: 1px solid var(--filet); }
    .tableau-donnees th, .tableau-donnees td { border: 0; padding: 4px 18px; }
    .carte__ville text { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.texte-courant > p + p { margin-top: 14px; }
.texte-courant > p { margin: 0; }
