/* ═══════════════════════════════════════════════════════════════════════════
   Les pages Opti Gemba (refonte du 2026-11-10)

   La feuille des TROIS pages Gemba et de leurs jumelles anglaises :
   /optigemba/, /generateur-xlsform/, /generateur-rapport-meal/. Elle porte la
   mise en page, la typographie, les boutons et les composants partagés.
   optigemba.css, chargée APRÈS elle sur la seule page XLSForm, n'habille que
   la démo du générateur (ce que fabrique optigemba.js).

   ?v= : la feuille est servie avec un cache de 7 jours. Toute modification
   impose d'incrémenter le ?v= sur LES TROIS pages françaises, puis de relancer
   page-en pour les anglaises.

   L'idée : la brique. Le logo d'Opti Gemba est ocre, la couleur des briques
   des maisons en Afrique. Sur un chronogramme, une barre de Gantt a déjà la
   forme d'une brique : le haut de page est donc un mur dont chaque rangée est
   une mission et chaque brique un document, posé sur la fondation du projet.
   L'état se lit à la cuisson : terre crue (à venir), en cuisson (en cours),
   cuite (terminé).

   Règles tenues : aucun dégradé, aucun émoji, des surfaces mates (un grain
   SVG en surimpression), une seule famille (Bricolage Grotesque), un seul
   moment d'animation non demandé (la pose des briques au chargement).
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --brique:        #A23B24;   /* la sphère du logo, relevée au pixel */
  --brique-sombre: #7E2C19;
  --cuisson:       #C97A55;   /* brique en cours de cuisson */
  --crue:          #E4CDBC;   /* terre crue */
  --chaux:         #F3ECE6;   /* fond de page, un badigeon de chaux sur argile */
  --argile:        #E8DACE;   /* fond des sections alternées */
  --mortier:       #D8C6B8;
  --terre:         #2B1812;   /* encre et sections sombres, terre brûlée */
  --terre-2:       #5E4339;   /* texte secondaire */
  --indigo:        #28316E;   /* le repère : sélection, focus, aujourd'hui */
  --sur-terre:     #F1E4DA;
  --sur-terre-2:   #CDB3A5;

  --f: 'Bricolage Grotesque', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --larg: 1160px;
  --gout: clamp(16px, 4vw, 32px);

  /* Le grain mat, en surimpression : un bruit SVG, aucune image à charger. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--chaux);
  color: var(--terre);
  font-family: var(--f);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Remise à zéro sans poids (:where) : sinon elle écraserait les marges des classes. */
:where(.gb) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(.gb) :where(ul, ol) { list-style: none; }
.gb img { max-width: 100%; display: block; }
.gb a { color: inherit; }
.gb strong { font-weight: 650; }
.gb code { font-family: var(--mono); font-size: .86em; background: rgba(43,24,18,.07); padding: 1px 5px; border-radius: 3px; white-space: nowrap; }

.gb a.ilink { color: var(--brique-sombre); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(126,44,25,.35); }
.gb a.ilink:hover { border-bottom-color: var(--brique-sombre); }
.gb-sec-terre a.ilink, .gb-tarifs a { color: #F6C9B4; border-bottom-color: rgba(246,201,180,.45); }

.gb :focus-visible { outline: 2.5px solid var(--indigo); outline-offset: 3px; }
.gb-sec-terre :focus-visible, .gb-tarifs :focus-visible { outline-color: #F1E4DA; }

.gb-wrap { max-width: var(--larg); margin: 0 auto; padding: 0 var(--gout); }

/* Grain mat : posé sur une section par ::before, sous le contenu. */
.gb-hero, .gb-sec-argile, .gb-sec-terre, .gb-tarifs, .gb-fin { position: relative; isolation: isolate; }
.gb-hero::before, .gb-sec-argile::before, .gb-sec-terre::before, .gb-tarifs::before, .gb-fin::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .09; mix-blend-mode: multiply;
}
.gb-sec-terre::before, .gb-tarifs::before { opacity: .22; mix-blend-mode: soft-light; }

/* ── Typographie ───────────────────────────────────────────────────────── */
.gb h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-stretch: 78%;
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.gb h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-stretch: 80%;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.gb h3 { font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: -.005em; margin-bottom: 6px; }
.gb-intro { font-size: 18.5px; color: var(--terre-2); max-width: 62ch; margin-top: 16px; text-wrap: pretty; }
.gb p { text-wrap: pretty; }

/* ── Boutons : des carreaux de terre cuite, mats, sans dégradé ──────────── */
.gb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 650 16px/1.2 var(--f); text-decoration: none; cursor: pointer;
  padding: 15px 22px 16px; border-radius: 4px; border: 0;
  transition: background-color .15s, transform .15s;
}
.gb-btn:active { transform: translateY(1px); }
.gb .gb-btn-brique { background: var(--brique); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.24); }
.gb .gb-btn-brique:hover { background: var(--brique-sombre); }
.gb .gb-btn-trait { color: var(--terre); box-shadow: inset 0 0 0 1.5px var(--terre); background: transparent; }
.gb .gb-btn-trait:hover { background: rgba(43,24,18,.07); }
.gb .gb-btn-clair { background: var(--sur-terre); color: var(--terre); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
.gb .gb-btn-clair:hover { background: #fff; }

/* ═══════════════════════════ HERO ═══════════════════════════ */
.gb-hero { background: var(--argile); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.gb-hero-grille { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .gb-hero-grille { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

.gb-signature { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; margin-bottom: 22px; }
.gb-signature img { width: 36px; height: 36px; border-radius: 8px; }
.gb-chapeau { font-size: 19px; color: var(--terre-2); margin-top: 22px; max-width: 52ch; }
.gb-hero-note { margin-top: 22px; font-size: 15px; color: var(--terre-2); max-width: 46ch; padding-left: 14px; border-left: 3px solid var(--brique); }

/* Le mur */
.gb-mur { background: var(--chaux); border-radius: 6px; padding: clamp(16px, 2.4vw, 26px); box-shadow: 0 1px 0 rgba(43,24,18,.08), 0 18px 40px -22px rgba(43,24,18,.45); }
.gb-mur-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.gb-mur-titre { font-weight: 700; font-size: 18px; font-stretch: 88%; }
.gb-legende { display: flex; gap: 14px; font-size: 13px; color: var(--terre-2); }
.gb-legende li { display: flex; align-items: center; gap: 6px; }
.gb-legende i { width: 18px; height: 10px; border-radius: 2px; display: block; }
.gb-l-crue { background: var(--crue); box-shadow: inset 0 0 0 1px #B99581; }
.gb-l-cuisson { background: var(--cuisson); }
.gb-l-cuite { background: var(--brique); }
.gb-mur-aide { font-size: 14px; color: var(--terre-2); margin-top: 4px; }

.gb-mur-zone { position: relative; margin-top: 18px; padding-bottom: 6px; }
.gb-mois, .gb-assise { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); column-gap: 4px; }
.gb-mois { margin-bottom: 8px; }
.gb-mois span { grid-column: span 2; font-size: 12px; color: var(--terre-2); padding-left: 2px; border-left: 1px solid var(--mortier); }
.gb-assise { row-gap: 3px; margin-bottom: 7px; }
.gb-mission { grid-row: 1; font-size: 12.5px; font-weight: 600; color: var(--terre-2); white-space: nowrap; }

.gb-aujourdhui { position: absolute; top: 0; bottom: 0; left: calc(75% - 1px); width: 0; border-left: 2px solid var(--indigo); z-index: 2; pointer-events: none; }
.gb-aujourdhui span { position: absolute; bottom: -22px; left: -4px; transform: translateX(-50%); font-size: 11.5px; font-weight: 650; color: var(--indigo); background: var(--chaux); padding: 0 4px; white-space: nowrap; }

.gb-brique, .gb-fondation {
  position: relative; grid-row: 2; font: 600 12.5px/1 var(--f); font-stretch: 75%; letter-spacing: .01em;
  height: 38px; padding: 0 4px; border: 0; border-radius: 3px; cursor: pointer;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  transition: transform .15s, filter .15s;
}
.gb-brique::after, .gb-fondation::after {   /* le grain de chaque brique */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .28; mix-blend-mode: soft-light;
}
.gb-brique.cuite { background: var(--brique); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.gb-assise .gb-brique.cuite:nth-of-type(2n) { background: #9A3620; }
.gb-assise .gb-brique.cuite:nth-of-type(3n) { background: #A9452B; }
.gb-brique.cuisson { background: var(--cuisson); color: var(--terre); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
.gb-brique.crue { background: var(--crue); color: #6A3E2D; box-shadow: inset 0 0 0 1px #C4A28D; }
.gb-brique:hover, .gb-fondation:hover { transform: translateY(-2px); filter: brightness(1.06); }
.gb-brique[aria-pressed="true"], .gb-fondation[aria-pressed="true"] { outline: 2.5px solid var(--indigo); outline-offset: 2px; z-index: 3; }

.gb-fondation {
  display: block; width: 100%; height: 40px; margin-top: 2px;
  background: #5B2D1F; color: #F6E7DD; text-align: left; padding: 0 14px; font-size: 13.5px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.25);
}

.gb-fiche { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--mortier); min-height: 112px; }
.gb-fiche-ou { font-size: 13.5px; color: var(--terre-2); }
.gb-fiche-titre { font-weight: 700; font-size: 20px; font-stretch: 88%; margin-top: 2px; }
.gb-fiche-texte { font-size: 15.5px; margin-top: 4px; max-width: 56ch; }

/* La pose des briques : le seul mouvement non demandé de la page. */
@keyframes gb-pose { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.gb-pose .gb-brique, .gb-pose .gb-fondation { animation: gb-pose .42s cubic-bezier(.2,.8,.3,1) backwards; animation-delay: calc(var(--i, 0) * 55ms + 150ms); }
@media (prefers-reduced-motion: reduce) { .gb-pose .gb-brique, .gb-pose .gb-fondation { animation: none; } }

@media (max-width: 560px) {
  .gb-mur { padding: 14px 12px; }
  .gb-mois, .gb-assise { column-gap: 2px; }
  .gb-brique { font-size: 10px; letter-spacing: 0; height: 32px; padding: 0; text-overflow: clip; }
  .gb-actions .gb-btn { flex: 1 1 100%; }
  .gb-mois span { font-size: 10.5px; }
  .gb-legende { gap: 10px; font-size: 12px; }
  .gb-mission { font-size: 11.5px; }
}

/* ═══════════════════════════ SECTIONS ═══════════════════════════ */
.gb-sec { padding: clamp(64px, 9vw, 112px) 0; }
.gb-sec-court { padding: clamp(56px, 7vw, 88px) 0; }
.gb-sec-argile { background: var(--argile); }
.gb-sec-terre { background: var(--terre); color: var(--sur-terre); }
.gb-sec-terre .gb-intro { color: var(--sur-terre-2); }
.gb-entete { margin-bottom: clamp(36px, 5vw, 56px); }

/* ── L'organisation : une coupe du mur ─────────────────────────────────── */
.gb-coupe { display: grid; gap: 6px; }
.gb-couche { display: grid; gap: 18px 36px; align-items: center; padding: 22px 0; border-top: 1px solid var(--mortier); }
@media (min-width: 820px) { .gb-couche { grid-template-columns: 300px minmax(0, 1fr); } }
.gb-couche p { max-width: 64ch; }
.gb-couche-dessin { display: grid; gap: 4px; height: 40px; }
.gb-couche-dessin i { display: block; border-radius: 3px; background: var(--brique); position: relative; overflow: hidden; }
.gb-couche-dessin i::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .28; mix-blend-mode: soft-light; }
.gb-couche-docs .gb-couche-dessin { grid-template-columns: repeat(7, 1fr); }
.gb-couche-docs .gb-couche-dessin i:nth-child(2n) { background: #9A3620; }
.gb-couche-docs .gb-couche-dessin i:nth-child(n+6) { background: var(--crue); box-shadow: inset 0 0 0 1px #C4A28D; }
.gb-couche-missions .gb-couche-dessin { grid-template-columns: 1.2fr 1fr .8fr; }
.gb-couche-missions .gb-couche-dessin i { background: var(--cuisson); }
.gb-couche-missions .gb-couche-dessin i:first-child { background: var(--brique); }
.gb-couche-projet .gb-couche-dessin i { background: #5B2D1F; }

.gb-trois { display: grid; gap: 32px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 820px) { .gb-trois { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.gb-trois > div { padding-top: 18px; border-top: 3px solid var(--brique); }
.gb-trois p { font-size: 16px; color: var(--terre-2); }

/* ── Les outils : onglets ──────────────────────────────────────────────── */
.gb-outils { display: grid; gap: 28px; }
.gb-onglets { display: none; }
.gb-js .gb-onglets { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; margin: 0 calc(-1 * var(--gout)); padding-left: var(--gout); padding-right: var(--gout); scroll-snap-type: x proximity; }
.gb-onglets button {
  flex: 0 0 auto; scroll-snap-align: start; text-align: left; cursor: pointer;
  font: inherit; color: var(--terre); background: transparent; border: 0; border-radius: 4px;
  padding: 10px 14px; display: grid; gap: 1px;
  box-shadow: inset 0 0 0 1px var(--mortier);
}
.gb-onglets b { font-weight: 650; font-size: 15.5px; }
.gb-onglets span { font-size: 13px; color: var(--terre-2); }
.gb-onglets button:hover { background: rgba(255,255,255,.45); }
.gb-onglets button[aria-selected="true"] { background: var(--brique); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.22); }
.gb-onglets button[aria-selected="true"] span { color: #F6D6C8; }

@media (min-width: 900px) {
  .gb-js .gb-outils { grid-template-columns: 290px minmax(0, 1fr); gap: 36px; align-items: stretch; }
  .gb-js .gb-panneau { grid-template-rows: auto 1fr; }
  .gb-js .gb-panneau .gb-maquette { align-self: center; }
  .gb-js .gb-onglets { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 2px; }
  .gb-onglets button { box-shadow: none; border-left: 3px solid transparent; border-radius: 0 4px 4px 0; padding: 11px 16px; }
  .gb-onglets button[aria-selected="true"] { border-left-color: var(--brique-sombre); }
}

.gb-panneaux { display: grid; gap: 20px; }
.gb-panneau { background: var(--chaux); border-radius: 6px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 28px; scroll-margin-top: 90px; }
.gb-js .gb-panneau:not(.actif) { display: none; }
.gb-js .gb-panneau.actif { animation: gb-fondu .25s ease both; }
@keyframes gb-fondu { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gb-js .gb-panneau.actif { animation: none; } }
.gb-panneau h3 { font-size: 24px; font-stretch: 85%; font-weight: 700; margin-bottom: 12px; }
.gb-panneau-txt p { font-size: 16.5px; max-width: 64ch; }

/* Les maquettes : des bouts d'interface, en HTML, sans capture d'écran */
.gb-maquette { background: #fff; border-radius: 5px; padding: 18px; font-size: 13.5px; box-shadow: 0 0 0 1px rgba(43,24,18,.08), 0 10px 26px -18px rgba(43,24,18,.5); align-self: stretch; }
.gb-m-xls { padding: 0; overflow: hidden; font-family: var(--mono); font-size: 12px; }
.gb-xls-l { display: grid; grid-template-columns: 1.1fr .9fr 1.6fr; border-bottom: 1px solid #EFE6DF; }
.gb-xls-l span { padding: 9px 10px; border-right: 1px solid #EFE6DF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-xls-l span:last-child { border-right: 0; white-space: normal; font-family: var(--f); font-size: 13px; }
.gb-xls-t { background: #F4ECE5; font-weight: 700; }
.gb-xls-saut { background: #FBF5F1; }
.gb-xls-l em { display: block; font-style: normal; font-size: 11.5px; color: var(--indigo); }

.gb-m-liste { display: grid; gap: 0; padding: 6px 18px; }
.gb-m-liste > div:not(.gb-jauge) { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #EFE6DF; }
.gb-m-liste > div:last-child { border-bottom: 0; }
.gb-m-liste span { color: var(--terre-2); }
.gb-m-liste b { font-weight: 650; text-align: right; }
.gb-ok { color: #2C6B3F; }
.gb-gros { font-size: 22px; font-stretch: 80%; }
.gb-jauge { height: 8px; background: #F1E6DE; border-radius: 2px; margin: 4px 0 14px; overflow: hidden; }
.gb-jauge i { display: block; height: 100%; background: var(--brique); }

.gb-m-tel { display: grid; place-items: center; background: transparent; box-shadow: none; padding: 0; }
.gb-tel { width: 100%; max-width: 250px; background: #fff; border-radius: 22px; padding: 16px 16px 18px; box-shadow: 0 0 0 7px var(--terre), 0 18px 30px -16px rgba(43,24,18,.6); }
.gb-tel-barre { display: flex; justify-content: space-between; font-weight: 650; font-size: 12.5px; margin-bottom: 10px; }
.gb-horsligne { color: var(--brique-sombre); background: #F6E4DB; border-radius: 3px; padding: 1px 6px; font-weight: 600; }
.gb-tel-q { font-size: 12px; color: var(--terre-2); margin-top: 8px; }
.gb-tel-champ { border-bottom: 1.5px solid var(--mortier); padding: 3px 0; font-weight: 600; }
.gb-tel-photo { color: #2C6B3F; }
.gb-tel-attente { margin-top: 14px; font-size: 12px; text-align: center; background: var(--argile); border-radius: 4px; padding: 6px; }

.gb-m-barres { display: grid; gap: 12px; align-content: center; }
.gb-barre { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 3.6em; align-items: center; gap: 10px; }
.gb-barre > div { height: 14px; background: #F1E6DE; border-radius: 2px; overflow: hidden; }
.gb-barre i { display: block; height: 100%; background: var(--brique); }
.gb-barre b { text-align: right; font-variant-numeric: tabular-nums; }
.gb-source { font-size: 12px; color: var(--terre-2); }

.gb-m-feuille { padding: 0; overflow: hidden; }
.gb-formule { font-family: var(--mono); font-size: 12.5px; padding: 9px 12px; border-bottom: 1px solid #EFE6DF; display: flex; gap: 12px; }
.gb-formule span { color: var(--terre-2); border-right: 1px solid #EFE6DF; padding-right: 12px; }
.gb-cases { display: grid; grid-template-columns: 30px 1.4fr 1fr 1fr; font-variant-numeric: tabular-nums; }
.gb-cases span { padding: 8px 10px; border-right: 1px solid #EFE6DF; border-bottom: 1px solid #EFE6DF; }
.gb-c-t { background: #F4ECE5; color: var(--terre-2); text-align: center; font-size: 12px; }
.gb-c-sel { outline: 2px solid var(--indigo); outline-offset: -2px; font-weight: 700; }

.gb-m-page { padding: 22px 24px; display: grid; gap: 10px; align-content: start; font-size: 14px; }
.gb-page-t { font-weight: 700; font-size: 16px; font-stretch: 88%; }
.gb-verifie { font-size: 12.5px; color: #2C6B3F; font-weight: 600; }
.gb-plan { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; }
.gb-plan li { padding-left: 4px; }

.gb-m-docs { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; align-items: center; background: var(--argile); box-shadow: none; }
.gb-feuillet, .gb-diapo { background: #fff; border-radius: 3px; padding: 14px; display: grid; gap: 7px; box-shadow: 0 6px 16px -10px rgba(43,24,18,.5); }
.gb-feuillet { aspect-ratio: 3 / 4; align-content: start; }
.gb-feuillet .gb-page-t { font-size: 12.5px; }
.gb-feuillet i, .gb-diapo i { display: block; height: 6px; background: #EDE2DA; border-radius: 2px; }
.gb-feuillet i.court, .gb-diapo i.court { width: 60%; }
.gb-diapo { aspect-ratio: 16 / 9; align-content: center; }
.gb-diapo p { font-weight: 700; font-size: 12.5px; }
.gb-diapo-chiffre { font-size: 30px; font-weight: 700; font-stretch: 78%; color: var(--brique); line-height: 1; }

/* ── Le rapport, en terre sombre ───────────────────────────────────────── */
.gb-rapport { display: grid; gap: 40px; }
@media (min-width: 960px) { .gb-rapport { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; } }
.gb-etapes { counter-reset: etape; display: grid; gap: 30px; }
.gb-etapes li { counter-increment: etape; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; }
.gb-etapes li::before {
  content: counter(etape); grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--brique); color: #fff; border-radius: 3px; font-weight: 700; font-size: 20px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.25);
}
.gb-etapes p { color: var(--sur-terre-2); font-size: 16px; }
.gb-etapes strong { color: var(--sur-terre); }

.gb-direct { background: var(--chaux); color: var(--terre); border-radius: 6px; padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 14px; }
.gb-direct-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; align-items: baseline; }
.gb-direct-titre { font-weight: 700; font-size: 16.5px; font-stretch: 88%; }
.gb-direct-compte { font-size: 14px; color: var(--terre-2); font-variant-numeric: tabular-nums; }
.gb-direct-jauge { height: 8px; background: var(--argile); border-radius: 2px; overflow: hidden; }
.gb-direct-jauge i { display: block; height: 100%; background: var(--brique); }
.gb-constats { display: grid; gap: 8px; font-size: 15px; }
.gb-constats li { padding-left: 16px; position: relative; }
.gb-constats li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--brique); border-radius: 1px; }
.gb-constats .gb-point { font-weight: 600; padding: 8px 12px 8px 16px; background: var(--argile); border-radius: 4px; }
.gb-constats .gb-point { padding-left: 12px; }
.gb-constats .gb-point::before { display: none; }
.gb-direct.joue .gb-constats li { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gb-direct.joue .gb-constats li.vu { opacity: 1; transform: none; }
.gb-lecture { border-left: 3px solid var(--indigo); padding: 4px 0 4px 14px; display: grid; gap: 6px; font-size: 15px; transition: opacity .3s; }
.gb-direct.joue .gb-lecture:not(.vu) { opacity: 0; }
.gb-lecture-t { font-weight: 650; color: var(--indigo); font-size: 14px; }
.gb-lecture-choix { display: flex; gap: 8px; }
.gb-lecture-choix span { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--mortier); }
.gb-lecture-choix span:first-child { background: var(--indigo); color: #fff; box-shadow: none; }
.gb-rejouer { justify-self: start; font-size: 15px; padding: 11px 16px 12px; }
.gb .gb-direct .gb-btn-clair { background: var(--terre); color: var(--sur-terre); }
.gb .gb-direct .gb-btn-clair:hover { background: #000; }

.gb-atouts { display: grid; gap: 30px 44px; margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid rgba(241,228,218,.18); }
@media (min-width: 700px) { .gb-atouts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gb-atouts { grid-template-columns: repeat(3, 1fr); } }
.gb-atouts p { color: var(--sur-terre-2); font-size: 15.5px; }
.gb-atouts strong { color: var(--sur-terre); }

/* ── Vos données ───────────────────────────────────────────────────────── */
.gb-donnees { display: grid; gap: 44px; }
@media (min-width: 960px) { .gb-donnees { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.gb-faits { margin-top: 32px; display: grid; gap: 4px; }
.gb-faits dt { font-weight: 650; font-size: 17px; padding-top: 14px; border-top: 1px solid var(--mortier); }
.gb-faits dt:first-child { border-top: 0; padding-top: 0; }
.gb-faits dd { color: var(--terre-2); font-size: 16px; padding-bottom: 10px; }

.gb-stock { background: var(--argile); border-radius: 6px; padding: clamp(20px, 2.6vw, 30px); position: relative; isolation: isolate; }
@media (min-width: 960px) { .gb-stock { position: sticky; top: 96px; } }
.gb-stock::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .09; mix-blend-mode: multiply; border-radius: inherit; }
.gb-stock input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.gb-stock-q { font-weight: 650; font-size: 15px; margin-bottom: 10px; }
.gb-stock-choix { display: flex; flex-wrap: wrap; gap: 6px; }
.gb-stock-choix label { cursor: pointer; font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--mortier); background: var(--chaux); transition: background-color .15s; }
.gb-stock-choix label:hover { background: #fff; }
#gb-st-opti:checked ~ .gb-stock-choix label[for="gb-st-opti"],
#gb-st-drive:checked ~ .gb-stock-choix label[for="gb-st-drive"],
#gb-st-sp:checked ~ .gb-stock-choix label[for="gb-st-sp"] { background: var(--brique); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.22); }
#gb-st-opti:focus-visible ~ .gb-stock-choix label[for="gb-st-opti"],
#gb-st-drive:focus-visible ~ .gb-stock-choix label[for="gb-st-drive"],
#gb-st-sp:focus-visible ~ .gb-stock-choix label[for="gb-st-sp"] { outline: 2.5px solid var(--indigo); outline-offset: 3px; }

.gb-arbo { margin-top: 18px; background: #fff; border-radius: 5px; padding: 18px 18px 16px; font-size: 14.5px; box-shadow: 0 10px 26px -18px rgba(43,24,18,.5); }
.gb-racine { font-weight: 700; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid #EFE6DF; }
.gb-arbo ul ul { padding-left: 18px; border-left: 1px solid var(--mortier); margin-left: 6px; }
.gb-arbo li { padding: 4px 0; }
.gb-dossier { font-weight: 600; }
.gb-f { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.gb-f::before { content: ""; width: 11px; height: 13px; border-radius: 2px; flex: 0 0 auto; background: var(--crue); }
.gb-f-w::before { background: #2B579A; }
.gb-f-x::before { background: #1F7244; }
.gb-f-p::before { background: #C4472B; }
.gb-f-o::before { background: var(--brique); }
.gb-ext { color: var(--terre-2); margin-left: -8px; }
.gb-stock-note { margin-top: 12px; font-size: 13.5px; color: var(--terre-2); }
.gb-stock .si-opti, .gb-stock .si-drive, .gb-stock .si-sp, .gb-stock .gb-ext { display: none; }
#gb-st-opti:checked ~ .gb-arbo .si-opti,
#gb-st-drive:checked ~ .gb-arbo .si-drive,
#gb-st-sp:checked ~ .gb-arbo .si-sp { display: inline; }
#gb-st-drive:checked ~ .gb-arbo .gb-ext,
#gb-st-sp:checked ~ .gb-arbo .gb-ext { display: inline; }

/* ── La famille Opti' ──────────────────────────────────────────────────── */
.gb-famille { display: grid; gap: 28px; }
@media (min-width: 720px) { .gb-famille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gb-famille { grid-template-columns: repeat(4, 1fr); } }
.gb-famille li { display: grid; gap: 12px; align-content: start; }
.gb-famille img { width: 44px; height: 44px; border-radius: 10px; }
.gb-famille p { font-size: 15px; color: var(--terre-2); }
.gb-famille a { text-decoration: none; border-bottom: 1px solid rgba(43,24,18,.3); }
.gb-famille a:hover { border-bottom-color: var(--terre); }
.gb-ici h3 { color: var(--brique-sombre); }

/* ── Tarifs : un bandeau de brique ─────────────────────────────────────── */
.gb-tarifs { background: var(--brique); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.gb-tarifs-grille { display: grid; gap: 24px 64px; align-items: start; }
@media (min-width: 900px) { .gb-tarifs-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.gb-tarifs h2 { font-size: clamp(34px, 4.6vw, 56px); }
.gb-tarifs p { font-size: 17px; color: #FBE9E1; max-width: 58ch; }
.gb-tarifs .gb-actions { margin-top: 24px; }
.gb-tarifs-note { margin-top: 18px; font-size: 15px; }
.gb-tarifs-note a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.55); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.gb-faq-grille { display: grid; gap: 28px 64px; }
@media (min-width: 960px) { .gb-faq-grille { grid-template-columns: 300px minmax(0, 1fr); } }
.gb-faq details { border-top: 1px solid var(--mortier); }
.gb-faq details:last-child { border-bottom: 1px solid var(--mortier); }
.gb-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-weight: 650; font-size: 17.5px; }
.gb-faq summary::-webkit-details-marker { display: none; }
.gb-faq summary::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; margin-top: 6px; border-right: 2px solid var(--brique); border-bottom: 2px solid var(--brique); transform: rotate(45deg); transition: transform .2s; }
.gb-faq details[open] summary::after { transform: rotate(225deg); margin-top: 11px; }
.gb-faq summary:hover { color: var(--brique-sombre); }
.gb-faq details p { padding: 0 0 20px; color: var(--terre-2); max-width: 70ch; }

/* ── Dernier appel ─────────────────────────────────────────────────────── */
.gb-fin { background: var(--argile); padding: clamp(64px, 8vw, 104px) 0; }
.gb-fin-grille { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .gb-fin-grille { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; } }
.gb-fin p { font-size: 18px; color: var(--terre-2); max-width: 56ch; margin-top: 16px; }
.gb-fin-mur { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; max-width: 340px; }
.gb-fin-mur i { grid-column: span 2; height: 34px; border-radius: 3px; background: var(--brique); position: relative; overflow: hidden; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.gb-fin-mur i::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .28; mix-blend-mode: soft-light; }
.gb-fin-mur i:nth-child(2n) { background: #9A3620; }
.gb-fin-mur i:nth-child(3n) { background: #A9452B; }
.gb-fin-mur i:nth-child(5) { grid-column: 2 / span 2; }   /* le décalage d'une assise */
.gb-fin-mur i:nth-child(8) { grid-column: span 1; }
.gb-fin-mur i:nth-child(9) { grid-column: 1 / span 2; background: var(--cuisson); }
.gb-fin-mur i:nth-child(10), .gb-fin-mur i:nth-child(11) { background: var(--crue); box-shadow: inset 0 0 0 1px #C4A28D; }

/* ═══════════════════════════════════════════════════════════════════════════
   COMPOSANTS DES PAGES DES GÉNÉRATEURS (2026-11-10)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero à deux colonnes : le texte, puis l'objet (générateur, vidéo) ────── */
.gb-hero-duo { display: grid; gap: clamp(32px, 4.5vw, 56px); align-items: start; }
@media (min-width: 1000px) { .gb-hero-duo { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }
.gb-hero-duo .gb-hero-txt { padding-top: 8px; }
.gb-hero-duo h1 { font-size: clamp(38px, 4.4vw, 56px); }
.gb-garanties { display: grid; gap: 8px; margin-top: 26px; font-size: 15.5px; }
.gb-garanties li { display: flex; gap: 10px; align-items: baseline; }
.gb-garanties li::before { content: ""; flex: 0 0 auto; width: 12px; height: 8px; border-radius: 1px; background: var(--brique); transform: translateY(-1px); }

/* ── La vidéo : une vignette, le lecteur seulement quand on la voit ───────── */
.gb-video { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--terre); box-shadow: 0 1px 0 rgba(43,24,18,.08), 0 22px 46px -24px rgba(43,24,18,.55); }
.gb-video img, .gb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.gb-video .ogv-video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--brique); color: #fff; display: grid; place-items: center;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.25), 0 12px 30px rgba(0,0,0,.35);
  transition: background-color .15s;
}
.gb-video .ogv-video-play:hover { background: var(--brique-sombre); }
.gb-video-note { font-size: 14.5px; color: var(--terre-2); margin-top: 12px; max-width: 64ch; }
.gb-video-note a { color: var(--brique-sombre); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(126,44,25,.35); }

/* ── La chaîne : neuf étapes posées comme une assise de briques ───────────── */
/* Sans JavaScript, les briques sont cachées et les neuf panneaux s'affichent
   en liste numérotée. Avec, la brique choisie est en cuisson, celles d'avant
   sont cuites, celles d'après encore crues. */
.gb-chaine-briques { display: none; }
.gb-js .gb-chaine-briques { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; }
.gb-chaine-briques button {
  position: relative; overflow: hidden; cursor: pointer; text-align: left;
  min-height: 74px; padding: 9px 10px; border: 0; border-radius: 3px;
  display: grid; align-content: space-between; gap: 6px;
  font: 600 13.5px/1.15 var(--f); font-stretch: 85%;
  background: var(--crue); color: #6A3E2D; box-shadow: inset 0 0 0 1px #C4A28D;
  transition: transform .15s, background-color .2s;
}
.gb-chaine-briques button::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .28; mix-blend-mode: soft-light; }
.gb-chaine-briques button .gb-n { font-size: 12px; font-weight: 700; opacity: .8; font-variant-numeric: tabular-nums; }
.gb-chaine-briques button:hover { transform: translateY(-2px); }
.gb-chaine-briques button.cuite { background: var(--brique); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.gb-chaine-briques button.cuite:nth-child(2n) { background: #9A3620; }
.gb-chaine-briques button[aria-selected="true"] { background: var(--cuisson); color: var(--terre); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); outline: 2.5px solid var(--indigo); outline-offset: 2px; z-index: 1; }
@media (max-width: 760px) {
  .gb-js .gb-chaine-briques { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gb-chaine-briques button { min-height: 58px; }
}

.gb-chaine-panneaux { counter-reset: chaine; display: grid; gap: 22px 40px; }
@media (min-width: 760px) { .gb-chaine-panneaux { grid-template-columns: repeat(3, 1fr); } }
.gb-chaine-p { counter-increment: chaine; padding-top: 14px; border-top: 3px solid var(--brique); }
.gb-chaine-p h3::before { content: counter(chaine) ". "; color: var(--brique-sombre); }
.gb-chaine-p p { color: var(--terre-2); font-size: 16px; }
.gb-chaine-suite { display: none; }
.gb-js .gb-chaine-panneaux { display: block; margin-top: 20px; background: var(--argile); border-radius: 6px; padding: clamp(20px, 3vw, 32px); min-height: 172px; }
.gb-js .gb-chaine-p { border-top: 0; padding-top: 0; display: none; }
.gb-js .gb-chaine-p.actif { display: grid; gap: 4px; animation: gb-fondu .25s ease both; }
.gb-js .gb-chaine-p h3 { font-size: 24px; font-stretch: 85%; font-weight: 700; }
.gb-js .gb-chaine-p h3::before { content: none; }
.gb-js .gb-chaine-p p { font-size: 17px; max-width: 66ch; }
.gb-js .gb-chaine-suite { display: inline-flex; justify-self: start; margin-top: 14px; font-size: 15px; padding: 10px 16px 11px; }
@media (prefers-reduced-motion: reduce) { .gb-js .gb-chaine-p.actif { animation: none; } }

/* ── Tableaux : comparaison et extrait XLSForm ───────────────────────────── */
.gb-tableau { overflow-x: auto; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px rgba(43,24,18,.08), 0 16px 36px -26px rgba(43,24,18,.5); }
.gb-tableau table { width: 100%; border-collapse: collapse; font-size: 15px; }
.gb-tableau th, .gb-tableau td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid #EFE6DF; }
.gb-tableau tbody tr:last-child th, .gb-tableau tbody tr:last-child td { border-bottom: 0; }
.gb-tableau thead th { font-weight: 650; font-size: 14px; background: #F4ECE5; }
.gb-tableau tbody th { font-weight: 650; }
.gb-tableau td { color: var(--terre-2); }
.gb-tableau .gb-col-opti { color: var(--terre); font-weight: 600; background: #FAF1EC; box-shadow: inset 3px 0 0 var(--brique); }
.gb-tableau thead .gb-col-opti { background: var(--brique); color: #fff; box-shadow: none; }
.gb-tableau-code td { font-family: var(--mono); font-size: 13px; color: var(--terre); white-space: nowrap; }
.gb-tableau-code td:nth-child(3) { font-family: var(--f); font-size: 14.5px; white-space: normal; min-width: 16em; }
.gb-tableau-code tr.gb-groupe td { background: #FAF4EF; color: var(--brique-sombre); }
.gb-sous { margin-top: 18px; font-size: 15.5px; color: var(--terre-2); max-width: 72ch; }
.gb-titre-sous { font-size: 22px; font-stretch: 85%; font-weight: 700; margin: clamp(48px, 6vw, 72px) 0 8px; }
@media (min-width: 900px) { .gb-tableau-comparer tbody th { white-space: nowrap; } }

/* ── Grille d'atouts : un filet de brique sur chaque bloc ─────────────────── */
.gb-grille { display: grid; gap: 30px 40px; }
@media (min-width: 700px) { .gb-grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gb-grille-3 { grid-template-columns: repeat(3, 1fr); } .gb-grille-4 { grid-template-columns: repeat(4, 1fr); } }
.gb-grille > div { padding-top: 16px; border-top: 3px solid var(--brique); }
.gb-grille p { font-size: 16px; color: var(--terre-2); }
.gb-sec-terre .gb-grille > div { border-top-color: var(--cuisson); }
.gb-sec-terre .gb-grille p { color: var(--sur-terre-2); }
.gb-sec-terre .gb-grille strong { color: var(--sur-terre); }

/* ── Étapes numérotées sur fond clair (la vraie séquence d'un parcours) ───── */
.gb-etapes-clair { display: grid; gap: 28px 36px; }
@media (min-width: 760px) { .gb-etapes-clair { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gb-etapes-clair { grid-template-columns: repeat(4, 1fr); } }
.gb-etapes-clair li { grid-template-columns: 1fr; row-gap: 12px; align-content: start; }
.gb-etapes-clair li::before { grid-row: auto; }
.gb-etapes-clair p { color: var(--terre-2); }
.gb-etapes-clair strong { color: inherit; }

/* ── Exemples de demandes, à envoyer au générateur ───────────────────────── */
.gb-exemples { display: grid; gap: 16px; }
@media (min-width: 760px) { .gb-exemples { grid-template-columns: repeat(2, 1fr); } }
.gb-exemple { background: var(--argile); border-radius: 6px; padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; }
.gb-exemple h3 { margin-bottom: 0; }
.gb-exemple q { display: block; quotes: none; font-size: 16.5px; line-height: 1.45; padding-left: 14px; border-left: 3px solid var(--brique); }
.gb-exemple p { font-size: 15px; color: var(--terre-2); }
.gb-exemple .gb-essayer { display: none; }
.gb-js .gb-exemple .gb-essayer { display: inline-flex; justify-self: start; font-size: 14.5px; padding: 9px 14px 10px; }

/* ── Tarifs : les deux façons de récupérer ───────────────────────────────── */
.gb-tarifs-liste { display: grid; gap: 12px; margin-top: 18px; }
.gb-tarifs-liste li { padding-left: 22px; position: relative; font-size: 17px; color: #FBE9E1; }
.gb-tarifs-liste li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 8px; border-radius: 1px; background: var(--sur-terre); }
.gb-tarifs-liste strong { color: #fff; }

/* ── Bandeau de renvoi vers l'autre générateur ───────────────────────────── */
.gb-renvoi { display: grid; gap: 18px 48px; align-items: center; padding: clamp(24px, 3.4vw, 40px); background: var(--chaux); border-radius: 6px; border-left: 6px solid var(--brique); }
@media (min-width: 860px) { .gb-renvoi { grid-template-columns: minmax(0, 1fr) auto; } }
.gb-renvoi h2 { font-size: clamp(26px, 3vw, 34px); }
.gb-renvoi p { margin-top: 10px; color: var(--terre-2); max-width: 62ch; }
.gb-renvoi .gb-actions { margin-top: 0; }

/* ── La liseuse du rapport d'exemple. Les classes ogv-liseuse-* sont celles
      que lit le script de la page : ne pas les renommer. ─────────────────── */
.ogv-liseuse { margin-top: 26px; border-radius: 6px; overflow: hidden; background: #ECE4DD; box-shadow: 0 1px 0 rgba(43,24,18,.08), 0 22px 46px -24px rgba(43,24,18,.55); }
.ogv-liseuse-barre { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--terre); color: var(--sur-terre); }
.ogv-liseuse-barre button { font: inherit; font-size: 14.5px; color: var(--sur-terre); background: rgba(255,255,255,.1); border: 0; border-radius: 4px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.ogv-liseuse-barre button:hover { background: rgba(255,255,255,.2); }
.ogv-liseuse-barre button:disabled { opacity: .35; cursor: default; }
.ogv-liseuse-barre button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ogv-liseuse-pos { flex: 1; min-width: 0; text-align: center; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogv-liseuse-pos small { color: var(--sur-terre-2); margin-left: 6px; }
.ogv-liseuse-fermer { display: none; }
.ogv-liseuse-cadre { position: relative; height: min(72vh, 760px); }
.ogv-liseuse-cadre iframe { display: block; width: 100%; height: 100%; border: 0; background: #ECE4DD; }
.ogv-liseuse-voile { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.ogv-liseuse-voile span { position: absolute; right: 16px; bottom: 16px; background: var(--brique); color: #fff; font: 650 14.5px/1 var(--f); padding: 11px 16px 12px; border-radius: 4px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.24), 0 10px 24px rgba(0,0,0,.25); }
.ogv-liseuse-voile:hover span, .ogv-liseuse-voile:focus-visible span { background: var(--brique-sombre); }
.ogv-liseuse.ogv-plein { position: fixed; inset: 0; z-index: 1000; margin: 0; border-radius: 0; display: flex; flex-direction: column; }
.ogv-liseuse.ogv-plein .ogv-liseuse-cadre { flex: 1; height: auto; }
.ogv-liseuse.ogv-plein .ogv-liseuse-voile, .ogv-liseuse.ogv-plein .ogv-liseuse-agrandir { display: none; }
.ogv-liseuse.ogv-plein .ogv-liseuse-fermer { display: inline-block; }
body.ogv-liseuse-ouverte { overflow: hidden; }
@media (max-width: 560px) {
  .ogv-liseuse-barre { gap: 5px; padding: 6px; }
  .ogv-liseuse-barre button { padding: 7px 9px; }
  .ogv-liseuse-agrandir-txt { display: none; }
}

/* ── Petits compléments de la page du rapport ────────────────────────────── */
.gb-rapport .gb-grille { grid-template-columns: 1fr; gap: 24px; }
.gb-sous-terre { color: var(--sur-terre-2); margin-top: clamp(32px, 4vw, 48px); }
.gb-donnees .gb-maquette { align-self: center; }
.gb-question { margin-top: 10px; padding: 10px 12px; border-radius: 4px; background: var(--chaux); font-weight: 600; font-size: 14.5px; }
.gb-reponse { font-size: 13.5px; color: var(--terre-2); padding-left: 12px; border-left: 3px solid var(--indigo); }
