/* ==========================================================================
   DiGuiTaLL — Feuille de style
   Charte issue du logo : bleu #2B3981 · vert #6BB644
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de design (variables)
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --bleu:            #2B3981;
  --bleu-clair:      #34488C;
  --bleu-profond:    #1B2456;
  --bleu-nuit:       #0E1330;
  --vert:            #6BB644;
  --vert-fonce:      #4E9130;
  --vert-clair:      #8FCE6B;

  /* Neutres */
  --encre:           #12172E;
  --encre-douce:     #3D4459;
  --gris:            #6E7489;
  --gris-clair:      #A8AEC0;
  --trait:           #E2E5EE;
  --trait-fort:      #C9CEDD;
  --fond:            #FFFFFF;
  --fond-doux:       #F7F8FB;
  --fond-bleute:     #F1F3F9;

  /* Sémantique */
  --succes:          #2E7D32;
  --alerte:          #B45309;
  --erreur:          #C0392B;

  /* Typographie */
  --police: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
            "Helvetica Neue", Arial, sans-serif;
  --police-titre: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --police-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Rythme */
  --max: 1180px;
  --max-texte: 720px;
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;

  --ombre-1: 0 1px 2px rgba(18,23,46,.06), 0 2px 8px rgba(18,23,46,.05);
  --ombre-2: 0 4px 12px rgba(18,23,46,.08), 0 12px 32px rgba(18,23,46,.07);
  --ombre-3: 0 8px 24px rgba(18,23,46,.10), 0 24px 64px rgba(18,23,46,.10);

  --transition: 180ms cubic-bezier(.4,0,.2,1);
}

/* --------------------------------------------------------------------------
   2. Réinitialisation
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body {
  margin: 0;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.65;
  color: var(--encre);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vert-fonce); }

:focus-visible {
  outline: 3px solid var(--vert);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Lien d'évitement pour la navigation au clavier */
.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bleu);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--r-s) 0;
}
.saut-contenu:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Titres et texte
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--bleu-profond);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; font-family: var(--police); letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.surtitre {
  display: inline-block;
  font-family: var(--police);
  font-size: clamp(.92rem, 1.5vw, 1.05rem);
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--vert-fonce);
  margin-bottom: 16px;
}
.surtitre--clair { color: var(--vert-clair); }

/* Les badges internes aux cartes (D1…D9, numéros) gardent la taille d'origine */
.carte .surtitre,
.offre .surtitre {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 14px;
}

.chapo {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--encre-douce);
  max-width: var(--max-texte);
}

.note { font-size: .88rem; color: var(--gris); }

/* --------------------------------------------------------------------------
   4. Structure
   -------------------------------------------------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.conteneur--etroit { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--doux { background: var(--fond-doux); }
.section--bleute { background: var(--fond-bleute); }
.section--sombre {
  background: linear-gradient(160deg, var(--bleu-nuit) 0%, var(--bleu-profond) 100%);
  color: #E8EBF5;
}
.section--sombre h1,
.section--sombre h2,
.section--sombre h3,
.section--sombre h4 { color: #fff; }
/* ...sauf dans une carte blanche posée sur ce fond sombre, qui garde ses titres sombres.
   Les cartes translucides, elles, portent leur couleur en style en ligne. */
.section--sombre .carte h1,
.section--sombre .carte h2,
.section--sombre .carte h3,
.section--sombre .carte h4 { color: var(--bleu-profond); }
.section--sombre .chapo { color: #B9C1DC; }

.entete-section { max-width: var(--max-texte); margin-bottom: clamp(32px, 5vw, 56px); }
.entete-section--centre { margin-left: auto; margin-right: auto; text-align: center; }

/* Filet décoratif reprenant les deux couleurs du logo */
.filet {
  height: 4px;
  width: 64px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--vert) 0%, var(--bleu) 100%);
  margin: 0 0 22px;
}
.entete-section--centre .filet { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--police);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--r-s);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  max-width: 100%;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* Sur petit écran, un libellé long doit passer à la ligne plutôt que
   déborder de la page. */
@media (max-width: 640px) {
  .btn { padding-left: 18px; padding-right: 18px; }
  .btn--large { font-size: .97rem; padding: 15px 20px; }
  .groupe-btn { flex-direction: column; align-items: stretch; }
}

.btn--primaire {
  background: var(--vert);
  border-color: var(--vert);
  color: #fff;
  box-shadow: var(--ombre-1);
}
.btn--primaire:hover:not(:disabled) {
  background: var(--vert-fonce);
  border-color: var(--vert-fonce);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--ombre-2);
}

.btn--secondaire {
  background: var(--bleu);
  border-color: var(--bleu);
  color: #fff;
}
.btn--secondaire:hover:not(:disabled) {
  background: var(--bleu-profond);
  border-color: var(--bleu-profond);
  color: #fff;
}

.btn--contour {
  background: transparent;
  border-color: var(--trait-fort);
  color: var(--bleu);
}
.btn--contour:hover:not(:disabled) {
  border-color: var(--bleu);
  background: var(--fond-bleute);
  color: var(--bleu);
}

.btn--contour-clair {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn--contour-clair:hover:not(:disabled) {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.btn--large { padding: 17px 34px; font-size: 1.03rem; }
.btn--bloc { width: 100%; }

.groupe-btn { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   6. En-tête
   -------------------------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--trait);
}
.entete__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.entete__logo { display: flex; align-items: center; flex-shrink: 0; }
.entete__logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 13px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--encre-douce);
  text-decoration: none;
  border-radius: var(--r-s);
  transition: var(--transition);
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--bleu);
  background: var(--fond-bleute);
}
.nav .btn { margin-left: 10px; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--trait-fort);
  border-radius: var(--r-s);
  padding: 9px 11px;
  cursor: pointer;
  color: var(--bleu);
}
.burger svg { width: 22px; height: 22px; }

@media (max-width: 940px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--trait);
    padding: 14px 24px 22px;
    box-shadow: var(--ombre-2);
    display: none;
  }
  .nav[data-ouvert="true"] { display: flex; }
  .nav a { padding: 13px 12px; font-size: 1rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* --------------------------------------------------------------------------
   7. Héros
   -------------------------------------------------------------------------- */
.heros {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #0E1330 0%, #1B2456 45%, #2B3981 100%);
  color: #fff;
  padding: clamp(70px, 11vw, 132px) 0 clamp(60px, 9vw, 108px);
}
/* Halo vert discret, rappel du logo */
.heros::before {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(107,182,68,.20) 0%, transparent 68%);
  pointer-events: none;
}
.heros::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(52,72,140,.45) 0%, transparent 70%);
  pointer-events: none;
}
.heros .conteneur { position: relative; z-index: 1; }
.heros h1 { color: #fff; max-width: 24ch; text-wrap: balance; }
.heros h1 em { font-style: normal; color: var(--vert-clair); }
.heros__chapo {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #C5CDE6;
  max-width: 60ch;
  margin: 22px 0 34px;
}
.heros .groupe-btn { margin-bottom: 44px; }

.heros__chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.chiffre__valeur {
  font-family: var(--police-titre);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  color: var(--vert-clair);
  line-height: 1;
  margin-bottom: 8px;
}
.chiffre__texte { font-size: .9rem; color: #AEB8D8; line-height: 1.5; }

/* --------------------------------------------------------------------------
   8. Cartes et grilles
   -------------------------------------------------------------------------- */
.grille { display: grid; gap: 22px; }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }
/* Deux colonnes franches : evite le 3+1 disgracieux des references. */
.grille--refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grille--refs { grid-template-columns: 1fr; } }

/* Deux colonnes asymétriques (contenu principal + colonne latérale),
   qui repassent en pile sous 900 px. */
.grille--principal-lateral {
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
}
@media (max-width: 900px) {
  .grille--principal-lateral { grid-template-columns: 1fr; gap: 40px; }
}

.carte {
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  padding: 28px;
  transition: var(--transition);
}
.carte--survol:hover {
  border-color: var(--trait-fort);
  box-shadow: var(--ombre-2);
  transform: translateY(-2px);
}
.carte__numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--fond-bleute);
  color: var(--bleu);
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 16px;
}
.carte h3 { font-size: 1.12rem; margin-bottom: 8px; }
.carte p { font-size: .95rem; color: var(--encre-douce); }

/* Carte d'offre */
.offre {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: var(--transition);
}
.offre:hover { box-shadow: var(--ombre-2); border-color: var(--trait-fort); }
.offre--phare { border: 2px solid var(--vert); box-shadow: var(--ombre-2); }

.offre__bandeau {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  background: var(--fond-bleute);
  border-bottom: 1px solid var(--trait);
}
.offre--phare .offre__bandeau { background: rgba(107,182,68,.10); border-bottom-color: rgba(107,182,68,.3); }

.offre__rang {
  font-family: var(--police-mono);
  font-size: .78rem;
  font-weight: 700;
  color: var(--gris);
  letter-spacing: .06em;
}
.offre__corps { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.offre__corps h3 { font-size: 1.18rem; margin-bottom: 6px; }
.offre__role { font-size: .84rem; color: var(--vert-fonce); font-weight: 600; margin-bottom: 14px; }
.offre__desc { font-size: .94rem; color: var(--encre-douce); flex: 1; }
.offre__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--trait);
}
.offre__prix { font-family: var(--police-titre); font-size: 1.2rem; font-weight: 700; color: var(--bleu); }
.offre__duree { font-size: .84rem; color: var(--gris); }

/* Étiquettes */
.etiquette {
  display: inline-block;
  padding: 4px 11px;
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
}
.etiquette--goia   { background: rgba(43,57,129,.10);  color: var(--bleu); }
.etiquette--deepai { background: rgba(107,182,68,.14); color: var(--vert-fonce); }
.etiquette--commune{ background: rgba(110,116,137,.12); color: var(--encre-douce); }
.etiquette--gratuit{ background: var(--vert); color: #fff; }

/* --------------------------------------------------------------------------
   9. Tableaux
   -------------------------------------------------------------------------- */
.tableau-enveloppe { overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--r-m); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; }
thead th {
  background: var(--bleu-profond);
  color: #fff;
  font-family: var(--police);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
}
tbody td { padding: 14px 18px; border-top: 1px solid var(--trait); vertical-align: top; color: var(--encre-douce); }
tbody tr:nth-child(even) { background: var(--fond-doux); }
tbody td strong { color: var(--encre); }

/* --------------------------------------------------------------------------
   10. Formulaires
   -------------------------------------------------------------------------- */
.formulaire { display: grid; gap: 20px; }
.champ-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .champ-duo { grid-template-columns: 1fr; } }

.champ { display: flex; flex-direction: column; gap: 7px; }
.champ label { font-size: .89rem; font-weight: 600; color: var(--encre); }
.champ label .requis { color: var(--erreur); margin-left: 2px; }
.champ .aide { font-size: .81rem; color: var(--gris); }

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .97rem;
  color: var(--encre);
  background: #fff;
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--r-s);
  transition: var(--transition);
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(107,182,68,.16);
}
.champ input[aria-invalid="true"],
.champ select[aria-invalid="true"],
.champ textarea[aria-invalid="true"] {
  border-color: var(--erreur);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.champ__erreur { font-size: .82rem; color: var(--erreur); font-weight: 600; min-height: 0; }

/* Case de consentement */
.consentement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--fond-doux);
  border: 1px solid var(--trait);
  border-radius: var(--r-s);
}
.consentement input[type="checkbox"] {
  width: 19px; height: 19px;
  margin: 2px 0 0;
  accent-color: var(--vert);
  flex-shrink: 0;
  cursor: pointer;
}
.consentement label { font-size: .86rem; font-weight: 400; color: var(--encre-douce); line-height: 1.55; cursor: pointer; }

/* Champ piège : invisible pour l'humain, rempli par les robots */
.piege {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Messages de retour */
.message { padding: 16px 18px; border-radius: var(--r-s); font-size: .93rem; display: none; }
.message[data-visible="true"] { display: block; }
/* L'attribut `hidden` doit toujours l'emporter sur les règles d'affichage
   ci-dessus, sinon un conteneur vide reste visible. */
[hidden] { display: none !important; }
.message--succes { background: rgba(46,125,50,.09); border: 1px solid rgba(46,125,50,.28); color: #1B5E20; }
.message--erreur { background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.26); color: #922B21; }

/* --------------------------------------------------------------------------
   11. Diagnostic ISC
   -------------------------------------------------------------------------- */
.diag { background: #fff; border: 1px solid var(--trait); border-radius: var(--r-l); box-shadow: var(--ombre-2); overflow: hidden; }

.diag__progression { height: 5px; background: var(--trait); position: relative; }
.diag__progression span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--vert) 0%, var(--bleu) 100%);
  transition: width 320ms cubic-bezier(.4,0,.2,1);
}

.diag__entete {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 30px; border-bottom: 1px solid var(--trait);
  background: var(--fond-doux);
}
.diag__axe { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vert-fonce); }
.diag__compteur { font-family: var(--police-mono); font-size: .84rem; color: var(--gris); }

.diag__corps { padding: clamp(26px, 4vw, 40px); }
.diag__question { font-family: var(--police-titre); font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--bleu-profond); margin-bottom: 8px; }
.diag__precision { font-size: .92rem; color: var(--gris); margin-bottom: 26px; }

.diag__choix { display: grid; gap: 11px; }
.choix {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 18px;
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--r-s);
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}
.choix:hover { border-color: var(--vert); background: rgba(107,182,68,.04); }
.choix input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--vert); flex-shrink: 0; cursor: pointer; }
.choix input:checked ~ .choix__texte { color: var(--bleu); font-weight: 600; }
.choix:has(input:checked) { border-color: var(--vert); background: rgba(107,182,68,.07); box-shadow: 0 0 0 2px rgba(107,182,68,.14); }
.choix__texte { font-size: .96rem; color: var(--encre-douce); line-height: 1.5; }

.diag__navigation {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 30px; border-top: 1px solid var(--trait); background: var(--fond-doux);
}

/* Résultat */
.resultat { text-align: center; padding: clamp(30px, 5vw, 52px); }
.jauge { position: relative; width: 210px; height: 210px; margin: 0 auto 26px; }
.jauge svg { transform: rotate(-90deg); }
.jauge__piste { fill: none; stroke: var(--trait); stroke-width: 14; }
.jauge__valeur { fill: none; stroke: url(#degradeJauge); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1); }
.jauge__centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.jauge__score { font-family: var(--police-titre); font-size: 3.2rem; font-weight: 700; color: var(--bleu-profond); line-height: 1; }
.jauge__unite { font-size: .82rem; color: var(--gris); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.profil { display: inline-block; padding: 8px 20px; border-radius: 100px; background: var(--bleu); color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 18px; }

.axes { display: grid; gap: 15px; text-align: left; max-width: 620px; margin: 34px auto 0; }
.axe__ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.axe__nom { font-size: .91rem; font-weight: 600; color: var(--encre); }
.axe__note { font-family: var(--police-mono); font-size: .87rem; color: var(--gris); }
.axe__barre { height: 9px; background: var(--trait); border-radius: 5px; overflow: hidden; }
.axe__barre span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--vert) 0%, var(--bleu) 100%); transition: width 700ms ease-out; }

.recommandations { text-align: left; max-width: 660px; margin: 38px auto 0; }
.recommandations li { margin-bottom: 12px; color: var(--encre-douce); }

/* --------------------------------------------------------------------------
   12. Bandeau d'appel
   -------------------------------------------------------------------------- */
.appel {
  background: linear-gradient(140deg, var(--bleu-nuit) 0%, var(--bleu) 100%);
  color: #fff;
  border-radius: var(--r-l);
  padding: clamp(34px, 5vw, 60px);
  text-align: center;
}
.appel h2 { color: #fff; }
.appel p { color: #C5CDE6; max-width: 58ch; margin-left: auto; margin-right: auto; }
.appel .groupe-btn { justify-content: center; margin-top: 28px; }

/* --------------------------------------------------------------------------
   13. Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: var(--bleu-nuit);
  color: #9BA5C6;
  padding: clamp(48px, 6vw, 76px) 0 0;
  font-size: .91rem;
}
.pied__grille {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }

.pied__logo img { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .95; }
.pied__baseline { color: #8792B5; max-width: 34ch; line-height: 1.6; }

.pied h4 {
  font-family: var(--police);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 10px; }
.pied a { color: #9BA5C6; text-decoration: none; transition: var(--transition); }
.pied a:hover { color: var(--vert-clair); }

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: .85rem;
  color: #77819F;
}
.pied__legaux { display: flex; flex-wrap: wrap; gap: 20px; }

/* --------------------------------------------------------------------------
   14. Divers
   -------------------------------------------------------------------------- */
.liste-check { list-style: none; margin: 0; padding: 0; }
.liste-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--encre-douce);
}
.liste-check li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--vert);
  border-bottom: 2.5px solid var(--vert);
  transform: rotate(-45deg);
}

.citation {
  border-left: 4px solid var(--vert);
  padding: 4px 0 4px 24px;
  margin: 30px 0;
  font-family: var(--police-titre);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.5;
  color: var(--bleu-profond);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media print {
  .entete, .pied, .btn, .diag__navigation { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* --------------------------------------------------------------------------
   16. Bloc expert, references sectorielles et logos clients
   -------------------------------------------------------------------------- */
.expert__identite {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.expert__photo {
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--vert);
  box-shadow: var(--ombre-2);
}
.expert__nom { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.expert__role {
  margin: 0 0 14px;
  font-family: var(--police);
  font-size: .95rem;
  font-weight: 700;
  color: var(--vert-fonce);
  max-width: 44ch;
}
.section--sombre .expert__role { color: var(--vert-clair); }
.section--sombre .expert__nom { color: #fff; }

/* Reference sectorielle : icone + intitule + description */
.ref { display: flex; gap: 16px; align-items: flex-start; }
.ref__icone {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--r-s);
  display: grid;
  place-items: center;
  background: var(--fond-bleute);
  color: var(--bleu);
}
.ref__icone svg { width: 22px; height: 22px; }
.ref__secteur {
  display: block;
  margin-bottom: 5px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vert-fonce);
}
.ref h3 { font-size: 1.02rem; margin: 0 0 6px; }
.ref p { font-size: .93rem; }

/* Bandeau des logos clients */
.logos {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  padding: 20px clamp(18px, 3vw, 28px) 24px;
}
.logos__titre {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gris);
}
.logos img {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  margin: 16px auto 0;
}

/* --------------------------------------------------------------------------
   17. Schéma du parcours : un tronc, une fourche, une réunion
   -------------------------------------------------------------------------- */
.schema { max-width: 880px; margin: 0 auto; }

.schema__bloc {
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--ombre-1);
}
.schema__bloc p { margin: 0; color: var(--encre); font-size: .98rem; }
a.schema__bloc {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
a.schema__bloc:hover,
a.schema__bloc:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--ombre-2);
  border-color: var(--trait-fort);
}
a.schema__bloc p::after {
  content: "\00a0→";
  color: var(--gris);
  font-size: .9rem;
}
a.schema__bloc:hover p::after { color: var(--bleu); }
a.schema__bloc--gouv:hover   { border-color: var(--bleu); }
a.schema__bloc--deepai:hover { border-color: var(--vert); }
.schema__bloc--commun  { border-top: 3px solid var(--trait-fort); }
.schema__bloc--gouv    { border-top: 3px solid var(--bleu); }
.schema__bloc--deepai  { border-top: 3px solid var(--vert); }

.schema__temps {
  display: block;
  margin-bottom: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gris);
}
.schema__bloc--gouv   .schema__temps { color: var(--bleu); }
.schema__bloc--deepai .schema__temps { color: var(--vert-fonce); }

/* --------------------------------------------------------------------------
   Fil du parcours — colonne vertébrale affichée sous le titre des pages
   -------------------------------------------------------------------------- */
.fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 3px;
  margin-top: 28px;
}
.fil__legende {
  font-family: var(--police);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-right: 10px;
}
.fil__etape {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  font-family: var(--police);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #B9C1DC;
  text-decoration: none;
  transition: var(--transition);
}
.fil__etape:hover,
.fil__etape:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.07);
}
.fil__etape[aria-current="step"] {
  color: var(--bleu-profond);
  background: var(--vert-clair);
  border-color: var(--vert-clair);
}
.fil__sep {
  color: rgba(255,255,255,.28);
  font-size: .85rem;
  padding: 0 2px;
}
@media (max-width: 540px) {
  .fil__legende { width: 100%; margin: 0 0 8px; }
  .fil__etape { font-size: .72rem; padding: 6px 12px; }
}

/* Trait vertical du tronc */
.schema__lien {
  width: 2px;
  height: 26px;
  margin: 0 auto;
  background: var(--trait-fort);
}
.schema__lien--court { height: 16px; }

/* Fourche : barre horizontale et deux jambes descendantes */
.schema__fourche,
.schema__reunion {
  /* Les jambes tombent exactement au centre de chaque colonne :
     demi-largeur du conteneur + la moitié de la gouttière. */
  width: calc(50% + 10px);
  height: 24px;
  margin: 0 auto;
  border-left: 2px solid var(--trait-fort);
  border-right: 2px solid var(--trait-fort);
}
.schema__fourche { border-top: 2px solid var(--trait-fort); }
.schema__reunion { border-bottom: 2px solid var(--trait-fort); }

.schema__voies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 680px) {
  /* Les deux voies s'empilent : la fourche n'a plus de sens, le tronc suffit. */
  .schema__fourche, .schema__reunion {
    width: 2px;
    height: 18px;
    border: 0;
    background: var(--trait-fort);
  }
  .schema__voies { grid-template-columns: 1fr; gap: 14px; }
}

/* --------------------------------------------------------------------------
   18. Schémas — figures explicatives (SVG inline + composants)
   Toutes les figures partagent .sch ; les blocs qui suivent portent les
   composants propres à une figure. Aucune dépendance externe.
   -------------------------------------------------------------------------- */
.sch { margin: 8px 0 0; }
.sch svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.sch__legende {
  margin: 18px auto 0;
  max-width: 74ch;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--gris);
}
.section--sombre .sch__legende { color: #9AA2BE; }
.sch__legende em { color: var(--encre-douce); font-style: italic; }
.section--sombre .sch__legende em { color: #D6DAEA; }

/* Les figures larges défilent horizontalement sur petit écran plutôt que
   de réduire le texte à une taille illisible. */
.sch__defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sch__indice { display: none; }
@media (max-width: 760px) {
  .sch__defile > svg { min-width: 700px; }
  .sch__indice {
    display: block;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gris-clair);
    margin-bottom: 8px;
  }
  .section--sombre .sch__indice { color: rgba(255,255,255,.45); }
}

/* --- Chaîne de décision (accueil) ---------------------------------------- */
.sch-chaine { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.sch-chaine__maillon {
  flex: 1 1 150px; min-width: 132px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-m);
  padding: 15px 13px; text-align: left; cursor: pointer;
  font: inherit; color: #fff;
  transition: var(--transition);
}
.sch-chaine__maillon:hover { background: rgba(255,255,255,.12); }
.sch-chaine__maillon b { display: block; font-family: var(--police-titre); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.sch-chaine__maillon span { display: block; font-size: .78rem; color: #9AA2BE; }
.sch-chaine__maillon[aria-pressed="true"] { opacity: .34; border-style: dashed; border-color: var(--alerte); background: transparent; }
.sch-chaine__maillon[aria-pressed="true"] b { text-decoration: line-through; }
.sch-chaine__jonction { flex: 0 0 22px; align-self: center; height: 2px; background: rgba(255,255,255,.28); }
.sch-chaine__verdict {
  margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: var(--r-m);
  background: rgba(107,182,68,.12); border: 1px solid rgba(107,182,68,.4);
  transition: var(--transition);
}
.sch-chaine__verdict.est-rompue { background: rgba(224,163,63,.12); border-color: rgba(224,163,63,.45); }
.sch-chaine__etiq {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
  padding: 7px 12px; border-radius: var(--r-s); background: var(--vert); color: var(--bleu-nuit); white-space: nowrap;
}
.sch-chaine__verdict.est-rompue .sch-chaine__etiq { background: #E0A33F; }
.sch-chaine__verdict p { font-size: .92rem; color: #D6DAEA; flex: 1 1 240px; margin: 0; }
@media (max-width: 620px) { .sch-chaine__jonction { display: none; } .sch-chaine { gap: 8px; } .sch-chaine__maillon { flex: 1 1 100%; } }

/* --- Trois chiffres (héros accueil) -------------------------------------- */
.sch-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.sch-chiffre p { margin: 0; }
.sch-chiffre__t { font-family: var(--police-titre); font-size: .95rem; color: #fff; margin-top: 12px; line-height: 1.35; }
.sch-chiffre__s { font-size: .76rem; color: var(--gris); margin-top: 5px; }

/* --- Roue GO-IA ---------------------------------------------------------- */
.sch-roue { display: grid; grid-template-columns: minmax(260px, 400px) minmax(240px, 1fr); gap: 34px; align-items: center; }
.sch-roue svg path[tabindex] { cursor: pointer; transition: opacity 150ms; }
.sch-roue svg path[tabindex]:hover, .sch-roue svg path[tabindex]:focus-visible { opacity: .72; }
.sch-roue__q { border-left: 3px solid var(--vert); padding-left: 16px; min-height: 118px; }
.sch-roue__q p { margin: 0; }
.sch-roue__dom { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin-bottom: 6px !important; }
.sch-roue__txt { font-family: var(--police-titre); font-size: 1.05rem; line-height: 1.45; color: var(--bleu-profond); }
.sch-roue__cat { font-size: .78rem; color: var(--gris); margin-top: 8px !important; font-weight: 700; letter-spacing: .04em; }
.sch-roue__legende { list-style: none; margin: 22px 0 0; padding: 0; font-size: .85rem; color: var(--encre-douce); }
.sch-roue__legende li { display: flex; gap: 9px; align-items: flex-start; padding: 4px 0; line-height: 1.4; }
.sch-roue__legende i { width: 11px; height: 11px; border-radius: 3px; flex: none; margin-top: 5px; }
@media (max-width: 760px) { .sch-roue { grid-template-columns: 1fr; gap: 22px; } }

/* --- Règle du maillon faible (démonstration) ----------------------------- */
.sch-mf { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.1fr); gap: 36px; align-items: start; }
.sch-mf__ligne { display: grid; grid-template-columns: 1fr 130px 34px; gap: 12px; align-items: center; padding: 8px 0; font-size: .9rem; color: #D6DAEA; }
.sch-mf__ligne--autres { border-top: 1px solid rgba(255,255,255,.14); margin-top: 8px; padding-top: 14px; color: #9AA2BE; }
.sch-mf__ligne output { font-family: var(--police-mono); font-size: .9rem; font-weight: 700; color: #fff; text-align: right; }
.sch-mf__ligne input[type="range"] { width: 100%; accent-color: var(--vert); height: 22px; }
.sch-mf__chaine { display: flex; gap: 8px; margin-bottom: 20px; }
.sch-mf__lien { flex: 1; border-radius: var(--r-s); border: 1px solid rgba(255,255,255,.2); padding: 9px 6px; text-align: center; }
.sch-mf__lien b { display: block; font-family: var(--police-mono); font-size: .64rem; color: #9AA2BE; white-space: nowrap; }
.sch-mf__lien i { display: block; font-style: normal; font-family: var(--police-titre); font-size: 1.1rem; color: #fff; margin-top: 3px; }
.sch-mf__lien--faible { border-color: #E0A33F; border-style: dashed; background: rgba(224,163,63,.14); }
.sch-mf__lien--faible i { color: #E0A33F; }
.sch-mf__duel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sch-mf__carte { border-radius: var(--r-m); padding: 17px; }
.sch-mf__carte p { margin: 0; }
.sch-mf__carte--cru { background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.25); }
.sch-mf__carte--reel { background: var(--vert); color: var(--bleu-nuit); }
.sch-mf__carte--reel.est-plafonne { background: #E0A33F; }
.sch-mf__lbl { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; color: #9AA2BE; }
.sch-mf__carte--reel .sch-mf__lbl { color: rgba(14,19,48,.62); }
.sch-mf__val { font-family: var(--police-titre); font-size: 2.3rem; line-height: 1.05; margin: 6px 0 2px !important; color: #fff; }
.sch-mf__carte--reel .sch-mf__val { color: var(--bleu-nuit); }
.sch-mf__sml { font-size: .76rem; color: #9AA2BE; }
.sch-mf__carte--reel .sch-mf__sml { color: rgba(14,19,48,.72); }
.sch-mf__regle { margin-top: 18px !important; font-size: .84rem; color: #9AA2BE; border-top: 1px solid rgba(255,255,255,.14); padding-top: 15px; line-height: 1.5; }
@media (max-width: 760px) { .sch-mf { grid-template-columns: 1fr; gap: 28px; } }

/* --- Tableau de bord (dix indicateurs) ----------------------------------- */
.sch-tb { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 12px; }
.sch-tb__tuile { background: #fff; border: 1px solid var(--trait); border-radius: var(--r-m); padding: 15px 16px; }
.sch-tb__tuile p { margin: 0; }
.sch-tb__tuile--cle { border-color: var(--bleu); box-shadow: 0 2px 10px rgba(43,57,129,.12); }
.sch-tb__k { font-size: .78rem; color: var(--gris); line-height: 1.35; min-height: 32px; }
.sch-tb__v { font-family: var(--police-titre); font-size: 1.85rem; line-height: 1.1; color: var(--bleu-profond); margin: 4px 0 9px !important; font-variant-numeric: tabular-nums; }
.sch-tb__v i { font-style: normal; font-size: .92rem; color: var(--gris); }
.sch-tb__n { font-size: .72rem; color: var(--gris-clair); margin-top: 8px !important; line-height: 1.35; }
.sch-tb__tuile--cle .sch-tb__n { color: var(--bleu); }

/* --- Matrice d'ancrage réglementaire ------------------------------------- */
.sch-mx {
  display: grid; grid-template-columns: minmax(150px, 1.25fr) 1.5fr .8fr 1fr;
  gap: 1px; background: var(--trait); border: 1px solid var(--trait);
  border-radius: var(--r-s); overflow: hidden; font-size: .8rem; min-width: 620px;
}
.sch-mx__tete span {
  background: var(--bleu-profond); color: #fff; padding: 9px 11px;
  font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700;
}
.sch-mx__ligne span { background: #fff; padding: 8px 11px; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.sch-mx__ligne--crit span { background: var(--fond-bleute); }
.sch-mx__ligne--diff span { background: #F2F8ED; }
.sch-mx__dom { font-family: var(--police-titre); color: var(--encre); font-size: .82rem; }
.sch-mx__dom b { font-family: var(--police-mono); font-size: .72rem; color: var(--bleu); margin-right: 5px; }
.sch-mx__ligne--diff .sch-mx__dom b { color: var(--vert-fonce); }
.sch-ref { font-family: var(--police-mono); font-style: normal; font-size: .68rem; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.sch-ref--0 { color: var(--gris-clair); }
.sch-ref--act { background: #E3E7F4; color: #25317A; }
.sch-ref--rgpd { background: #EDEAF6; color: #4A3E86; }
.sch-ref--iso { background: #E6F1E0; color: #3C7325; }
.sch-ref--deep { background: #FBEFDF; color: #8A5109; }
.sch-ref--cle { outline: 1.5px solid var(--alerte); font-weight: 700; }
.sch-mx__cles { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 16px; font-size: .78rem; color: var(--gris); }
.sch-mx__cle { display: flex; gap: 7px; align-items: center; }
.sch-mx__pastille { width: 13px; height: 13px; border-radius: 3px; display: inline-block; }
.sch-mx__pastille--crit { background: var(--fond-bleute); border: 1px solid var(--trait-fort); }
.sch-mx__pastille--diff { background: #F2F8ED; border: 1px solid var(--vert-clair); }

/* --- Pondération de l'indice ISC ----------------------------------------- */
.sch-isc { display: grid; grid-template-columns: minmax(220px, 300px) minmax(280px, 1fr); gap: 36px; align-items: start; }
.sch-isc__axes { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.sch-isc__axes li { display: grid; grid-template-columns: 13px auto 1fr; gap: 4px 9px; padding: 7px 0; border-bottom: 1px solid var(--trait); align-items: baseline; color: var(--encre); }
.sch-isc__axes i { width: 11px; height: 11px; border-radius: 3px; grid-row: 1; }
.sch-isc__axes b { font-family: var(--police-mono); font-size: .8rem; color: var(--bleu-profond); }
.sch-isc__axes span { grid-column: 3; font-size: .78rem; color: var(--gris); }
.sch-isc__crit {
  font-style: normal; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--alerte); font-weight: 800; border: 1px solid #E7C79B; border-radius: 3px;
  padding: 1px 5px; margin-right: 5px;
}
.sch-isc__plafond { margin-top: 24px; background: #fff; border: 1px solid var(--trait); border-radius: var(--r-m); padding: 17px 19px; }
.sch-isc__titre { font-family: var(--police-titre); font-size: .95rem; color: var(--bleu-profond); margin: 0 0 13px !important; }
.sch-isc__barre { display: grid; grid-template-columns: 150px 1fr 34px; gap: 10px; align-items: center; font-size: .78rem; color: var(--gris); padding: 5px 0; }
.sch-isc__barre b { font-family: var(--police-mono); font-size: .86rem; color: var(--encre); text-align: right; }
.sch-isc__piste { height: 11px; border-radius: 6px; background: var(--trait); position: relative; }
.sch-isc__piste i { display: block; height: 100%; border-radius: 6px; }
.sch-isc__piste s { position: absolute; top: -4px; width: 2px; height: 19px; background: var(--erreur); text-decoration: none; }
.sch-isc__barre--retenu { border-top: 1px solid var(--trait); margin-top: 6px; padding-top: 11px; color: var(--encre); font-weight: 700; }
.sch-isc__note { font-size: .78rem; color: var(--gris); margin: 13px 0 0 !important; line-height: 1.5; }
@media (max-width: 760px) { .sch-isc { grid-template-columns: 1fr; gap: 24px; } }

/* --- Restitution du diagnostic (radar) ----------------------------------- */
.sch-radar { display: grid; grid-template-columns: minmax(240px, 360px) minmax(240px, 1fr); gap: 32px; align-items: center; }
@media (max-width: 760px) { .sch-radar { grid-template-columns: 1fr; gap: 20px; } }

/* --- Repli : le tableau d'origine reste accessible sous la figure -------- */
.sch__repli { margin-top: 22px; border-top: 1px solid var(--trait); padding-top: 14px; }
.section--sombre .sch__repli { border-color: rgba(255,255,255,.16); }
.sch__repli > summary {
  cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--bleu);
  padding: 4px 0; list-style-position: inside;
}
.sch__repli > summary:hover { color: var(--vert-fonce); }
.section--sombre .sch__repli > summary { color: var(--vert-clair); }
.sch__repli[open] > summary { margin-bottom: 16px; }

/* --- Ajustements de contexte -------------------------------------------- */
.heros .sch-chiffres { margin-top: 46px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }
.sch-roue__legende span { flex: 1; }
.sch-radar { text-align: left; }
.sch-radar .note { margin: 0; }
.resultat .sch { text-align: left; }

/* Indication de défilement sur les figures larges, en petit écran */
@media (max-width: 760px) {
  .sch__defile {
    background:
      linear-gradient(to right, var(--fond) 30%, rgba(255,255,255,0)) left center / 28px 100% no-repeat,
      linear-gradient(to left,  var(--fond) 30%, rgba(255,255,255,0)) right center / 28px 100% no-repeat;
    background-attachment: local, local;
  }
  .section--doux .sch__defile { background-image: linear-gradient(to right, var(--fond-doux) 30%, rgba(247,248,251,0)), linear-gradient(to left, var(--fond-doux) 30%, rgba(247,248,251,0)); }
  .section--bleute .sch__defile { background-image: linear-gradient(to right, var(--fond-bleute) 30%, rgba(241,243,249,0)), linear-gradient(to left, var(--fond-bleute) 30%, rgba(241,243,249,0)); }
  .section--sombre .sch__defile,
  .heros .sch__defile { background-image: linear-gradient(to right, var(--bleu-nuit) 30%, rgba(14,19,48,0)), linear-gradient(to left, var(--bleu-nuit) 30%, rgba(14,19,48,0)); }
}

/* --------------------------------------------------------------------------
   15. Cas illustratif NOVERA (cas-novera.html, encart accueil) — 2026-09-23
   -------------------------------------------------------------------------- */
.cas-mention {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px dashed var(--trait-fort); border-radius: var(--r-s);
  background: var(--fond-bleute); padding: 12px 16px;
  font-size: .86rem; color: var(--encre-douce); line-height: 1.5;
}
.cas-mention strong { color: var(--bleu); white-space: nowrap; }
.section--sombre .cas-mention { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: #C9CFE6; }
.section--sombre .cas-mention strong { color: var(--vert-clair); }

.cas-chiffre__v { font-family: var(--police-titre); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cas-chiffre__v--alerte { color: #E0A33F; }
.cas-chiffres { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 46px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }

.cas-temps { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.cas-temps__n { font-family: var(--police-mono); font-size: .78rem; font-weight: 700; color: var(--gris); letter-spacing: .06em; }

.cas-regime { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.cas-regime--interdit { background: rgba(192,57,43,.10); color: var(--erreur); }
.cas-regime--haut     { background: rgba(180,83,9,.12);  color: var(--alerte); }
.cas-regime--gpai     { background: rgba(43,57,129,.10); color: var(--bleu); }
.cas-regime--transp   { background: rgba(107,182,68,.14); color: var(--vert-fonce); }
.cas-regime--minimal  { background: rgba(110,116,137,.12); color: var(--encre-douce); }
tr.cas-ligne--interdit td { background: rgba(192,57,43,.04); }

.cas-decision {
  border-left: 4px solid var(--alerte); background: #FFF8F0;
  border-radius: 0 var(--r-s) var(--r-s) 0; padding: 16px 20px; margin-top: 28px;
}
.cas-decision p { margin: 0; color: var(--encre-douce); }
.cas-decision__k { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--alerte); margin-bottom: 6px !important; }
.cas-decision__t { font-family: var(--police-titre); font-size: 1.08rem; color: var(--bleu-profond) !important; }

.cas-niv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.cas-niv__tuile { background: #fff; border: 1px solid var(--trait); border-radius: var(--r-s); padding: 12px 14px; }
.cas-niv__tuile--crit { border-color: var(--trait-fort); background: var(--fond-bleute); }
.cas-niv__tuile p { margin: 0; }
.cas-niv__dom { font-size: .8rem; color: var(--encre); font-family: var(--police-titre); line-height: 1.3; min-height: 2.6em; }
.cas-niv__dom b { font-family: var(--police-mono); font-size: .72rem; color: var(--bleu); margin-right: 4px; }
.cas-niv__barre { display: flex; gap: 3px; margin: 8px 0 5px; }
.cas-niv__barre i { flex: 1; height: 7px; border-radius: 3px; background: var(--trait); }
.cas-niv__barre i.on { background: var(--bleu); }
.cas-niv__tuile--bas .cas-niv__barre i.on { background: var(--alerte); }
.cas-niv__v { font-family: var(--police-mono); font-size: .76rem; color: var(--gris); }
.cas-niv__tuile--bas .cas-niv__v { color: var(--alerte); font-weight: 700; }

.cas-pont { border: 1px solid rgba(107,182,68,.45); border-left: 4px solid var(--vert); background: #F6FBF2; border-radius: 0 var(--r-m) var(--r-m) 0; padding: 22px 24px; }
.cas-pont h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cas-pont p { font-size: .95rem; color: var(--encre-douce); }

.cas-encart { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; border-left: 4px solid var(--alerte); }
.cas-encart .cas-chiffre__v { color: var(--alerte); font-size: clamp(2rem, 4vw, 2.6rem); white-space: nowrap; }
@media (max-width: 700px) { .cas-encart { grid-template-columns: 1fr; } }
