/* Polices hébergées ici (plus d'appel à Google Fonts : plus rapide, sans transfert de données vers Google). Sous-ensemble latin. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #07080a;
  --bg-2: #0e0f11;
  --surface: #14161a;
  --ink: #f3f1ea;
  --muted: rgba(243, 241, 234, 0.72);
  --dim: rgba(243, 241, 234, 0.64);
  --line: rgba(243, 241, 234, 0.14);
  --accent: #e8b64a;
  --on-accent: #0b0c0a;
  --bad: #ff5d5d;
  --warn: #ff8a4c;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
code { font-family: var(--mono); font-size: .9em; background: rgba(243, 241, 234, .08); padding: .1em .4em; border-radius: 5px; }
.mono { font-family: var(--mono); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(80px, 12vw, 180px) 0; position: relative; }
.kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 5.4vw, 4.6rem); line-height: 1.02; font-weight: 800; font-stretch: 100%; letter-spacing: -.02em; max-width: 18ch; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 56ch; margin-top: 24px; }

/* word mask reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent); font: 700 1rem/1 var(--font); text-decoration: none;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; touch-action: manipulation;
}
.btn:hover { box-shadow: 0 0 0 6px rgba(232, 182, 74, .16); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- Nav ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter); transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 8, 10, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--accent); }
.logo span { color: var(--ink); }
.chip { font: 600 12px var(--mono); background: var(--accent); color: var(--on-accent); padding: 2px 7px; border-radius: 6px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .2s; padding: 8px 0; }
.nav nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-rows: 1fr auto; column-gap: clamp(24px, 4vw, 64px); padding: 120px var(--gutter) 0; overflow: hidden; isolation: isolate;
}
.rain { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.rain span { position: absolute; font: 12px var(--mono); color: var(--ink); opacity: .07; white-space: nowrap; will-change: transform; }
/* Texte décoratif en contenu généré : les outils d'accessibilité ne le comptent pas comme du texte à contraster. */
.rain span::before { content: attr(data-t); }
.ticker {
  position: absolute; right: -1vw; bottom: 9%; z-index: -1; font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -.05em;
  font-size: clamp(8rem, 27vw, 30rem); font-variant-numeric: tabular-nums; pointer-events: none; user-select: none;
  color: transparent; -webkit-text-stroke: 2px var(--bad); transition: -webkit-text-stroke-color .4s, color .5s, text-shadow .5s;
}
.ticker[data-state="warn"] { -webkit-text-stroke-color: var(--warn); }
.ticker[data-state="ok"] { -webkit-text-stroke-color: var(--accent); }
.ticker[data-state="done"] { color: rgba(232, 182, 74, .16); -webkit-text-stroke-color: var(--accent); text-shadow: 0 0 80px rgba(232, 182, 74, .35); }
.hero-in { grid-column: 1; align-self: center; padding-bottom: 40px; max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 5.8rem); line-height: .98; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--bad); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.term {
  grid-column: 2; align-self: center; margin: 0 0 40px; background: rgba(14, 15, 17, .86); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--dim); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.term-bar span { margin-left: auto; text-transform: uppercase; letter-spacing: .08em; }
.term-body { padding: 20px; font-size: clamp(11.5px, 1.05vw, 14px); line-height: 1.85; min-height: 17.5em; }
.tl { white-space: pre-wrap; min-height: 1.85em; }
.tl.cmd { color: var(--ink); }
.tl.bad { color: var(--bad); }
.tl.ok { color: var(--accent); }
.tl.dim { color: var(--dim); }
.tl.good { color: var(--accent); font-weight: 600; }
.tl.cur::after { content: ''; display: inline-block; width: .55em; height: 1.1em; background: var(--accent); margin-left: 2px; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.marquee { grid-column: 1 / -1; margin: 0 calc(var(--gutter) * -1); border-block: 1px solid var(--line); background: rgba(7, 8, 10, .8); overflow: hidden; font-size: 13px; }
.marquee-track { display: flex; gap: 28px; padding: 14px 0; width: max-content; animation: marq 70s linear infinite; }
.marquee-track span { color: var(--dim); white-space: nowrap; }
.marquee-track span.ok { color: var(--accent); }
.marquee-track b { color: var(--bad); }
.marquee-track b.okb { color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- End of life ---------- */
.eol { min-height: 100svh; display: flex; align-items: center; padding: 100px 0 48px; }
.eol h2 { max-width: 26ch; font-size: clamp(2rem, 4.2vw, 3.7rem); }
.eol .lead { margin-top: 16px; }
.eol-count { font-family: var(--mono); font-size: 1rem; color: var(--warn); }
.vwrap { margin-top: 32px; }
.vaxis, .vgrid { margin-left: 64px; position: relative; }
.vaxis { height: 28px; font-size: 11px; color: var(--dim); }
.vaxis span { position: absolute; top: 0; transform: translateX(-50%); }
.vaxis span::after { content: ''; position: absolute; left: 50%; top: 20px; height: 9999px; width: 1px; background: var(--line); opacity: .45; pointer-events: none; }
.vgrid { padding-bottom: 8px; }
.vrow { position: relative; height: 40px; display: flex; align-items: center; border-top: 1px solid var(--line); }
.vlabel { position: absolute; right: calc(100% + 14px); width: 50px; text-align: right; font: 600 15px var(--mono); }
.vrow.is-new .vlabel { color: var(--accent); }
.vbar { position: absolute; top: 7px; bottom: 7px; border-radius: 8px; transform-origin: 0 50%; display: flex; align-items: center; padding: 0 12px; font: 11px var(--mono); color: var(--on-accent); white-space: nowrap; overflow: hidden; }
.vbar.dead { background: var(--bad); }
.vbar.warn { background: var(--warn); }
.vbar.ok { background: var(--accent); }
.today { position: absolute; top: -28px; bottom: 0; left: 0; width: 0; z-index: 3; border-left: 2px dashed var(--ink); }
.today span { position: absolute; top: 0; left: 8px; font-size: 11px; background: var(--ink); color: var(--bg); padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 12px; color: var(--dim); }
.lg::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; background: currentColor; }
.lg.dead { color: var(--bad); } .lg.warn { color: var(--warn); } .lg.ok { color: var(--accent); }
.lg-note { flex-basis: 100%; }

/* ---------- Breaks (horizontal) ---------- */
.breaks { position: relative; }
.breaks-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 100px 0; overflow: hidden; }
.breaks-head h2 { max-width: 22ch; }
.breaks-track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; }
.card {
  width: min(78vw, 400px); flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
}
.card .tag { align-self: flex-start; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.card .tag.ok { color: var(--accent); border-color: rgba(232, 182, 74, .4); }
.card pre { margin: 0; background: #050607; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 12.5px; line-height: 1.7; overflow: hidden; min-height: 7.8em; }
.card pre code { background: none; padding: 0; font-size: inherit; }
.card pre.bad { color: var(--bad); } .card pre.warn { color: var(--warn); } .card pre.good { color: var(--accent); }
.card p { color: var(--muted); font-size: .96rem; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card.last { border-color: rgba(232, 182, 74, .45); background: linear-gradient(160deg, rgba(232, 182, 74, .1), var(--surface) 60%); }

/* ---------- Method ---------- */
.method-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.method-intro { position: sticky; top: 120px; }
.steps { list-style: none; margin: 0; padding: 0 0 0 52px; position: relative; display: grid; gap: 56px; }
.steps-line { position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.steps-line i { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: 50% 0; transform: scaleY(0); }
.step { position: relative; display: grid; gap: 8px; }
.step .n { position: absolute; left: -52px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); display: grid; place-items: center; font-size: 10px; color: var(--dim); transition: border-color .3s, color .3s, background .3s; }
.step.on .n { border-color: var(--accent); color: var(--on-accent); background: var(--accent); }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.step p { color: var(--muted); max-width: 52ch; }

/* ---------- Diff ---------- */
.panes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pane.after { border-color: rgba(232, 182, 74, .4); box-shadow: 0 0 80px rgba(232, 182, 74, .06); }
.pane-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pane-h small { margin-left: auto; color: var(--dim); font-size: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; } .dot.bad { background: var(--bad); } .dot.ok { background: var(--accent); }
.pane pre { margin: 0; padding: 22px 20px; font-size: clamp(12px, 1.2vw, 15px); line-height: 1.8; overflow-x: auto; }
.pane code { background: none; padding: 0; font-size: inherit; white-space: pre; }
.ln { display: block; padding: 0 8px; margin: 0 -8px; border-radius: 4px; }
.after .ln.hi { background: rgba(232, 182, 74, .1); color: var(--accent); }

/* ---------- Checker ---------- */
.check-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.checker { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { min-width: 56px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: transparent; color: var(--ink); border: 1px solid var(--line); font: 600 14px var(--mono); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); touch-action: manipulation; }
.pick:hover { border-color: var(--accent); }
.pick[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pick.unk { font-family: var(--font); }
.gauge { height: 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.gauge i { display: block; height: 100%; width: 100%; background: var(--dim); transform-origin: 0 50%; transform: scaleX(0); border-radius: 999px; }
.verdict { min-height: 8.5em; }
.v-title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.v-text { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.checker .btn { justify-self: start; }

/* ---------- Prices ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.feat { border-color: var(--accent); background: linear-gradient(170deg, rgba(232, 182, 74, .12), var(--surface) 55%); transform: translateY(-12px); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.price { display: flex; flex-direction: column; margin-top: 4px; }
.price b { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.price small { color: var(--dim); font: 12px var(--mono); margin-top: 6px; }
.plan-d { color: var(--muted); font-size: .95rem; }
.plan ul { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: .95rem; }
.plan li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.fine { color: var(--dim); font-size: .88rem; margin-top: 32px; max-width: 70ch; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 120px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 600; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font: 400 28px/1 var(--mono); color: var(--accent); transition: transform .3s var(--ease); flex: none; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { color: var(--muted); padding: 0 48px 26px 0; max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(900px 500px at 85% 0%, rgba(232, 182, 74, .09), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.big-v { margin-top: 56px; font-size: clamp(1.6rem, 4vw, 3.2rem); font-weight: 600; color: var(--dim); }
.big-v span { color: var(--accent); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; }
.field label small { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 182, 74, .15); }
.field.err input, .field.err textarea { border-color: var(--bad); }
.field .msg { color: var(--bad); font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.status { font-size: .95rem; min-height: 1.5em; }
.status.ok { color: var(--accent); } .status.ko { color: var(--bad); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.foot a { text-decoration: none; color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; }
  .hero-in, .term { grid-column: 1; }
  .term { margin-top: 8px; }
  .ticker { right: -6vw; bottom: auto; top: 14%; font-size: 62vw; opacity: .5; }
  .nav nav { display: none; }
  .nav { justify-content: space-between; }
  .method-grid, .check-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .method-intro, .faq-grid > div:first-child { position: static; }
  .plans { grid-template-columns: 1fr; }
  .plan.feat { transform: none; }
  .panes { grid-template-columns: 1fr; }
}
@media (max-width: 859px) {
  .breaks-pin { min-height: 0; overflow: visible; padding: 80px 0; }
  .breaks-track { display: grid; width: auto; grid-template-columns: 1fr; padding: 0 var(--gutter); }
  .card { width: 100%; }
}
@media (max-width: 560px) {
  .vaxis, .vgrid { margin-left: 48px; }
  .vlabel { width: 38px; font-size: 13px; right: calc(100% + 10px); }
  .vbar { padding: 0 6px; font-size: 0; }
  .vaxis span:nth-child(even) { display: none; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
  .nav .btn-sm { padding: 0 14px; }
  .logo { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .tl.cur::after { animation: none; }
}

/* ---------- Pages guides (SEO) ---------- */
.page-hero { padding: 140px 0 24px; }
.crumbs { font: 12px var(--mono); color: var(--dim); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; max-width: 21ch; text-wrap: balance; }
.page-hero .lead { max-width: 62ch; }
.byline { font: 12px var(--mono); color: var(--dim); margin-top: 24px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: clamp(32px, 6vw, 96px); align-items: start; padding: 32px var(--gutter) clamp(60px, 9vw, 120px); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: none; line-height: 1.1; margin: 64px 0 18px; letter-spacing: -.02em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 1.15rem; }
.prose p, .prose li { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 10px; margin: 0 0 22px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose pre { margin: 0 0 24px; background: #050607; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; }
.prose pre code { background: none; padding: 0; font-size: inherit; color: var(--ink); }
.prose .callout { border-left: 3px solid var(--accent); background: var(--surface); padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 0 0 24px; }
.prose .callout p { margin: 0; }
.tablewrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.prose th { color: var(--ink); font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--ink); font-family: var(--mono); font-size: .85rem; white-space: nowrap; }
.prose .qa { margin: 8px 0 0; }
.aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.toc, .aside-cta { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.toc p, .aside-cta p { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.toc a:hover { color: var(--accent); }
.aside-cta { border-color: rgba(232, 182, 74, .4); background: linear-gradient(160deg, rgba(232, 182, 74, .1), var(--surface) 60%); }
.aside-cta h3 { margin-bottom: 10px; }
.aside-cta .small { color: var(--muted); font-size: .92rem; margin: 0 0 16px; text-transform: none; font-family: var(--font); letter-spacing: 0; }
.related { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 90px) 0; }
.related h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; transition: border-color .25s, transform .35s var(--ease); }
.related-grid a:hover { border-color: var(--accent); transform: translateY(-4px); }
.related-grid b { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.related-grid span { color: var(--muted); font-size: .92rem; }
.cta-band { background: radial-gradient(800px 400px at 80% 0%, rgba(232, 182, 74, .12), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 110px) 0; }
.cta-band h2 { margin-bottom: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 var(--gutter) 8px; font-size: 13px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
@media (max-width: 1000px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}
.guides .related-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .guides .related-grid { grid-template-columns: 1fr; } }

/* Titres des guides : numéro or, trait d'accent, mot-clé du h1 en or */
.page-hero h1 em { font-style: normal; color: var(--accent); }
.prose { counter-reset: sec; }
.prose h2 { counter-increment: sec; }
.prose h2::before { content: counter(sec, decimal-leading-zero) " /"; display: block; font: 600 12px var(--mono); letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.prose h2::after { content: ''; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--accent); margin-top: 16px; }
.prose h3 { color: var(--accent); font-size: 1.05rem; letter-spacing: .01em; }

/* Pré-masquage : le contenu animé est caché dès le premier affichage (classe .js posée dans le <head>),
   puis GSAP pose son propre état et retire .js. Sans ça, le texte apparaît, disparaît, puis réapparaît. */
@media (prefers-reduced-motion: no-preference) {
  .js .guide .crumbs, .js .guide .page-hero .lead, .js .guide .byline, .js .guide .aside > *,
  .js .guide .prose h2, .js .guide .prose .callout, .js .guide .prose pre, .js .guide .tablewrap,
  .js .guide .qa details, .js .guide .related-grid a,
  .js .home .nav, .js .home [data-fade], .js .home .marquee { opacity: 0; }
  .js .guide .page-hero h1, .js .home .hero h1 { visibility: hidden; }
}

.nav .short { display: none; }
@media (max-width: 560px) {
  .logo { white-space: nowrap; }
  .logo .chip { display: none; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
}

.fine-form { font-size: .85rem; color: var(--dim); margin: 0; }
.fine-form a { color: var(--muted); }
.prose mark { background: #ffe14d; color: #07080a; padding: 0 .3em; border-radius: 4px; }
