/* cyberblazar.com — feuille de style unique.
   Direction : éditoriale, grille asymétrique de 12 colonnes. Un seul thème, clair, pour tous les visiteurs quel que soit
   le réglage de leur système (choix de l'utilisateur, 16/11/2026) : fond blanc, surfaces gris glacier, encre bleu nuit.
   Il reprend, inversées, les couleurs du thème bleu nuit publié le matin du 16/11 (palette notée dans CLAUDE.md).
   Deux accents aux rôles séparés : le bleu pétrole (le cyan assombri pour rester lisible sur blanc) pour ce qui se clique
   et les repères (liens, boutons, focus, numéros), la braise (couleur du logo) pour les marques qui attirent l'œil
   (logo, soulignement à la main, correction Idira, notes de terrain, alertes, erreurs).
   Polices auto-hébergées (SIL OFL), sur le modèle de paloaltonetworks.com (une grotesque géométrique
   pour tout le texte, une serif en accent) : Hanken Grotesk (titres et texte, proche de TT Hoves)
   et Instrument Serif italique (accents : « Fig. », marque de correction, définition). Logo tout en Hanken Grotesk. */

@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Thème clair, le seul. Contrastes calculés sur --bg, puis sur --bg-2 */
  /* Fonds */
  --bg: #ffffff;         /* fond principal, blanc */
  --bg-2: #f1f5f9;       /* cartes, pied de page, encadrés : gris glacier */
  --bg-3: #e2e8f0;       /* éléments secondaires : code en ligne */
  /* Texte */
  --ink: #0b1220;        /* titres et texte principal, bleu nuit (18,7:1 ; 17:1) */
  --ink-2: #2c3e58;      /* chapeaux et descriptions, ardoise (10,8:1 ; 9,9:1) */
  --ink-3: #56677d;      /* texte secondaire gris bleuté (5,8:1 ; 5,3:1) */
  /* Filets */
  --rule: #e2e8f0;       /* séparateurs très discrets */
  --rule-2: #c5d1de;     /* filet d'ouverture d'une liste, un cran plus visible */
  /* Accents */
  --accent: #0b7684;     /* bleu pétrole, le cyan assombri : liens au survol, boutons, focus, repères (5,3:1 ; 4,9:1) */
  --accent-2: #085a65;   /* survol des boutons, un cran plus foncé */
  --on-accent: #ffffff;  /* texte posé sur l'accent (5,3:1) */
  --ember: #c03a12;      /* braise assombrie : marques d'attention en texte, alertes, erreurs (5,5:1 ; 5:1) */
  --ember-hot: #e0521f;  /* traits décoratifs : logo, soulignement, correction (3,9:1) */
  --steel: #3b6472;      /* étiquettes techniques, statut « supporté » (6,5:1 ; 5,9:1) */
  --sticker: #ffffff;
  --sticker-shadow: 0 0 0 1px #e2e8f0, 0 1px 0 rgba(11, 18, 32, .06), 0 20px 36px -18px rgba(11, 18, 32, .35);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif; /* accents en italique uniquement */
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, Menlo, monospace;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --col-gap: clamp(16px, 2vw, 24px);
  --step: clamp(72px, 11vw, 152px);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
strong { font-weight: 600; }
abbr[title] { text-decoration: none; cursor: help; }
code { font-family: var(--mono); font-size: .88em; background: var(--bg-3); padding: .08em .35em; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 12px; z-index: 20; background: var(--ink); color: var(--bg); padding: .5em .9em; }

/* ---------- Typographie ---------- */
.kicker {
  font-family: var(--mono);
  font-weight: 400;
  font-size: .72rem;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.kicker .dot { color: var(--ember); }
.display {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.9vw, 5.3rem);
  line-height: 1;
  letter-spacing: -.035em;
}
/* Mise en valeur dans les titres : un second ton plutôt qu'une italique (titres à la manière de Palo Alto Networks) */
.display em { font-style: normal; }
h2 em, .page-title em, .cta-line em { font-style: normal; color: var(--ink-3); }
h2, .h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(1.8rem, 3.7vw, 3rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.16rem; line-height: 1.3; letter-spacing: -.005em; }
.deck {
  font-family: var(--sans);
  font-size: clamp(1.14rem, 1.7vw, 1.42rem);
  line-height: 1.45;
  letter-spacing: -.005em;
  color: var(--ink-2);
  max-width: 36ch;
}

/* Soulignement tracé à la main sous un mot */
.mark { position: relative; white-space: nowrap; }
.scribble { position: absolute; left: -3%; bottom: -.06em; width: 106%; height: .24em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--ember-hot); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: cb-draw 1.15s .45s cubic-bezier(.6, .1, .2, 1) forwards; }
@keyframes cb-draw { to { stroke-dashoffset: 0; } }

/* ---------- En-tête ---------- */
.site-header { position: relative; border-bottom: 1px solid var(--rule); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark .jet { fill: var(--ember-hot); }
.brand-mark .core { fill: var(--ink); }
.brand-word { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -.012em; }
.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav-desktop a { text-decoration: none; font-size: .95rem; }
.nav-desktop a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .35em; }
.nav-cta { border: 1px solid var(--accent); padding: .5em .95em; transition: color .2s, background .2s; }
.nav-cta:hover { background: var(--accent); color: var(--on-accent); }
.lang { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-decoration: none; padding: 12px 4px 12px clamp(14px, 2vw, 22px); border-left: 1px solid var(--rule); }
.brand + .lang { margin-left: auto; } /* page 404 : pas de menu entre le logo et la langue */
.nav-mobile { display: none; margin-left: auto; }
.nav-mobile summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; padding: .7em 0; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after { content: " +"; color: var(--accent); }
.nav-mobile[open] summary::after { content: " –"; }
.nav-mobile ul { position: absolute; left: 0; right: 0; top: 76px; z-index: 10; margin: 0; padding: 8px var(--gutter) 24px; list-style: none; background: var(--bg-2); border-bottom: 1px solid var(--rule); }
.nav-mobile li a { display: block; padding: .8em 0; border-top: 1px solid var(--rule); text-decoration: none; font-family: var(--sans); font-weight: 500; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.015em; }
.nav-mobile .nav-cta, .nav-mobile .nav-cta:hover { border-width: 1px 0 0; border-color: var(--rule); background: none; color: var(--accent); } /* dans le menu mobile : une ligne comme les autres, en cyan */
@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .lang { padding-left: 14px; }
}

/* ---------- Boutons et liens d'action ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.btn {
  display: inline-flex; align-items: center; gap: .65em;
  background: var(--accent); color: var(--on-accent);
  border: 1px solid var(--accent);
  padding: .95em 1.4em;
  font: 500 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .arr { display: inline-block; transition: transform .2s; color: var(--accent); }
.link-arrow:hover .arr { transform: translateX(3px); }

/* ---------- Accueil : ouverture ---------- */
.hero { padding-block: clamp(40px, 5.5vw, 80px) clamp(64px, 9vw, 120px); }
.hero-text { grid-column: 1 / span 7; position: relative; z-index: 1; }
.hero .kicker { margin-bottom: clamp(22px, 3vw, 34px); }
.hero .display { margin-bottom: clamp(24px, 3vw, 36px); }
.hero .deck { margin-bottom: clamp(28px, 3.4vw, 44px); }
.hero-fig { grid-column: 8 / span 5; margin: clamp(30px, 7vw, 110px) 0 0; }
/* Illustration (cb_hero_art) : photo recolorée, son fond blanc se fond dans la page ; décorative, sans légende */
.hero-art img { display: block; width: 100%; height: auto; }
@media (max-width: 1020px) {
  .hero-text { grid-column: 1 / -1; }
  .hero-fig { grid-column: 1 / -1; margin: 64px 0 0; max-width: 620px; }
}

/* Figures en SVG des articles (inc/figures.php) : styles communs */
.fig { margin: 0; }
.fig svg { width: 100%; height: auto; overflow: visible; }
.fig .f-line { fill: none; stroke: var(--ink-3); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: cb-draw 1.4s .2s ease-out forwards; }
.fig .f-node { fill: var(--bg-2); stroke: var(--ink-3); stroke-width: 1.2; }
.fig .f-core { fill: var(--ember-hot); }
.fig .f-label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; fill: var(--ink); text-transform: uppercase; }
.fig .f-sub { font-family: var(--sans); font-size: 10.5px; fill: var(--ink-3); }
.fig .f-ext { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; fill: var(--steel); text-transform: uppercase; }
.fig .f-call { fill: var(--accent); }
.fig .f-call-n { font-family: var(--mono); font-size: 10px; font-weight: 700; fill: var(--on-accent); }
.fig figcaption { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 18px; font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.fig figcaption .fig-n { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); line-height: 1.2; }
.fig .legend { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-3); }
.fig .legend b { color: var(--accent); font-weight: 700; }
.fig .legend a { text-decoration: none; }
.fig .legend a:hover { color: var(--accent); }

/* Figure 2 : déroulé d'une session web PSM (article sur les connecteurs web) */
.body .fig { margin: 2em 0 2.4em; }
.fig .f-zone { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 5; }
.fig .f-dash { fill: none; stroke: var(--ember-hot); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 5 5; }
.fig .legend-steps { display: block; font-family: var(--sans); font-size: .86rem; letter-spacing: 0; line-height: 1.45; color: var(--ink-2); }
.fig .legend-steps li { margin: 0 0 .4em; padding-left: 1.6em; text-indent: -1.6em; }
.fig .legend-steps b { display: inline-block; width: 1.6em; text-indent: 0; font-family: var(--mono); font-size: .78rem; }

/* ---------- Bandeau de preuves ---------- */
.proof { border-top: 1px solid var(--rule); padding-block: 48px 0; }
.proof .kicker { grid-column: 1 / span 3; padding-top: 12px; }
.logos { grid-column: 4 / span 9; display: flex; flex-wrap: wrap; align-items: center; gap: 26px clamp(32px, 5vw, 64px); margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.logos li { display: flex; align-items: center; gap: 10px; }
.logo { height: 42px; width: auto; }
.logo--bnp { height: 29px; }
.logo--nordea { height: 27px; }
.logo .lg-fill { fill: currentColor; }
.logo .lg-knock { fill: var(--bg); }
.logo-note { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--ink-3); border: 1px solid var(--rule); padding: .15em .45em; }
.proof-caption { grid-column: 4 / span 8; margin: 22px 0 0; font-size: .92rem; color: var(--ink-3); max-width: 70ch; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-2); }
.stats li { padding: 26px var(--col-gap) 0 0; margin-right: var(--col-gap); border-right: 1px solid var(--rule); }
.stats li:last-child { border-right: 0; margin-right: 0; }
.stat-n { display: block; font-family: var(--sans); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.stat-l { display: block; margin-top: 12px; font-size: .94rem; line-height: 1.45; color: var(--ink-2); max-width: 27ch; }
@media (max-width: 880px) {
  .proof .kicker, .logos, .proof-caption { grid-column: 1 / -1; }
  .logos { margin-top: 18px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stats li:nth-child(2n) { border-right: 0; margin-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--step); }
.section + .section, .proof + .section { border-top: 1px solid var(--rule); }
.proof + .section { margin-top: clamp(56px, 8vw, 104px); }
.sec-head { margin-bottom: clamp(40px, 6vw, 76px); }
.sec-head .kicker { grid-column: 1 / span 3; padding-top: .9em; }
.sec-head h2 { grid-column: 4 / span 8; }
.sec-head .deck { grid-column: 4 / span 7; margin: 22px 0 0; }
@media (max-width: 880px) {
  .sec-head .kicker, .sec-head h2, .sec-head .deck { grid-column: 1 / -1; }
  .sec-head .kicker { padding: 0 0 16px; }
}

/* Liste des services */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.svc { border-bottom: 1px solid var(--rule); }
.svc-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; padding: clamp(24px, 3vw, 34px) 0; text-decoration: none; color: inherit; }
a.svc-row:hover { color: inherit; }
.svc-n { grid-column: 1 / span 1; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.svc-t { grid-column: 2 / span 4; font-family: var(--sans); font-weight: 500; font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.15; letter-spacing: -.02em; }
.svc-t .arr { display: inline-block; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
a.svc-row:hover .svc-t, a.svc-row:focus-visible .svc-t { color: var(--accent); }
a.svc-row:hover .arr, a.svc-row:focus-visible .arr { opacity: 1; transform: translateX(0); }
.svc-d { grid-column: 6 / span 4; margin: 0; color: var(--ink-2); }
.svc-d .link-arrow { color: var(--ink); }
.svc-tags { grid-column: 10 / span 3; margin: 0; font-family: var(--mono); font-size: .7rem; line-height: 1.7; letter-spacing: .05em; color: var(--steel); text-align: right; text-transform: uppercase; }
@media (max-width: 1020px) {
  .svc-n { grid-column: 1 / -1; }
  .svc-t { grid-column: 1 / -1; margin: 6px 0 12px; }
  .svc-d { grid-column: 1 / span 9; }
  .svc-tags { grid-column: 1 / -1; text-align: left; margin-top: 12px; }
  .svc-t .arr { opacity: 1; transform: none; }
}
@media (max-width: 640px) { .svc-d { grid-column: 1 / -1; } }

/* Note Idira : correction d'épreuve */
.idira-side { grid-column: 1 / span 4; }
.idira .proofmark { font-family: var(--sans); font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: 1; letter-spacing: -.03em; margin: 34px 0 0; }
.proofmark del { position: relative; text-decoration: none; color: var(--ink-3); }
.proofmark del::after { content: ""; position: absolute; left: -5%; right: -5%; top: 54%; height: .07em; min-height: 3px; background: var(--ember-hot); border-radius: 3px; transform: rotate(-5deg); }
.proofmark ins { display: block; margin: .02em 0 0 1.4em; text-decoration: none; font-family: var(--serif); font-weight: 400; font-size: 1.18em; letter-spacing: 0; font-style: italic; color: var(--ember); transform: rotate(-3deg); transform-origin: left bottom; }
.proofmark ins::before { content: "\2038"; display: inline-block; margin-right: .12em; font-style: normal; font-size: .7em; color: var(--ember-hot); transform: translateY(-.35em); }
.idira-body { grid-column: 5 / span 7; }
.idira-body h2 { margin-bottom: 26px; }
.idira-body .prose { color: var(--ink-2); }
@media (max-width: 880px) {
  .idira-side, .idira-body { grid-column: 1 / -1; }
  .idira .proofmark { margin-bottom: 40px; }
}

/* Tableau ancien nom / nouveau nom */
.table-wrap { overflow-x: auto; margin: 1.6em 0 2em; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font: 400 .7rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule-2); }
.table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table td:first-child { color: var(--ink-3); }
.table .to { color: var(--ink); font-weight: 500; }
.table th[scope="row"] { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 1.04rem; font-weight: 500; line-height: 1.3; letter-spacing: -.005em; text-transform: none; color: var(--ink); }

/* Tableaux de fin de support : dates compactes et étiquettes de statut */
.table.eol { font-size: .9rem; }
.table.eol th, .table.eol td { padding-right: 10px; }
.table.eol td { white-space: nowrap; }
.table.eol td.to, .table.eol td:last-child { white-space: normal; }
.table.eol .st { white-space: normal; }
.table .ext { display: block; margin-top: 2px; font-size: .76rem; color: var(--ink-3); }
.st { display: inline-block; padding: .28em .55em; border: 1px solid currentColor; font-family: var(--mono); font-size: .64rem; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.st-ok { color: var(--steel); }
.st-warn { color: var(--ember); }
.st-bad { color: var(--ink-3); border-style: dashed; }

/* Façons de travailler */
.lede { grid-column: 4 / span 7; color: var(--ink-2); font-size: 1.12rem; }
/* Les trois formules en cartes, sur le gris glacier --bg-2 */
.models { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; }
.models li { padding: 28px 26px 8px; background: var(--bg-2); border: 1px solid var(--rule); border-radius: 4px; }
.model-n { display: block; font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.models h3 { margin-bottom: 8px; }
.models p { color: var(--ink-2); }
.fineprint { grid-column: 4 / span 9; margin: 34px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fineprint li::before { content: "— "; color: var(--accent); }
@media (max-width: 880px) {
  .lede, .fineprint { grid-column: 1 / -1; }
  .models { grid-template-columns: 1fr; }
  .models li { padding: 24px 22px 8px; }
}

/* Certification : le badge posé comme un autocollant */
.cred { align-items: center; }
.sticker { grid-column: 2 / span 3; justify-self: center; margin: 0; background: var(--sticker); padding: 20px 20px 14px; border-radius: 5px; transform: rotate(-4deg); box-shadow: var(--sticker-shadow); }
.sticker img { width: 150px; height: auto; }
.sticker figcaption { margin-top: 10px; text-align: center; font: 600 .6rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #57534b; }
.cred-text { grid-column: 6 / span 6; }
.cred-text h2 { margin-bottom: 24px; }
.cred-text p { color: var(--ink-2); max-width: 58ch; }
.ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 26px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.ladder li { display: flex; align-items: center; gap: 14px; color: var(--ink-3); }
.ladder li + li::before { content: "\2192"; color: var(--ink-3); opacity: .6; }
.ladder li:last-child { color: var(--ink); }
.ladder li:last-child span { border-bottom: 2px solid var(--ember-hot); }
@media (max-width: 880px) {
  .sticker { grid-column: 1 / -1; justify-self: start; margin: 0 0 40px 8px; }
  .cred-text { grid-column: 1 / -1; }
}

/* Questions fréquentes */
.faq { border-top: 1px solid var(--rule-2); }
.faq-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--rule); }
.faq-item h3 { grid-column: 1 / span 5; font-family: var(--sans); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.3; letter-spacing: -.012em; }
.faq-a { grid-column: 7 / span 6; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .faq-item h3, .faq-a { grid-column: 1 / -1; }
  .faq-item h3 { margin-bottom: 12px; }
}

/* ---------- Bandeau d'appel avant le pied de page ---------- */
.cta-band { border-top: 1px solid var(--rule); padding-block: clamp(64px, 9vw, 128px); }
.cta-band .kicker { margin-bottom: 22px; }
.cta-line { display: inline-block; font-family: var(--sans); font-weight: 500; font-size: clamp(2.1rem, 5.8vw, 4.9rem); line-height: 1.02; letter-spacing: -.035em; text-decoration: none; }
.cta-line .arr { display: inline-block; color: var(--accent); transition: transform .25s; }
.cta-line:hover { color: var(--ink); }
.cta-line:hover .arr { transform: translateX(.12em); }
.cta-band .cta-sub { margin: 24px 0 0; max-width: 52ch; color: var(--ink-2); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bg-2); padding-block: 60px 28px; font-size: .93rem; }
.footer-grid { row-gap: 40px; }
.f-brand { grid-column: 1 / span 3; }
.f-brand p { color: var(--ink-2); max-width: 32ch; margin-top: 16px; }
.f-nav { grid-column: span 2; }
.f-nav h2 { font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; line-height: 1.4; }
.f-nav ul { list-style: none; margin: 0; padding: 0; }
.f-nav li { margin-bottom: .55em; }
.f-nav a { text-decoration: none; }
.f-def { grid-column: 10 / span 3; margin: 0; padding-left: 20px; border-left: 2px solid var(--ember-hot); font-family: var(--sans); font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.f-def b { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--ink); font-size: 1.4em; line-height: 1; }
.f-def .pron { font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: var(--ink-3); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--ink-3); }
.footer-legal p { margin: 0; max-width: 92ch; }
@media (max-width: 1020px) {
  .f-brand { grid-column: 1 / -1; }
  .f-nav { grid-column: span 4; }
  .f-def { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .f-nav { grid-column: span 6; } }

/* ---------- Pages intérieures ---------- */
.page-head { padding-block: clamp(40px, 6vw, 92px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }
.page-head-in { grid-column: 1 / span 10; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 clamp(24px, 3vw, 36px); padding: 0; list-style: none; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: .5em; color: var(--ink-3); opacity: .5; }
.page-title { font-family: var(--sans); font-weight: 500; font-size: clamp(2.2rem, 5.1vw, 4.5rem); line-height: 1.02; letter-spacing: -.032em; max-width: 18ch; margin-bottom: clamp(22px, 3vw, 32px); }
.page-head .deck { max-width: 40ch; }
.byline { margin: 26px 0 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 880px) { .page-head-in { grid-column: 1 / -1; } }

.article { padding-block: clamp(48px, 6vw, 92px); }
.toc { grid-column: 1 / span 3; position: sticky; top: 28px; align-self: start; font-size: .9rem; }
.toc .kicker { margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: .38em 0 .38em 14px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.body { grid-column: 4 / span 6; min-width: 0; overflow-wrap: break-word; }
.body > section { scroll-margin-top: 24px; }
.body h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); margin: 2.1em 0 .6em; }
.body > section:first-child h2, .body > h2:first-child { margin-top: 0; }
.body h3 { margin: 1.7em 0 .5em; }
.body ul, .body ol { margin: 0 0 1.2em; padding-left: 1.15em; }
.body li { margin-bottom: .5em; }
.body li::marker { color: var(--accent); }
.body .intro { font-family: var(--sans); font-weight: 500; font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.5; letter-spacing: -.008em; color: var(--ink); }

/* Notes en marge (style Tufte) */
.sidenote { display: block; float: right; clear: right; width: 42%; margin: .3em -52% 1.2em 0; font-size: .8rem; line-height: 1.45; color: var(--ink-3); }
.sidenote .sn-n, sup.sn { font-family: var(--mono); color: var(--accent); }
sup.sn { font-size: .68em; line-height: 0; margin-left: .1em; }
.sidenote .sn-n { margin-right: .35em; }
@media (max-width: 1180px) {
  .toc { display: none; }
  .body { grid-column: 1 / span 8; }
  .sidenote { width: 44%; margin-right: -54%; }
}
@media (max-width: 880px) {
  .body { grid-column: 1 / -1; }
  .sidenote { float: none; width: auto; margin: -.4em 0 1.2em; padding-left: 12px; border-left: 2px solid var(--accent); }
}

/* Étapes numérotées */
.steps { counter-reset: st; list-style: none; margin: 1.4em 0 1.8em !important; padding: 0 !important; border-top: 1px solid var(--rule); }
.steps li { counter-increment: st; position: relative; margin: 0; padding: 16px 0 16px 58px; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--mono); font-size: .76rem; color: var(--accent); }
.steps li::marker { content: none; }
.steps strong { display: block; margin-bottom: 2px; }

/* Liste de composants (dl) */
.spec { display: grid; grid-template-columns: minmax(110px, max-content) 1fr; column-gap: 24px; margin: 1.4em 0 1.9em; border-top: 1px solid var(--rule); }
.spec dt { padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.spec dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 560px) {
  .spec { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
}

/* Notes de terrain */
.fieldnote { margin: 1.8em 0; padding: 22px 24px 8px; background: var(--bg-2); border-left: 3px solid var(--ember-hot); }
.fieldnote .kicker { margin-bottom: 10px; }
.fieldnote p { color: var(--ink-2); }

/* Encadré final d'une page */
.endnote { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--rule-2); }
.sources { font-size: .86rem; color: var(--ink-3); }
.sources li { margin-bottom: .4em; }

/* Blocs de code (lignes WebFormFields) : défilement horizontal interne, jamais celui de la page */
.code-label { margin: 1.7em 0 .45em; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.code { margin: 1.3em 0 1.8em; padding: 16px 18px; overflow-x: auto; background: var(--bg-2); border-left: 3px solid var(--accent); font: 400 .82rem/1.7 var(--mono); color: var(--ink); white-space: pre; tab-size: 2; }
.code-label + .code { margin-top: 0; }
.code code { background: none; padding: 0; border-radius: 0; font-size: inherit; }

/* Tableaux du guide : en-tête de ligne en texte courant, note ou correction sous la valeur */
.table.guide th[scope="row"] { width: 38%; font-size: .98rem; line-height: 1.35; }
.table.guide .ext { margin-top: 4px; font-size: .84rem; line-height: 1.45; font-weight: 400; }
.table.guide td code { font-size: .8rem; }
.table .fix { display: block; margin-top: 6px; color: var(--ink); }
.table .fix::before { content: "→ "; content: "→ " / ""; color: var(--accent); }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(48px, 6vw, 92px); }
.form-col { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / span 4; }
.contact-aside h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.contact-aside ul { padding-left: 1.1em; color: var(--ink-2); }
.contact-aside li { margin-bottom: .5em; }
.contact-aside li::marker { color: var(--accent); }
.contact-aside .mail { font-family: var(--mono); font-size: .9rem; }
.field { margin: 0 0 24px; }
.field label, .field .label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  border-radius: 0;
  padding: .55em 0;
  transition: border-color .2s, box-shadow .2s;
}
select { padding-right: 1.5em; cursor: pointer; }
select option { color: var(--ink); background: var(--bg-2); }
textarea { min-height: 190px; resize: vertical; border: 1px solid var(--ink-3); padding: .8em .9em; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
textarea:focus { box-shadow: 0 0 0 1px var(--accent); }
[aria-invalid="true"] { border-color: var(--ember) !important; }
.field-err { margin: 7px 0 0; font-size: .88rem; color: var(--ember); }
.field-hint { margin: 7px 0 0; font-size: .82rem; color: var(--ink-3); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alert { margin: 0 0 30px; padding: 16px 20px; border-left: 3px solid var(--ember); background: var(--bg-2); }
.alert p:last-child { margin-bottom: 0; }
.alert ul { margin: .4em 0 0; padding-left: 1.1em; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 10px; }
.privacy-note { margin: 22px 0 0; max-width: 62ch; font-size: .82rem; line-height: 1.5; color: var(--ink-3); }
.pow-note { font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; color: var(--ink-3); }
.pow-failed .pow-note { color: var(--ember); }
.success { padding: clamp(28px, 4vw, 44px); background: var(--bg-2); border: 1px solid var(--rule-2); }
.success h2 { margin-bottom: 18px; }
.success p { color: var(--ink-2); max-width: 54ch; }
@media (max-width: 1020px) {
  .form-col { grid-column: 1 / span 12; }
  .contact-aside { grid-column: 1 / span 12; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal .body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scribble path, .fig .f-line { stroke-dashoffset: 0; }
}

/* ---------- Impression ---------- */
@media print {
  /* Sur papier : encre noire sur blanc, accents assombris pour rester lisibles */
  :root { --bg: #fff; --bg-2: #f3f4f6; --bg-3: #e5e7eb; --ink: #000; --ink-2: #222; --ink-3: #4b5563; --rule: #d1d5db; --rule-2: #9ca3af; --accent: #0e6f7c; --on-accent: #fff; --ember: #b23c12; --ember-hot: #d9531e; --steel: #2f5d68; --sticker-shadow: 0 0 0 1px #d1d5db; color-scheme: light; }
  .site-header nav, .lang, .cta-band, .toc, .site-footer .f-nav { display: none; }
  body { background: #fff; color: #000; }
}
