/* engagement.jeandon.fr — DA « nuit tactique » : noir olive, sable (rang), acier (officier), signal lime */

/* Polices auto-hébergées (aucune requête vers Google) */
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-italic-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;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-normal-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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-normal-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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-normal-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: #0a0c08;
  --bg-2: #0f120c;
  --bg-3: #161a11;
  --card: rgba(236, 239, 226, .035);
  --line: rgba(236, 239, 226, .1);
  --line-2: rgba(236, 239, 226, .2);
  --text: #eceee4;
  --muted: #a2a797;
  --dim: #6f7465;
  --signal: #d4f53c;
  --signal-2: #e6ff7a;
  --ink: #0a0c08;
  --rang: #e2c07c;
  --off: #93b3ff;
  --so: #b9c2a6;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: 16px;
  --maxw: 1240px;
  --r: 20px;
  --r-sm: 12px;
  --top-h: 60px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gut: 32px; --top-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + env(safe-area-inset-top) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
svg { width: 1em; height: 1em; flex: none; }
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--dim); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: calc(12px + env(safe-area-inset-top)); }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg:not(.ic-play) { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-signal { background: var(--signal); color: var(--ink); box-shadow: 0 0 0 0 rgba(212, 245, 60, .5); }
.btn-signal:hover { background: var(--signal-2); box-shadow: 0 10px 40px -10px rgba(212, 245, 60, .55); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(236, 239, 226, .04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--text); background: rgba(236, 239, 226, .08); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 1.08rem; }
.ic-play { width: .85em; height: .85em; }
.link-u { font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ── Progression + barre du haut ─────────────────────────── */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled, body.menu-open .topbar { background: rgba(10, 12, 8, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.topbar-in { height: var(--top-h); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 26px; height: 26px; color: var(--signal); }
.brand-word { font-weight: 800; font-stretch: 75%; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: none; }
.topbar-cta { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; margin-right: -10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 4px; margin-right: 12px; }
  .nav a { font-size: .9rem; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
  .nav a:hover { color: var(--text); background: rgba(236, 239, 226, .06); }
  .nav a.active { color: var(--text); }
  .topbar-cta { display: inline-flex; }
  .burger { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 40; background: rgba(10, 12, 8, .97);
  padding: calc(var(--top-h) + env(safe-area-inset-top) + 24px) max(var(--gut), env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(var(--gut), env(safe-area-inset-left));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .3s;
}
.menu.open { opacity: 1; }
.menu-nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-weight: 800; font-stretch: 72%; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05; text-transform: uppercase;
  transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, color .2s;
}
.menu-nav a i { font: 500 .75rem var(--mono); color: var(--signal); font-style: normal; }
.menu-nav a:active { color: var(--signal); }
.menu.open .menu-nav a { transform: none; opacity: 1; }
.menu.open .menu-nav a:nth-child(2) { transition-delay: .03s; } .menu.open .menu-nav a:nth-child(3) { transition-delay: .06s; }
.menu.open .menu-nav a:nth-child(4) { transition-delay: .09s; } .menu.open .menu-nav a:nth-child(5) { transition-delay: .12s; }
.menu.open .menu-nav a:nth-child(6) { transition-delay: .15s; } .menu.open .menu-nav a:nth-child(7) { transition-delay: .18s; }
.menu-foot { color: var(--dim); }
body.menu-open { overflow: hidden; }

/* ── Titres ─────────────────────────────────────────────── */
.kicker { font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: .6em; align-items: center; }
.kicker span { color: var(--signal); }
.h2 {
  font-weight: 850; font-stretch: 70%; text-transform: uppercase;
  font-size: clamp(2.3rem, 9.5vw, 5.2rem); line-height: .92; letter-spacing: -.005em;
  margin-top: 16px; text-wrap: balance;
}
.h2 em, .final-title em { font-style: normal; color: var(--muted); }
.h3 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1; }
.lead { color: var(--muted); font-size: 1.06rem; max-width: 60ch; margin-top: 18px; text-wrap: pretty; }
@media (min-width: 720px) { .lead { font-size: 1.15rem; } }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--top-h) + env(safe-area-inset-top) + 40px) 0 calc(88px + env(safe-area-inset-bottom));
  overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .topo {
  position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; opacity: .75;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 20%, transparent 75%);
  animation: drift 40s ease-in-out infinite alternate;
}
.hero-bg .glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 85% 12%, rgba(212, 245, 60, .13), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(147, 179, 255, .08), transparent 70%),
    linear-gradient(180deg, rgba(10, 12, 8, 0) 40%, var(--bg) 100%);
}
.hero-bg .scan {
  position: absolute; left: 0; right: 0; height: 30vh; top: -30vh;
  background: linear-gradient(180deg, transparent, rgba(212, 245, 60, .06) 80%, rgba(212, 245, 60, .22) 100%);
  border-bottom: 1px solid rgba(212, 245, 60, .35);
  animation: scan 7s cubic-bezier(.6, 0, .4, 1) infinite; animation-delay: 1.4s; opacity: .7;
}
@keyframes drift { to { transform: translate3d(-2.5%, 2%, 0) scale(1.04); } }
@keyframes scan { 0% { transform: translateY(0); } 70%, 100% { transform: translateY(160vh); } }

.hud { position: absolute; inset: calc(var(--top-h) + env(safe-area-inset-top) + 8px) var(--gut) calc(18px + env(safe-area-inset-bottom)); pointer-events: none; }
.c { position: absolute; width: 18px; height: 18px; border: 0 solid var(--line-2); }
.c.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.c.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.c.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.c.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hud-coord { position: absolute; right: 26px; bottom: 0; color: var(--dim); font-size: .66rem; transform: translateY(35%); }
.hud-rec { position: absolute; right: 26px; top: 0; color: var(--muted); font-size: .66rem; display: flex; align-items: center; gap: 8px; transform: translateY(-35%); }
.hud-rec b, .rec b { width: 7px; height: 7px; border-radius: 50%; background: #ff5a3c; box-shadow: 0 0 12px #ff5a3c; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.hero-in { position: relative; }
.hero-kicker { margin-bottom: 18px; }
.hero-title {
  font-weight: 900; font-stretch: 66%; text-transform: uppercase;
  font-size: clamp(3.4rem, 17vw, 9.6rem); line-height: .86; letter-spacing: -.01em;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero-title .ln:nth-child(2) > span { animation-delay: .1s; }
.hero-title .ln:nth-child(3) > span { animation-delay: .2s; }
.hero-title .hl { color: var(--signal); }
@keyframes rise { to { transform: none; } }
.hero-lead { color: #c9ccbf; font-size: 1.08rem; max-width: 34em; margin-top: 22px; opacity: 0; animation: fade .8s .45s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; opacity: 0; animation: fade .8s .55s forwards; }
.hero-ctas .btn { flex: 1 1 auto; }
.hero-tracks { display: grid; gap: 10px; margin-top: 28px; opacity: 0; animation: fade .8s .7s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.htrack {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(10, 12, 8, .45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s, background .25s;
}
.htrack i { grid-row: span 2; font-style: normal; color: var(--tc); }
.htrack b { font-weight: 700; }
.htrack span { grid-column: 2; font-size: .88rem; color: var(--muted); }
.htrack svg { grid-row: 1 / span 2; grid-column: 3; color: var(--tc); transition: transform .25s var(--ease); }
.htrack:hover { border-color: var(--tc); }
.htrack:hover svg { transform: translateX(4px); }
.t-rang { --tc: var(--rang); --tc-soft: rgba(226, 192, 124, .1); }
.t-off { --tc: var(--off); --tc-soft: rgba(147, 179, 255, .1); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--dim); font-size: .62rem; }
.scroll-cue svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
@media (min-width: 720px) {
  .hero { justify-content: center; padding-bottom: 120px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .hero-tracks { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .hud { inset: calc(var(--top-h) + env(safe-area-inset-top) + 16px) var(--gut) 28px; }
}
@media (min-width: 1024px) {
  .hero-lead { font-size: 1.2rem; }
  .hero-tracks { position: absolute; right: var(--gut); bottom: 0; grid-template-columns: 300px; }
}
@media (max-height: 640px) and (max-width: 719px) { .hero-tracks { display: none; } }

/* ── Chiffres ───────────────────────────────────────────── */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; padding-top: 0; padding-bottom: 0; }
.stat { padding: 26px 16px 26px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 16px; padding-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat > b { display: block; font-weight: 900; font-stretch: 66%; font-size: clamp(2.6rem, 11vw, 4.2rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat > b small { font-size: .45em; font-weight: 700; color: var(--signal); }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(even) { padding: 36px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 88px 0; position: relative; }
.section-dark { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 40px; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
@media (min-width: 720px) { .section { padding: 128px 0; } .sec-head { margin-bottom: 56px; } }

/* ── Deux voies ─────────────────────────────────────────── */
.tracks { display: grid; gap: 14px; }
.track {
  position: relative; padding: 26px 22px 24px; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--tc-soft), transparent 55%), var(--card); overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.track::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--tc); }
.track:hover { border-color: color-mix(in srgb, var(--tc) 45%, transparent); }
.track-top { display: flex; justify-content: space-between; align-items: center; color: var(--tc); }
.track-glyph svg { width: 34px; height: 34px; }
.t-off .track-glyph svg { transform: rotate(180deg); }
.track-title { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: clamp(2.8rem, 13vw, 4.6rem); line-height: .88; margin-top: 22px; }
.track-tag { color: var(--tc); font-weight: 700; font-size: 1.15rem; margin-top: 10px; }
.track-desc { color: var(--muted); margin-top: 12px; }
.facts { margin-top: 22px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .7rem/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.facts dd { font-weight: 600; font-size: .95rem; }
.track-actions { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.btn-track { background: var(--tc); color: var(--ink); min-height: 48px; }
.btn-track:hover { filter: brightness(1.08); }
.track .link-u { color: var(--tc); font-size: .95rem; }
.bridge { position: relative; padding: 20px 20px 20px 22px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--muted); font-size: .95rem; }
.bridge b { color: var(--signal); font-weight: 700; display: block; margin-bottom: 4px; }
.bridge-line { display: none; }
@media (min-width: 900px) {
  .tracks { grid-template-columns: 1fr 240px 1fr; align-items: center; gap: 0; }
  .track { padding: 36px 34px 32px; }
  .bridge { border: 0; text-align: center; padding: 16px 22px; font-size: .9rem; }
  .bridge-line { display: block; position: absolute; left: 0; right: 0; top: -40px; height: 1px; background: linear-gradient(90deg, var(--rang), var(--off)); }
  .bridge-line::before, .bridge-line::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; }
  .bridge-line::before { left: 0; background: var(--rang); }
  .bridge-line::after { right: 0; background: var(--off); }
}

/* ── Témoignages ────────────────────────────────────────── */
.testis { display: grid; gap: 56px; }
.testi { display: grid; gap: 22px; }
.player {
  --ar: 16 / 9;
  position: relative; aspect-ratio: var(--ar); max-height: 82svh; margin-inline: auto; width: 100%;
  border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line);
}
.player.portrait { width: auto; height: min(82svh, 720px); max-width: 100%; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-cover {
  position: absolute; inset: 0; display: grid; place-items: center; background-size: cover; background-position: center;
  background-color: transparent;
}
.player-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); transition: opacity .3s; }
.player-cover:hover::before { opacity: .6; }
.play-btn {
  position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tc, var(--signal)); color: var(--ink); box-shadow: 0 0 0 10px color-mix(in srgb, var(--tc) 22%, transparent);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.player-cover:hover .play-btn { transform: scale(1.07); box-shadow: 0 0 0 16px color-mix(in srgb, var(--tc) 16%, transparent); }
.player-dur { position: absolute; right: 14px; bottom: 12px; background: rgba(0, 0, 0, .6); padding: 5px 9px; border-radius: 8px; font-size: .7rem; }
.player-dur:empty { display: none; }
.player.playing .player-cover { opacity: 0; pointer-events: none; }
.player-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-soon { background: var(--bg-3); display: grid; place-items: center; }
.player-soon .topo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.player-soon .c { border-color: var(--tc); margin: 14px; }
.soon { position: relative; text-align: center; padding: 20px; }
.soon p { font-weight: 900; font-stretch: 68%; text-transform: uppercase; font-size: clamp(1.8rem, 7vw, 2.8rem); line-height: 1; margin-top: 12px; }
.soon small { color: var(--muted); font-size: .92rem; }
.rec { display: inline-flex; align-items: center; gap: 8px; color: #ff8a70; }

.testi-tags { display: flex; align-items: center; gap: 12px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--tc); background: var(--tc-soft); border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tc); }
.testi-num { color: var(--dim); }
.testi-name { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2rem, 8vw, 3.2rem); line-height: .95; margin-top: 14px; }
.testi-meta { color: var(--muted); margin-top: 8px; font-weight: 500; }
.testi-quote { margin-top: 18px; font-size: 1.2rem; line-height: 1.45; font-weight: 500; font-style: italic; border-left: 2px solid var(--tc); padding-left: 16px; color: #d9dccf; }
.chapters { margin-top: 24px; }
.mini-title { color: var(--dim); margin-bottom: 8px; }
.chap {
  width: 100%; display: flex; gap: 14px; align-items: baseline; text-align: left; padding: 11px 12px; margin: 0 -12px; width: calc(100% + 24px);
  border-radius: 10px; font-weight: 500; transition: background .2s, color .2s;
}
.chap .mono { color: var(--tc); min-width: 3.4em; }
.chap:not(:disabled):hover { background: rgba(236, 239, 226, .05); }
.chap.active { background: var(--tc-soft); color: var(--text); }
.chap:disabled { cursor: default; color: var(--muted); }
.qlist li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); display: flex; gap: 10px; }
.qlist li::before { content: "→"; color: var(--tc); }
.transcript { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.transcript summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript-body { padding: 0 16px 16px; max-height: 50vh; overflow: auto; color: var(--muted); }
.transcript-body p + p { margin-top: 12px; }
@media (min-width: 900px) {
  .testis { gap: 96px; }
  .testi { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .testi:nth-child(even) .testi-media { order: 2; }
  .testi-media { position: sticky; top: calc(var(--top-h) + 24px); }
  .play-btn { width: 92px; height: 92px; }
}

/* ── Parcours ───────────────────────────────────────────── */
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); max-width: 460px; margin-bottom: 40px; }
.tabs button { position: relative; z-index: 1; min-height: 46px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs-ink { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--rang); transition: transform .45s var(--ease), background .45s; }
.tabs[data-active="officier"] .tabs-ink { transform: translateX(100%); background: var(--off); }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--tc), transparent); }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--tc); color: var(--tc); font-size: .72rem; position: relative; }
.step-card { padding: 18px 18px 20px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.step-tag { color: var(--tc); font-size: .68rem; }
.step-card h3 { font-weight: 800; font-size: 1.25rem; line-height: 1.2; margin-top: 6px; }
.step-card p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
.ways { display: grid; gap: 10px; margin-top: 14px; }
.way { padding: 14px; border-radius: 10px; background: var(--tc-soft); border: 1px solid color-mix(in srgb, var(--tc) 25%, transparent); }
.way span { color: var(--tc); font-size: .66rem; }
.way b { display: block; font-size: 1.05rem; margin-top: 4px; }
.way p { margin-top: 4px; font-size: .9rem; }
.panel[hidden] { display: none; }
.panel.enter .step { animation: fade .5s var(--ease) both; }
.panel.enter .step:nth-child(2) { animation-delay: .04s; } .panel.enter .step:nth-child(3) { animation-delay: .08s; }
.panel.enter .step:nth-child(4) { animation-delay: .12s; } .panel.enter .step:nth-child(5) { animation-delay: .16s; }
.panel.enter .step:nth-child(6) { animation-delay: .2s; } .panel.enter .step:nth-child(7) { animation-delay: .24s; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .timeline::before { display: none; }
  .step { grid-template-columns: 48px 1fr; }
  .step-n { width: 48px; height: 48px; }
  .step:first-child:has(.ways) { grid-column: 1 / -1; }
  .ways { grid-template-columns: repeat(3, 1fr); }
}

.ladder-wrap { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.ladder-head p { color: var(--muted); margin-top: 10px; }
.ladder { display: grid; gap: 8px; margin-top: 28px; }
.rung { padding: 20px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); border-top: 3px solid var(--rc); }
.r-rang { --rc: var(--rang); } .r-so { --rc: var(--so); } .r-officier { --rc: var(--off); }
.rung-title { font-weight: 800; font-size: 1.15rem; color: var(--rc); }
.rung-sub { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.rung ol { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rung li { font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.rung li:last-child { background: color-mix(in srgb, var(--rc) 16%, transparent); border-color: color-mix(in srgb, var(--rc) 40%, transparent); }
.rung-link { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--signal); font-size: .64rem; padding: 4px 0; }
.rung-link svg { transform: rotate(90deg); }
@media (min-width: 900px) {
  .ladder { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; }
  .rung-link { flex-direction: column; }
  .rung-link svg { transform: none; }
}

/* ── Comparateur ────────────────────────────────────────── */
.cmp { border-top: 1px solid var(--line); }
.cmp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 5; background: var(--bg-2); padding: 12px 0; border-bottom: 1px solid var(--line); }
.cmp-head span:first-child { display: none; }
.cmp-head span { font-weight: 800; font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.cmp-head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.c-rang { color: var(--rang); } .c-off { color: var(--off); }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cmp-crit { grid-column: 1 / -1; font: 500 .7rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.cmp-cell { color: var(--text); font-weight: 500; font-size: .95rem; line-height: 1.45; padding-left: 12px; border-left: 2px solid currentColor; }
.cmp-cell.c-rang { border-color: var(--rang); } .cmp-cell.c-off { border-color: var(--off); }
.cmp-cell { color: var(--text); }
@media (min-width: 900px) {
  .cmp-head, .cmp-row { grid-template-columns: 220px 1fr 1fr; gap: 32px; }
  .cmp-head span:first-child { display: block; }
  .cmp-head span { font-size: 1rem; }
  .cmp-row { padding: 22px 0; align-items: baseline; }
  .cmp-crit { grid-column: auto; }
  .cmp-cell { font-size: 1.05rem; border-left: 0; padding-left: 0; }
}

/* ── Vrai / faux ────────────────────────────────────────── */
.score { font-size: 1.6rem; color: var(--signal); font-weight: 500; letter-spacing: 0; }
.score small { display: block; font-size: .62rem; color: var(--dim); letter-spacing: .12em; }
.myths { display: grid; gap: 12px; }
.myth { position: relative; padding: 22px 20px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; transition: border-color .3s, background .3s; }
.myth-n { color: var(--dim); }
.myth-claim { font-weight: 800; font-stretch: 85%; font-size: 1.35rem; line-height: 1.2; margin-top: 10px; flex: 1; }
.myth-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.myth-actions button { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.myth-actions button:hover { border-color: var(--text); background: rgba(236, 239, 226, .05); }
.myth-actions button:disabled { cursor: default; opacity: .35; }
.myth-actions button.picked { opacity: 1; background: var(--text); color: var(--ink); border-color: var(--text); }
.myth-answer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; animation: fade .4s var(--ease); }
.myth-verdict { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.myth-verdict b { font-weight: 900; font-stretch: 68%; text-transform: uppercase; font-size: 1.5rem; color: var(--text); }
.myth-res { font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.myth.good { border-color: rgba(212, 245, 60, .45); }
.myth.good .myth-res { background: rgba(212, 245, 60, .14); color: var(--signal); }
.myth.bad { border-color: rgba(255, 110, 80, .4); }
.myth.bad .myth-res { background: rgba(255, 110, 80, .12); color: #ff8a70; }
@media (min-width: 720px) { .myths { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .myths { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ── Quiz ───────────────────────────────────────────────── */
.section-quiz { background: radial-gradient(80% 60% at 50% 0%, rgba(212, 245, 60, .07), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quiz-shell { max-width: 820px; margin: 0 auto; }
.quiz-intro { text-align: left; }
.quiz { margin-top: 34px; min-height: 200px; }
.quiz-start { display: flex; }
.q-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.q-back { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: opacity .2s; }
.q-back svg { transform: rotate(180deg); }
.q-back:disabled { opacity: .25; cursor: default; }
.q-bar { flex: 1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.q-bar span { display: block; height: 100%; background: var(--signal); border-radius: 4px; transition: width .45s var(--ease); }
.q-count { color: var(--muted); }
.q-title { font-weight: 800; font-stretch: 80%; font-size: clamp(1.5rem, 5.5vw, 2.2rem); line-height: 1.12; }
.q-opts { display: grid; gap: 10px; margin-top: 22px; }
.q-opt {
  display: flex; align-items: center; gap: 14px; text-align: left; min-height: 64px; padding: 14px 18px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); font-weight: 600; font-size: 1.02rem; line-height: 1.35;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.q-opt i { font: 500 .7rem var(--mono); font-style: normal; width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-2); color: var(--muted); }
.q-opt:hover { border-color: var(--text); }
.q-opt:active { transform: scale(.985); }
.q-opt.sel { border-color: var(--signal); background: rgba(212, 245, 60, .08); }
.q-opt.sel i { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.q-step { animation: fade .45s var(--ease); }
.q-res-kicker { color: var(--muted); }
.q-res-title { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: clamp(2.6rem, 12vw, 5rem); line-height: .9; margin-top: 12px; color: var(--tc, var(--signal)); }
.q-res-text { color: #c9ccbf; margin-top: 16px; font-size: 1.08rem; max-width: 56ch; }
.q-split { margin-top: 26px; }
.q-split-bar { display: flex; height: 12px; border-radius: 12px; overflow: hidden; background: var(--line); }
.q-split-bar span { height: 100%; transition: width 1s var(--ease); width: 0; }
.q-split-bar .sr-rang { background: var(--rang); } .q-split-bar .sr-off { background: var(--off); }
.q-split-legend { display: flex; justify-content: space-between; margin-top: 10px; font-weight: 700; font-size: .95rem; }
.q-note { margin-top: 22px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-size: .92rem; }
.q-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 22px; height: 22px; color: var(--signal); transition: transform .35s var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa p { color: var(--muted); padding: 0 40px 22px 0; max-width: 70ch; }
.qa[open] p { animation: fade .35s var(--ease); }
@media (min-width: 1024px) {
  .faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .faq-grid .sec-head { position: sticky; top: calc(var(--top-h) + 32px); }
}

/* ── CTA final ──────────────────────────────────────────── */
.final { position: relative; overflow: hidden; padding: 110px 0; border-top: 1px solid var(--line); isolation: isolate; }
.final .topo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 100%, rgba(212, 245, 60, .12), transparent 70%); }
.final-title { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: clamp(2.8rem, 12vw, 7rem); line-height: .9; margin-top: 18px; }
.official { display: grid; gap: 10px; margin-top: 34px; }
.official a { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10, 12, 8, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .25s, background .25s; }
.official a span { color: var(--dim); font-size: .66rem; }
.official a b { font-size: 1.15rem; grid-row: 2; }
.official a svg { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; color: var(--signal); }
.official a:hover { border-color: var(--signal); background: rgba(212, 245, 60, .06); }
@media (min-width: 720px) { .final { padding: 160px 0; } .official { grid-template-columns: repeat(3, 1fr); } }

/* ── Projet + pied de page ──────────────────────────────── */
.project { padding: 72px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.project-in { display: grid; gap: 22px; }
.project-in .h3 { margin-top: 14px; }
.project-body { color: var(--muted); font-size: 1.02rem; }
.project-body p + p { margin-top: 12px; }
.team { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 4px; }
.team li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: .92rem; }
.project-meta { margin-top: 18px; color: var(--dim); }
@media (min-width: 900px) { .project-in { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.pied { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), #080a06); color: var(--muted); }
.pied > .wrap { padding-top: 56px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; padding-bottom: 30px; }
.pied-col { min-width: 0; }
.pied-col h3 { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0 0 18px; }
.pied-col > a, .pied-col > p { display: block; margin: 0 0 11px; font-size: .92rem; line-height: 1.5; color: var(--muted); transition: color .2s; }
.pied-col > a:hover { color: var(--signal); }
.pied-src { font: 500 .6rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-left: 6px; }
.pied-col--marque { display: flex; flex-direction: column; align-items: flex-start; }
.pied-logo { width: 54px; height: 54px; border-radius: 15px; margin-bottom: 14px; background: var(--signal); color: var(--ink); display: grid; place-items: center; box-shadow: 0 14px 40px -16px rgba(212, 245, 60, .6); }
.pied-logo svg { width: 30px; height: 30px; }
.pied-marque { font-weight: 850; font-stretch: 72%; font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.pied-col .pied-note { max-width: 42ch; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.pied-note a { display: inline; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.pied-note a:hover { color: var(--signal); text-decoration-color: currentColor; }
.pied-puces { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.etiquette { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--signal); background: rgba(212, 245, 60, .08); border: 1px solid rgba(212, 245, 60, .18); }
.etiquette svg { width: 14px; height: 14px; }
.pied-social { display: flex; gap: 10px; margin-top: 16px; }
.pied-social a, .pied-social button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: background .2s, color .2s, border-color .2s, transform .22s var(--ease); }
.pied-social a:hover, .pied-social button:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); transform: translateY(-2px); }
.pied-social svg { width: 17px; height: 17px; }
.pied-bas { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; font-size: .82rem; color: var(--dim); }
.pied-bas a { color: var(--muted); transition: color .2s; }
.pied-bas a:hover { color: var(--signal); }
@media (min-width: 720px) {
  .pied-grille { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .pied-col--marque { grid-column: 1 / -1; }
  .pied-bas { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1024px) {
  .pied > .wrap { padding-top: 72px; padding-bottom: 36px; }
  .pied-grille { grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 44px; padding-bottom: 40px; }
  .pied-col--marque { grid-column: auto; }
}

/* ── Pages d'information légale ─────────────────────────── */
.legal-top .topbar-in { gap: 12px; }
.legal { padding: calc(var(--top-h) + env(safe-area-inset-top) + 48px) 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: .92; margin-top: 16px; }
.legal-maj { color: var(--dim); font-size: .9rem; margin-top: 14px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.legal-toc a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s; }
.legal-toc a:hover, .legal-toc a[aria-current="page"] { color: var(--ink); background: var(--signal); border-color: var(--signal); }
.prose { color: #c9ccbf; font-size: 1.02rem; margin-top: 30px; }
.prose h2 { font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.35rem; line-height: 1.15; color: var(--text); margin: 40px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose dl, .prose table { margin: 0 0 14px; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 1.5px; background: var(--signal); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--signal); }
.prose a:hover { color: var(--signal); }
.prose strong { color: var(--text); }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--bg-3); padding: 2px 6px; border-radius: 6px; }
.prose dl { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.prose dl > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prose dt { font: 500 .7rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.prose dd { margin: 0; color: var(--text); }
.prose .table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.prose table { width: 100%; border-collapse: collapse; margin: 0; font-size: .92rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); }
.prose tr:last-child td { border-bottom: 0; }
.callout { padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid rgba(212, 245, 60, .25); background: rgba(212, 245, 60, .06); color: var(--text); margin: 0 0 18px; }
@media (min-width: 720px) { .prose dl > div { grid-template-columns: 200px 1fr; gap: 20px; } }

/* ── Bouton flottant + toast ────────────────────────────── */
.fab {
  position: fixed; z-index: 30; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--signal); color: var(--ink); font-weight: 800; box-shadow: 0 12px 40px -8px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .2);
  transform: translate(-50%, 140%); transition: transform .45s var(--ease);
}
.fab.show { transform: translate(-50%, 0); }
@media (min-width: 1024px) { .fab { display: none; } }
.toast { position: fixed; left: 50%; top: calc(var(--top-h) + env(safe-area-inset-top) + 12px); z-index: 70; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--ink); font-weight: 700; padding: 12px 18px; border-radius: 12px; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Apparition au défilement ───────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-bg .scan { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
