/* DealPrep — système de design (novembre 2026)
   Direction : les conventions d'un modèle financier bien tenu, en noir et blanc. L'encre pleine signale ce sur quoi on agit (liens, boutons, choix,
   saisies), l'encre ce qui est calculé (résultats, progression), le jaune « hypothèse » ce qu'il faut revérifier (à revoir).
   Chiffres en tabulaires, alignés à droite. Deux éléments signature, tirés du métier : le football field de la progression
   et les tombstones des simulations réussies.
   Titres et corrections : Newsreader (exigence académique, lecture longue). Interface et données : Schibsted Grotesk. */

/* Polices hébergées sur le site (licence SIL Open Font License) : aucun appel à un service tiers. */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/newsreader-latin-400-italic.woff2") format("woff2"); }

:root {
  --ink: #0F1B2D;
  --ink-2: #2B3A52;
  --muted: #5A6779;
  --faint: #667387;
  --paper: #FFFFFF;
  --mist: #F4F6F9;
  --mist-2: #E9EDF2;
  --rule: #E1E6ED;
  --rule-2: #CBD3DE;
  /* noir et blanc (décision de Tristan, 04/12/2026) : ce sur quoi on agit est à l'encre, plus en bleu */
  --blue: #0B1220;
  --blue-ink: #2B3A52;
  --blue-tint: #EEF1F5;
  --blue-line: #CBD3DE;
  --good: #11764C;
  --good-tint: #E9F5EF;
  --bad: #B3322C;
  --bad-tint: #FCEEEC;
  --warn: #8F5E00;
  --warn-tint: #FBF3E1;
  /* jaune « hypothèse » des modèles financiers : ce qu'il faut revérifier */
  --hyp: #FFF1B8;
  --hyp-line: #E2BE45;
  --hyp-ink: #5E4A00;
  /* jetons dérivés : textes posés sur l'encre ou sur une couleur pleine, fonds secondaires, ombres */
  --on-ink: #FFFFFF;
  --on-ink-2: #C9D2DF;
  --on-accent: #FFFFFF;
  --ink-hover: #24344D;
  --paper-2: #FAFBFD;
  --vu: #C9D2E0;
  --compo-2: #4A5A73;
  --compo-3: #8794A6;
  --etoile: #C58A00;
  --good-ink: #0C5638;
  --bad-ink: #7D1F1A;
  --top-bg: rgba(255, 255, 255, .92);
  --ombre: 15 27 45;
  --voile: rgba(15, 27, 45, .40);
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --wrap: 1180px;
  --side: 236px;
}

/* Thème sombre : la même grammaire (bleu = ce sur quoi on agit, encre = ce qui est calculé, jaune = à revoir)
   sur un fond bleu nuit. Il suit le réglage de l'appareil, sauf choix explicite (bouton clair / sombre). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E6ECF5;
    --ink-2: #C5CFDD;
    --muted: #98A5B8;
    --faint: #808EA4;
    --paper: #121C2D;
    --mist: #0B1320;
    --mist-2: #1C2839;
    --rule: #243248;
    --rule-2: #34455F;
    --blue: #F2F5FA;
    --blue-ink: #FFFFFF;
    --blue-tint: #1C2839;
    --blue-line: #3A4A63;
    --good: #52C690;
    --good-tint: #0F2A20;
    --bad: #F2847B;
    --bad-tint: #35171A;
    --warn: #E3B552;
    --warn-tint: #2F2510;
    --hyp: #3B3315;
    --hyp-line: #8C762A;
    --hyp-ink: #F3DD8F;
    --on-ink: #0E1726;
    --on-ink-2: #44556E;
    --on-accent: #0B1320;
    --ink-hover: #FFFFFF;
    --paper-2: #172338;
    --vu: #3C4C66;
    --compo-2: #A9B6C9;
    --compo-3: #728098;
    --etoile: #F2C14E;
    --good-ink: #93E2BC;
    --bad-ink: #F7B3AD;
    --top-bg: rgba(18, 28, 45, .88);
    --ombre: 0 0 0;
    --voile: rgba(3, 8, 16, .62);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #E6ECF5;
  --ink-2: #C5CFDD;
  --muted: #98A5B8;
  --faint: #808EA4;
  --paper: #121C2D;
  --mist: #0B1320;
  --mist-2: #1C2839;
  --rule: #243248;
  --rule-2: #34455F;
  --blue: #F2F5FA;
  --blue-ink: #FFFFFF;
  --blue-tint: #1C2839;
  --blue-line: #3A4A63;
  --good: #52C690;
  --good-tint: #0F2A20;
  --bad: #F2847B;
  --bad-tint: #35171A;
  --warn: #E3B552;
  --warn-tint: #2F2510;
  --hyp: #3B3315;
  --hyp-line: #8C762A;
  --hyp-ink: #F3DD8F;
  --on-ink: #0E1726;
  --on-ink-2: #44556E;
  --on-accent: #0B1320;
  --ink-hover: #FFFFFF;
  --paper-2: #172338;
  --vu: #3C4C66;
  --compo-2: #A9B6C9;
  --compo-3: #728098;
  --etoile: #F2C14E;
  --good-ink: #93E2BC;
  --bad-ink: #F7B3AD;
  --top-bg: rgba(18, 28, 45, .88);
  --ombre: 0 0 0;
  --voile: rgba(3, 8, 16, .62);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15.5px/1.55 var(--sans); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
/* liens dans le texte : soulignés, puisqu'ils ont la couleur du texte */
p a:not(.btn), .lead a:not(.btn), .notice a, .corr a, .msg a, .cgv a, .page-simple li a, td a { text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
p a:not(.btn):hover, .notice a:hover, .corr a:hover, .page-simple li a:hover, td a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.titre, .ptitre h1, .hero h1, .sec-t h2, .bandeau h1, .bilan h2, .fiche-page h1, .typebloc > h2, .split h2, .metier h3, .t-titre {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; font-optical-sizing: auto;
}
p { margin: 0 0 1em; }
.num, table td.n, .tab { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--r-s); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--on-accent); }
.btn-primary:hover { background: var(--blue-ink); color: var(--on-accent); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--rule-2); }
.btn-secondary:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: var(--ink-hover); color: var(--on-ink); }
.btn-ghost { background: transparent; color: var(--blue); padding: 0 10px; }
.btn-ghost:hover { background: var(--blue-tint); color: var(--blue-ink); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn[disabled], .btn.off { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-block { width: 100%; }

/* ---------- champs ---------- */
.champ, select.champ, textarea.champ {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: var(--r-s);
  background: var(--paper); font: inherit; color: var(--ink); margin: 0 0 10px;
}
textarea.champ { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; }
.champ:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.champ.maj { text-transform: uppercase; }
label.lbl { display: block; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; color: var(--ink-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 0 0 10px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--blue); }
.msg { font-size: 14px; }
.msg.ok { color: var(--good); }
.msg.ko { color: var(--bad); }
.notice { padding: 12px 14px; border-radius: var(--r-s); background: var(--mist); font-size: 14.5px; margin: 0 0 18px; }
.notice.ok { background: var(--good-tint); color: var(--good-ink); }
.notice.ko { background: var(--bad-tint); color: var(--bad-ink); }

/* ---------- marque ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 21px/1 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo .mark {
  width: 26px; height: 26px; border-radius: 0; background: var(--ink); color: var(--on-ink);
  display: grid; place-items: center; font: 500 18px/1 var(--serif); padding-top: 1px;
}

/* ---------- en-tête des pages publiques ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--top-bg); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.top nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.top nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 11px; border-radius: var(--r-s); }
.top nav a:hover { background: var(--mist); color: var(--ink); text-decoration: none; }
.top nav a.on { color: var(--ink); background: var(--mist); }
.top .actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top nav .nav-m { display: none; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--paper); cursor: pointer; }
.burger svg { margin: auto; }
.pass-actif { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--good); }
.pass-actif::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }

/* ---------- espace de travail : barre latérale ---------- */
.appli { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--paper) calc(var(--side) - 1px), var(--rule) calc(var(--side) - 1px), var(--rule) var(--side), var(--mist) var(--side)); }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px;
  padding: 20px 14px; background: var(--paper); border-right: 1px solid var(--rule); overflow-y: auto;
}
.side .logo { padding: 2px 8px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: var(--r-s);
  color: var(--ink-2); font-size: 14.5px; font-weight: 500;
}
.side nav a svg { width: 18px; height: 18px; flex: none; color: var(--faint); }
.side nav a:hover { background: var(--mist); color: var(--ink); text-decoration: none; }
.side nav a.on { background: var(--mist); color: var(--ink); font-weight: 600; }
.side nav a.on svg { color: var(--ink); }
.side nav a.on::before { content: ""; position: absolute; left: -14px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.side .grp { font-size: 12.5px; color: var(--faint); padding: 0 10px; margin: 6px 0 2px; }
.side .bas { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.side .passbox { padding: 14px; border: 1px solid var(--rule); border-radius: var(--r-m); font-size: 13.5px; color: var(--ink-2); }
.side .passbox b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.side .liens { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 10px; font-size: 12.5px; }
.side .liens a { color: var(--muted); }
.mtop { display: none; }
.contenu { min-width: 0; padding: 34px 40px 80px; }
.contenu > .page { max-width: 1080px; margin: 0 auto; }
.ptitre { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 26px; flex-wrap: wrap; }
.ptitre h1 { font-size: 34px; line-height: 1.1; }
.ptitre p { margin: 6px 0 0; color: var(--muted); max-width: 640px; }

/* ---------- surfaces ---------- */
.panneau { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-m); }
.panneau > .ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.panneau > .ph h2 { font-size: 16px; }
.panneau > .ph a { font-size: 14px; }
.panneau > .pb { padding: 20px; }
.grille { display: grid; gap: 20px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g-12 { grid-template-columns: 1.55fr 1fr; }
.grille > .grille { align-content: start; }

/* chiffres clés : une rangée séparée par des filets, pas des cartes */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-m); }
.chiffres > div { padding: 18px 20px; border-left: 1px solid var(--rule); }
.chiffres > div:first-child { border-left: 0; }
.chiffres b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.chiffres span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.chiffres small { font-size: 15px; color: var(--muted); font-weight: 500; }

/* barres de progression (encre = calculé) */
.barre { height: 6px; background: var(--mist-2); border-radius: 3px; overflow: hidden; }
.barre > i { display: block; height: 100%; background: var(--ink); border-radius: 3px; transition: width .5s ease; }
.barre.fine { height: 4px; }
.barre.ok > i { background: var(--good); }

/* tableaux */
.tableau { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tableau th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 10px 14px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.tableau td { padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau th.n, .tableau td.n { text-align: right; font-variant-numeric: tabular-nums; }
.tableau tbody tr.lien { cursor: pointer; }
.tableau tbody tr.lien:hover td { background: var(--paper-2); }
.tableau .nom { font-weight: 600; color: var(--ink); }
.tableau .sous { color: var(--muted); font-size: 13px; }
.tableau td .barre { width: 120px; }

/* étiquettes */
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12.5px; font-weight: 500; background: var(--mist); color: var(--ink-2); white-space: nowrap; }
.tag.pass { background: var(--ink); color: var(--on-ink); }
.tag.gratuit { background: var(--good-tint); color: var(--good); }
.tag.revoir { background: var(--hyp); color: var(--hyp-ink); box-shadow: inset 0 0 0 1px var(--hyp-line); }
.tag.ok { background: var(--good-tint); color: var(--good); }
.tag.ko { background: var(--bad-tint); color: var(--bad); }
.niv { display: inline-flex; gap: 2px; vertical-align: middle; }
.niv i { width: 5px; height: 12px; border-radius: 1.5px; background: var(--rule-2); }
.niv i.on { background: var(--ink); }

/* filtres */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; padding: 3px; background: var(--mist-2); border-radius: 8px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { white-space: nowrap; flex: none; border: 0; background: transparent; padding: 6px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--blue); box-shadow: 0 1px 2px rgb(var(--ombre) / .12); }
.puce { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--rule-2); background: var(--paper); font-size: 14px; color: var(--ink-2); cursor: pointer; }
.puce:hover { border-color: var(--ink-2); }
.puce[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-ink); }
.recherche { position: relative; flex: 1; min-width: 220px; }
.recherche input { padding-left: 38px; margin: 0; }
.recherche svg { position: absolute; left: 12px; top: 12px; color: var(--faint); }
select.champ.court { width: auto; max-width: 100%; text-overflow: ellipsis; margin: 0; padding-right: 34px; height: 36px; font-size: 14px; }

/* liste de catégories (banque) */
.cats { display: flex; flex-direction: column; gap: 1px; }
.cats button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: transparent; border-radius: var(--r-s); font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.cats button:hover { background: var(--mist); }
.cats button[aria-pressed="true"] { background: var(--blue-tint); color: var(--blue-ink); font-weight: 600; }
.cats button span:last-child { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.banque { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.banque > * { min-width: 0; }
.banque aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
.banque aside h3 { font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 10px; margin-bottom: 4px; }
.lignes { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-m); }
.ligne { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: start; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.ligne:last-child { border-bottom: 0; }
.ligne .etat { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; border: 1.5px solid var(--rule-2); }
.ligne .etat.ok { background: var(--good); border-color: var(--good); }
.ligne .etat.ko { background: var(--bad); border-color: var(--bad); }
.ligne .txt { min-width: 0; }
.ligne .txt a, .ligne .txt .ferme { color: var(--ink); font-weight: 500; display: block; }
.ligne .txt a:hover { color: var(--blue); text-decoration: none; }
.ligne .txt .ferme { color: var(--muted); font-weight: 400; }
.ligne .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: var(--muted); align-items: center; }
.ligne .act { display: flex; gap: 4px; }
.etoile { width: 32px; height: 32px; border: 0; background: transparent; border-radius: var(--r-s); cursor: pointer; color: var(--faint); display: grid; place-items: center; }
.etoile:hover { background: var(--mist); color: var(--ink); }
.etoile[aria-pressed="true"] { color: var(--etoile); }
.etoile[aria-pressed="true"] svg { fill: currentColor; }
.barre-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--paper-2); border-bottom: 1px solid var(--rule); border-radius: var(--r-m) var(--r-m) 0 0; flex-wrap: wrap; }
.verrou { padding: 18px; background: var(--mist); border-radius: 0 0 var(--r-m) var(--r-m); }
.verrou b { display: block; margin-bottom: 6px; }
.verrou .detail { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.pagination { display: flex; justify-content: center; gap: 6px; padding: 16px; }
.vide { padding: 48px 24px; text-align: center; color: var(--muted); }
.vide b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ---------- question ---------- */
.session { max-width: 760px; margin: 0 auto; }
.s-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.s-tete b { color: var(--ink); font-weight: 600; }
.s-prog { height: 3px; background: var(--mist-2); border-radius: 2px; margin-bottom: 26px; overflow: hidden; }
.s-prog i { display: block; height: 100%; background: var(--ink); transition: width .3s; }
.carte-q { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 30px 32px; }
.q-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.q-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--rule-2); }
.q-texte { font-size: 20px; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 24px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; width: 100%; text-align: left;
  padding: 13px 15px; border: 1px solid var(--rule-2); border-radius: var(--r-m); background: var(--paper);
  font-size: 15.5px; line-height: 1.45; cursor: pointer; transition: border-color .12s, background-color .12s;
}
.opt .k { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--rule-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.opt:hover:not([disabled]) { border-color: var(--blue); background: var(--blue-tint); }
.opt:hover:not([disabled]) .k { border-color: var(--blue); color: var(--blue); }
.opt.sel { border-color: var(--blue); background: var(--blue-tint); }
.opt.sel .k { background: var(--blue); border-color: var(--blue); color: var(--on-accent); }
.opt[disabled] { cursor: default; }
.opt.juste { border-color: var(--good); background: var(--good-tint); }
.opt.juste .k { background: var(--good); border-color: var(--good); color: var(--on-accent); }
.opt.faux { border-color: var(--bad); background: var(--bad-tint); }
.opt.faux .k { background: var(--bad); border-color: var(--bad); color: var(--on-accent); }
.opt.eteint { opacity: .55; }
.saisie { display: flex; align-items: center; gap: 10px; }
.saisie input { max-width: 220px; height: 48px; font-size: 18px; font-variant-numeric: tabular-nums; margin: 0; }
.saisie input.juste { border-color: var(--good); background: var(--good-tint); }
.saisie input.faux { border-color: var(--bad); background: var(--bad-tint); }
.saisie .unite { font-weight: 600; color: var(--muted); }
.aide { font-size: 13px; color: var(--faint); margin: 8px 0 0; }
.secoue { animation: secoue .35s; }
@keyframes secoue { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* correction : le seul moment animé de l'interface */
.correction { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.correction > div { overflow: hidden; }
.correction.on { grid-template-rows: 1fr; }
.correction .corps { margin-top: 22px; padding: 18px 20px 18px 22px; border-left: 3px solid var(--ink); background: var(--mist); border-radius: 0 var(--r-m) var(--r-m) 0; }
.correction.juste .corps { border-left-color: var(--good); }
.correction.faux .corps { border-left-color: var(--bad); }
.correction .verdict { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.correction.juste .verdict { color: var(--good); }
.correction.faux .verdict { color: var(--bad); }
.correction .expl { font-family: var(--serif); font-size: 17.5px; line-height: 1.6; color: var(--ink); font-optical-sizing: auto; }
.s-pied { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.s-pied .g { display: flex; gap: 8px; align-items: center; }
.raccourcis { font-size: 12.5px; color: var(--faint); text-align: center; margin-top: 18px; }
.raccourcis kbd { font: inherit; font-size: 11.5px; padding: 1px 6px; border: 1px solid var(--rule-2); border-bottom-width: 2px; border-radius: 4px; background: var(--paper); color: var(--muted); }
.signal { margin-top: 16px; font-size: 13.5px; }
.signal summary { cursor: pointer; color: var(--muted); list-style: none; display: inline; }
.signal summary::-webkit-details-marker { display: none; }
.signal summary:hover { color: var(--ink); text-decoration: underline; }
.signal[open] { padding: 14px; border: 1px solid var(--rule); border-radius: var(--r-m); background: var(--paper); }
.signal[open] summary { display: block; margin-bottom: 10px; }
.cas-enonce { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 22px 26px; margin-bottom: 16px; font-size: 15px; }
.cas-enonce h3 { font-size: 17px; margin-bottom: 10px; }
.cas-enonce table { border-collapse: collapse; margin: 12px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.cas-enonce td, .cas-enonce th { padding: 6px 14px 6px 0; border-bottom: 1px solid var(--rule); text-align: left; }
.cas-enonce p:last-child { margin-bottom: 0; }

/* résultat de série / simulation */
.bilan { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 34px; }
.bilan .score { font-size: 54px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.bilan .score small { font-size: 24px; color: var(--muted); font-weight: 500; }
.bilan h2 { font-size: 26px; margin: 0 0 6px; line-height: 1.2; }
.bilan .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.revue { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.revue details { border: 1px solid var(--rule); border-radius: var(--r-m); padding: 12px 16px; }
.revue summary { cursor: pointer; display: flex; gap: 10px; align-items: baseline; }
.revue summary .tag { flex: none; }
.revue .rep { font-size: 14px; color: var(--muted); margin: 10px 0 8px; }
.revue .expl { font-family: var(--serif); font-size: 16.5px; line-height: 1.6; }
.chrono { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); padding: 4px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
.chrono.bas { color: var(--bad); border-color: var(--bad); }
/* réglages des séries (banque) et mode oral */
.g-lancer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
select.champ.court.mini { height: 32px; padding: 0 30px 0 10px; }
.s-droite { display: inline-flex; align-items: center; gap: 12px; }
.bascule-oral { border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink-2); border-radius: 14px; height: 28px; padding: 0 11px; font: inherit; font-size: 13px; cursor: pointer; }
.bascule-oral::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--rule-2); }
.bascule-oral[aria-pressed="true"] { border-color: var(--blue); color: var(--blue-ink); background: var(--blue-tint); }
.bascule-oral[aria-pressed="true"]::before { background: var(--blue); }
.oral { border: 1px dashed var(--rule-2); border-radius: var(--r-m); padding: 18px 20px; background: var(--paper-2); }
.oral p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.oral-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.temps-serie { font-size: 14px; color: var(--ink-2); margin: 14px 0 0; }
.revue summary .t-q { margin-left: auto; flex: none; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.grille-nav { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 18px; }
.grille-nav button { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--rule-2); background: var(--paper); font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums; }
.grille-nav button.rep { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.grille-nav button.cur { outline: 2px solid var(--blue); outline-offset: 1px; }

/* ---------- tableau de bord ---------- */
.bonjour h1 { font-size: 34px; }
.bonjour p { color: var(--muted); margin: 6px 0 0; }
.objectif { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.anneau { width: 96px; height: 96px; position: relative; }
.anneau svg { transform: rotate(-90deg); }
.anneau b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.reco { display: flex; flex-direction: column; gap: 0; }
.reco a.item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--rule); color: var(--ink); }
.reco a.item:first-child { border-top: 0; }
.reco a.item:hover { background: var(--paper-2); text-decoration: none; }
.reco a.item b { display: block; font-weight: 600; }
.reco a.item span { color: var(--muted); font-size: 13.5px; }
.reco a.item .go { color: var(--blue); font-weight: 600; font-size: 14px; }
.activite { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; align-items: end; height: 72px; }
.activite i { display: block; background: var(--ink); border-radius: 2px 2px 0 0; min-height: 2px; }
.activite i.zero { background: var(--mist-2); }
.legende { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); margin-top: 6px; }
.parcours-ligne { display: grid; grid-template-columns: 1fr 96px 44px; gap: 14px; align-items: center; padding: 9px 0; font-size: 14.5px; }
.parcours-ligne .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13.5px; }

/* ---------- parcours ---------- */
.metiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
.metier { padding: 24px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.metier:nth-child(-n+2) { border-top: 0; }
.metier:nth-child(2n+1) { border-left: 0; }
.metier h3 { font-size: 18px; }
.metier p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.metier .compo { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; margin: 4px 0; }
.metier .compo i { display: block; background: var(--ink); }
.metier .compo i:nth-child(2) { background: var(--compo-2); }
.metier .compo i:nth-child(3) { background: var(--compo-3); }
.metier .compo i:nth-child(n+4) { background: var(--rule-2); }
.metier .cats-l { font-size: 13px; color: var(--muted); }
.metier .pied { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 6px; }
.metier.choisi { background: var(--blue-tint); }
.metier.choisi h3::after { content: "Ton parcours"; margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--blue-ink); vertical-align: middle; }

/* ---------- simulations ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
.format { padding: 22px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; text-align: left; background: var(--paper); border-top: 0; border-right: 0; border-bottom: 0; cursor: pointer; font: inherit; color: var(--ink); }
.format:first-child { border-left: 0; }
.format:hover { background: var(--paper-2); }
.format[aria-pressed="true"] { background: var(--blue-tint); box-shadow: inset 0 -3px 0 var(--blue); }
.format h3 { font-size: 16.5px; }
.format .dur { font-size: 13.5px; color: var(--muted); }
.format p { font-size: 14px; color: var(--ink-2); margin: 0; }
.lancer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; flex-wrap: wrap; }

/* ---------- concepts clés ---------- */
.biblio { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 28px 22px; }
.fiche { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.fiche:hover { text-decoration: none; color: var(--ink); }
.fiche .couv { aspect-ratio: 210 / 297; border-radius: 6px; overflow: hidden; border: 1px solid var(--rule); background: var(--paper); position: relative; box-shadow: 0 1px 0 var(--rule), 0 8px 20px -12px rgb(var(--ombre) / .25); transition: transform .2s; }
.fiche:hover .couv { transform: translateY(-2px); }
.fiche .couv img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fiche .t { font-weight: 600; line-height: 1.3; }
.fiche .m { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.typebloc { margin-bottom: 44px; }
.typebloc > h2 { font-size: 26px; margin-bottom: 4px; }
.typebloc > p { color: var(--muted); margin: 0 0 20px; }
.fiche-page { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.fiche-page .couv img { width: 100%; height: auto; }
.fiche-page .couv { border-radius: 8px; overflow: hidden; border: 1px solid var(--rule); box-shadow: 0 18px 40px -24px rgb(var(--ombre) / .35); background: var(--paper); }
.fiche-page h1 { font-size: 38px; margin: 0 0 12px; line-height: 1.08; }
.fiche-page .chapo { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink-2); margin-bottom: 22px; max-width: 62ch; }
.sommaire { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--rule); }
.sommaire li { padding: 10px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 30px 1fr; font-size: 15px; }
.sommaire li span { color: var(--faint); font-variant-numeric: tabular-nums; }

/* ---------- profil ---------- */
.form-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.form-grille .plein { grid-column: 1 / -1; }

/* ---------- pages publiques ---------- */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5vw, 64px); line-height: 1.03; letter-spacing: -0.02em; max-width: 16ch; }
.hero .lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 22px 0 30px; max-width: 34em; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .preuve { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); max-width: 520px; font-size: 14.5px; color: var(--muted); }
.hero .preuve b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.demo { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 26px; box-shadow: 0 30px 60px -34px rgb(var(--ombre) / .35), 0 0 0 6px var(--mist); }
.demo .q-texte { font-size: 18px; margin-bottom: 18px; }
.demo .opt { padding: 11px 13px; font-size: 15px; }
.demo .s-pied { margin-top: 14px; }
.metiers-bande { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); }
.metiers-bande .wrap { max-width: none; padding-left: max(16px, 2.5vw); padding-right: max(16px, 2.5vw); display: flex; align-items: center; gap: 2px; min-height: 58px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.metiers-bande span { color: var(--muted); font-size: 14px; margin-right: 10px; white-space: nowrap; }
.metiers-bande a { color: var(--ink-2); font-size: 14px; font-weight: 500; padding: 6px 7px; border-radius: 16px; white-space: nowrap; }
@media (min-width: 721px) { .metiers-bande .wrap { flex-wrap: nowrap; justify-content: flex-start; gap: 6px; overflow-x: auto; scrollbar-width: none; } .metiers-bande span { margin-right: 4px; } }
@media (max-width: 720px) { .metiers-bande .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.metiers-bande a:hover { background: var(--mist); color: var(--ink); text-decoration: none; }
.sec { padding: 92px 0; }
.sec.gris { background: var(--mist); }
.sec-t { max-width: 640px; margin-bottom: 44px; }
.sec-t h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; }
.sec-t p { font-size: 17.5px; color: var(--ink-2); margin: 14px 0 0; }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.etape { padding: 22px 28px 0 0; }
.etape + .etape { padding-left: 28px; border-left: 1px solid var(--rule); }
.etape .no { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.etape h3 { font-size: 19px; margin: 10px 0 8px; }
.etape p { color: var(--ink-2); margin: 0; }
.comps { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
.comps .tableau td { padding: 13px 18px; }
.comps .tableau th { padding: 12px 18px; background: var(--paper-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .liste { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--rule); }
.split .liste li { padding: 13px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: 15px; }
.split .liste li span { color: var(--muted); font-size: 14px; }
.couvs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.couvs .fiche .couv { box-shadow: 0 14px 30px -20px rgb(var(--ombre) / .4); }
.couvs .fiche { transition: transform .25s; }
.couvs .fiche:nth-child(1) { transform: rotate(-3deg) translateY(14px); }
.couvs .fiche:nth-child(2) { transform: translateY(-8px); z-index: 1; }
.couvs .fiche:nth-child(3) { transform: rotate(3deg) translateY(14px); }
.couvs .fiche:hover { transform: translateY(-14px); z-index: 2; }
@media (prefers-reduced-motion: reduce) { .couvs .fiche { transition: none; } }
.recrut { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.recrut > div { padding: 22px 22px 0 0; }
.recrut > div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.recrut b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
.recrut span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.sources { font-size: 13px; color: var(--muted); margin-top: 28px; }
.sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* tarifs */
.prix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-l); overflow: hidden; }
.offre { padding: 30px 28px; display: flex; flex-direction: column; border-left: 1px solid var(--rule); }
.offre:first-child { border-left: 0; }
.offre.mise { background: var(--ink); color: var(--on-ink); border-left-color: var(--ink); }
.offre h3 { font-size: 17px; }
.offre .montant { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 2px; font-variant-numeric: tabular-nums; }
.offre .montant small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.offre.mise .montant small, .offre.mise .per, .offre.mise li { color: var(--on-ink-2); }
.offre .per { font-size: 14px; color: var(--muted); min-height: 21px; }
.offre ul { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.offre li { padding-left: 24px; position: relative; }
.offre li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .8; }
.offre li.non { color: var(--faint); text-decoration: line-through; }
.offre li.non::before { display: none; }
.offre .badge { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 11px; background: color-mix(in srgb, var(--on-ink) 14%, transparent); color: var(--on-ink); margin-bottom: 12px; }
.offre.mise .btn-primary { background: var(--on-ink); color: var(--ink); }
.offre.mise .btn-primary:hover { background: var(--blue-tint); }
.note { font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* page simple (légal, contact) */
.bandeau { padding: 56px 0 36px; border-bottom: 1px solid var(--rule); }
.bandeau h1 { font-size: 40px; }
.bandeau p { color: var(--ink-2); margin: 12px 0 0; font-size: 17px; max-width: 640px; }
.page-simple { padding: 44px 0 90px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.carte { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 24px; }

/* pied de page */
footer.pied { background: var(--paper); border-top: 1px solid var(--rule); padding: 56px 0 34px; font-size: 14px; }
.pied .fg { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.pied h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pied a { color: var(--ink-2); }
.pied p { color: var(--muted); max-width: 300px; }
.pied .fb { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--faint); }
.pied .fb a { color: var(--faint); text-decoration: underline; }

/* fenêtre modale */
.modal-bg { position: fixed; inset: 0; background: var(--voile); display: none; align-items: center; justify-content: center; z-index: 80; padding: 20px; }
.modal-bg.on { display: flex; }
.modal { background: var(--paper); border-radius: var(--r-l); width: 100%; max-width: 440px; padding: 28px; position: relative; max-height: 92vh; overflow-y: auto; }
.modal h3 { font-size: 20px; margin-bottom: 14px; }
.modal .x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; background: transparent; font-size: 22px; color: var(--muted); cursor: pointer; border-radius: var(--r-s); }
.modal .x:hover { background: var(--mist); }
.modal .recap { display: flex; justify-content: space-between; padding: 14px 16px; background: var(--mist); border-radius: var(--r-s); margin-bottom: 16px; font-weight: 600; }
.modal hr { border: 0; border-top: 1px solid var(--rule); margin: 22px 0; }

/* bandeau d'aperçu (outil d'export) */
.apercu-bandeau { position: sticky; top: 0; z-index: 90; }

/* ---------- adaptations ---------- */
@media (max-width: 1100px) {
  .formats { grid-template-columns: 1fr 1fr; }
  .format:nth-child(3) { border-left: 0; }
  .format:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .g-12 { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .appli { grid-template-columns: 1fr; background: var(--mist); }
  .side { position: fixed; left: 0; top: 0; z-index: 60; width: 280px; transform: translateX(-100%); transition: transform .25s, box-shadow .25s; }
  .side.ouvert { transform: none; box-shadow: 20px 0 40px rgb(var(--ombre) / .18); }
  .mtop { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 18px; background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
  .mtop .burger { display: block; margin: 0; }
  .voile { position: fixed; inset: 0; background: var(--voile); z-index: 55; }
  .contenu { padding: 24px 18px 70px; }
  .banque { grid-template-columns: 1fr; }
  .banque aside { position: static; }
  .banque aside .cats { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .banque aside .cats button { width: auto; white-space: nowrap; border: 1px solid var(--rule); }
  .banque aside h3.cache-m { display: none; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 44px 0 52px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffres > div:nth-child(3) { border-left: 0; }
  .chiffres > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .fiche-page { grid-template-columns: 1fr; gap: 26px; }
  .fiche-page .couv { max-width: 300px; }
  .top nav { display: none; }
  .top nav.ouvert { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 10px 18px 18px; }
  .top .actions .btn-secondary { display: none; }
  .burger { display: block; }
  .pied .fg { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .top .wrap { gap: 12px; }
  .top .actions .btn-ghost { display: none; }
  .top .burger { margin-left: 0; }
  .top nav.ouvert .nav-m { display: block; }
  .wrap { padding: 0 18px; }
  .sec { padding: 64px 0; }
  .etapes, .recrut, .prix, .metiers { grid-template-columns: 1fr; }
  .etape + .etape, .recrut > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 18px; }
  .offre { border-left: 0; border-top: 1px solid var(--rule); }
  .metier { border-left: 0 !important; border-top: 1px solid var(--rule) !important; }
  .metier:first-child { border-top: 0 !important; }
  .formats { grid-template-columns: 1fr; }
  .format { border-left: 0 !important; border-top: 1px solid var(--rule); }
  .format:first-child { border-top: 0; }
  .faq { grid-template-columns: 1fr; }
  .couvs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .carte-q { padding: 22px 18px; }
  .q-texte { font-size: 18px; }
  .ligne { grid-template-columns: 16px 1fr; padding: 13px 14px; }
  .ligne .act { grid-column: 2; }
  .tableau td .barre { width: 70px; }
  .tableau .cache-m { display: none; }
  .form-grille { grid-template-columns: 1fr; }
  .bilan { padding: 24px 18px; }
  .parcours-ligne { grid-template-columns: 1fr 80px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- pages juridiques et administration ---------- */
.prose .kv { display: grid; grid-template-columns: 200px 1fr; gap: 6px 16px; margin: 10px 0; }
.prose .kv dt { color: var(--muted); }
.prose .kv dd { margin: 0; }
.prose .updated { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
form.cform { display: flex; flex-direction: column; gap: 12px; }
.cform label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.cform input, .cform select, .cform textarea { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: var(--r-s); font: inherit; }
.admin h1 { font-size: 30px; }
.adm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 10px; }
.adm-kpis div { border: 1px solid var(--rule); border-radius: var(--r-m); padding: 16px; }
.adm-kpis b { display: block; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.adm-kpis span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.adm-h { font-size: 18px; margin: 34px 0 10px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 28px; }
.tbl { overflow-x: auto; }
table.adm { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--paper); }
table.adm th, table.adm td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.adm th { color: var(--muted); font-weight: 500; }
table.adm tr.fait td { opacity: .5; }
.adm-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 12px; }
.adm-form input, .adm-form select { height: 34px; padding: 0 10px; border: 1px solid var(--rule-2); border-radius: var(--r-s); font: inherit; font-size: 14px; }
@media (max-width: 720px) { .prose .kv { grid-template-columns: 1fr; } }


/* ---------- signature 1 : le football field de la progression ----------
   Le graphique des fourchettes de valorisation, détourné : une barre par catégorie, l'encre pour ce qui est maîtrisé,
   la teinte pour ce qui a été vu sans être maîtrisé, le pointillé bleu pour le seuil visé en entretien. */
.ff { --seuil: 80%; font-size: 14px; }
.ff-axe, .ff-l { display: grid; grid-template-columns: minmax(130px, 210px) 1fr 52px; gap: 0 16px; align-items: center; }
.ff-axe { height: 22px; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.ff-axe .ech { position: relative; height: 100%; }
.ff-axe .ech span { position: absolute; top: 2px; transform: translateX(-50%); }
.ff-axe .ech span:first-child { transform: none; }
.ff-axe .ech span:last-child { transform: translateX(-100%); }
.ff-l { color: var(--ink); min-height: 34px; }
.ff-l:hover { text-decoration: none; color: var(--ink); }
.ff-l:hover .ff-nom { color: var(--blue); }
.ff-nom { line-height: 1.25; padding: 6px 0; }
.ff-piste {
  position: relative; align-self: stretch;
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 25%) left / 100% 100% no-repeat,
              linear-gradient(90deg, transparent calc(100% - 1px), var(--rule) calc(100% - 1px));
}
.ff-piste::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--seuil); border-left: 1.5px dashed var(--blue); opacity: .8; }
.ff-piste i { position: absolute; left: 0; top: 50%; height: 12px; margin-top: -6px; border-radius: 1px; transform-origin: left; }
.ff-piste .vu { background: var(--vu); }
.ff-piste .ok { background: var(--ink); }
.ff.anime .ff-piste i { animation: ff-pousse .7s cubic-bezier(.2,.7,.2,1) both; }
.ff.anime .ff-l:nth-child(n) .ok { animation-delay: .08s; }
@keyframes ff-pousse { from { transform: scaleX(0); } }
.ff-v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.ff-v.zero { color: var(--faint); font-weight: 400; }
.ff-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.ff-leg span { display: inline-flex; align-items: center; gap: 7px; }
.ff-leg i { width: 14px; height: 8px; border-radius: 1px; display: inline-block; }
.ff-leg i.ok { background: var(--ink); }
.ff-leg i.vu { background: var(--vu); }
.ff-leg i.seuil { width: 0; height: 12px; border-left: 1.5px dashed var(--blue); border-radius: 0; }
@media (max-width: 720px) { .ff-axe, .ff-l { grid-template-columns: 108px 1fr 40px; gap: 0 10px; } .ff { font-size: 13px; } .ff-axe .ech span:nth-child(2n) { display: none; } }

/* ---------- signature 2 : les tombstones des simulations ----------
   Le cube que les banquiers gardent sur leur bureau après chaque opération. Ici, un par simulation passée. */
.tombs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; padding: 20px; }
.tomb {
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  padding: 16px 12px 14px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--rule-2);
}
.tomb .t-marque { font-size: 10.5px; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.tomb .t-titre { font-size: 17px; line-height: 1.15; }
.tomb .t-sous { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.tomb .t-score { font: 500 34px/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tomb .t-score small { font-size: 16px; color: var(--muted); }
.tomb .t-date { font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 7px; width: 70%; }
.tomb.reussie { background: var(--ink); color: var(--on-ink); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px color-mix(in srgb, var(--on-ink) 35%, transparent); }
.tomb.reussie .t-marque, .tomb.reussie .t-sous, .tomb.reussie .t-score small, .tomb.reussie .t-date { color: var(--on-ink-2); }
.tomb.reussie .t-date { border-top-color: color-mix(in srgb, var(--on-ink) 20%, transparent); }
@media (max-width: 720px) { .tombs { grid-template-columns: repeat(2, 1fr); padding: 14px; } }

/* surlignage « hypothèse » pour les points à retenir */
.hyp { background: var(--hyp); box-shadow: inset 0 0 0 1px var(--hyp-line); padding: 1px 5px; border-radius: 2px; color: var(--hyp-ink); }
.encart-hyp { background: var(--hyp); border: 1px solid var(--hyp-line); border-radius: var(--r-s); padding: 12px 14px; color: var(--hyp-ink); font-size: 14px; }

/* Version anglaise : la virgule des milliers est trop large en chiffres tabulaires */
html[lang="en"] .hero .preuve b, html[lang="en"] .cats button span:last-child, html[lang="en"] .chiffres b { font-variant-numeric: normal; }


/* ---------- bouton clair / sombre ---------- */
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--paper); color: var(--muted); cursor: pointer; flex: none; }
.theme-btn:hover { color: var(--ink); border-color: var(--rule-2); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .soleil { display: none; }
.side .theme-btn { width: auto; height: auto; border: 0; background: none; padding: 0; gap: 6px; font-size: 12.5px; }
.side .theme-btn svg { width: 14px; height: 14px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .lune { display: none; }
  :root:not([data-theme="light"]) .theme-btn .soleil { display: block; }
  :root:not([data-theme="light"]) .fiche .couv img, :root:not([data-theme="light"]) .fiche-page .couv img { filter: brightness(.9); }
}
:root[data-theme="dark"] .theme-btn .lune { display: none; }
:root[data-theme="dark"] .theme-btn .soleil { display: block; }
:root[data-theme="dark"] .fiche .couv img, :root[data-theme="dark"] .fiche-page .couv img { filter: brightness(.9); }


/* ---------- accueil : le produit en exemple ---------- */
.vitrine-produit { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.vitrine-produit > * { min-width: 0; }
.vitrine-produit .ph h3 { font-size: 16px; }
.vitrine-produit .tombs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vitrine-produit .tomb { min-width: 0; overflow-wrap: anywhere; }
.tag.exemple { background: var(--hyp); color: var(--hyp-ink); box-shadow: inset 0 0 0 1px var(--hyp-line); }
@media (max-width: 960px) { .vitrine-produit { grid-template-columns: 1fr; } }
@media (max-width: 1480px) { .vitrine-produit .tombs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; } .vitrine-produit .tomb { padding: 10px 6px; min-width: 0; aspect-ratio: auto; gap: 8px; } .vitrine-produit .tomb .t-titre { font-size: 13.5px; hyphens: auto; } .vitrine-produit .tomb .t-sous { font-size: 11px; } .vitrine-produit .tomb .t-score { font-size: 26px; } .vitrine-produit .tomb .t-date { width: 100%; } }

/* ---------- confort de lecture et usage au téléphone ---------- */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
@media (hover: none) { .raccourcis { display: none; } }
@media (max-width: 720px) {
  /* les boutons de réponse restent sous le pouce pendant une série ou une simulation */
  .session .s-pied {
    position: sticky; bottom: 0; z-index: 20; margin: 18px -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--top-bg); backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--rule); flex-wrap: nowrap;
  }
  .session .s-pied .btn { height: 44px; }
  .session .s-pied .g:last-child { flex: 1; justify-content: flex-end; }
  .raccourcis { display: none; }
}

/* fiches gratuites : formulaire d'envoi par e-mail */
.fiche-form { margin-top: 16px; max-width: 520px; }
.fiche-form .champ { margin-bottom: 10px; }
.case { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 0 0 12px; }
.case input { margin-top: 3px; }

/* Parrainage (page Tarifs et fenêtre de liste d'attente) */
.parrainage { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.parrainage h2 { font-size: 22px; margin: 0 0 8px; }
.parrainage p { color: var(--ink-2); }
.parr-form .champ { margin-bottom: 10px; }
.parr-lien { margin-top: 12px; }
.parr-lien p { margin: 0 0 6px; font-size: 14px; }
.parr-copie { display: flex; gap: 8px; }
.parr-copie .champ { margin: 0; min-width: 0; flex: 1; font-size: 13.5px; }
.parrainage .petit, .parr-lien .petit, .parr-form .petit { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 760px) { .parrainage { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.parr-remise { background: var(--mist, #F4F6FA); border-left: 3px solid var(--blue, #1F45D1); padding: 12px 14px; border-radius: 6px; margin: 0 0 18px; color: var(--ink-2); }

/* Pages « Questions d'entretien » par thème et extraits des fiches (référencement) */
.fil { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.fil a { color: var(--muted); }
.theme-intro { max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.theme-bloc { margin-top: 48px; }
.theme-bloc > h2 { font-size: 24px; margin: 0 0 12px; }
.sous-themes { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 24px; }
.sous-themes li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); padding: 8px 0; }
.sous-themes b { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.qr { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; counter-reset: qr; }
.qr > li { min-width: 0; }
.qr-q { font-size: 17px; line-height: 1.45; margin: 8px 0 10px; font-weight: 600; }
.qr-o { margin: 0 0 10px; padding-left: 20px; color: var(--ink-2); }
.qr details summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.qr details p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.6; }
.cas-ctx { margin: 18px 0 0; overflow-x: auto; }
.cas-ctx h3 { margin: 0 0 8px; font-size: 17px; }
.cas-ctx table { border-collapse: collapse; margin-top: 10px; }
.cas-ctx td, .cas-ctx th { border-bottom: 1px solid var(--rule); padding: 6px 14px 6px 0; text-align: left; }
.theme-cta { margin-top: 22px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.theme-cta > div:first-child { flex: 1 1 380px; min-width: 0; }
.theme-cta h3 { margin: 0 0 6px; }
.theme-cta p { margin: 0; color: var(--ink-2); }
.theme-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
.autres-themes { columns: 2 280px; padding-left: 18px; }
.autres-themes li { margin: 0 0 6px; break-inside: avoid; }
.hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 32px; }
.hub-t { display: block; color: inherit; text-decoration: none; transition: border-color .15s; }
.hub-t:hover { border-color: var(--blue); }
.hub-t h2 { font-size: 18px; margin: 0 0 8px; }
.hub-t p { margin: 0 0 12px; color: var(--ink-2); font-size: 14.5px; }
.hub-n { font-size: 13px; color: var(--blue); font-weight: 600; }
.extrait { max-width: 760px; margin-top: 48px; line-height: 1.65; }
.extrait h2 { font-size: 22px; margin: 28px 0 10px; }
.extrait h2:first-child { margin-top: 0; }
.extrait p, .extrait li { color: var(--ink-2); }
.extrait-q { margin: 26px 0 14px; }
.extrait-q .lbl-q { color: var(--blue); font-size: 13px; font-weight: 600; }
.extrait-q .q { font-weight: 600; margin: 6px 0 10px; color: var(--ink); }
.extrait-q summary { cursor: pointer; color: var(--blue); font-weight: 600; }
@media (max-width: 760px) { .theme-intro { font-size: 16px; } }
.themes-liens { margin-top: 56px; border-top: 1px solid var(--rule); padding-top: 28px; }
.themes-liens h2 { font-size: 20px; margin: 0 0 6px; }
.themes-liens ul { columns: 3 240px; padding-left: 18px; margin: 14px 0 0; }
.themes-liens li { margin: 0 0 6px; break-inside: avoid; }

/* Accueil : vidéo en fond et bande défilante (03/12/2026) */
.hero-video { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 0; min-height: min(78vh, 720px); display: flex; align-items: center; background: #0B1424; }
.hero-video .hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-video .hero-voile { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(6 11 22 / .86) 0%, rgb(6 11 22 / .62) 42%, rgb(6 11 22 / .22) 100%), linear-gradient(0deg, rgb(6 11 22 / .55), transparent 35%), linear-gradient(180deg, rgb(6 11 22 / .35), transparent 25%); }
.hero-video .wrap { display: block; width: 100%; padding-top: 88px; padding-bottom: 88px; }
.hero-video h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.hero-video .lead { color: rgb(255 255 255 / .86); max-width: 36em; }
.hero-video .preuve { color: rgb(255 255 255 / .72); border-top-color: rgb(255 255 255 / .22); }
.hero-video .preuve b { color: #fff; }
.hero-video .btn-primary { background: #05080F; border-color: rgb(255 255 255 / .28); color: #fff; }
.hero-video .btn-primary:hover { background: #000; border-color: rgb(255 255 255 / .6); color: #fff; }
.btn-clair { background: rgb(255 255 255 / .08); color: #fff; border: 1px solid rgb(255 255 255 / .55); backdrop-filter: blur(4px); }
.btn-clair:hover { background: rgb(255 255 255 / .16); color: #fff; text-decoration: none; }
.defile { display: flex; align-items: center; gap: 28px; background: var(--paper); border-bottom: 1px solid var(--rule); overflow: hidden; padding: 18px 0 18px max(16px, 2.5vw); }
.defile-t { flex: none; font-size: 13.5px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.defile-fenetre { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.defile-piste { display: flex; width: max-content; animation: defile 48s linear infinite; }
.defile-fenetre:hover .defile-piste { animation-play-state: paused; }
.defile ul { display: flex; list-style: none; margin: 0; padding: 0; }
.defile li { font: 400 22px/1 "Newsreader", Georgia, serif; color: var(--ink); white-space: nowrap; padding: 0 26px; position: relative; }
.defile li::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; background: var(--blue); transform: translateY(-50%) rotate(45deg); opacity: .7; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .defile-piste { animation: none; } }
@media (max-width: 720px) {
  .hero-video { min-height: 0; }
  .hero-video .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero-video .hero-voile { background: rgb(8 14 26 / .74); }
  .defile { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 0 14px 16px; }
  .defile li { font-size: 19px; padding: 0 20px; }
}
/* menu sur une ligne entre 961 et 1 180 px (« Concepts clés » passait à la ligne) */
.top nav a { white-space: nowrap; }
@media (max-width: 1180px) { .top .wrap { gap: 14px; } .top nav { gap: 0; } .top nav a { padding: 8px 8px; font-size: 14.5px; } .top .actions { gap: 4px; } }

/* Accueil plus visuel (04/12/2026) : captures de l'application, bande photo des parcours, tuiles des catégories */
.etapes-img { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.etape-c { margin: 0; display: flex; flex-direction: column; }
.etape-c .ecran { flex: 1; display: flex; }
.etape-c .mini { flex: 1; }
.etape-c .ecran { border: 1px solid var(--rule); border-radius: var(--r-m); background: var(--mist); padding: 22px; box-shadow: 0 18px 40px -24px rgb(var(--ombre) / .35); }
.mini { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-s); padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 232px; font-size: 13px; }
.mini-t { font: 500 17px/1.2 var(--serif); margin-bottom: 2px; }
.mini-parc { display: grid; grid-template-columns: minmax(0, 1fr) 30% 16px; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--r-s); }
.mini-parc.on { border-color: var(--ink); background: var(--mist); }
.mp-nom { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-barre { height: 5px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.mp-barre i { display: block; height: 100%; background: var(--ink); }
.mp-ok { font-weight: 700; text-align: right; }
.mini-meta { font-size: 11.5px; color: var(--muted); }
.mini-q { font-weight: 500; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.mini-o { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: var(--r-s); color: var(--ink-2); }
.mini-o b { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border: 1px solid var(--rule-2); border-radius: 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
.mini-o.off { color: var(--faint); }
.mini-o.bon { border-color: var(--good); background: var(--good-tint); color: var(--good-ink); }
.mini-o.bon b { background: var(--good); border-color: var(--good); color: #fff; }
.mini-corr { border-left: 3px solid var(--good); background: var(--mist); padding: 8px 10px; font: 400 13px/1.45 var(--serif); color: var(--ink-2); }
.mini-sim { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.mini-chrono { font: 600 13px/1 ui-monospace, "SF Mono", Menlo, monospace; border: 1px solid var(--rule); border-radius: var(--r-s); padding: 6px 8px; }
.mini-pas { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 3px; margin: 2px 0 4px; }
.mini-pas i { height: 4px; border-radius: 2px; background: var(--rule); }
.mini-pas i.f { background: var(--ink); }
.mini-pas i.c { background: var(--ink-2); opacity: .55; }
.etape-c figcaption { padding: 18px 2px 0; }
.etape-c .no { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.etape-c h3 { font-size: 19px; margin: 6px 0 6px; }
.etape-c p { color: var(--ink-2); margin: 0; }
.bande-photo { color: #fff; padding: clamp(56px, 7vw, 96px) 0; background-color: #0B1220; background-position: center; background-size: cover; background-repeat: no-repeat; }
.bande-photo .sec-t h2 { color: #fff; }
.bande-photo .sec-t p { color: rgb(255 255 255 / .78); }
.parc-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.parc-c { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 20px 20px 46px; border: 1px solid rgb(255 255 255 / .22); border-radius: var(--r-m); background: rgb(255 255 255 / .06); backdrop-filter: blur(6px); color: #fff; transition: background-color .15s, border-color .15s; }
.parc-c b { font: 500 21px/1.15 var(--serif); }
.parc-c span { font-size: 14px; color: rgb(255 255 255 / .74); }
.parc-c i { position: absolute; left: 20px; bottom: 16px; font-style: normal; color: rgb(255 255 255 / .8); transition: transform .15s; }
.parc-c:hover { background: rgb(255 255 255 / .13); border-color: rgb(255 255 255 / .5); color: #fff; text-decoration: none; }
.parc-c:hover i { transform: translateX(4px); }
.cat-tuiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat-t { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--rule); border-radius: var(--r-m); background: var(--paper); color: var(--ink); transition: border-color .15s, transform .15s; }
.cat-t:hover { border-color: var(--ink); text-decoration: none; color: var(--ink); }
.cat-n { font: 500 34px/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cat-nom { font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
@media (max-width: 1100px) { .parc-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .etapes-img { grid-template-columns: 1fr; gap: 32px; } .cat-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-n { font-size: 28px; } }
@media (max-width: 480px) { .parc-cartes { grid-template-columns: 1fr; } .parc-c { min-height: 0; } }
