/* Ichor, la une refaite le 29/09/2026 (version 9, après quatre juges neufs). Styles écrits de zéro : une page produit (titres
   courts et massifs, un visuel par idée, des cartes), dans l'esprit d'Apple, sans rien lui emprunter. Aucune norme ni
   gabarit extérieur. Mouvement : transform et opacity seulement ; tout se fige en image finale si le lecteur a réduit le
   mouvement, et aucun délai d'entrée ne survit à l'entrée (classe `pose`). */

/* ---------- Jetons ---------- */
:root {
  color-scheme: light dark;
  --papier: #ffffff;
  --papier-2: #f5f5f7;
  --carte: #ffffff;
  --encre: #1d1d1f;
  --encre-2: #6e6e73;
  --trait: #d2d2d7;
  --trait-2: #e8e8ed;
  --voile: rgba(0, 0, 0, .04);
  --action: #0066cc;
  --hausse: #0f7b80;
  --hausse-mot: #0f7b80;
  --baisse: #d55e00;
  --baisse-mot: #b34700;
  --rien: #6e6e73;
  --zone: rgba(29, 29, 31, .10);
  --film: #000000;
  --film-carte: #1c1c1e;
  --film-carte-2: #2c2c2e;
  --hero: #000000;
  --film-encre: #f5f5f7;
  --film-encre-2: #a1a1a6;
  --film-trait: #424245;
  /* Les familles de futurs, v10 : deux familles à deux intensités, le bleu pour le calme (foncé, clair), le rose pour le
     danger (clair pour la secousse, soutenu pour le choc). validate_palette.js (skill dataviz), 29/09, fond #000000, toutes
     paires : séparation daltonienne ΔE 9,7 au pire (bleu foncé contre rose soutenu), vision normale ΔE 20,0 au pire,
     contraste 3:1 et plus. La bande de clarté et le plancher de chroma échouent exprès : ce sont deux rampes, pas huit
     teintes. L'orange est gardé pour la baisse seule (juge premium, tour 2 : baisse et secousse avaient la même teinte).
     Le gris de l'imprévu porte une trame en plus de sa couleur (seul, il se confond avec le rose chez un deutéranope). */
  --f-calme: #1c5cab;
  --f-calme2: #6da7ec;
  --f-secousse: #f7b8d3;
  --f-choc: #c93a74;
  --f-residuelle: #8e8e93;
  --rayon: 28px;
  --rayon-2: 18px;
  --rayon-3: 12px;
  --courbe: cubic-bezier(.25, .1, .25, 1);
  --ressort: cubic-bezier(.2, .8, .2, 1);
  --police: "Ichor", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --marge: max(22px, env(safe-area-inset-left));
  --largeur: 1080px;
  --barre: 52px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #000000;
    --papier-2: #101012;
    --carte: #1c1c1e;
    --encre: #f5f5f7;
    --encre-2: #a1a1a6;
    --trait: #424245;
    --trait-2: #2c2c2e;
    --voile: rgba(255, 255, 255, .06);
    --action: #2997ff;
    --hausse: #3fc7c0;
    --hausse-mot: #3fc7c0;
    --baisse: #ff7a45;
    --baisse-mot: #ff7a45;
    --rien: #a1a1a6;
    --zone: rgba(245, 245, 247, .14);
    /* en sombre, les chapitres alternent : le papier passe au gris très sombre et le film des futurs reste noir, où son bleu
       foncé garde 3,1:1 (sur #1d1d1f, il tombait à 2,5:1 : validate_palette.js, 29/09) */
    --film: #000000;
    --film-carte: #1c1c1e;
    --film-carte-2: #2c2c2e;
    --hero: #111113;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--barre) + 16px); }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font: 400 17px/1.47 var(--police); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "calt";
}
p, h1, h2, h3, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--action); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 8px; }
.evitement { position: absolute; left: -9999px; top: 0; }
.evitement:focus { left: 12px; top: 12px; z-index: 100; background: var(--papier); padding: 10px 14px; border-radius: 10px; }
.cadre { max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }

/* ---------- Barre ---------- */
.barre {
  position: sticky; top: 0; z-index: 50; min-height: var(--barre); container: barre / inline-size;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--marge);
  background: color-mix(in srgb, var(--papier) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--encre) 9%, transparent);
}
@media (prefers-reduced-transparency: reduce) { .barre { background: var(--papier); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nom-ichor { color: var(--encre); font-weight: 700; font-size: 20px; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 44px; }
.nom-ichor:hover { text-decoration: none; }
.nom-semaine { font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--encre-2); white-space: normal; display: inline-block; }
/* v20 D68 : à 320, la semaine et ses dates tiennent sur deux lignes courtes au lieu de disparaître. 30/09 (banc des écrans sur
   la fusion v20) : AVANT 12 px sous 360 px (sous le plancher de 13 px, 110 fautes : chaque page à 320 dans les deux thèmes) et
   aucun retour à la ligne permis (débordement horizontal de toutes les pages à 390 avec le texte à 200 %) ; APRÈS 13 px, et
   un retour permis ENTRE « semaine 40 » et les dates, jamais à l'intérieur de l'un ou de l'autre */
.nom-ichor { min-width: 0; }
/* v21 V05 : en boîte flexible, l’espace avant le point était avalée (« semaine 40· du ») et le texte lu se coupait en deux
   lignes ; en ligne, « semaine 40 · » reste d’un bloc (espace insécable avant le point) et les dates passent à la ligne
   d’un bloc après lui */
.nom-semaine { min-width: 0; }
.nom-semaine-num { white-space: nowrap; }
.nom-semaine-dates { white-space: normal; display: inline-block; }  /* à 200 %, les dates passent à la ligne entre elles ; chacune reste insécable */
@media (max-width: 359px) { .nom-semaine { line-height: 1.2; } .nom-semaine-dates { display: block; } .nom-semaine-sep { display: none; } }
.barre-liens { display: none; margin-left: auto; gap: 22px; }
/* inline-block, pas inline-flex : un lien flex avale l'espace entre ses morceaux (« Les29valeurs », capture du 29/09) */
.barre-liens a { color: var(--encre); font-size: 13px; opacity: .78; letter-spacing: 0; min-height: 44px; display: inline-block; padding: 1em 0; line-height: 1.4; white-space: nowrap; }
.barre-liens a:hover { opacity: 1; text-decoration: none; }
.barre-liens a[aria-current] { opacity: 1; font-weight: 600; }
.menu { margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: flex-end;
  font-size: 15px; font-weight: 600; color: var(--action);
}
.menu summary::-webkit-details-marker { display: none; }
.menu .menu-fermer, .menu[open] .menu-ouvrir { display: none; }
.menu[open] .menu-fermer { display: inline; }
.menu .feuille {
  position: fixed; left: 0; right: 0; top: var(--barre); max-height: calc(100dvh - var(--barre)); overflow: auto;
  background: var(--papier); padding: 8px var(--marge) 28px; box-shadow: 0 28px 48px rgba(0, 0, 0, .18);
  border-radius: 0 0 var(--rayon) var(--rayon);
}
.menu-liste a { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--trait-2); color: var(--encre); }
.menu-liste li:last-child a { border-bottom: 0; }
.menu-liste a:hover { text-decoration: none; }
.menu-liste a[aria-current] .menu-nom { color: var(--action); }
.menu-nom { font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.menu-dit { font-size: 14px; color: var(--encre-2); letter-spacing: 0; }
@container barre (min-width: 62em) { .barre-liens { display: flex; gap: 18px; } .menu { display: none; } }

/* ---------- Titres et textes ---------- */
/* Hiérarchie (juges perception et premium, 29/09) : le titre de la page reste au moins 1,2 fois plus grand que ceux des
   chapitres, à toutes les largeurs. */
.sourcil { font-size: 17px; font-weight: 600; letter-spacing: -.012em; color: var(--encre-2); margin-bottom: 10px; }
.titre-une {
  font-size: clamp(34px, 9.6vw, 80px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700;
  text-wrap: balance; max-width: 18ch;
}
.titre-une.longue { font-size: clamp(32px, 8.8vw, 68px); max-width: 22ch; }
.titre-une .t2, .titre-chapitre .t2 { color: var(--encre-2); display: block; margin-top: .16em; }
@media (max-width: 767px) {
  .titre-une { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.2; }
  .titre-une.longue { font-size: clamp(32px, 8.8vw, 40px); line-height: 1.2; max-width: none; }
  .titre-une.longue .t2 { display: inline; margin: 0; }
}
.titre-chapitre { font-size: clamp(28px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -.032em; font-weight: 700; text-wrap: balance; max-width: 22ch; }
.chapeau { margin-top: 18px; font-size: clamp(19px, 1.9vw, 21px); line-height: 1.42; letter-spacing: -.016em; color: var(--encre-2); max-width: 40ch; text-wrap: pretty; }
.chapitre-tete { margin-bottom: 24px; }
.lien-fleche { display: inline-block; padding: .6em 0; line-height: 1.4; min-height: 44px; font-size: 17px; font-weight: 500; color: var(--action); letter-spacing: -.01em; }
.premiere-visite { margin-top: 14px; }
.edition-passee { margin-bottom: 18px; padding: 12px 16px; border-radius: var(--rayon-3); background: var(--papier-2); font-size: 15px; color: var(--encre); }
.edition-passee .lien-fleche { font-size: 15px; padding: 0 0 0 6px; min-height: 0; }

/* ---------- Chapitres ---------- */
.chapitre { padding: 48px 0; }
@media (min-width: 1024px) { .chapitre { padding: 100px 0; } }
.papier { background: var(--papier); }
@media (prefers-color-scheme: dark) { .papier { background: var(--papier-2); } .papier .carte { background: var(--carte); } .papier .schema-lire { background: var(--carte); } }
.papier-2 { background: var(--papier-2); }
.film { background: var(--film); color: var(--film-encre); }
/* 29/09 (v19, C25) : le film et la carte du rendez-vous sont sombres dans les DEUX thèmes ; leurs marques de sens prennent les
   jetons du thème sombre. En clair, elles gardaient ceux du papier blanc : sur noir, #0f7b80 donnait 4,17:1, #b34700 3,82:1,
   #6e6e73 4,14:1, sous 4,5:1 pour un texte (calcul WCAG du 29/09) ; les valeurs sombres donnent 8,12 à 10,14:1 */
.film, .film-carte { --hausse: #3fc7c0; --hausse-mot: #3fc7c0; --baisse: #ff7a45; --baisse-mot: #ff7a45; --rien: #a1a1a6; }
.film .sourcil, .film .chapeau, .film .titre-chapitre .t2 { color: var(--film-encre-2); }
.carte { background: var(--papier-2); border-radius: var(--rayon); }
.papier-2 .carte { background: var(--carte); }

/* ---------- Le mot défini (lexique) ---------- */
.mot {
  background: none; border: 0; padding: 12px 4px; margin: -12px -4px; cursor: pointer; color: inherit; font: inherit;
  min-height: 44px; /* v22 CO12 : la cible de 44 px vient du rembourrage, plus d'une largeur minimale (deux blancs autour des mots courts) */
  text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
}
.mot:hover { text-decoration-color: currentColor; }

/* ---------- 1. Ouverture ---------- */
.ouverture { padding: 32px 0 40px; }
@media (min-width: 768px) { .ouverture { padding: 64px 0 56px; } }
@media (min-width: 1024px) { .ouverture { padding: 88px 0 44px; } }
.ouverture .sourcil { margin-bottom: 12px; }
.film-carte {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 30px;
  background: var(--hero); color: var(--film-encre); border-radius: var(--rayon);
  padding: 26px 20px 18px;
}
@media (prefers-color-scheme: dark) { .film-carte { box-shadow: inset 0 0 0 1px #2c2c2e; } }
@media (min-width: 768px) { .film-carte { margin-top: 44px; padding: 40px 44px 28px; } }
.film-haut { display: grid; gap: 28px; }
@media (min-width: 900px) { .film-haut { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: start; gap: 48px; } }
.film-sourcil { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--film-encre-2); }
.dans:empty { display: none; }
.dans { font-size: 13px; font-weight: 600; letter-spacing: 0; color: #fff; background: #3a3a3c; padding: 3px 10px; border-radius: 999px; }
.film-jour { margin-top: 10px; font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.02em; }
/* l'heure, pleine, sans dégradé de texte (juge vérité, 29/09). Elle peut passer à la ligne après « h », et seulement là
   (le balisage y place une coupure permise, les autres espaces sont insécables) : à 200 % de texte sur un téléphone, « 14 h 30 »
   sur une ligne mesurerait environ 354 px pour 306 px de place ; se replier plutôt que déborder (WCAG 1.4.4). */
.film-heure { font-size: clamp(48px, 13vw, 100px); line-height: 1; font-weight: 700; letter-spacing: -.05em; margin: .14em 0 .12em; color: #f5f5f7; }
.film-quoi { font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -.018em; color: var(--film-encre); }
.film-premier { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--film-encre-2); max-width: 46ch; }
.k-premier { flex: none; display: inline-block; width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; border: 2.5px solid #ffd60a; }
.k-decisif { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.k-maintenant { flex: none; display: inline-block; width: 3px; height: 12px; border-radius: 1px; background: #ff453a; }
/* ce qui peut se passer au rendez-vous */
.eventail { padding: 22px 20px 20px; border-radius: var(--rayon-2); background: #1c1c1e; container: eventail / inline-size; }
/* 13 em de contenu : 221 px à 100 % (le téléphone de 390 en a 266, il garde la disposition large), 442 px à 200 % */
@container eventail (max-width: 13em) {
  .ev-issue { grid-template-columns: 10px minmax(0, 1fr); }
  .ev-p { grid-column: 2; width: auto; }
  .ev-texte { grid-column: 1 / -1; }
}
@media (prefers-color-scheme: dark) { .eventail { background: #232325; } }
.ev-titre { font-size: 15px; font-weight: 600; color: var(--film-encre); letter-spacing: -.01em; margin-bottom: 12px; }
.ev-barre { display: flex; gap: 3px; height: 10px; margin-bottom: 16px; }
.ev-part { border-radius: 5px; }
.ev-0, .ev-cle.ev-0 { background: #f5f5f7; }
.ev-1, .ev-cle.ev-1 { background: rgba(245, 245, 247, .62); }
.ev-2, .ev-cle.ev-2 { background: rgba(245, 245, 247, .36); }
.ev-3 { background: rgba(245, 245, 247, .16); }
.ev-issues { display: grid; gap: 4px; }
.ev-issue { width: 100%; display: grid; grid-template-columns: 10px auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 6px 10px; margin: 0 -10px; border: 0; border-radius: 12px; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background-color .2s var(--courbe), opacity .2s var(--courbe); }
.ev-issue:hover { background: rgba(255, 255, 255, .06); }
.ev-issue[aria-pressed="true"] { background: rgba(255, 255, 255, .1); }
.eventail.choisi .ev-issue[aria-pressed="false"] { opacity: .45; }
.eventail.choisi .ev-part { opacity: .25; transition: opacity .2s var(--courbe); }
.eventail.choisi .ev-part.choisie { opacity: 1; }
.ev-cle { width: 10px; height: 10px; border-radius: 3px; margin-top: 7px; }
.ev-p { width: 1.25em; font-size: 21px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ev-texte { display: grid; gap: 2px; }
.ev-nom { font-size: 15px; line-height: 1.35; color: var(--film-encre); }
.ev-reac { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.eventail .sens-hausse { color: #3fc7c0; }
.eventail .sens-baisse { color: #ff7a45; }
.eventail .sens-rien { color: var(--film-encre-2); }
.ev-dit { margin-top: 14px; font-size: 13px; color: var(--film-encre-2); letter-spacing: 0; }
.film-bas { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; font-size: 13px; color: var(--film-encre-2); letter-spacing: 0; }
.ps-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.ps-legende li { display: inline-flex; align-items: center; gap: 7px; }
.ps-legende .ps-evt { position: static; transform: none; flex: none; }
.film-carte .lien-fleche { color: #2997ff; }

/* La semaine en cinq cases. Deux zones par case (juges premium et débutant, 29/09) : en haut les deux marques (premier test,
   test décisif), en bas les rendez-vous, empilés sur trois étages au plus ; une marque ne couvre jamais un point. */
.piste-semaine { margin-top: 20px; font-size: 13px; }
.piste-semaine:not(.ps-mini) { padding-top: 6.4em; padding-bottom: 4em; }
.ps-cadre { position: relative; }
.ps-jours { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 8px; }
.piste-semaine:not(.ps-mini) .ps-jours { position: absolute; left: 0; right: 0; top: -3.3em; margin: 0; }
.ps-jour { display: grid; line-height: 1.2; font-size: 13px; color: var(--film-encre-2); letter-spacing: 0; min-width: 0; }
.ps-jour-num { color: var(--film-encre); font-weight: 600; }
/* sous 480 px, l'initiale du jour, comme les calendriers en français (à 200 % de texte, « mar. » touchait « mer. ») */
.ps-jour-court { display: none; }
@media (max-width: 479px) { .ps-jour-long { display: none; } .ps-jour-court { display: inline; } }
.ps-rail {
  position: relative; height: 72px; border-radius: 14px;
  background:
    linear-gradient(90deg, transparent calc(20% - 2px), var(--hero) calc(20% - 2px), var(--hero) calc(20% + 2px), transparent calc(20% + 2px),
      transparent calc(40% - 2px), var(--hero) calc(40% - 2px), var(--hero) calc(40% + 2px), transparent calc(40% + 2px),
      transparent calc(60% - 2px), var(--hero) calc(60% - 2px), var(--hero) calc(60% + 2px), transparent calc(60% + 2px),
      transparent calc(80% - 2px), var(--hero) calc(80% - 2px), var(--hero) calc(80% + 2px), transparent calc(80% + 2px)),
    #1c1c1e;
}
@media (prefers-color-scheme: dark) { .ps-rail { background-color: #242426; } }
.ps-passe { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 14px 0 0 14px; background: rgba(0, 0, 0, .45); pointer-events: none; z-index: 0; }
.ps-evt {
  position: absolute; z-index: 2; left: var(--t); bottom: calc(9px + var(--v) * 11px); transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: rgba(245, 245, 247, .5);
}
.ps-fort { width: 9px; height: 9px; background: #f5f5f7; }
.ps-cle { position: absolute; z-index: 1; left: var(--t); top: 0; bottom: 0; width: 0; }
.ps-cle::before { content: ""; position: absolute; top: 20px; bottom: 6px; left: -.5px; width: 1px; opacity: .45; }
.ps-cle-point { position: absolute; z-index: 3; left: 0; top: 12px; transform: translate(-50%, -50%); border-radius: 50%; }
.ps-decisif::before { background: #fff; }
.ps-decisif .ps-cle-point { width: 16px; height: 16px; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
.ps-premier::before { background: #ffd60a; top: 40%; bottom: 6px; }
.ps-premier .ps-cle-point { top: auto; bottom: -12px; transform: translate(-50%, 0); width: 14px; height: 14px; background: var(--hero); border: 3px solid #ffd60a; }
.ps-etiq { position: absolute; display: grid; white-space: nowrap; font-size: 13px; line-height: 1.25; letter-spacing: 0; }
.ps-etiq-quand { font-weight: 650; color: var(--film-encre); }
.ps-etiq-role { color: var(--film-encre-2); }
/* les deux étiquettes vivent hors de la bande : le décisif au-dessus des jours, le premier test sous la bande */
.ps-decisif .ps-etiq { bottom: calc(100% + 3.7em); }
.ps-premier .ps-etiq { top: calc(100% + 18px); }
.ancre-droite .ps-etiq { right: -1px; text-align: right; }
.ancre-gauche .ps-etiq { left: -1px; }
.ancre-milieu .ps-etiq { left: 0; transform: translateX(-50%); text-align: center; }
.ps-maintenant { position: absolute; z-index: 1; top: -6px; height: 26px; left: var(--t); width: 2px; margin-left: -1px; background: #ff453a; border-radius: 1px; }
/* la version miniature (tuile « La semaine ») */
.ps-mini .ps-rail { height: 46px; background:
    linear-gradient(90deg, transparent calc(20% - 2px), var(--carte) calc(20% - 2px), var(--carte) calc(20% + 2px), transparent calc(20% + 2px),
      transparent calc(40% - 2px), var(--carte) calc(40% - 2px), var(--carte) calc(40% + 2px), transparent calc(40% + 2px),
      transparent calc(60% - 2px), var(--carte) calc(60% - 2px), var(--carte) calc(60% + 2px), transparent calc(60% + 2px),
      transparent calc(80% - 2px), var(--carte) calc(80% - 2px), var(--carte) calc(80% + 2px), transparent calc(80% + 2px)),
    var(--papier-2); }
.ps-mini .ps-evt { background: color-mix(in srgb, var(--encre) 45%, transparent); bottom: calc(8px + var(--v) * 9px); width: 6px; height: 6px; }
.ps-mini .ps-fort { background: var(--encre); width: 8px; height: 8px; }
.ps-mini .ps-jour { color: var(--encre-2); }
.ps-mini .ps-jour-num { color: var(--encre); }
.ps-mini .ps-passe { background: color-mix(in srgb, var(--papier) 50%, transparent); }

/* ---------- 2. Les huit monnaies ---------- */
.balance-grille { display: grid; gap: 24px; align-items: start; }
.balance-carte { max-width: 760px; }
@media (min-width: 1200px) { .balance-grille { grid-template-columns: minmax(0, 700px) minmax(0, 1fr); gap: 32px; } }
.balance-carte { padding: 16px 8px 16px; container: balance / inline-size; }
@media (min-width: 768px) { .balance-carte { padding: 30px 20px 26px; } }
.carte-dit { font-size: 15px; color: var(--encre-2); padding: 0 10px 10px; letter-spacing: -.005em; max-width: 60ch; }
.rangees { display: grid; gap: 2px; }
/* une rangée : sur deux lignes sous 480 px (le nom et le nombre, puis la piste en pleine largeur ; juge premium, 29/09 :
   à 320 px, les noms étaient coupés par la piste), sur une ligne au-delà ; l'échelle suit chaque disposition */
.rangee {
  width: 100%; display: grid; align-items: center; column-gap: 10px; row-gap: 6px;
  grid-template-columns: 1.9em minmax(0, 1fr) 5.2em .8em; grid-template-areas: "plaque nom nom chevron" ". piste lecture .";
  min-height: 58px; padding: 7px .47em; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer;
  transition: background-color .2s var(--courbe);
}
.rangee .plaque { min-width: 1.9em; min-height: 1.9em; border-radius: 9px; font-size: 13px; }
/* trois étages quand la carte fait moins de 17 em de contenu : à 200 % de texte sur un téléphone (660 px de seuil pour
   330 px de carte), jamais à 100 % (289 px de seuil) ; mesuré le 29/09 : à 20 em, le seuil (340 px) prenait déjà la carte
   de 330 px à 100 %, et la page s'allongeait de 150 px */
@container balance (max-width: 17em) {
  .rangee { grid-template-areas: "plaque nom nom chevron" ". lecture lecture ." ". piste piste piste"; }
  .rangee .lecture { justify-items: start; }
  .echelle .echelle-piste { grid-column: 2 / 5; }
}
/* v21 V04 : « plutôt derrière » (au lieu de « en baisse ») est plus long que la colonne du nombre ; la colonne interne ne
   déborde plus sur le chevron (banc des écrans : « 45 » et « › » à 1440) et le mot passe à la ligne sous le nombre */
@container balance (min-width: 30em) {
  .rangee .lecture { grid-template-columns: minmax(0, 1fr); }
  .rangee .sens { white-space: nowrap; text-align: end; }
  .rangee { grid-template-columns: 2.25em minmax(0, 1fr) minmax(6.6em, 1.3fr) 5em .8em; grid-template-areas: "plaque nom piste lecture chevron"; row-gap: 0; }
  .rangee .plaque { min-width: 2.25em; min-height: 2.25em; border-radius: 11px; font-size: 15px; }
}
@container balance (min-width: 40em) {
  .rangee { column-gap: .82em; padding: 12px .7em; grid-template-columns: 2.25em minmax(0, 1.5fr) minmax(6em, 2fr) 5.6em .8em; min-height: 64px; }
}
.rangee:hover { background: var(--voile); }
.rangee:active { transform: scale(.995); }
.plaque {
  grid-area: plaque; min-width: 38px; min-height: 38px; padding: 0 .25em; border-radius: 11px; display: grid; place-items: center;
  background: var(--papier); color: var(--encre); font-size: 15px; font-weight: 650; letter-spacing: -.02em;
  box-shadow: 0 0 0 1px var(--trait-2) inset; white-space: nowrap;
}
.papier-2 .plaque, .feuille .plaque { background: var(--papier-2); }
.identite { grid-area: nom; display: grid; line-height: 1.2; min-width: 0; }
.nom-devise { font-size: 17px; font-weight: 600; letter-spacing: -.018em; overflow-wrap: break-word; hyphens: manual; }
.code { font-size: 13px; color: var(--encre-2); letter-spacing: .01em; font-weight: 500; }
.lecture { grid-area: lecture; display: grid; justify-items: end; align-content: center; line-height: 1.25; min-width: 0; }
.proba { font-size: 22px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 720px) { .proba { font-size: 24px; } }
.sens { font-size: 13px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.sens-baisse { color: var(--baisse-mot); }
.sens-hausse { color: var(--hausse-mot); }
.sens-rien { color: var(--encre-2); font-weight: 500; }
.chevron { grid-area: chevron; color: var(--encre-2); font-size: 22px; line-height: 1; justify-self: end; }
.piste { grid-area: piste; position: relative; height: 26px; }
.piste::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--trait-2); }
.zone { position: absolute; left: var(--g); width: var(--l); top: 50%; height: 16px; margin-top: -8px; border-radius: 8px; background: var(--zone); }
.trait { position: absolute; left: var(--x); top: 1px; bottom: 1px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--encre-2); }
.segment { position: absolute; left: var(--g); width: var(--l); top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; }
.segment-baisse { background: var(--baisse); }
.segment-hausse { background: var(--hausse); }
.segment-rien { background: var(--rien); opacity: .55; }
.point { position: absolute; left: var(--x); top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; box-shadow: 0 0 0 3px var(--papier-2); }
.rangee .point { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.papier-2 .point { box-shadow: 0 0 0 3px var(--carte); }
.point-rien { background: var(--rien); }
.point-baisse { background: var(--baisse); }
.point-hausse { background: var(--hausse); }
.point-conteste { background: var(--papier-2); border: 3px solid var(--rien); }
.point-conteste.point-baisse { border-color: var(--baisse); }
.point-conteste.point-hausse { border-color: var(--hausse); }
/* l'échelle : sous les rangées, alignée sur leurs pistes, à toutes les largeurs (juge débutant, 29/09 : absente à 390) */
.echelle { display: grid; grid-template-columns: 1.9em minmax(0, 1fr) 5.2em .8em; column-gap: 10px; padding: 2px .47em 0; }
.echelle-piste { grid-column: 2; position: relative; height: 18px; font-size: 13px; color: var(--encre-2); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.echelle-piste > span { position: absolute; left: var(--x); transform: translateX(-50%); }
.echelle-piste > span:first-child { transform: none; }
.echelle-piste > span:last-child { transform: translateX(-100%); }
@container balance (min-width: 30em) { .echelle { grid-template-columns: 2.25em minmax(0, 1fr) minmax(6.6em, 1.3fr) 5em .8em; } .echelle-piste { grid-column: 3; } }
@container balance (min-width: 40em) { .echelle { grid-template-columns: 2.25em minmax(0, 1.5fr) minmax(6em, 2fr) 5.6em .8em; column-gap: .82em; padding: 2px .7em 0; } }
.lire { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px 10px 0; margin-top: 12px; border-top: 1px solid var(--trait-2); font-size: 14px; color: var(--encre-2); letter-spacing: -.005em; }
.lire-plus { margin: 4px 10px 0; font-size: 14px; color: var(--encre-2); }
.lire-plus summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--action); }
.lire-plus summary::-webkit-details-marker { display: none; }
.lire-plus summary::after { content: " ›"; white-space: pre; }
.lire-plus[open] summary::after { content: " ⌄"; }
.lire-plus .lire { border-top: 0; padding: 4px 0 0; margin: 0; }
.lire-plus .classement-officiel { margin: 14px 0 0; }
.lire li { display: block; min-width: 0; }
.lire li > span[aria-hidden] { display: inline-block; vertical-align: -2px; margin-right: 8px; }
.lire-trait { width: 2px; height: 16px; border-radius: 1px; background: var(--encre-2); }
.lire-zone { width: 28px; height: 14px; border-radius: 7px; background: var(--zone); }
.lire-point { width: 14px; height: 14px; border-radius: 50%; }
.lire-baisse { background: var(--baisse); }
.lire-hausse { background: var(--hausse); }
.lire-conteste { border: 3px solid var(--rien); }
.classement-officiel { margin: 14px 10px 0; font-size: 14px; line-height: 1.5; color: var(--encre-2); max-width: 70ch; }
.co-titre { display: block; font-weight: 600; color: var(--encre); margin-bottom: 2px; }
/* le schéma « comment lire une rangée », à côté des rangées dès 1024 px */
.schema-lire { display: none; }
@media (min-width: 1200px) {
  .schema-lire { display: grid; gap: 18px; position: sticky; top: calc(var(--barre) + 28px); padding: 30px 28px 28px; border-radius: var(--rayon); background: var(--papier-2); }
}
.schema-titre { font-size: 15px; font-weight: 600; color: var(--encre-2); letter-spacing: -.01em; }
.schema-piste { display: grid; gap: 12px; }
/* hors d'une rangée, la piste n'a pas de zone de grille nommée « piste » : sans ce retour à `auto`, le navigateur créait une
   colonne implicite et le schéma débordait (banc des écrans, 29/09 : 1 108 px pour 1 024) */
.schema-piste .piste { grid-area: auto; }
.schema-lire { min-width: 0; }
.piste-grande { height: 44px; margin-bottom: 6px; }
.piste-grande::before { height: 6px; margin-top: -3px; border-radius: 3px; }
.piste-grande .zone { height: 26px; margin-top: -13px; border-radius: 13px; }
.piste-grande .segment { height: 6px; margin-top: -3px; border-radius: 3px; }
.piste-grande .point { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.renvoi { display: block; font-size: 15px; line-height: 1.35; color: var(--encre); }
.renvoi i { display: inline-block; vertical-align: middle; margin-right: 10px; }
.renvoi-base i { width: 2px; height: 18px; border-radius: 1px; background: var(--encre-2); margin: 0 22px 0 12px; }
.renvoi-zone i { width: 26px; height: 14px; border-radius: 7px; background: var(--zone); }
.renvoi-point i { width: 16px; height: 16px; border-radius: 50%; background: var(--rien); margin: 0 15px 0 5px; }
.renvoi-conteste i { background: transparent; box-shadow: inset 0 0 0 3px var(--rien); }
.schema-dit { font-size: 15px; line-height: 1.5; color: var(--encre-2); }

/* ---------- Feuilles (fiches, mots) ---------- */
.feuille, .feuille-mot {
  position: fixed; margin: auto; inset: 0; width: min(560px, calc(100vw - 24px)); max-height: min(84dvh, 760px);
  padding: 0; border: 0; border-radius: var(--rayon); background: var(--carte); color: var(--encre);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .28), 0 0 0 1px color-mix(in srgb, var(--encre) 8%, transparent);
  overflow: auto; overscroll-behavior: contain;
}
/* v19 C98 : une feuille ouverte en popover n'est pas modale (le focus et le toucher atteignent la page) : elle ne se peint
   pas modale, aucun voile ni flou derrière elle. */
.feuille::backdrop, .feuille-mot::backdrop { background: transparent; }
@supports not selector(:popover-open) {
  [popover].feuille, [popover].feuille-mot { position: static; inset: auto; width: auto; max-height: none; margin: 16px; box-shadow: none; }
  [popover] .feuille-fermer { display: none; }
}
@media (max-width: 599px) {
  .feuille, .feuille-mot { inset: auto 0 0 0; width: 100%; max-height: 88dvh; border-radius: var(--rayon) var(--rayon) 0 0; }
}
.feuille-tete {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px;
  background: var(--carte);
  border-bottom: 1px solid var(--trait-2);
}
.feuille-titre { font-size: 21px; font-weight: 650; letter-spacing: -.02em; flex: 1; min-width: 0; }
.feuille-fermer {
  flex: none; min-height: 48px; min-width: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--papier-2); color: var(--action);
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.feuille-fermer:hover { background: var(--trait-2); }
.feuille-corps { padding: 22px 20px 28px; display: grid; gap: 26px; }
.fd-grand { display: flex; align-items: baseline; gap: 6px; }
.fd-nombre { font-size: 64px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.fd-sur { font-size: 21px; font-weight: 500; color: var(--encre-2); }
.fd-dit { margin-top: 8px; font-size: 17px; color: var(--encre-2); }
.fd-dit .sens { margin-left: 4px; font-size: 15px; }
.fd-grille-titre { font-size: 15px; font-weight: 600; color: var(--encre-2); margin-bottom: 12px; }
.fd-titre { font-size: 19px; font-weight: 650; letter-spacing: -.02em; margin-bottom: 8px; }
.fd-p { font-size: 17px; line-height: 1.5; color: var(--encre); }
.fd-note { color: var(--encre-2); font-size: 15px; margin-top: 8px; }
.fd-banque { margin-bottom: 8px; }
.fd-banque .logo { height: 34px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; box-shadow: 0 0 0 1px var(--trait-2); }
.fd-banque-nom { font-size: 17px; font-weight: 600; }
/* la feuille d'un mot du lexique */
.feuille-mot { padding: 24px 22px 22px; width: min(440px, calc(100vw - 24px)); }
.feuille-mot-titre { font-size: 21px; font-weight: 650; letter-spacing: -.02em; margin-bottom: 10px; padding-right: 96px; }
.feuille-mot-def { font-size: 17px; line-height: 1.5; }
.feuille-mot-exemple { margin-top: 12px; font-size: 15px; color: var(--encre-2); }
.feuille-mot-source { margin-top: 12px; font-size: 13px; color: var(--encre-2); letter-spacing: 0; }
.feuille-mot .feuille-fermer { position: absolute; top: 14px; right: 14px; }

/* La grille de cent (fiche d'une monnaie) */
.grille-cent { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 300px; }
.case { aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, var(--encre) 7%, transparent); display: block; }
.grille-cent, .grille-legende { --plein: color-mix(in srgb, var(--encre) 70%, transparent); }
.ordinal { font-size: .75em; vertical-align: .38em; line-height: 0; }
.case-pleine { background: var(--plein); }
.case-part { background: linear-gradient(90deg, var(--plein) var(--f), color-mix(in srgb, var(--encre) 7%, transparent) var(--f)); }
.case-repere { box-shadow: 0 0 0 2px var(--carte), 0 0 0 4px var(--encre); }
.grille-legende { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--encre-2); }
.grille-legende > span { display: inline-flex; align-items: center; gap: 8px; }
.grille-legende .case { width: 14px; flex: none; }
.grille-legende .case-repere { box-shadow: 0 0 0 2px var(--carte), 0 0 0 3.5px var(--encre); margin: 0 2px; }

/* ---------- 3. Les futurs : une scène ---------- */
/* La grille reste à l'écran pendant qu'on lit les futurs (dès 1024 px) ; chaque futur allume ses cases quand il passe au
   centre (script) ou quand on le touche. Sans script, sans mouvement ou sous 1024 px : la grille puis la liste. */
.scene-futurs { display: grid; gap: 32px; align-items: start; }
.scene-fixe { display: grid; place-items: start; }
@media (min-width: 1024px) {
  .scene-futurs { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; }
  .scene-fixe { position: sticky; top: calc(var(--barre) + 8vh); }
  .scene-active .etape { min-height: 36vh; display: flex; align-items: center; }
  .scene-active .etape:first-child { min-height: 30vh; align-items: flex-start; }
}
.gaufre { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; width: min(100%, 440px); }
.gc { display: block; aspect-ratio: 1; border-radius: 22%; background: var(--f); transition: opacity .3s var(--courbe), transform .3s var(--courbe); }
.f-calme { --f: var(--f-calme); }
.f-calme2 { --f: var(--f-calme2); }
.f-secousse, .f-secousse2 { --f: var(--f-secousse); }
.f-choc, .f-choc2 { --f: var(--f-choc); }
.f-residuelle, .f-residuelle2 { --f: var(--f-residuelle); }
/* le reste porte une trame en plus de sa couleur (secondaire, pour les lecteurs daltoniens) */
.gc.f-residuelle, .gc.f-residuelle2, .fut-cle.f-residuelle, .f-residuelle .fut-cle, .f-residuelle2 .fut-cle, .gc-mini.f-residuelle, .gc-mini.f-residuelle2 {
  background: repeating-linear-gradient(135deg, var(--f-residuelle) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1.5px var(--f-residuelle);
}
.gc.f-choc, .gc.f-choc2, .gc-mini.f-choc, .f-choc .fut-cle {
  background: radial-gradient(circle, rgba(255, 255, 255, .8) 0 18%, transparent 20%), var(--f-choc);
}
.gaufre.focalise .gc { opacity: .16; }
.gaufre.focalise .gc.actif { opacity: 1; }
.gaufre.montre-calme .gc.casse { opacity: .16; transform: scale(.82); }
.futurs-liste { display: grid; gap: 6px; }
.futur {
  width: 100%; display: grid; grid-template-columns: 14px auto minmax(0, 1fr); align-items: start; gap: 4px 12px;
  padding: 14px 16px; border: 0; border-radius: var(--rayon-2); background: var(--film-carte); color: var(--film-encre); text-align: left; cursor: pointer;
  transition: background-color .2s var(--courbe), opacity .2s var(--courbe);
}
.futur:hover { background: var(--film-carte-2); }
.futur[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--f); }
.futurs-liste.focalise .futur[aria-pressed="false"] { opacity: .55; }
.fut-cle { width: 14px; height: 14px; border-radius: 4px; background: var(--f); margin-top: 9px; }
.fut-p { width: 1.25em; font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.fut-corps { display: grid; gap: 4px; padding-top: 3px; }
.fut-nom { font-size: 17px; font-weight: 600; letter-spacing: -.016em; line-height: 1.3; }
.fut-mouv { font-size: 14px; line-height: 1.4; color: var(--film-encre-2); letter-spacing: -.004em; }
@media (max-width: 599px) {
  .futur { padding: 10px 12px; grid-template-columns: 12px auto minmax(0, 1fr); }
  .fut-p { font-size: 26px; }
  .fut-nom { font-size: 16px; }
}
.fut-hausse span { color: #3fc7c0; }
.fut-baisse span { color: #ff7a45; }
.fut-divergence { margin-top: 18px; max-width: 44ch; }
.fut-divergence > p { font-size: clamp(19px, 1.9vw, 21px); line-height: 1.42; letter-spacing: -.016em; color: var(--film-encre-2); text-wrap: pretty; }
.fut-raison { margin-top: 8px; }
.fut-raison > summary { display: flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; color: inherit; cursor: pointer; }
.fut-raison-texte { font-size: 17px; line-height: 1.5; color: var(--film-encre-2); }
.calme-conviction { margin-top: 10px; font-size: clamp(19px, 1.9vw, 21px); line-height: 1.42; font-weight: 600; letter-spacing: -.016em; }
.ecrite { margin-top: 12px; font-size: 15px; color: var(--encre-2); }
.ps-legende-dit { flex-basis: 100%; }
.gaufre { scroll-margin-top: calc(var(--barre) + 12px); }
h1, h2, .titre-une, .titre-chapitre, .calme-titre, .tuile-titre { hyphens: auto; -webkit-hyphens: auto; }
.etape-calme { margin-top: 24px; }
.calme { width: 100%; padding: 22px 20px; border-radius: var(--rayon); background: var(--film-carte); display: grid; gap: 14px; }
@media (min-width: 768px) { .calme { padding: 36px 40px; } }
.calme-titre { font-size: clamp(20px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.calme-nombre { font-size: 1.3em; letter-spacing: -.04em; }
.calme-dit { font-size: 17px; color: var(--film-encre-2); max-width: 56ch; }
.calme-lignes { display: grid; gap: 8px; font-size: 16px; line-height: 1.4; color: var(--film-encre); }
.calme-famille { font-weight: 600; }
.calme-lignes li { display: flex; gap: 10px; align-items: flex-start; }
.calme-lignes strong { font-weight: 700; }
.gc-mini { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--f); margin-top: 5px; }
.bouton {
  justify-self: start; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: #f5f5f7; color: #1d1d1f; font-size: 17px; font-weight: 600; letter-spacing: -.015em;
  transition: transform .15s var(--courbe), background-color .2s var(--courbe);
}
.bouton:hover { background: #ffffff; }
.bouton:active { transform: scale(.97); }
.bouton .b-cacher, .bouton[aria-pressed="true"] .b-montrer { display: none; }
.bouton[aria-pressed="true"] .b-cacher { display: inline; }

/* ---------- 4. La suite : tuiles (bento dès 1024 px, galerie au téléphone) ---------- */
.tuiles { display: grid; gap: 16px; }
@media (max-width: 767px) {
  .tuiles { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--marge);
    margin: 0 calc(-1 * var(--marge)); padding: 4px var(--marge) 14px; scrollbar-width: none; }
  .tuiles::-webkit-scrollbar { display: none; }
  .tuile { scroll-snap-align: start; min-height: 250px; }
}
@media (min-width: 768px) { .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .suite .pagination { display: none; } }
@media (min-width: 1024px) {
  .tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tuile-comprendre { grid-row: span 2; }
  .tuile-climat { grid-column: span 2; }
}
.tuile {
  position: relative; display: grid; grid-template-rows: auto auto auto 1fr; gap: 6px; min-height: 300px;
  padding: 30px 28px 26px; border-radius: var(--rayon); background: var(--carte); color: var(--encre); overflow: hidden;
  transition: transform .35s var(--ressort), box-shadow .35s var(--ressort);
}
.tuile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
.tuile-sourcil { font-size: 15px; font-weight: 600; color: var(--encre-2); letter-spacing: -.01em; padding-right: 44px; }
.tuile-titre { font-size: clamp(26px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.tuile-dit { font-size: 15px; line-height: 1.45; color: var(--encre-2); max-width: 40ch; }
.tuile-instrument { align-self: end; margin-top: 18px; display: grid; gap: 10px; }
.tuile-comprendre .tuile-instrument { align-self: start; margin-top: 28px; }
.tuile-comprendre .mini-cent { max-width: 100%; }
.tuile-fleche { position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--papier-2); color: var(--encre-2); font-size: 20px; }
.tuile:hover .tuile-fleche { color: var(--action); }
.tuile-legende { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--encre-2); letter-spacing: 0; }
.tuile-mini { display: inline-flex; align-items: center; gap: 6px; }
.cle-seuil { width: 18px; height: 0; border-top: 2px dashed currentColor; opacity: .8; }
.vix-courbe { width: 100%; height: 110px; color: var(--encre); overflow: visible; }
.tuile-climat .vix-courbe { height: 150px; }
.vix-ligne { fill: none; stroke: var(--encre); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.vix-seuil { stroke: var(--encre-2); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.vix-dernier { fill: var(--encre); stroke: var(--carte); stroke-width: 3; vector-effect: non-scaling-stroke; }
/* les trois parts des valeurs : trois intensités d'encre, du plus engagé au moins engagé (v10 : le bleu est le calme des
   futurs, une couleur ne dit qu'une idée) */
.partition { display: flex; gap: 3px; height: 28px; }
.part { border-radius: 6px; }
.part-0 { background: var(--encre); }
.part-1 { background: color-mix(in srgb, var(--encre) 45%, transparent); }
.part-2 { background: color-mix(in srgb, var(--encre) 14%, transparent); }
.partition-mots { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--encre-2); }
.part-mot { display: inline-flex; align-items: center; gap: 6px; }
.part-cle { width: 12px; height: 12px; border-radius: 3px; }
.mini-cent { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 240px; }
.mini-cent i { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--encre) 10%, transparent); }
.mini-cent i.plein { background: var(--rien); }
.pagination { display: flex; justify-content: center; gap: 0; margin-top: 2px; white-space: nowrap; }
.point-page { width: 44px; min-width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.point-page::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--encre) 22%, transparent); transition: background-color .2s var(--courbe), transform .2s var(--courbe); }
.point-page.actif::before { background: var(--encre); transform: scale(1.15); }

/* ---------- 5. À retenir ---------- */
.retenir { padding: 32px 0 40px; background: var(--papier); }
@media (min-width: 1024px) { .retenir { padding: 88px 0 100px; } }
.retenir-titre { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.retenir-lignes { display: grid; border-top: 1px solid var(--trait-2); }
.retenir-lignes li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--trait-2); font-size: 18px; line-height: 1.4; letter-spacing: -.016em; }
@media (min-width: 600px) { .retenir-lignes li { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: baseline; } }
.ret-quoi { font-size: 15px; font-weight: 600; color: var(--encre-2); letter-spacing: -.005em; }
.retenir-dit { margin-top: 22px; font-size: 15px; color: var(--encre-2); max-width: 60ch; }

/* ---------- Pied ---------- */
.pied { background: var(--papier-2); color: var(--encre-2); font-size: 13px; letter-spacing: 0; line-height: 1.5; padding: 28px var(--marge) 44px; border-top: 1px solid var(--trait-2); }
.pied p { max-width: calc(var(--largeur)); margin: 0 auto; }

/* ---------- Mouvement (seulement si le lecteur ne l'a pas réduit) ---------- */
/* Les délais d'entrée ne valent que pour l'entrée : dès que le chapitre est posé (classe `pose`, script), un toucher
   répond tout de suite (juge premium, 29/09 : la grille répondait au toucher avec jusqu'à 0,9 s de retard). */
@media (prefers-reduced-motion: no-preference) {
  .anime .apparait { opacity: 0; transform: translateY(14px); transition: opacity .3s var(--courbe), transform .3s var(--ressort); }
  .anime .vu .apparait, .anime .ouverture .apparait.vu { opacity: 1; transform: none; }
  .anime [data-anime]:not(.pose) .apparait:nth-child(2) { transition-delay: .08s; }
  /* les points des monnaies partent de la base et vont à leur place ; les nombres sont là dès le départ */
  .anime .balance:not(.vu) .point { left: var(--b); background-color: var(--rien); border-color: var(--rien); }
  .anime .balance .point { transition: left .9s var(--ressort) calc(.2s + var(--r) * .05s), background-color .2s var(--courbe) calc(1.1s + var(--r) * .05s), border-color .2s var(--courbe) calc(1.1s + var(--r) * .05s); }
  .anime .balance:not(.vu) .segment { transform: scaleX(0); }
  .anime .balance:not(.vu) .point-conteste { background-color: var(--papier-2); }
  .anime .balance:not(.vu) .sens { opacity: 0; }
  .anime .balance .sens { transition: opacity .2s var(--courbe) calc(1.1s + var(--r) * .05s); }
  .anime .balance.pose .sens { transition-delay: 0s; }
  .anime .balance .segment { transform-origin: var(--b) 50%; transition: transform .9s var(--ressort) calc(.2s + var(--r) * .05s); }
  .anime .balance.pose .point, .anime .balance.pose .segment { transition-delay: 0s; }
  /* la grille des futurs se remplit dans l'ordre de lecture */
  .anime .futurs:not(.vu) .gc { opacity: 0; transform: scale(.4); }
  .anime .futurs:not(.pose) .gc { transition: opacity .45s var(--courbe) calc(var(--i) * 8ms), transform .5s var(--ressort) calc(var(--i) * 8ms); }
  /* la semaine : les rendez-vous dans l'ordre du temps, puis les deux marques */
  .anime .piste-semaine:not(.vu) .ps-evt { opacity: 0; transform: translateX(-50%) scale(0); }
  .anime .piste-semaine .ps-evt { transition: opacity .3s var(--courbe) calc(.2s + var(--t) * .012s), transform .45s var(--ressort) calc(.2s + var(--t) * .012s); }
  .anime .piste-semaine:not(.vu) .ps-cle { opacity: 0; }
  .anime .piste-semaine .ps-cle { transition: opacity .5s var(--courbe) 1.3s; }
  .anime .piste-semaine:not(.vu) .ps-passe { transform: scaleX(0); }
  .anime .piste-semaine .ps-passe { transform-origin: 0 50%; transition: transform 1.2s var(--ressort) .3s; }
  .anime .piste-semaine.vu .ps-maintenant { animation: glisse 1.2s var(--ressort) .3s both; }
}
@keyframes glisse { from { left: 0; } to { left: var(--t); } }
@media (prefers-reduced-motion: reduce) { .gc, .futur, .tuile, .bouton, .rangee, .point-page { transition: none; } }

/* ---------- Impression et contraste forcé ---------- */
@media (forced-colors: active) {
  .point, .gc, .fut-cle, .gc-mini, .lire-point, .case-base, .zone, .k-decisif, .k-premier { forced-color-adjust: none; }
}
@media print { .barre, .menu, .bouton, .tuile-fleche, .pagination { display: none; } .film, .film-carte { background: #fff; color: #000; } }

/* 29/09 (famille devises) : un nombre posé au bord d'une échelle ne se casse jamais (« 75 » coupé en « 7 » / « 5 » à 390) */
.echelle-piste > span { white-space: nowrap; }

/* 29/09 : un mot défini et la ponctuation qui le suit ne se séparent jamais d'une ligne à l'autre */
.lie { white-space: nowrap; }
