@charset "utf-8";
/* REGLE DE CACHE : toute modification de ce fichier impose de bumper le
   ?v=N de TOUTES les pages. Le Cache-Control est a 24 h : sans bump, le
   correctif est deploye mais personne ne le voit. Version courante : 7. */
/* ═══════════════════════════════════════════════════════════════════════════
   PASSEPORT MACHINE — planche de dessin technique.

   La direction artistique du groupe (ivoire, encre, feuille d'or, Fraunces +
   Geist) sert de socle. Ce qui s'y ajoute vient du sujet lui-même et de nulle
   part ailleurs : la langue du plan coté et de la plaque signalétique gravée.
   Traits de cote, bulles de repère, cartouche, hachures, marques de repérage.
   La couche technique est tirée au CYANOTYPE (#1B4A6B) — le bleu du plan.

   Trois voix typographiques, trois métiers :
     · Fraunces  — le titre. Axes SOFT et WONK poussés : la courbe légèrement
                   « de travers » d'un caractère taillé, jamais celle d'un
                   gabarit.
     · Geist     — la lecture.
     · Geist Mono— l'annotation PORTEUSE : articles, cotes, états, cartouche.
                   Elle n'orne pas, elle nomme.
   ══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..900,0..100,0..1;1,9..144,300..900,0..100,0..1&family=Geist:wght@300..700&family=Geist+Mono:wght@400;500;600&display=swap');

/* ── jetons ───────────────────────────────────────────────────────────────
   Le thème clair est défini ici, en entier. Le sombre ne redéfinit que les
   jetons — aucune couleur ne naît à l'intérieur d'une media-query. */
:root {
  color-scheme: light dark;

  --papier:      #F2EFE6;
  --papier-haut: #FBF9F3;
  --encre:       #10100F;
  --graphite:    #4A4842;   /* 7,95:1 sur papier */
  --estompe:     #63605A;   /* assombri : #7A776E ne tenait que 3,89:1 */
  --trait:       #D9D3C4;
  /* Deux ors, deux métiers. Celui du TEXTE est la teinte profonde du dégradé
     maison (5,3:1 sur papier) ; le vif ne sert qu'au trait et à l'aplat. */
  --or:          #7A5E1A;
  --or-vif:      #B08A2E;
  --or-clair:    #E9D8A6;
  --cyan:        #1B4A6B;
  --cyan-pale:   #8FB0C6;
  --vermillon:   #A83A22;

  --feuille: linear-gradient(174deg, #E9D8A6 0%, #C9A24B 34%, #B08A2E 62%, #7A5E1A 100%);

  /* grain de papier : bruit fractal, posé en multiply */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  --serif: Fraunces, 'Iowan Old Style', Georgia, serif;
  --sans:  Geist, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:  'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --lisse: cubic-bezier(.16, 1, .3, 1);
  --marge-planche: clamp(14px, 3.2vw, 40px);
  --colonne: min(68ch, 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier:      #0E0E0D;
    --papier-haut: #171715;
    --encre:       #F2EFE6;
    --graphite:    #C3BFB4;
    --estompe:     #8B877C;
    --trait:       #2E2D29;
    --or:          #D6AE55;   /* 9,24:1 sur l'encre */
    --or-vif:      #D6AE55;
    --or-clair:    #F0DDA8;
    --cyan:        #86B4D2;
    --cyan-pale:   #3D5C72;
    --vermillon:   #D9704F;
    --feuille: linear-gradient(174deg, #F0DDA8 0%, #D6AE55 40%, #B08A2E 100%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

/* `hidden` doit gagner. Une classe qui pose `display` (comme .cta en
   inline-flex) bat l'attribut, et l'élément reste visible alors que le
   script le croit caché — bug silencieux, visible seulement à l'œil. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 6rem;
  hanging-punctuation: first last;
}

body {
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
  font-optical-sizing: auto;
}

/* le grain : une seule couche, fixe, en multiply — l'encre sur le papier */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .045;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 90;
}
@media (prefers-color-scheme: dark) {
  body::after { mix-blend-mode: screen; opacity: .05; }
}

::selection { background: var(--or-clair); color: #10100F; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }

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

.saut-lecture {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--encre); color: var(--papier);
  padding: 12px 18px; font: 500 13px/1 var(--sans);
}
.saut-lecture:focus { left: 12px; top: 12px; }

/* ── la planche : cadre + marques de repérage ─────────────────────────────
   Le cadre du dessin technique, tracé au cyanotype, tenu à distance des
   bords. Décoratif : masqué aux lecteurs d'écran, effacé en dessous de
   900 px où il volerait de la largeur au texte. */
.planche-cadre {
  position: fixed;
  inset: var(--marge-planche);
  border: 1px solid color-mix(in srgb, var(--cyan) 22%, transparent);
  pointer-events: none;
  z-index: 1;
}
.planche-cadre span {
  position: absolute;
  width: 13px; height: 13px;
  border: 1px solid color-mix(in srgb, var(--cyan) 45%, transparent);
}
.planche-cadre span::before,
.planche-cadre span::after {
  content: ""; position: absolute; background: color-mix(in srgb, var(--cyan) 45%, transparent);
}
.planche-cadre span::before { left: 50%; top: -6px; bottom: -6px; width: 1px; }
.planche-cadre span::after  { top: 50%; left: -6px; right: -6px; height: 1px; }
.planche-cadre .hg { left: -7px;  top: -7px; }
.planche-cadre .hd { right: -7px; top: -7px; }
.planche-cadre .bg { left: -7px;  bottom: -7px; }
.planche-cadre .bd { right: -7px; bottom: -7px; }
@media (max-width: 900px) { .planche-cadre { display: none; } }

/* ── ossature ─────────────────────────────────────────────────────────── */
.wrap { width: min(1180px, 100% - clamp(32px, 9vw, 128px)); margin-inline: auto; }
.narrow { width: min(760px, 100% - clamp(32px, 9vw, 96px)); }
main, header, footer, nav { position: relative; z-index: 2; }

/* ── navigation ───────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 30px 0 24px;
}
.marque {
  font-family: var(--serif);
  font-size: 20px; line-height: 1.05;
  font-variation-settings: "opsz" 40, "wght" 600, "SOFT" 30, "WONK" 1;
  letter-spacing: -.015em;
}
.marque em {
  font-style: italic;
  background: var(--feuille);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.marque small {
  display: block; margin-top: 3px;
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--estompe);
}
/* Les liens s'enroulent plutôt que de déborder : sur un téléphone étroit ils
   passent sur deux lignes, aucun n'est caché. */
.nav { flex-wrap: wrap; }
.nav-l {
  display: flex; align-items: center; gap: 10px 24px; flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 13.5px; font-weight: 500; color: var(--graphite);
}
.lang {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .1em; color: var(--estompe);
  border: 1px solid var(--trait); border-radius: 0;
  padding: 6px 10px; transition: border-color .18s var(--lisse), color .18s var(--lisse);
}
.lang:hover { border-color: var(--cyan); color: var(--cyan); }
@media (max-width: 680px) {
  .nav { gap: 14px; }
  .nav-l { gap: 16px; font-size: 12.5px; }
  .nav-l .masq { display: none; }
}

/* soulignement dessiné — le trait se tire, il n'apparaît pas */
.u-draw {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .34s var(--lisse);
}
.u-draw:hover, .u-draw:focus-visible { background-size: 100% 1px; }

/* ── voix typographiques ──────────────────────────────────────────────── */
h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 7.4vw, 84px);
  line-height: .98;
  letter-spacing: -.028em;
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 70, "WONK" 1;
  text-wrap: balance;
  max-width: 13em;
}
h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 600, "SOFT" 100, "WONK" 1;
  background: var(--feuille);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.9vw, 40px);
  line-height: 1.08; letter-spacing: -.02em;
  font-variation-settings: "opsz" 96, "wght" 500, "SOFT" 55, "WONK" 1;
  text-wrap: balance; max-width: 18em;
}
h3 {
  font-family: var(--serif); font-size: 20px; line-height: 1.22;
  font-variation-settings: "opsz" 40, "wght" 600, "SOFT" 30, "WONK" 0;
  letter-spacing: -.012em; text-wrap: balance;
}
.foil {
  font-style: italic;
  background: var(--feuille);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
p { color: var(--graphite); font-size: 15.5px; max-width: 64ch; text-wrap: pretty; }
p b, li b, td b { color: var(--encre); font-weight: 600; }
.lede {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.58;
  color: var(--graphite); max-width: 46ch;
}
.lede b { font-weight: 500; }

/* ── repère de clause : le numéro d'article EST la structure ─────────────
   Pas de « 01 / 02 / 03 » décoratif : ce qui est numéroté ici l'est par le
   règlement lui-même. */
.clause {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px;
}
.clause::before {
  content: ""; width: 30px; height: 1px; flex: none;
  background: var(--cyan); transform: translateY(-3px);
}
.clause b { font-weight: 600; color: var(--or); }
.kicker { /* alias hérité des guides */
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 30px; height: 1px; background: var(--cyan); }
.sec-k {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 12px;
}
.sec-k::before { content: ""; width: 30px; height: 1px; background: var(--cyan); }
.sub { color: var(--estompe); max-width: 52ch; margin-top: 12px; }

section { padding: clamp(56px, 8vw, 104px) 0; }
.filet { height: 1px; background: var(--trait); border: 0; }

/* ── boutons ──────────────────────────────────────────────────────────── */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--encre); color: var(--papier);
  font-family: var(--sans); font-weight: 600; font-size: 13.5px;
  letter-spacing: .01em; padding: 15px 24px; border: 1px solid var(--encre);
  position: relative; overflow: hidden;
  transition: transform .18s var(--lisse);
}
.cta::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--feuille);
}
.cta:hover { transform: translateY(-2px); }
.cta.ghost {
  background: transparent; color: var(--encre); border-color: var(--trait);
}
.cta.ghost::after { display: none; }
.cta.ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ── l'échéance : le compte à rebours gravé ───────────────────────────────
   Le chiffre déborde volontairement la colonne. C'est la seule rupture de
   grille de la page, et elle porte l'unique information qui presse. */
.echeance {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 38px);
  align-items: center;
  border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
  padding: clamp(20px, 3vw, 30px) 0; margin-top: clamp(34px, 5vw, 54px);
}
.jours {
  font-family: var(--serif);
  font-size: clamp(64px, 13vw, 152px); line-height: .82;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 100, "WONK" 1;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.05em;
  color: var(--vermillon);
  margin-left: -.06em;
}
.echeance-t {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: var(--estompe);
}
.echeance-d {
  font-family: var(--serif); font-size: clamp(19px, 2.4vw, 27px);
  font-variation-settings: "opsz" 72, "wght" 500, "SOFT" 40, "WONK" 1;
  line-height: 1.2; margin-top: 6px; color: var(--encre);
}
.echeance p { font-size: 13.5px; margin-top: 8px; max-width: 44ch; }

/* ── la couche de cotation : annotations au cyanotype ─────────────────────
   Une marge où le plan s'annote lui-même. Sur écran étroit elle passe sous
   le texte plutôt que de le comprimer. */
.coté {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 17vw, 220px);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}
.marge {
  font-family: var(--mono); font-size: 11px; line-height: 1.62;
  color: var(--cyan); padding-left: 16px;
  border-left: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
  position: relative;
}
/* Seul le PREMIER <b> est l'étiquette de la note : les suivants servent à
   l'emphase dans la phrase et doivent rester en ligne. */
.marge > b:first-child { display: block; font-weight: 600; letter-spacing: .04em; margin-bottom: 5px; }
.marge b { font-weight: 600; }
.marge + .marge { margin-top: 22px; }
@media (max-width: 860px) {
  .coté { grid-template-columns: 1fr; }
  .marge { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
           padding-left: 0; padding-top: 12px; }
}

/* ── les exigences, en clauses — pas en cartes alignées ───────────────── */
.exigences { display: grid; gap: 0; margin-top: 8px; }
.exigence {
  display: grid; grid-template-columns: clamp(88px, 11vw, 132px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3.4vw, 34px) 0;
  border-top: 1px solid var(--trait);
  transition: background-color .3s var(--lisse);
}
.exigences .exigence:last-child { border-bottom: 1px solid var(--trait); }
.exigence:hover { background: color-mix(in srgb, var(--or) 4%, transparent); }
.exigence-ref {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--or); letter-spacing: .02em; padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.exigence-ref span {
  display: block; font-weight: 400; font-size: 10px; color: var(--estompe);
  letter-spacing: .13em; text-transform: uppercase; margin-top: 5px;
}
.exigence h3 { margin-bottom: 7px; }
.exigence p { font-size: 14.5px; }
@media (max-width: 640px) {
  .exigence { grid-template-columns: 1fr; gap: 10px; }
  .exigence-ref { padding-top: 0; }
  .exigence-ref span { display: inline; margin-left: 10px; }
}

/* ── le registre de vérité : quatre marques, quatre états ────────────────
   Le cœur du produit. Chaque état a sa marque physique — gravée, déclarée,
   calculée, manquante. Le vermillon ne sert qu'ici et à l'échéance. */
.registre {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--trait); border: 1px solid var(--trait);
  margin-top: 30px;
}
.etat { background: var(--papier); padding: 22px 20px 20px; position: relative; }
.etat-marque {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1.5px solid currentColor; margin-bottom: 14px;
  font-family: var(--mono); font-size: 15px; font-weight: 600;
}
.etat h3 { font-size: 16.5px; margin-bottom: 5px; }
.etat p { font-size: 12.8px; color: var(--estompe); }
.etat.v  { color: var(--cyan); }
.etat.d  { color: var(--or); }
.etat.c  { color: var(--graphite); }
.etat.x  { color: var(--vermillon); }
.etat.x .etat-marque { border-style: dashed; }
.etat h3, .etat p { color: var(--encre); }
.etat p { color: var(--estompe); }

/* ── la méthode : une vraie séquence, donc numérotée ─────────────────── */
.etapes { counter-reset: e; margin-top: 12px; }
.etape {
  display: grid; grid-template-columns: clamp(56px, 7vw, 84px) minmax(0, 1fr);
  gap: clamp(14px, 2.6vw, 30px);
  padding: clamp(20px, 3vw, 30px) 0; border-top: 1px solid var(--trait);
}
.etapes .etape:last-child { border-bottom: 1px solid var(--trait); }
.etape::before {
  counter-increment: e; content: counter(e, decimal-leading-zero);
  font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: .9;
  font-variation-settings: "opsz" 96, "wght" 400, "SOFT" 100, "WONK" 1;
  font-style: italic;
  background: var(--feuille); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-variant-numeric: tabular-nums;
}
.etape h3 { margin-bottom: 5px; }
.etape p { font-size: 14.5px; }

/* ── tableaux : la donnée brute, lisible ─────────────────────────────── */
.tablescroll { overflow-x: auto; }
table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
  margin: 20px 0; background: transparent;
}
caption {
  caption-side: top; text-align: left; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--estompe); padding-bottom: 10px;
}
th {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--estompe);
  text-align: left; padding: 0 14px 9px 0;
  border-bottom: 1.5px solid var(--encre); white-space: nowrap;
}
td {
  padding: 11px 14px 11px 0; border-bottom: 1px solid var(--trait);
  vertical-align: top; color: var(--graphite);
}
tr:last-child td { border-bottom: none; }
.mono, td.mono, .num {
  font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums;
}
.jeton {
  display: inline-block; font-family: var(--mono); font-size: 9.5px;
  font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid currentColor; white-space: nowrap;
}
.jeton.oui  { color: var(--cyan); }
.jeton.non  { color: var(--vermillon); }
.jeton.att  { color: var(--or); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
details { border-top: 1px solid var(--trait); }
.faq details:last-of-type { border-bottom: 1px solid var(--trait); }
summary {
  cursor: pointer; list-style: none; padding: 19px 0;
  font-weight: 600; font-size: 15px; color: var(--encre);
  display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-family: var(--mono); color: var(--or); font-size: 17px;
  transition: transform .3s var(--lisse); flex: none;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; font-size: 14.5px; max-width: 62ch; }
details a { color: var(--cyan); font-weight: 500; }

/* ── prose des guides ─────────────────────────────────────────────────── */
.prose { padding: 22px 0 72px; }
.prose .maj {
  font-family: var(--mono); font-size: 11px; color: var(--estompe);
  letter-spacing: .05em; margin-bottom: 30px;
}
.prose h1 { font-size: clamp(31px, 5.2vw, 52px); }
.prose h2 { margin: 46px 0 14px; }
.prose p { margin-bottom: 15px; }
.prose > p:first-of-type::first-letter {
  font-family: var(--serif); float: left; font-size: 3.05em; line-height: .84;
  padding: .06em .09em 0 0; color: var(--or);
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 90, "WONK" 1;
}
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--graphite); font-size: 15.5px; max-width: 64ch; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--or); }
.prose blockquote {
  border-left: 2px solid var(--or); padding: 6px 0 6px 20px; margin: 24px 0;
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.42;
  font-variation-settings: "opsz" 72, "wght" 400, "SOFT" 80, "WONK" 1;
  color: var(--encre); max-width: 54ch;
}
.prose a { color: var(--cyan); font-weight: 500; }
.src { font-size: 12.5px; color: var(--estompe); max-width: 72ch; }
.src a { color: var(--cyan); }
.crumb {
  font-family: var(--mono); font-size: 10.5px; color: var(--estompe);
  letter-spacing: .06em; padding-top: 20px;
}
.crumb a { color: var(--cyan); }

/* ── cartes (compat guides) ──────────────────────────────────────────── */
.grid { display: grid; gap: 18px; margin-top: 10px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card {
  background: var(--papier-haut); border: 1px solid var(--trait);
  padding: 22px 22px 20px; position: relative;
}
.card .n {
  display: block; font-family: var(--mono); font-size: 10.5px;
  color: var(--or); letter-spacing: .08em; margin-bottom: 10px;
}
.card p { font-size: 13.5px; }

/* ── bandeau sombre (deadline hérité des guides) ─────────────────────── */
.deadline {
  background: var(--encre); color: var(--papier);
  padding: clamp(26px, 4vw, 40px); position: relative; overflow: hidden;
}
.deadline::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--feuille);
}
.deadline h2 { color: var(--papier); max-width: none; }
.deadline p { color: color-mix(in srgb, var(--papier) 74%, transparent); }
.deadline .sec-k { color: var(--or-clair); }
.deadline .sec-k::before { background: var(--or-clair); }
.deadline .date { font-style: italic; color: var(--or-clair); }
.deadline a { color: var(--or-clair); }

/* ── le cartouche : le bloc-titre du plan, en pied de planche ──────────── */
.cartouche {
  border-top: 1.5px solid var(--encre);
  margin-top: clamp(40px, 6vw, 70px);
  padding: 0 0 clamp(44px, 7vw, 78px);
  font-family: var(--mono); font-size: 11px; color: var(--estompe);
}
.cartouche-grille {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  border-left: 1px solid var(--trait);
}
.cartouche-case {
  border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
  padding: 14px 16px 15px;
}
.cartouche-case b {
  display: block; font-size: 9px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 6px;
}
.cartouche-case span, .cartouche-case a { color: var(--graphite); line-height: 1.6; }
.cartouche-case a:hover { color: var(--cyan); }
.cartouche-liens {
  display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0 0;
  font-size: 11px;
}
.cartouche-liens a { color: var(--graphite); }
.cartouche-liens a:hover { color: var(--cyan); }
footer .cols { /* compat guides */
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; color: var(--estompe); line-height: 1.7;
  padding: 26px 0 56px; border-top: 1px solid var(--trait); margin-top: 30px;
}
footer .cols b { color: var(--graphite); font-weight: 500; }
footer .cols a { color: var(--cyan); }

/* ── le dessin : la planche du passeport ─────────────────────────────── */
.dessin { width: 100%; height: auto; overflow: visible; }
.dessin .trait   { fill: none; stroke: var(--cyan); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dessin .fort    { fill: none; stroke: var(--encre); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.dessin .cote    { fill: none; stroke: color-mix(in srgb, var(--cyan) 55%, transparent);
                   stroke-width: .75; vector-effect: non-scaling-stroke; }
.dessin .hachure { stroke: color-mix(in srgb, var(--cyan) 26%, transparent); stroke-width: .75; }
.dessin .plein   { fill: var(--or-vif); }
.dessin .fond    { fill: var(--papier-haut); }
.dessin text     { font-family: var(--mono); font-size: 8.4px; fill: var(--cyan); letter-spacing: .05em; }
.dessin .num     { font-weight: 600; font-size: 9.5px; fill: var(--or); }
.dessin .grave   { fill: color-mix(in srgb, var(--encre) 26%, transparent); }

/* ═══════════════════════════════════════════════════════════════════════
   LES OUTILS — référentiel, auto-évaluation, assistant.
   Même langue que la planche : cotes, filets, codes en mono, angles vifs.
   Aucun coin arrondi décoratif, aucune ombre portée gratuite.
   ═══════════════════════════════════════════════════════════════════════ */

.outil { border-top: 1.5px solid var(--encre); padding-top: 22px; }

/* — la recherche — */
.recherche { display: flex; flex-direction: column; gap: 8px; }
.recherche label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
}
.recherche input {
  font-family: var(--serif); font-size: clamp(19px, 2.6vw, 26px);
  font-variation-settings: "opsz" 60, "wght" 400, "SOFT" 40, "WONK" 0;
  color: var(--encre); background: transparent;
  border: 0; border-bottom: 1px solid var(--trait);
  padding: 6px 0 12px; width: 100%;
}
.recherche input::placeholder { color: var(--estompe); opacity: .72; font-size: .74em; }
.recherche input:focus { outline: 0; border-bottom-color: var(--cyan); }
.recherche input:focus-visible { outline: 0; }

/* — les filtres — */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.filtre {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .08em; color: var(--graphite);
  background: transparent; border: 1px solid var(--trait);
  padding: 8px 13px; cursor: pointer;
  transition: border-color .18s var(--lisse), color .18s var(--lisse), background-color .18s var(--lisse);
}
.filtre:hover { border-color: var(--cyan); color: var(--cyan); }
.filtre.actif { background: var(--encre); border-color: var(--encre); color: var(--papier); }

.compteur {
  font-family: var(--mono); font-size: 10.5px; color: var(--estompe);
  letter-spacing: .04em; margin-bottom: 6px;
}
.vide-liste { font-size: 14px; color: var(--graphite); padding: 26px 0; }
.vide-liste a { color: var(--cyan); font-weight: 500; }

/* — la liste : un index technique, pas des cartes — */
.liste-ref { display: flex; flex-direction: column; }
.ligne-ref {
  display: grid; grid-template-columns: clamp(74px, 9vw, 104px) minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 26px); align-items: center;
  width: 100%; text-align: left; background: transparent; cursor: pointer;
  border: 0; border-top: 1px solid var(--trait);
  padding: 15px 8px 15px 0; font: inherit; color: inherit;
  transition: background-color .2s var(--lisse), padding-left .2s var(--lisse);
}
.liste-ref .ligne-ref:last-child { border-bottom: 1px solid var(--trait); }
.ligne-ref:hover, .ligne-ref:focus-visible {
  background: color-mix(in srgb, var(--or-vif) 7%, transparent);
  padding-left: 8px;
}
.lr-code {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  color: var(--or); letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.lr-corps { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lr-titre { font-weight: 600; font-size: 14.5px; color: var(--encre); }
.lr-sous { font-size: 12.5px; color: var(--estompe); }
.lr-etat { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.jeton.neutre { color: var(--estompe); }
@media (max-width: 620px) {
  .ligne-ref { grid-template-columns: 1fr; gap: 6px; }
  .lr-etat { justify-content: flex-start; }
}

/* — la fiche : un feuillet, pas une pop-up — */
dialog { border: 0; padding: 0; color: var(--encre); background: transparent; }
dialog::backdrop { background: rgb(14 14 13 / .62); backdrop-filter: blur(2px); }
#fiche {
  max-width: min(640px, calc(100vw - 32px));
  width: 100%; background: var(--papier-haut);
  border: 1px solid var(--trait); border-top: 3px solid var(--or-vif);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow-luxe);
}
.fiche-fermer { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.fiche-fermer button {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--estompe);
  background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
}
.fiche-fermer button:hover { color: var(--vermillon); }
.fiche-sur {
  font-family: var(--mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 10px;
}
#fiche h2 { font-size: clamp(21px, 3.2vw, 28px); margin-bottom: 12px; max-width: none; }
.fiche-texte { font-size: 14.5px; color: var(--graphite); margin-bottom: 16px; }
.fiche-alerte {
  font-size: 13px; color: var(--encre); background: color-mix(in srgb, var(--or-vif) 13%, transparent);
  border-left: 2px solid var(--or-vif); padding: 10px 13px; margin-bottom: 16px;
}
.fiche-statuts { display: grid; gap: 12px; margin-bottom: 16px; }
.fiche-statuts > div {
  border: 1px solid var(--trait); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 7px; align-items: flex-start;
}
.fiche-statuts b, .fiche-meta b {
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--estompe);
}
.fiche-statuts span { font-size: 12.5px; color: var(--graphite); }
.fiche-ref { font-size: 13px; color: var(--graphite); margin-bottom: 16px; }
.fiche-ref b { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--estompe); margin-bottom: 5px; }
.fiche-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; border-top: 1px solid var(--trait); padding-top: 14px; margin-bottom: 14px;
}
.fiche-meta span { display: block; font-size: 12.5px; color: var(--graphite); margin-top: 4px; }
.fiche-src { font-size: 13px; }
.fiche-src a { color: var(--cyan); font-weight: 500; }

/* — l'auto-évaluation — */
.quiz { display: flex; flex-direction: column; }
.question { border: 0; border-top: 1px solid var(--trait); padding: 24px 0 22px; margin: 0; }
.quiz .question:last-of-type { border-bottom: 1px solid var(--trait); }
.question legend {
  display: flex; gap: 14px; align-items: baseline;
  font-family: var(--serif); font-size: clamp(17px, 2.2vw, 21px);
  font-variation-settings: "opsz" 40, "wght" 600, "SOFT" 30, "WONK" 0;
  color: var(--encre); padding: 0; margin-bottom: 12px; max-width: 40em;
}
.q-n {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--or);
  font-variant-numeric: tabular-nums; flex: none;
}
.q-aide { font-size: 13px; color: var(--estompe); margin: -6px 0 14px; max-width: 54ch; }
.choix { display: grid; gap: 8px; }
.choix label {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14.5px; color: var(--graphite);
  border: 1px solid var(--trait); padding: 12px 14px; cursor: pointer;
  transition: border-color .16s var(--lisse), background-color .16s var(--lisse);
}
.choix label:hover { border-color: var(--cyan); }
.choix input { accent-color: var(--cyan); margin-top: 3px; flex: none; }
.choix label:has(input:checked) {
  border-color: var(--encre); background: color-mix(in srgb, var(--or-vif) 6%, transparent);
  color: var(--encre); font-weight: 500;
}
.quiz-pied { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 26px; }
.quiz-pied .q-aide { margin: 0; }

.resultat { padding-top: 8px; scroll-margin-top: 30px; }
.resultat:focus { outline: none; }
.res-tete {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px); align-items: start;
  border-top: 1.5px solid var(--encre); padding-top: 24px; margin-bottom: 34px;
}
.res-tete h2 { font-size: clamp(24px, 3.6vw, 36px); }
.res-tete p { font-size: 15px; margin-top: 12px; }
.res-chiffres { display: grid; gap: 16px; }
.res-chiffres b {
  display: block; font-family: var(--serif); font-size: clamp(26px, 3.6vw, 38px);
  font-variation-settings: "opsz" 96, "wght" 500, "SOFT" 70, "WONK" 1;
  line-height: 1; color: var(--encre); font-variant-numeric: tabular-nums;
}
.res-chiffres span { display: block; font-size: 12.5px; color: var(--estompe); margin-top: 5px; }
.res-h3 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  margin: 34px 0 4px;
}
@media (max-width: 720px) { .res-tete { grid-template-columns: 1fr; } }

/* — l'assistant : un lanceur discret, jamais d'ouverture non sollicitée — */
.renvoi-ouvrir {
  position: fixed; right: clamp(14px, 3vw, 30px); bottom: clamp(14px, 3vw, 30px);
  z-index: 80; display: flex; align-items: center; gap: 10px;
  background: var(--encre); color: var(--papier);
  border: 1px solid var(--encre); cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  padding: 13px 18px; box-shadow: var(--shadow-luxe);
  transition: transform .18s var(--lisse);
}
.renvoi-ouvrir::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--feuille);
}
.renvoi-ouvrir:hover { transform: translateY(-2px); }
.renvoi-pic { font-family: var(--serif); font-size: 15px; color: var(--or-clair); }

/* Le panneau ne pose PAS `display` sur sa règle de base : une classe bat le
   `dialog:not([open]) { display: none }` du navigateur, et le panneau
   resterait ouvert en permanence. Seul l'état [open] met en page. */
.renvoi {
  margin: 0; position: fixed; inset: auto clamp(14px, 3vw, 30px) clamp(14px, 3vw, 30px) auto;
  width: min(430px, calc(100vw - 28px)); max-height: min(660px, calc(100vh - 40px));
  background: var(--papier-haut); border: 1px solid var(--trait); border-top: 3px solid var(--or-vif);
  box-shadow: var(--shadow-luxe); overflow: hidden;
}
.renvoi[open] { display: flex; flex-direction: column; }
.renvoi-tete {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--trait); flex: none;
}
.renvoi-tete h2 {
  font-size: 21px; margin: 0; max-width: none;
  font-variation-settings: "opsz" 40, "wght" 600, "SOFT" 60, "WONK" 1;
}
.renvoi-sur {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 5px;
}
.renvoi-fermer {
  background: transparent; border: 0; cursor: pointer; color: var(--estompe);
  font-size: 22px; line-height: 1; padding: 0 2px;
}
.renvoi-fermer:hover { color: var(--vermillon); }
.renvoi-fil {
  flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px;
}
.renvoi-bulle p { font-size: 13.5px; color: var(--graphite); margin-bottom: 9px; max-width: none; }
.renvoi-bulle p:last-child { margin-bottom: 0; }
.renvoi-bulle.moi {
  align-self: flex-end; max-width: 88%;
  background: var(--encre); padding: 11px 14px;
}
.renvoi-bulle.moi p { color: var(--papier); font-weight: 500; }
.renvoi-bulle.lui { border-left: 2px solid var(--or-vif); padding-left: 13px; }
.renvoi-q {
  font-family: var(--serif) !important; font-size: 15.5px !important;
  font-variation-settings: "opsz" 40, "wght" 600, "SOFT" 30, "WONK" 0;
  color: var(--encre) !important; margin-bottom: 7px !important;
}
.renvoi-src { font-size: 12px !important; }
.renvoi-src a { color: var(--cyan); font-weight: 500; }
.renvoi-sugg-t {
  font-family: var(--mono); font-size: 9.5px !important; letter-spacing: .14em;
  text-transform: uppercase; color: var(--estompe) !important; margin: 12px 0 8px !important;
}
.renvoi-sugg { display: flex; flex-direction: column; gap: 6px; }
.renvoi-sugg button {
  text-align: left; font: 500 12.5px/1.4 var(--sans); color: var(--cyan);
  background: transparent; border: 1px solid var(--trait); padding: 9px 11px; cursor: pointer;
  transition: border-color .16s var(--lisse), background-color .16s var(--lisse);
}
.renvoi-sugg button:hover { border-color: var(--cyan); background: color-mix(in srgb, var(--cyan) 6%, transparent); }
.renvoi-saisie {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
  padding: 12px 20px; border-top: 1px solid var(--trait); flex: none;
}
.renvoi-label {
  grid-column: 1 / -1; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--estompe);
}
.renvoi-saisie input {
  font: 400 13.5px/1.4 var(--sans); color: var(--encre); background: transparent;
  border: 1px solid var(--trait); padding: 10px 12px; width: 100%;
}
.renvoi-saisie input:focus { border-color: var(--cyan); outline: 0; }
.renvoi-saisie button {
  font: 600 12px/1 var(--sans); color: var(--papier); background: var(--encre);
  border: 1px solid var(--encre); padding: 11px 15px; cursor: pointer; white-space: nowrap;
}
.renvoi-pied {
  font-size: 10.5px; color: var(--estompe); padding: 0 20px 14px; flex: none; max-width: none;
}
@media (max-width: 520px) {
  .renvoi { inset: auto 0 0 0; width: 100vw; max-height: 86vh; border-left: 0; border-right: 0; }
  .renvoi-ouvrir span:not(.renvoi-pic) { display: none; }
  .renvoi-ouvrir { padding: 14px; }
}
@media print { .renvoi-ouvrir, .renvoi { display: none !important; } }

/* ═══════════════════════════════════════════════════════════════════════
   LA PLAQUE — l'identité de la machine, rendue comme elle est gravée.
   C'est la première chose que voit celui qui scanne le QR sur la machine.
   ═══════════════════════════════════════════════════════════════════════ */
.plaque {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 44px); align-items: start;
  border: 1.5px solid var(--encre); background: var(--papier-haut);
  padding: clamp(22px, 3.4vw, 34px); position: relative; margin-top: 8px;
}
/* les quatre rivets */
.plaque::before, .plaque::after {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--cyan-pale); top: 11px;
}
.plaque::before { left: 11px; }
.plaque::after { right: 11px; }
.plaque-corps { display: flex; flex-direction: column; gap: 18px; }
.plaque-titre {
  font-size: clamp(24px, 3.8vw, 40px); line-height: 1.05; max-width: 14em; margin: 0;
}
.plaque-grille {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px 24px; border-top: 1px solid var(--trait); padding-top: 18px;
}
.plaque-grille b {
  display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px;
}
.plaque-grille span { font-size: 14px; font-weight: 500; color: var(--encre); line-height: 1.45; }
.plaque-grille i { font-style: normal; font-size: 11.5px; color: var(--estompe); }
.plaque-ce {
  font-family: var(--serif) !important; font-size: 26px !important; font-weight: 600;
  letter-spacing: .06em; font-variation-settings: "opsz" 60, "wght" 600, "SOFT" 0, "WONK" 0;
}
.plaque-qr {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 210px; border-left: 1px solid var(--trait); padding-left: clamp(16px, 2.4vw, 26px);
}
.plaque-qr img { image-rendering: pixelated; border: 1px solid var(--trait); background: #fff; padding: 6px; }
.plaque-qr p { font-size: 11.5px; line-height: 1.55; color: var(--estompe); }
@media (max-width: 700px) {
  .plaque { grid-template-columns: 1fr; }
  .plaque-qr { border-left: 0; border-top: 1px solid var(--trait); padding-left: 0; padding-top: 18px; max-width: none;
    flex-direction: row; align-items: flex-start; gap: 16px; }
  .plaque-qr img { width: 108px; height: 108px; flex: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L'ARBRE DE DÉCISION — une question à la fois, et la fiche au bout.
   ═══════════════════════════════════════════════════════════════════════ */
.arbre { border-top: 1.5px solid var(--encre); padding-top: 20px; }
.arbre-progres {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--estompe); margin-bottom: 8px;
}
.arbre-jauge { flex: 1; height: 2px; background: var(--trait); display: block; max-width: 260px; }
.arbre-jauge > span { display: block; height: 100%; width: 0; background: var(--feuille); transition: width .4s var(--lisse); }
.arbre-q { border: 0; padding: 22px 0 6px; }
.arbre-ref {
  font-family: var(--mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
.arbre-t {
  font-size: clamp(21px, 3.2vw, 31px); max-width: 22em; margin-bottom: 10px;
  display: flex; gap: 14px; align-items: baseline;
}
.arbre-choix {
  display: block; width: 100%; text-align: left; cursor: pointer;
  font: 400 15px/1.5 var(--sans); color: var(--graphite);
  background: transparent; border: 1px solid var(--trait);
  padding: 15px 17px; position: relative;
  transition: border-color .16s var(--lisse), background-color .16s var(--lisse),
              color .16s var(--lisse), padding-left .16s var(--lisse);
}
.arbre-choix::before {
  content: "→"; position: absolute; left: 17px; opacity: 0;
  color: var(--cyan); transition: opacity .16s var(--lisse);
}
.arbre-choix:hover, .arbre-choix:focus-visible {
  border-color: var(--cyan); color: var(--encre); padding-left: 40px;
}
.arbre-choix:hover::before, .arbre-choix:focus-visible::before { opacity: 1; }
.arbre-nav { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 22px; }
.arbre-nav .cta { font-size: 12.5px; padding: 11px 18px; }

.verdict { padding-top: 6px; scroll-margin-top: 26px; }
.verdict:focus { outline: none; }
.verdict-tete { border-top: 1.5px solid var(--encre); padding-top: 24px; margin-bottom: 28px; }
.verdict-tete h2 { font-size: clamp(25px, 3.8vw, 38px); margin: 14px 0 12px; }
.verdict-tete p { font-size: 15.5px; max-width: 62ch; }
.verdict-note {
  border-left: 2px solid var(--vermillon); padding: 13px 0 13px 17px; margin: 22px 0;
  font-size: 14.5px; color: var(--graphite); max-width: 62ch;
}
.verdict-note b { color: var(--encre); }
.verdict-liste { margin: 4px 0 0 20px; max-width: 62ch; }
.verdict-liste li { font-size: 14.5px; color: var(--graphite); margin-bottom: 10px; }
.verdict-liste li::marker { color: var(--or); }
.verdict-suite {
  font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.45;
  font-variation-settings: "opsz" 60, "wght" 400, "SOFT" 70, "WONK" 1;
  color: var(--encre); border-left: 2px solid var(--or-vif);
  padding-left: 18px; margin: 24px 0 0; max-width: 54ch;
}

/* — la fiche d'évaluation : une pièce, pas un écran — */
.fiche-eval {
  border: 1.5px solid var(--encre); background: var(--papier-haut);
  padding: clamp(20px, 3vw, 30px); margin-top: 6px;
}
.fe-tete {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 18px;
  border-bottom: 1px solid var(--trait); padding-bottom: 14px; margin-bottom: 18px; flex-wrap: wrap;
}
.fe-tete b { display: block; font-family: var(--serif); font-size: 17px;
  font-variation-settings: "opsz" 40, "wght" 600, "SOFT" 30, "WONK" 0; }
.fe-tete span { display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--estompe); margin-top: 5px; }
.fe-verdict {
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--encre);
  border: 1.5px solid var(--encre); padding: 7px 12px; white-space: nowrap;
}
.fe-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 22px; }
.fe-champ b, .fe-criteres b, .fe-conclusion b, .fe-signature b {
  display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px;
}
.fe-large { grid-column: 1 / -1; }
.fe-ligne { display: block; border-bottom: 1px solid var(--trait); height: 20px; margin-bottom: 6px; }
.fe-haute { height: 44px; }
.fe-criteres { border-top: 1px solid var(--trait); margin-top: 18px; padding-top: 16px; }
.fe-criteres div { font-size: 13.5px; color: var(--graphite); margin-bottom: 6px; }
.fe-criteres div b { display: inline; font-family: var(--sans); font-size: 13.5px;
  letter-spacing: 0; text-transform: none; color: var(--encre); }
.fe-conclusion {
  border-top: 1px solid var(--trait); margin-top: 16px; padding-top: 16px;
  font-size: 14px; color: var(--encre);
}
.fe-signature {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 22px;
  border-top: 1px solid var(--trait); margin-top: 18px; padding-top: 18px;
}
.fe-pied { font-size: 10.5px; color: var(--estompe); margin-top: 18px; max-width: none; }

/* À l'impression, on n'imprime QUE la fiche : c'est la pièce qui se classe. */
@media print {
  body > header, body > footer, .planche-cadre, .arbre, .crumb, .coté,
  .verdict-tete, .verdict-note, .verdict-liste, .verdict-suite, .res-h3,
  .verdict .tablescroll, .verdict .ctas, .verdict .src, .verdict .clause,
  main > section:not(:first-of-type), .q-aide { display: none !important; }
  .fiche-eval { border-color: #000; background: #fff; page-break-inside: avoid; }
  .fe-verdict { border-color: #000; }
}

/* ── mouvement : natif, révocable, jamais indispensable ─────────────────
   Le trait se tire et le bloc monte au passage dans le viewport. L'état
   final est l'état par défaut : sans animation-timeline, rien ne manque. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .revele {
      animation: monte linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
    .tire-trait {
      animation: tire linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 32%;
    }
    .jours {
      animation: grave linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 34%;
    }
  }
}
@keyframes monte {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes tire {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes grave {
  from { font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 0, "WONK" 0; opacity: .35; }
  to   { font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 100, "WONK" 1; opacity: 1; }
}

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

/* ── impression : la planche s'imprime en planche ────────────────────── */
@media print {
  .planche-cadre, .nav-l, .cta, .saut-lecture { display: none !important; }
  body::after { display: none; }
  body { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
