/* sol-geotechnique.fr (GE Géotechnique) : feuille de style unique.
   Appelée avec style.css?v=N : incrémenter V dans outils/build.py à chaque modification. */

/* ------------------------------------------------------------------ polices (hébergées, licence OFL) */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ------------------------------------------------------------------ couleurs et mesures */
:root {
  --nuit: #192b3b;
  --nuit-fonce: #111e2a;
  --nuit-clair: #2b4257;
  --ocre: #b08245;
  --ocre-bouton: #9a6d36;
  --ocre-fonce: #8a6232;
  --ocre-clair: #d4ad78;
  --ocre-pale: #f3e7d3;
  --papier: #f6f3ec;
  --sable: #ece5d7;
  --blanc: #fff;
  --texte: #1d2833;
  --texte-doux: #56616c;
  --trait: #ddd5c6;
  --brique: #9d4a26;
  --vert: #2f5a40;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(17, 30, 42, .06), 0 10px 30px rgba(17, 30, 42, .08);
  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--papier); color: var(--texte); font: 400 1.0625rem/1.6 var(--f-texte); font-feature-settings: "cv11", "ss01"; }
img, svg { max-width: 100%; }
a { color: var(--ocre-fonce); text-underline-offset: .18em; }
a:hover { color: var(--nuit); }
h1, h2, h3 { font-family: var(--f-titre); font-optical-sizing: auto; color: var(--nuit); text-wrap: balance; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.25; margin: 0 0 8px; }
p { margin: 0 0 14px; }
sup { line-height: 0; }
:focus-visible { outline: 3px solid var(--ocre-clair); outline-offset: 2px; }
::selection { background: var(--ocre-pale); }

.conteneur { width: min(1200px, 100% - 40px); margin-inline: auto; }
.conteneur-etroit { width: min(820px, 100% - 40px); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--nuit); color: #fff; padding: 10px 16px; border-radius: 8px; }
.lien-evitement:focus { top: 12px; }
.petit { font-size: .85rem; color: var(--texte-doux); }
.icone { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ marques de la maquette */
.bandeau-maquette { background: #fff3d1; border-bottom: 1px solid #e8cf8b; color: #4e3b12; font-size: .85rem; line-height: 1.45; padding: 8px 20px; text-align: center; }
.legende-maquette { display: inline-flex; gap: 6px; margin-left: 6px; }
.exemple { background: repeating-linear-gradient(-45deg, rgba(176, 130, 69, .2) 0 4px, rgba(176, 130, 69, .07) 4px 8px); border-bottom: 1.5px dashed var(--ocre); border-radius: 3px; padding: 0 3px; }
.a-completer { background: #fde8e1; color: #8a2e12; border: 1px dashed #d07a5c; border-radius: 4px; padding: 0 5px; font-weight: 600; }
.section-nuit .a-completer, .pied .a-completer { background: rgba(253, 232, 225, .12); color: #ffcdbb; border-color: #e09a80; }
.section-nuit .exemple { background: rgba(212, 173, 120, .18); border-bottom-color: var(--ocre-clair); }
.note-maquette { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.4; color: #8a2e12; background: #fdf0ea; border-left: 3px solid #d07a5c; padding: 4px 8px; border-radius: 0 6px 6px 0; }

/* ------------------------------------------------------------------ boutons et liens */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 1rem/1.2 var(--f-texte); padding: 13px 22px; border: 2px solid transparent; border-radius: 10px; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.bouton:active { transform: translateY(1px); }
.bouton[disabled] { opacity: .42; cursor: not-allowed; transform: none; }
.bouton-principal { background: var(--nuit); color: #fff; }
.bouton-principal:not([disabled]):hover { background: var(--nuit-clair); color: #fff; }
.bouton-ocre { background: var(--ocre-bouton); color: #fff; }
.bouton-ocre:hover { background: #845b29; color: #fff; }
.bouton-contour { background: transparent; color: var(--nuit); border-color: var(--nuit); }
.bouton-contour:hover { background: var(--nuit); color: #fff; }
.bouton-discret { background: transparent; color: var(--nuit); border-color: var(--trait); }
.bouton-discret:hover { border-color: var(--nuit); color: var(--nuit); }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: var(--ocre-fonce); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.lien-bouton:hover { color: var(--nuit); }
.lien-fort { font-weight: 650; }

/* ------------------------------------------------------------------ en-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .95); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--trait); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.marque { display: flex; align-items: center; gap: 12px; color: var(--nuit); text-decoration: none; }
.marque:hover { color: var(--nuit); }
.logo { width: 60px; height: auto; flex: none; }
.logo-ocre { fill: var(--ocre); }
.logo-gris { fill: #7d868f; }
.logo-brun { fill: #6e5238; }
.logo-arc { fill: none; stroke: currentColor; stroke-width: 11; }
.logo-trait { fill: currentColor; }
.marque-nom { display: block; font: 750 1rem/1.1 var(--f-texte); letter-spacing: .13em; text-transform: uppercase; }
.marque-ge { color: var(--ocre); }
.marque-sous { display: block; margin-top: 4px; font-size: .74rem; letter-spacing: .05em; color: var(--texte-doux); }
.menu-bouton { display: none; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--trait); border-radius: 10px; padding: 9px 12px; font: 600 .95rem var(--f-texte); color: var(--nuit); cursor: pointer; }
.menu-icone, .menu-icone::before, .menu-icone::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.menu-icone::before, .menu-icone::after { content: ""; position: absolute; left: 0; }
.menu-icone::before { top: -6px; }
.menu-icone::after { top: 6px; }
.menu-bouton[aria-expanded="true"] .menu-icone { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-icone::before { transform: translateY(6px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-icone::after { transform: translateY(-6px) rotate(-45deg); }
.menu { display: flex; align-items: center; gap: 24px; }
.menu ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.menu a:not(.bouton) { color: var(--texte); text-decoration: none; font-weight: 550; font-size: .95rem; }
.menu a:not(.bouton):hover { color: var(--ocre-fonce); }
.menu-action { padding: 10px 16px; font-size: .95rem; }

@media (max-width: 1079px) {
  .menu-bouton { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px 22px; background: var(--papier); border-bottom: 1px solid var(--trait); box-shadow: 0 18px 30px rgba(17, 30, 42, .12); }
  .menu.ouvert { display: flex; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a:not(.bouton) { display: block; padding: 10px 0; border-bottom: 1px solid var(--trait); font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .logo { width: 50px; }
  .marque-nom { font-size: .9rem; letter-spacing: .1em; }
  .menu-libelle { display: none; }
}

/* ------------------------------------------------------------------ titres de section */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-sable { background: var(--sable); }
.section-nuit { background: var(--nuit); color: #e6e2d9; }
.section-nuit h2, .section-nuit h3 { color: #fff; }
.section-nuit a:not(.bouton) { color: var(--ocre-clair); }
.surtitre { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 .78rem/1.2 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--ocre-fonce); }
.surtitre::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.surtitre-clair { color: var(--ocre-clair); }
h2 { font-weight: 600; font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 20px; max-width: 26ch; }
.intro { font-size: 1.1rem; max-width: 62ch; color: inherit; }
.note { font-size: .92rem; color: var(--texte-doux); max-width: 75ch; margin-top: 18px; }
.source { font-size: .8rem; color: var(--texte-doux); margin: 16px 0 0; }
.deux-colonnes { display: grid; gap: 44px; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; } }

/* ------------------------------------------------------------------ accueil : bandeau et carte en relief */
.hero { position: relative; overflow: hidden; color: #ece8df; background: radial-gradient(ellipse 80% 70% at 18% 75%, #22384c 0%, rgba(34, 56, 76, 0) 60%), linear-gradient(160deg, #1b2f41 0%, #192b3b 45%, #132230 100%); padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.hero-grille { position: relative; display: grid; gap: 28px; align-items: start; }
.hero-texte { position: relative; }
.hero h1 { color: #fff; font-weight: 600; font-size: clamp(2.35rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; max-width: 13ch; }
.hero-chapo { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: #d9d4c9; max-width: 44ch; margin-bottom: 0; }
.hero-carte { position: relative; aspect-ratio: 1000 / 848; pointer-events: none; }
.hero-carte img { display: block; width: 100%; height: auto; }
.repere { position: absolute; width: 0; height: 0; z-index: 2; }
.repere-point { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #e9b773; border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(233, 183, 115, .35); }
.repere-point::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid #e9b773; animation: pulsation 2s ease-out infinite; }
.repere-nom { position: absolute; left: 14px; top: -14px; white-space: nowrap; background: #fff; color: var(--nuit); font: 650 .8rem/1 var(--f-texte); padding: 6px 9px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.repere-nom:empty { display: none; }
/* Terrain du visiteur : second point, bleu, au-dessus du point du bureau */
.repere-terrain { z-index: 3; }
.repere-terrain .repere-point { background: #5cc8ef; box-shadow: 0 0 0 4px rgba(92, 200, 239, .35); }
.repere-terrain .repere-point::after { border-color: #5cc8ef; }
.repere-terrain .repere-nom { background: #5cc8ef; color: #0c2030; }
.repere-gauche .repere-nom { left: auto; right: 14px; }
.repere-dessous .repere-nom { top: 12px; }
@keyframes pulsation { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

@media (min-width: 1000px) {
  .hero-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; }
  .hero-carte { margin: 28px 0 0 -4%; width: 108%; max-width: 640px; }
}
@media (max-width: 999px) {
  .hero-carte { position: absolute; top: -40px; right: -38%; width: 105%; max-width: 700px; opacity: .3; z-index: 0; }
  .hero-texte > :not(.hero-carte) { position: relative; z-index: 1; }
  .repere { display: none; }
}

/* ------------------------------------------------------------------ parcours (carte blanche) */
.parcours { position: relative; z-index: 1; background: #fff; color: var(--texte); border-radius: 18px; padding: 20px clamp(16px, 3vw, 28px) 24px; box-shadow: 0 30px 70px rgba(4, 10, 18, .38), 0 2px 6px rgba(4, 10, 18, .2); }
.parcours-tete { margin: 0 0 6px; }
.parcours-compteur { margin: 0 0 8px; font: 700 .74rem/1 var(--f-texte); letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-fonce); }
.parcours-etapes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; }
.parcours-etapes li { position: relative; padding-top: 9px; }
.parcours-etapes li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 3px; background: #e7e1d5; }
.parcours-etapes li.faite::before { background: var(--ocre); }
.parcours-etapes li.en-cours::before { background: var(--nuit); }
.parcours-etapes button { display: block; width: 100%; background: none; border: 0; padding: 0; text-align: left; font: 500 .72rem/1.2 var(--f-texte); color: var(--texte-doux); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parcours-etapes li.en-cours button { color: var(--nuit); font-weight: 700; }
.parcours-etapes button:not([disabled]) { cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 520px) { .parcours-etapes button { font-size: 0; } }
.parcours[data-etape="7"] .parcours-etapes li::before { background: var(--ocre); }

.etape { animation: apparition .25s ease-out; }
@keyframes apparition { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.etape-titre { font-weight: 600; font-size: clamp(1.45rem, 2.6vw, 1.75rem); line-height: 1.15; margin: 14px 0 14px; outline: none; }
.etape-sous-titre { margin: -8px 0 16px; color: var(--texte-doux); }
.etape-sous-titre:empty { display: none; }
.etape-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.etape-actions .bouton-principal { flex: 1 1 auto; }
.retour { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; background: none; border: 0; padding: 4px 0; font: 600 .88rem var(--f-texte); color: var(--texte-doux); cursor: pointer; }
.retour::before { content: "←"; font-size: 1.05rem; }
.retour:hover { color: var(--nuit); }
.parcours-rassurance { margin: 12px 0 0; font-size: .84rem; color: var(--texte-doux); }
.avis { background: #fdf6ea; border: 1px solid #ecd6ae; border-radius: 10px; padding: 10px 14px; font-size: .92rem; margin: 12px 0; }
.avis-info { background: #eef3f6; border-color: #cbd9e3; }

/* champs */
.champ { margin: 0 0 14px; }
.champ label, .champ > .etiquette { display: block; font-weight: 650; margin: 0 0 4px; }
.aide { font-size: .86rem; color: var(--texte-doux); margin: 0 0 8px; }
.facultatif { font-weight: 400; color: var(--texte-doux); }
.champ input, .champ textarea { width: 100%; font: inherit; color: var(--texte); background: #fff; border: 1.5px solid #c8bfad; border-radius: 10px; padding: 12px 14px; }
.champ textarea { resize: vertical; min-height: 96px; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--ocre-clair); outline-offset: 1px; border-color: var(--nuit); }
.champ [aria-invalid="true"] { border-color: var(--brique); box-shadow: inset 0 0 0 1px var(--brique); }
.champ-erreur { margin: 0 0 6px; color: var(--brique); font-weight: 650; font-size: .88rem; }
.erreurs { border: 2px solid var(--brique); border-radius: 12px; background: #fdf3ef; padding: 12px 16px; margin: 0 0 16px; outline: none; }
.erreurs-titre { font-weight: 700; color: var(--brique); margin: 0 0 4px; }
.erreurs ul { margin: 0; padding-left: 18px; }
.erreurs a { color: var(--brique); font-weight: 600; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* recherche d'adresse */
.combo { position: relative; }
.combo input { padding: 15px 44px 15px 46px; font-size: 1.05rem; border-width: 2px; border-color: var(--nuit); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08245' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E") no-repeat 14px 50% / 22px 22px; }
.combo input::placeholder { color: #8b939b; }
.combo-effacer { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: #efebe3; color: var(--nuit); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.combo-effacer:hover { background: var(--ocre-pale); }
.combo-liste { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--trait); border-radius: 12px; box-shadow: 0 18px 40px rgba(17, 30, 42, .18); max-height: 340px; overflow-y: auto; }
.combo-liste li { padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.combo-liste li[aria-selected="true"], .combo-liste li:hover { background: var(--ocre-pale); }
.option-nom { display: block; font-weight: 600; }
.option-contexte { display: block; font-size: .82rem; color: var(--texte-doux); }
.combo-etat { min-height: 1.2em; margin: 6px 0 0; font-size: .86rem; color: var(--texte-doux); }
.combo-etat:empty { margin: 0; min-height: 0; }

/* ------------------------------------------------------------------ fiche terrain : la carotte de sondage */
.fiche { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--trait); }
.fiche-tete { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: end; }
.fiche-surtitre { grid-column: 1 / -1; margin: 0; font: 700 .72rem/1.2 var(--f-texte); letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-fonce); }
.fiche-adresse { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.fiche-tete .lien-bouton { font-size: .86rem; white-space: nowrap; }
.carotte { list-style: none; margin: 14px 0 0; padding: 0; }
.carotte-ligne { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; column-gap: 14px; }
.troncon { position: relative; width: 46px; min-height: 66px; background-color: #cfc6b4; box-shadow: inset 0 2px 0 rgba(20, 12, 4, .22); }
.carotte-ligne:first-child .troncon { border-radius: 23px 23px 0 0 / 9px 9px 0 0; box-shadow: none; }
.carotte-ligne:last-child .troncon { border-radius: 0 0 23px 23px / 0 0 9px 9px; }
.troncon::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(0, 0, 0, .3) 0%, rgba(255, 255, 255, .24) 26%, rgba(255, 255, 255, .06) 52%, rgba(0, 0, 0, .26) 100%); }
/* terre végétale */
.troncon-parcelle { background-color: #5e4b37; background-image: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .16) 1px, transparent 1.7px), radial-gradient(circle at 70% 80%, rgba(0, 0, 0, .25) 1px, transparent 1.8px); background-size: 7px 7px, 9px 9px; }
/* argiles : litage horizontal, couleur selon l'exposition */
.troncon-argiles { background-image: repeating-linear-gradient(0deg, rgba(60, 30, 10, .17) 0 1px, transparent 1px 6px); }
.troncon-argiles.n0 { background-color: #d8d1c2; }
.troncon-argiles.n1 { background-color: #dcc08f; }
.troncon-argiles.n2 { background-color: #c48d4f; }
.troncon-argiles.n3 { background-color: #9d5430; }
/* sécheresse : sol craquelé */
.troncon-secheresse { background-image: repeating-linear-gradient(112deg, transparent 0 9px, rgba(40, 20, 5, .26) 9px 10px), repeating-linear-gradient(28deg, transparent 0 13px, rgba(40, 20, 5, .2) 13px 14px); }
.troncon-secheresse.n0 { background-color: #d9d0bd; }
.troncon-secheresse.n1 { background-color: #cfb48a; }
.troncon-secheresse.n2 { background-color: #bb905c; }
.troncon-secheresse.n3 { background-color: #9b6a3b; }
/* sous-sol : vides */
.troncon-cavites { background-color: #a6a296; background-image: radial-gradient(circle, rgba(255, 255, 255, .14) 1px, transparent 1.6px); background-size: 8px 8px; }
.troncon-cavites.n1, .troncon-cavites.n2, .troncon-cavites.n3 { background-color: #8c887c; background-image: radial-gradient(ellipse 5px 3.5px at 50% 50%, rgba(20, 15, 10, .55) 80%, transparent 90%); background-size: 17px 15px; }
/* roche profonde */
.troncon-seisme { background-color: #6a7783; background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 8px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 8px); }
.troncon-seisme.n2, .troncon-seisme.n3 { background-color: #4f5c68; }
.carotte.en-cours .troncon { background-color: #e7e1d5; background-image: none; }
.carotte.en-cours .troncon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent, rgba(176, 130, 69, .35), transparent); background-size: 100% 200%; animation: forage 1.2s linear infinite; }
@keyframes forage { from { background-position: 0 -100%; } to { background-position: 0 100%; } }
.carotte-texte { padding: 9px 0 11px; border-bottom: 1px dashed var(--trait); }
.carotte-ligne:last-child .carotte-texte { border-bottom: 0; }
.carotte-titre { margin: 0; font: 700 .7rem/1.3 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.carotte-valeur { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 2px 0 0; font-weight: 650; line-height: 1.3; }
.carotte-detail { margin: 3px 0 0; font-size: .85rem; line-height: 1.45; color: var(--texte-doux); }
.attente { color: var(--texte-doux); font-weight: 500; }
.jauge { display: inline-flex; gap: 3px; }
.jauge i { width: 9px; height: 9px; border-radius: 2px; background: #e5dfd3; }
.jauge[data-n="1"] i:nth-child(-n+1) { background: #c9a46a; }
.jauge[data-n="2"] i:nth-child(-n+2) { background: var(--ocre); }
.jauge[data-n="3"] i { background: var(--brique); }
.parcelle-dessin { align-self: center; width: 72px; height: 72px; margin-left: 4px; }
.parcelle-dessin path { fill: var(--ocre-pale); stroke: var(--nuit); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.parcelle-dessin circle { fill: var(--brique); stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.fiche-sources { margin: 10px 0 0; font-size: .76rem; line-height: 1.45; color: var(--texte-doux); }
.fiche-sources a { color: inherit; }

/* ------------------------------------------------------------------ écrans 2 à 6 */
.choix-cartes { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .choix-cartes { grid-template-columns: 1fr; } }
.carte-choix { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; align-items: start; padding: 12px 14px; border: 1.5px solid var(--trait); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.carte-choix:hover { border-color: #b9ae99; }
.carte-choix input { position: absolute; opacity: 0; pointer-events: none; }
.carte-choix .icone { grid-row: span 2; color: var(--ocre-fonce); width: 28px; height: 28px; }
.carte-choix-titre { font-weight: 650; line-height: 1.3; }
.carte-choix-texte { font-size: .84rem; color: var(--texte-doux); line-height: 1.35; }
.carte-choix:has(input:checked) { border-color: var(--nuit); background: #f8f5ef; box-shadow: inset 0 0 0 1px var(--nuit); }
.carte-choix:has(input:focus-visible) { outline: 3px solid var(--ocre-clair); outline-offset: 2px; }
.bon-a-savoir { margin-top: 14px; background: var(--papier); border-left: 4px solid var(--ocre); border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: .94rem; }
.bon-a-savoir p { margin: 0; }
.bon-a-savoir-titre { font: 700 .72rem/1.4 var(--f-texte) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre-fonce); }

.question { border: 0; margin: 0 0 16px; padding: 0; }
.question-titre { padding: 0; margin: 0 0 8px; font-weight: 650; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { position: relative; }
.pastille input { position: absolute; opacity: 0; pointer-events: none; }
.pastille span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--trait); border-radius: 999px; font-size: .93rem; line-height: 1.3; cursor: pointer; background: #fff; transition: background-color .15s, border-color .15s; }
.pastille span:hover { border-color: #b9ae99; }
.pastille input:checked + span { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.pastille input:focus-visible + span { outline: 3px solid var(--ocre-clair); outline-offset: 2px; }
.estimation { margin-top: 6px; background: var(--papier); border-left: 4px solid var(--ocre); border-radius: 0 12px 12px 0; padding: 12px 16px; }
.estimation p { margin: 0; }
.estimation-titre { font: 700 .72rem/1.4 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--ocre-fonce); }
.estimation-prix { font: 600 1.4rem/1.25 var(--f-titre); color: var(--nuit); margin: 2px 0 !important; }
.estimation-note { font-size: .84rem; color: var(--texte-doux); }

.reco { border: 1.5px solid var(--trait); border-radius: 14px; padding: 18px; background: linear-gradient(180deg, #fbf9f5, #fff 40%); }
.reco-statut { display: inline-block; margin: 0; padding: 4px 11px; border-radius: 999px; font: 700 .72rem/1.3 var(--f-texte); letter-spacing: .09em; text-transform: uppercase; }
.statut-obligatoire { background: #f6e0d4; color: #873815; }
.statut-recommandee { background: var(--ocre-pale); color: #7a5427; }
.statut-conseillee { background: #e2e9ef; color: var(--nuit); }
.statut-non-obligatoire { background: #e0ece4; color: var(--vert); }
.statut-a-preciser, .statut-sur-mesure { background: #ebe8e2; color: #47515b; }
.reco-titre { font-size: 1.45rem; margin: 10px 0 2px; }
.reco-sous-titre { margin: 0; color: var(--texte-doux); }
.reco-chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 4px; }
.reco-chiffres > div { background: var(--papier); border-radius: 10px; padding: 10px 12px; }
.reco-chiffres p { margin: 0; }
.reco-etiquette { margin: 14px 0 4px; font: 700 .7rem/1.3 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.reco-chiffres .reco-etiquette { margin: 0 0 2px; }
.reco-prix { font: 600 1.15rem/1.3 var(--f-titre); color: var(--nuit); }
.reco-delai { font-weight: 650; }
.reco-raisons, .reco-documents { margin: 0; padding-left: 20px; }
.reco-raisons li, .reco-documents li { margin: 5px 0; font-size: .95rem; }
.reco-lien { margin: 12px 0 0; font-size: .9rem; }
.reco-avertissement { margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed var(--trait); font-size: .82rem; color: var(--texte-doux); }
@media (max-width: 420px) { .reco-chiffres { grid-template-columns: 1fr; } }

.recap { margin: 0; }
.recap-ligne { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 2px 14px; padding: 11px 0; border-bottom: 1px solid var(--trait); font-size: .95rem; }
.recap-ligne dt { font-weight: 650; }
.recap-ligne dd { margin: 0; }
.recap-modifier { text-align: right; }
.vide { color: var(--texte-doux); font-style: italic; }
@media (max-width: 560px) {
  .recap-ligne { grid-template-columns: minmax(0, 1fr) auto; }
  .recap-ligne dd:not(.recap-modifier) { grid-column: 1 / -1; grid-row: 2; }
}
.confirmation-numero { font-size: 1.1rem; }
.envoi-erreur { border: 2px solid var(--brique); border-radius: 12px; background: #fdf3ef; padding: 12px 16px; margin: 16px 0 0; outline: none; }
.envoi-erreur p { margin: 0 0 8px; }
.envoi-erreur p:last-child { margin: 0; }
.envoi-erreur-titre { font-weight: 700; color: var(--brique); }
.envoi-erreur .bouton { padding: 9px 16px; }

/* ------------------------------------------------------------------ engagements */
.engagements-grille { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 860px) { .engagements-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.engagement { background: #fff; border-top: 4px solid var(--ocre); border-radius: 0 0 var(--rayon) var(--rayon); padding: 24px; box-shadow: var(--ombre); }
.engagement .icone { width: 34px; height: 34px; color: var(--ocre-fonce); margin-bottom: 10px; }
.engagement h3 { font-size: 1.45rem; }
.engagement p { margin: 0; color: #36424d; }

/* ------------------------------------------------------------------ carte 2026 */
.chiffres-2026 { margin: 0; background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--ombre); }
.chiffres-2026 figcaption { font-weight: 650; margin-bottom: 18px; }
.barre { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) 4.2rem; align-items: center; gap: 12px; margin: 14px 0; }
.barre-annee { font-size: .9rem; color: var(--texte-doux); font-weight: 600; }
.barre-piste { height: 28px; border-radius: 7px; overflow: hidden; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(25, 43, 59, .08) calc(10% - 1px) 10%), #f2ede3; }
.barre-valeur { display: block; height: 100%; width: var(--part); border-radius: 7px; background: #cfb183; }
.barre-2026 .barre-valeur { background: linear-gradient(90deg, var(--ocre), var(--brique)); }
.barre-chiffre { font: 600 1.55rem/1 var(--f-titre); color: var(--nuit); text-align: right; }
.barre-2026 .barre-chiffre { color: var(--brique); }

/* ------------------------------------------------------------------ situations */
.situations { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; margin-top: 28px; }
.situation { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--trait); border-radius: 16px; padding: 22px; }
.situation-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.situation-tete .icone { width: 34px; height: 34px; color: var(--ocre-fonce); }
.situation-mission { margin: 0; background: var(--ocre-pale); color: #7a5427; border-radius: 999px; padding: 4px 11px; font: 700 .72rem/1.3 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; }
.situation p { margin: 0; color: #36424d; }
.situation .situation-prix { margin-top: auto; padding-top: 12px; color: var(--texte); font-size: .95rem; }
.situation .bouton { align-self: flex-start; padding: 10px 18px; }
.situation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 10px; }
.lien-situation { font-weight: 650; color: var(--ocre-fonce); }
.lien-situation::after { content: " →"; }
.bouton-clair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.bouton-clair:hover { border-color: #fff; color: #fff; }

/* ------------------------------------------------------------------ pages d'étude */
.page-tete { background: linear-gradient(160deg, #1b2f41 0%, #192b3b 45%, #132230 100%); color: #ece8df; padding: 26px 0 54px; }
.fil { margin: 0 0 26px; font-size: .86rem; }
.fil ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.fil li + li::before { content: "›"; margin-right: 8px; color: #8f99a3; }
.fil a { color: var(--ocre-clair); }
.fil [aria-current] { color: #c3cad1; }
.page-tete-grille { display: grid; gap: 30px; }
@media (min-width: 960px) { .page-tete-grille { grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); align-items: end; } }
.page-tete h1 { color: #fff; font-weight: 600; font-size: clamp(2rem, 4.3vw, 3.1rem); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 16px; max-width: 21ch; }
.page-chapo { font-size: clamp(1.03rem, 1.5vw, 1.15rem); line-height: 1.6; color: #d9d4c9; max-width: 62ch; margin: 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faits { margin: 0; background: #fff; color: var(--texte); border-radius: 16px; border-top: 4px solid var(--ocre); padding: 6px 20px; box-shadow: 0 20px 50px rgba(4, 10, 18, .35); }
.faits div { padding: 12px 0; border-bottom: 1px solid var(--trait); }
.faits div:last-child { border-bottom: 0; }
.faits dt { font: 700 .7rem/1.3 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.faits dd { margin: 3px 0 0; font: 600 1.12rem/1.3 var(--f-titre); color: var(--nuit); }
.page-corps { padding: 50px 0 40px; }
.page-section { margin: 0 0 44px; }
.page-section h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); max-width: none; margin: 0 0 14px; }
.page-section h3 { margin: 22px 0 6px; font-size: 1.12rem; }
.page-section ul { margin: 0 0 14px; padding-left: 22px; }
.page-section li { margin: 6px 0; }
.page-section .tableau-defilant { margin-top: 10px; }
.encadre { margin: 18px 0; background: #fff; border-left: 4px solid var(--ocre); border-radius: 0 12px 12px 0; padding: 14px 18px; box-shadow: var(--ombre); }
.encadre p { margin: 0; }
.tableau-phases { min-width: 0; }
.tableau-phases tbody th { width: 38%; }
.autres-etudes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.autre-etude { display: block; background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 14px 16px; color: var(--texte); text-decoration: none; transition: border-color .15s; }
.autre-etude:hover { border-color: var(--ocre); color: var(--texte); }
.autre-etude strong { display: block; color: var(--nuit); }
.autre-etude span { font-size: .88rem; color: var(--texte-doux); }

/* ------------------------------------------------------------------ missions G1 à G5 (strates) */
.missions { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 8px; }
.mission { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 22px; border-radius: 12px; background: rgba(255, 255, 255, .045); border-left: 7px solid; }
.strate-1 { border-left-color: #dcc08f; }
.strate-2 { border-left-color: #c48d4f; }
.strate-3 { border-left-color: #9d6a37; }
.strate-4 { border-left-color: #7a5636; }
.strate-5 { border-left-color: #6a7783; }
.mission-code { margin: 0; font: 600 2.3rem/1 var(--f-titre); color: var(--ocre-clair); }
.mission h3 { font-family: var(--f-texte); font-size: 1.08rem; font-weight: 650; margin: 0; }
.mission-phase { margin: 2px 0 6px; font-size: .86rem; color: #a9b4be; }
.mission p:last-child { margin: 0; color: #d6d2c8; }
.labo { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; padding: 18px 22px; border-radius: 12px; border: 1px dashed rgba(212, 173, 120, .45); }
.labo-code { margin: 0; font: 600 1.7rem/1.1 var(--f-titre); color: var(--ocre-clair); }
.labo h3 { font-family: var(--f-texte); font-size: 1.08rem; font-weight: 650; margin: 0 0 6px; }
.labo p:last-child { margin: 0; color: #d6d2c8; }
@media (max-width: 520px) { .mission, .labo { grid-template-columns: 1fr; gap: 6px; } }
.chantiers { margin-top: 46px; }
.chantiers-titre { font-family: var(--f-titre); font-size: 1.5rem; font-weight: 600; margin: 0 0 6px; }
.chantiers-intro { color: #d6d2c8; margin: 0 0 18px; }
.chantiers-grille { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .chantiers-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .chantiers-grille { grid-template-columns: 1fr; } }
.chantier { margin: 0; position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--nuit-clair); }
.chantier img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chantier figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-size: .84rem; line-height: 1.35; color: #fff; background: linear-gradient(180deg, rgba(17, 30, 42, 0), rgba(17, 30, 42, .85)); }

/* ------------------------------------------------------------------ prix */
.tableau-defilant { overflow-x: auto; margin-top: 26px; border-radius: 16px; box-shadow: var(--ombre); }
.tableau-prix { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; }
.tableau-prix th, .tableau-prix td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau-prix thead th { background: var(--nuit); color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.tableau-prix tbody th { font-weight: 650; }
.tableau-prix tbody tr:last-child > * { border-bottom: 0; }
.prix-precision { display: block; font-weight: 400; font-size: .86rem; color: var(--texte-doux); }
.prix-montant { font: 600 1.2rem/1.3 var(--f-titre); color: var(--nuit); white-space: nowrap; }
/* Téléphone : chaque ligne du tableau devient une carte, sans défilement latéral */
@media (max-width: 699px) {
  .tableau-defilant { overflow: visible; border-radius: 0; box-shadow: none; }
  .tableau-prix { min-width: 0; background: none; }
  .tableau-prix, .tableau-prix tbody, .tableau-prix tr, .tableau-prix th, .tableau-prix td { display: block; width: 100%; }
  .tableau-prix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tableau-prix tbody tr { margin: 0 0 12px; background: #fff; border-radius: 14px; border-top: 4px solid var(--ocre); box-shadow: var(--ombre); overflow: hidden; }
  .tableau-prix tbody th { padding: 14px 16px 12px; border-bottom: 1px solid var(--trait); font-size: 1.02rem; line-height: 1.35; }
  .tableau-prix tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1px dashed var(--trait); }
  .tableau-prix tbody td::before { content: attr(data-label); flex: none; font: 700 .7rem/1.4 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }
  .tableau-prix tbody tr > td:last-child { border-bottom: 0; }
  .tableau-prix tbody tr:last-child > th { border-bottom: 1px solid var(--trait); }
  .tableau-prix tbody tr:last-child > td.prix-montant { border-bottom: 1px dashed var(--trait); }
  .tableau-prix .prix-montant { font-size: 1.25rem; white-space: normal; }
  .tableau-prix .prix-delai { font-weight: 600; text-align: right; }
}

/* ------------------------------------------------------------------ devise : bandeau dédié, sur fond de relief */
.devise { position: relative; isolation: isolate; overflow: hidden; background: var(--nuit); color: #fff; padding: clamp(60px, 9vw, 110px) 0; text-align: center; }
.devise::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/grand-est-relief.svg") no-repeat 50% 55% / min(1200px, 135%) auto; opacity: .17; }
.devise::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: clamp(28px, 4vw, 46px); background: var(--ocre); transform: translateX(-50%); }
.devise-figure { margin: 0 auto; max-width: 1000px; }
.devise blockquote { margin: 0; }
.devise blockquote p { margin: 0; font: italic 500 clamp(2rem, 4.9vw, 3.6rem)/1.14 var(--f-titre); letter-spacing: -.012em; color: #fff; text-wrap: balance; }
.devise blockquote p::before { content: "«\00a0"; color: var(--ocre-clair); }
.devise blockquote p::after { content: "\00a0»"; color: var(--ocre-clair); }
.devise figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; font: 700 .78rem/1.2 var(--f-texte); letter-spacing: .2em; text-transform: uppercase; color: var(--ocre-clair); }
.devise figcaption::before, .devise figcaption::after { content: ""; width: 36px; height: 2px; background: currentColor; }

/* ------------------------------------------------------------------ méthode (strates) */
.citation { margin: 0 0 44px; padding-left: 22px; border-left: 4px solid var(--ocre); }
.citation p { margin: 0; max-width: 24ch; font: italic 500 clamp(1.5rem, 3.2vw, 2.3rem)/1.22 var(--f-titre); color: var(--nuit); }
.methode { list-style: none; margin: 26px 0 0; padding: 0; border-radius: 16px; overflow: hidden; }
.methode-etape { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; padding: 22px 26px; }
.methode-etape:nth-child(1) { background: #f4eee2; }
.methode-etape:nth-child(2) { background: #ebdfc8; }
.methode-etape:nth-child(3) { background: #dfcca9; }
.methode-etape:nth-child(4) { background: #d0b68a; }
.methode-numero { margin: 0; font: 600 2.1rem/1 var(--f-titre); color: var(--ocre-fonce); }
.methode-etape:nth-child(4) .methode-numero { color: #5f421f; }
.methode-etape p:last-child { margin: 0; }
.terrain-photos { display: grid; gap: 14px; margin-top: 26px; }
.terrain-photo { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--sable); box-shadow: var(--ombre); }
.terrain-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.terrain-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .85rem; line-height: 1.35; color: #fff; background: linear-gradient(180deg, rgba(17, 30, 42, 0), rgba(17, 30, 42, .78)); }
.terrain-photo-a, .terrain-photo-b { aspect-ratio: 3 / 2; }
.terrain-photo-c { aspect-ratio: 3 / 4; }
@media (min-width: 760px) {
  .terrain-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .75fr); align-items: stretch; }
  .terrain-photo-a, .terrain-photo-b, .terrain-photo-c { aspect-ratio: auto; height: 340px; }
}

/* ------------------------------------------------------------------ qui réalise l'étude */
.carte-identite { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 22px; background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--ombre); }
.carte-identite-photo { width: 92px; height: 92px; border-radius: 50%; background: var(--sable); display: grid; place-items: center; }
.carte-identite-photo .icone { width: 42px; height: 42px; color: var(--ocre-fonce); }
.monogramme { font: 500 2.1rem/1 var(--f-titre); letter-spacing: .04em; color: var(--nuit); }
.carte-identite dl { margin: 0; }
.carte-identite dl div { padding: 9px 0; border-bottom: 1px solid var(--trait); }
.carte-identite dl div:last-child { border-bottom: 0; }
.carte-identite dt { font: 700 .7rem/1.3 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.carte-identite dd { margin: 3px 0 0; font-weight: 600; }
@media (max-width: 480px) { .carte-identite { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ zone */
.dep-liste { list-style: none; margin: 18px 0 0; padding: 0; columns: 2; column-gap: 24px; }
.dep-liste li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid #d6ccb9; }
.dep-liste-code { display: inline-block; min-width: 2.2em; font: 600 1rem var(--f-titre); color: var(--ocre-fonce); }
.carte-departements { display: block; width: 100%; height: auto; }
.dep path { fill: #fbf8f2; stroke: var(--nuit); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .2s; }
.dep:hover path { fill: var(--ocre-pale); }
.dep-base path { fill: var(--ocre-clair); }
.dep-base:hover path { fill: var(--ocre); }
.dep-liste-base { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--nuit); color: #fff; font: 700 .66rem/1.5 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; }
.dep-etiquettes text { text-anchor: middle; dominant-baseline: middle; pointer-events: none; font: 600 34px var(--f-titre); fill: var(--nuit); }

/* ------------------------------------------------------------------ questions fréquentes */
.question-frequente { border-bottom: 1px solid var(--trait); }
.question-frequente:first-of-type { border-top: 1px solid var(--trait); margin-top: 26px; }
.question-frequente summary { position: relative; list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font: 600 1.15rem/1.35 var(--f-titre); color: var(--nuit); }
.question-frequente summary::-webkit-details-marker { display: none; }
.question-frequente summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.7rem/1 var(--f-texte); color: var(--ocre); }
.question-frequente[open] summary::after { content: "−"; }
.question-frequente p { margin: 0 0 18px; max-width: 70ch; }

/* ------------------------------------------------------------------ contact */
.coordonnees { margin: 0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 24px 28px; }
.coordonnees div + div { margin-top: 14px; }
.coordonnees dt { font: 700 .72rem/1.3 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: #a9b4be; }
.coordonnees dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 600; color: #fff; }
.coordonnees a { color: #fff !important; }
.coordonnees-precision { display: block; margin-top: 3px; font-size: .88rem; font-weight: 400; color: #c3cad1; }

/* ------------------------------------------------------------------ pied de page */
.pied { background: var(--nuit-fonce); color: #c3cad1; padding: 56px 0 26px; font-size: .93rem; }
.pied-grille { display: grid; gap: 32px; }
@media (min-width: 860px) { .pied-grille { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.pied .marque { color: #f3efe6; }
.pied .marque-sous { color: #a9b4be; }
.pied .logo-ocre { fill: #c99a5c; }
.pied .logo-gris { fill: #9aa3ab; }
.pied .logo-brun { fill: #a27c55; }
.pied-devise { margin: 16px 0 0; max-width: 28ch; font: italic 500 1.08rem/1.4 var(--f-titre); color: #e8e3d9; }
.pied-titre { margin: 0 0 12px; font: 700 .76rem/1.3 var(--f-texte); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin: 7px 0; }
.pied a { color: #e8e3d9; text-decoration: none; }
.pied a:hover { color: var(--ocre-clair); text-decoration: underline; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .83rem; }
.pied-bas p { margin: 0; }
.pied-sources { color: #8f99a3; }

/* ------------------------------------------------------------------ pages de texte */
.page-texte { padding: 56px 0 88px; }
.page-texte h1 { font-weight: 600; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; margin: 0 0 24px; }
.page-texte h2 { font-size: 1.4rem; margin: 34px 0 10px; max-width: none; }

/* ------------------------------------------------------------------ impression du récapitulatif */
.impression-seule { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 10.5pt; }
  .bandeau-maquette, .entete, .pied, main > section:not(.hero), .hero-texte, .parcours-tete, .etape-actions, .retour, .lien-evitement, .fiche-tete .lien-bouton { display: none !important; }
  .hero { background: none; color: var(--texte); padding: 0; }
  .hero-grille { display: block; }
  .parcours { box-shadow: none; padding: 0; }
  .impression-seule { display: block; margin-top: 18px; break-before: auto; }
  .troncon, .jauge i, .reco-statut { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .etape, .etape * { animation: none !important; }
  .carotte-ligne, .reco-chiffres, .impression-pied { break-inside: avoid; }
  .fiche-tete { break-after: avoid; }
  /* récapitulatif : en-tête de GE Géotechnique, terrain et projet, avertissement en pied */
  .impression-tete .sans-coupure { white-space: nowrap; }
  .parcours .impression-tete { display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: center; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ocre); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .impression-tete .logo { width: 64px; color: var(--nuit); }
  .impression-tete p { margin: 0; font-size: 8.5pt; line-height: 1.4; color: #333; }
  .impression-tete .impression-nom { font: 750 11.5pt/1.25 var(--f-texte); letter-spacing: .12em; color: var(--nuit); }
  .impression-nom span { color: var(--ocre); }
  .impression-doc { text-align: right; }
  .impression-tete .impression-titre { font: 600 11.5pt/1.3 var(--f-titre); color: var(--nuit); }
  .parcours .impression-infos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin: 0 0 6px; }
  .impression-infos dt { font: 700 7pt/1.3 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: #666; }
  .impression-infos dd { margin: 2px 0 0; font-weight: 600; font-size: 9.5pt; }
  .parcours .impression-pied { margin-top: 16px; padding-top: 10px; border-top: 1px solid #bbb; font-size: 7.5pt; line-height: 1.45; color: #444; break-inside: avoid; }
  .impression-pied p { margin: 0 0 5px; }
  .parcours[data-etape="7"] .impression-infos, .parcours[data-etape="7"] .impression-pied { display: none; }
}

/* ------------------------------------------------------------------ mouvements réduits */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
