/* ==========================================================================
   JSTACK v5 — « Système »
   Concept : un plan technique vivant. Fond clair quadrillé de colonnes fines
   (12 colonnes visibles), encre bleu nuit et cyan du logo, typographie XXL
   à largeur variable, annotations mono. La pile 3D (WebGL) est l'objet central.
   ========================================================================== */
:root {
  --bg: #F2F5F6;
  --surface: #FFFFFF;
  --surface-2: #E8EEF1;
  --ink: #0E1A23;
  --ink-2: #13232F;
  --text: #22343F;
  --mute: #566A76;
  --line: rgba(14, 26, 35, 0.10);
  --line-strong: rgba(14, 26, 35, 0.22);
  --cyan: #22BFDB;
  --cyan-deep: #0A7085;
  --cyan-soft: rgba(34, 191, 219, 0.12);
  --on-ink: #E4ECEF;
  --on-ink-mute: #8DA2AE;
  --line-ink: rgba(130, 200, 225, 0.16);
  --signal: #F2B544;
  --ok: #1E9E73;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Martian Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --t-xs: 0.7rem;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: 1.6rem;
  --t-xl: clamp(1.9rem, 3.6vw, 2.8rem);
  --t-2xl: clamp(2.4rem, 5.6vw, 4.6rem);
  --t-hero: clamp(3rem, 8.4vw, 8.2rem);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --head-h: 76px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: light; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: var(--t-base); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1; color: var(--ink); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 900; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mute { color: var(--mute); }
.tnum { font-variant-numeric: tabular-nums; }
.code { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--cyan-deep); letter-spacing: .02em; }
.mono { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .02em; }

/* Grille de colonnes (plan technique) */
.columns { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.columns .wrap { height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); }
.columns i { border-left: 1px solid rgba(14,26,35,.045); }
.columns i:last-child { border-right: 1px solid rgba(14,26,35,.045); }
@media (max-width: 760px) { .columns .wrap { grid-template-columns: repeat(4, 1fr); } .columns i:nth-child(n+5) { display: none; } .columns i:nth-child(4) { border-right: 1px solid rgba(14,26,35,.045); } }
main, .site-foot, .site-head { position: relative; z-index: 2; }

/* Scène 3D fixe (accueil) */
.scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; transition: opacity .2s linear; }
.no-webgl .scene { display: none; }

/* ---------- Préchargement & rideau de transition ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.preloader .box { width: min(520px, 86vw); display: grid; gap: 22px; }
.preloader .top { display: flex; align-items: center; gap: 14px; }
.preloader img { width: 54px; height: 54px; border-radius: 10px; }
.preloader .name { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; font-variation-settings: "wdth" 118; color: #fff; letter-spacing: .02em; }
.preloader .count { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(5rem, 22vw, 11rem); line-height: .8; color: #fff; font-variant-numeric: tabular-nums; }
.preloader .count small { font-size: .3em; color: var(--cyan); margin-left: 6px; }
.preloader .log { font-family: var(--f-mono); font-size: .7rem; color: var(--on-ink-mute); min-height: 1.4em; }
.preloader .bar { height: 2px; background: var(--line-ink); overflow: hidden; }
.preloader .bar i { display: block; height: 100%; width: 100%; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
html.no-preload .preloader { display: none; }
.curtain { position: fixed; inset: 0; z-index: 950; background: var(--ink); transform: translateY(100%); pointer-events: none; display: grid; place-items: center; }
.curtain img { width: 64px; height: 64px; border-radius: 12px; opacity: 0; }
html.leaving .curtain { animation: curtainIn .5s var(--ease-io) forwards; }
html.leaving .curtain img { animation: fadeIn .3s .2s forwards; }
html.arriving .curtain { transform: none; animation: curtainOut .7s .05s var(--ease-io) forwards; }
@keyframes curtainIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes curtainOut { to { transform: translateY(-100%); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Curseur ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 980; pointer-events: none; }
.cursor .dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--cyan-deep); }
.cursor .ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(11,124,147,.5); border-radius: 50%; display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor .ring em { font-style: normal; font-family: var(--f-mono); font-size: 10px; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.hot .ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--cyan-deep); background: rgba(34,191,219,.10); }
.cursor.label .ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--ink); border-color: var(--ink); }
.cursor.label .ring em { opacity: 1; }
.cursor.label .dot { opacity: 0; }
.cursor { opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- En-tête ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 800; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-head.scrolled { background: rgba(242, 245, 246, 0.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.site-head.hide { transform: translateY(-100%); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 9px; box-shadow: 0 4px 14px -6px rgba(14,26,35,.5); }
.brand b { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; font-variation-settings: "wdth" 118; color: var(--ink); }
.brand b i { font-style: normal; color: var(--cyan-deep); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: var(--t-sm); font-weight: 500; color: var(--text); padding: 9px 14px; border-radius: 999px; position: relative; transition: color .2s, background .2s; }
.nav a:not(.cta)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .cta { margin-left: 10px; background: var(--ink); color: #fff; padding: 10px 18px; display: inline-flex; align-items: center; gap: 10px; }
.nav .cta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ADBA0; box-shadow: 0 0 0 0 rgba(58,219,160,.6); animation: ping 2.2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 7px rgba(58,219,160,0); } }
.nav .cta:hover { background: var(--cyan-deep); }
.menu-btn { display: none; border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-family: var(--f-mono); font-size: .7rem; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 100px var(--gutter) 40px; background: var(--ink); clip-path: circle(0% at calc(100% - 50px) 38px); transition: clip-path .7s var(--ease-io); }
  .nav.open { clip-path: circle(150% at calc(100% - 50px) 38px); }
  .nav a { color: #fff; font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; padding: 4px 0; border-radius: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s var(--ease); }
  .nav.open a { opacity: 1; transform: none; }
  .nav.open a:nth-child(2) { transition-delay: .06s; } .nav.open a:nth-child(3) { transition-delay: .12s; } .nav.open a:nth-child(4) { transition-delay: .18s; }
  .nav a:not(.cta)::after { display: none; }
  .nav .cta { margin: 24px 0 0; font-family: var(--f-body); font-size: 1rem; text-transform: none; background: var(--cyan); color: var(--ink); padding: 14px 22px; border-radius: 999px; }
  .nav-open .menu-btn { background: var(--cyan); color: var(--ink); }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; font-family: var(--f-body); font-weight: 600; font-size: var(--t-sm); padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate; transition: color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; will-change: transform; }
.btn::after { content: ""; position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%; z-index: -1; transform: translate(-50%, 0) scale(0); transition: transform .5s var(--ease); }
.btn:hover::after { transform: translate(-50%, -60%) scale(1); }
.btn-primary { background: var(--ink); color: #fff !important; }
.btn-primary::after { background: var(--cyan-deep); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.pt0 { padding-top: 0 !important; }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px 0; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.sec-head .idx { grid-column: 1 / 4; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--cyan-deep); border-top: 1px solid var(--ink); padding-top: 12px; align-self: start; display: flex; justify-content: space-between; padding-right: 24px; }
.sec-head h2 { grid-column: 4 / 13; font-size: var(--t-2xl); font-weight: 800; font-variation-settings: "wdth" 72; letter-spacing: -0.01em; text-transform: uppercase; }
.sec-head p { grid-column: 4 / 11; max-width: 56ch; color: var(--mute); font-size: var(--t-md); line-height: 1.5; }
@media (max-width: 760px) { .sec-head .idx, .sec-head h2, .sec-head p { grid-column: 1 / -1; } }

/* Mots découpés (titres animés) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; position: relative; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--head-h) + 16px); padding-bottom: 28px; }
.hero-hud { display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-mono); font-size: .66rem; color: var(--mute); border-top: 1px solid var(--line-strong); padding-top: 10px; flex-wrap: wrap; }
.hero-hud .live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #1E9E73; margin-right: 8px; vertical-align: 1px; animation: blink 1.6s steps(1) infinite; }
.hero-main { align-self: end; padding-bottom: clamp(24px, 4vh, 48px); }
.hero h1 { font-size: clamp(3.4rem, 13.2vw, 15rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; font-variation-settings: "wdth" 62; line-height: .82; margin-left: -0.04em; }
.hero h1 .l2 { display: block; font-variation-settings: "wdth" 125; font-weight: 250; font-size: .3em; letter-spacing: -0.01em; line-height: 1.15; color: var(--cyan-deep); margin: .15em 0 0 .12em; }
.hero-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 0; margin-top: clamp(24px, 3vw, 40px); align-items: end; }
.hero-row .lede { grid-column: 1 / 6; font-size: var(--t-md); line-height: 1.45; color: var(--text); max-width: 40ch; }
.hero-row .actions { grid-column: 6 / 13; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; font-family: var(--f-mono); font-size: .66rem; color: var(--mute); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue span { width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 56px); }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats b { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; font-variation-settings: "wdth" 85; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 979px), (orientation: portrait) and (max-width: 1100px) {
  .hero { grid-template-rows: auto 1fr auto; }
  .hero-row .lede, .hero-row .actions { grid-column: 1 / -1; }
  .hero h1 { font-size: 15.6vw; }
  .hero-main { padding-top: 46vh; }
}
@media (max-width: 600px) { .hero-stats { display: none; } .hero-hud span:nth-child(2) { display: none; } }

/* ---------- PILE (section collante) ---------- */
.pile { height: 330vh; position: relative; }
.pile-stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; }
.pile-stage .wrap { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; height: 100%; padding-top: var(--head-h); }
.pile-panel { grid-column: 1 / 6; display: grid; gap: 22px; position: relative; }
.pile-panel .tag { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--cyan-deep); display: flex; gap: 12px; align-items: center; }
.pile-panel .tag::before { content: ""; width: 28px; height: 1px; background: var(--cyan-deep); }
.pile-num { justify-self: start; padding-right: 1.6em; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(6rem, 16vw, 15rem); line-height: .78; color: var(--ink); height: .8em; overflow: hidden; position: relative; letter-spacing: -0.04em; }
.pile-num .reel { display: block; transition: transform .8s var(--ease-io); }
.pile-num .reel span { display: block; height: .8em; line-height: .8em; }
.pile-num .of { position: absolute; right: 0; bottom: .08em; font-size: .14em; font-family: var(--f-mono); font-weight: 400; color: var(--mute); letter-spacing: 0; }
.pile-items { position: relative; min-height: 310px; }
.pile-item { position: absolute; inset: 0 auto auto 0; display: grid; gap: 14px; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.pile-item.on { opacity: 1; transform: none; pointer-events: auto; }
.pile-item h3 { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 800; font-variation-settings: "wdth" 72; text-transform: uppercase; line-height: .92; }
.pile-item p { color: var(--text); max-width: 40ch; font-size: var(--t-md); line-height: 1.45; }
.pile-item ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pile-item li { font-family: var(--f-mono); font-size: .66rem; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.75); }
.pile-item a { justify-self: start; font-weight: 600; font-size: var(--t-sm); color: var(--cyan-deep); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.pile-progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 8px; }
.pile-progress button { border: 0; background: none; padding: 10px 0 0; cursor: pointer; text-align: left; font-family: var(--f-mono); font-size: .62rem; color: var(--mute); position: relative; }
.pile-progress button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-strong); }
.pile-progress button i { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--cyan-deep); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.pile-progress button.on { color: var(--ink); }
.pile-side { grid-column: 11 / 13; align-self: end; padding-bottom: 40px; font-family: var(--f-mono); font-size: .64rem; color: var(--mute); text-align: right; display: grid; gap: 4px; }
.pile-side b { color: var(--ink); font-weight: 500; }
@media (max-width: 979px), (orientation: portrait) and (max-width: 1100px) {
  .pile { height: 300vh; }
  .pile-stage .wrap { align-items: end; }
  .pile-panel { grid-column: 1 / -1; padding-bottom: 28px; gap: 14px; background: linear-gradient(rgba(242,245,246,0), var(--bg) 18%); padding-top: 40px; }
  .pile-num { font-size: 5.4rem; }
  .pile-items { min-height: 250px; }
  .pile-item p { font-size: 1rem; }
  .pile-side { display: none; }
}
.no-webgl .pile { height: auto; }
.no-webgl .pile-stage { position: static; height: auto; padding-block: 80px; }
.no-webgl .pile-items { min-height: 0; display: grid; gap: 36px; }
.no-webgl .pile-item { position: static; opacity: 1; transform: none; }
.no-webgl .pile-num, .no-webgl .pile-progress { display: none; }

/* ---------- Défilant géant ---------- */
.bigmarquee { overflow: hidden; border-block: 1px solid var(--line-strong); background: var(--surface); padding-block: clamp(18px, 3vw, 36px); position: relative; z-index: 2; }
.bigmarquee .track { display: flex; gap: .4em; white-space: nowrap; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 70; font-size: clamp(3rem, 9vw, 8rem); line-height: .9; will-change: transform; }
.bigmarquee .track span:nth-child(odd) { color: var(--ink); }
.bigmarquee .track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.bigmarquee .track em { font-style: normal; color: var(--cyan); }

/* ---------- Pour qui ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aud { position: relative; overflow: hidden; display: grid; gap: 24px; align-content: space-between; min-height: clamp(380px, 46vw, 560px); padding: clamp(24px, 3vw, 44px); text-decoration: none; border: 1px solid var(--line-strong); background: var(--surface); transition: transform .6s var(--ease), box-shadow .6s var(--ease); isolation: isolate; }
.aud:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(14,26,35,.55); }
.aud .top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--mute); }
.aud h3 { font-size: clamp(2.8rem, 6.6vw, 6.4rem); font-weight: 800; font-variation-settings: "wdth" 66; text-transform: uppercase; line-height: .85; letter-spacing: -0.02em; }
.aud ul { list-style: none; display: grid; gap: 8px; font-size: var(--t-sm); }
.aud li { display: flex; gap: 10px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 8px; }
.aud li::before { content: "→"; color: var(--cyan-deep); font-family: var(--f-mono); font-size: .8em; }
.aud .foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.aud .price { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; font-variation-settings: "wdth" 80; color: var(--ink); line-height: 1; }
.aud .price small { display: block; font-family: var(--f-mono); font-size: .62rem; font-weight: 400; color: var(--mute); margin-bottom: 4px; }
.aud .go { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 1.3rem; transition: transform .5s var(--ease), background .3s, color .3s; flex: none; }
.aud:hover .go { transform: rotate(-45deg); background: var(--ink); color: #fff; }
.aud::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34,191,219,.25), rgba(34,191,219,0) 70%); z-index: -1; transition: transform .8s var(--ease); }
.aud:hover::before { transform: translate(-20%, -30%) scale(1.3); }
.aud.dark { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.aud.dark h3, .aud.dark .price { color: #fff; }
.aud.dark .top, .aud.dark .price small { color: var(--on-ink-mute); }
.aud.dark li { border-color: var(--line-ink); }
.aud.dark li::before { color: var(--cyan); }
.aud.dark .go { border-color: var(--line-ink); color: #fff; }
.aud.dark:hover .go { background: var(--cyan); color: var(--ink); }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Méthode ---------- */
.method-box { position: relative; }
.method { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: m; }
.method-box .rail { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); z-index: 0; }
.method-box .rail i { position: absolute; inset: 0; background: var(--cyan-deep); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.method li { position: relative; z-index: 1; padding: 28px 28px 0 0; min-width: 0; }
.method .n { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(4rem, 8vw, 7rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); transition: color .5s, -webkit-text-stroke-color .5s; display: block; }
.method li.on .n { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.method h3 { font-size: var(--t-lg); font-variation-settings: "wdth" 90; margin: 18px 0 8px; }
.method p { color: var(--mute); }
@media (max-width: 860px) {
  .method { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .method-box .rail { display: none; }
}

/* ---------- Bande sombre (zone) ---------- */
.dark { background: var(--ink); color: var(--on-ink); position: relative; z-index: 2; }
.dark h2, .dark h3 { color: #fff; }
.dark .sec-head .idx { color: var(--cyan); border-color: var(--line-ink); }
.dark .sec-head p, .dark .mute { color: var(--on-ink-mute); }
.zone { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.radar { aspect-ratio: 1; width: 100%; max-width: 620px; }
.radar canvas { width: 100%; height: 100%; }
.zone-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.zone-table th, .zone-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.zone-table th { font-family: var(--f-mono); font-weight: 400; font-size: .66rem; color: var(--on-ink-mute); }
.zone-table td:first-child { white-space: nowrap; padding-right: 16px; }
.zone-table td:last-child, .zone-table th:last-child { text-align: right; }
.zone-table b { color: #fff; font-family: var(--f-display); font-size: 1.3rem; font-variation-settings: "wdth" 85; }
.zone-note { margin-top: 16px; color: var(--on-ink-mute); font-size: var(--t-sm); }
@media (max-width: 900px) { .zone { grid-template-columns: 1fr; } .radar { margin-inline: auto; } }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 0; align-items: start; }
.badge { grid-column: 1 / 5; margin-right: 32px; border: 1px solid var(--line-strong); background: var(--surface); padding: 20px; display: grid; gap: 16px; box-shadow: 0 40px 60px -44px rgba(14,26,35,.55); transform: rotate(-1.5deg); transition: transform .6s var(--ease); }
.badge:hover { transform: rotate(0); }
.badge .top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .64rem; color: var(--mute); }
.badge canvas { width: 100%; aspect-ratio: 1; background: var(--ink); }
.badge h3 { font-size: 1.8rem; font-variation-settings: "wdth" 110; text-transform: uppercase; }
.badge p { font-size: var(--t-sm); color: var(--mute); }
.about-body { grid-column: 5 / 13; display: grid; gap: 28px; }
.about-body .big { font-family: var(--f-display); font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.08; font-variation-settings: "wdth" 82; color: var(--ink); font-weight: 700; max-width: 24ch; }
.timeline { list-style: none; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); transition: padding .4s var(--ease), background .4s; }
.timeline li:hover { padding-left: 12px; background: var(--surface); }
.timeline .when { font-family: var(--f-mono); font-size: .7rem; color: var(--cyan-deep); padding-top: 3px; }
.timeline b { color: var(--ink); font-weight: 600; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.creds span { font-family: var(--f-mono); font-size: .66rem; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.creds span.wip { border-color: rgba(242,181,68,.8); }
@media (max-width: 900px) { .badge, .about-body { grid-column: 1 / -1; margin-right: 0; } .badge { max-width: 360px; } .timeline li { grid-template-columns: 1fr; } }

/* ---------- Urgence ---------- */
.alert-band { background: var(--signal); color: #1D1504; position: relative; z-index: 2; }
.alert-band .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; padding-block: 30px; }
.alert-band .tag { font-family: var(--f-mono); font-size: .7rem; border: 1px solid currentColor; padding: 6px 12px; border-radius: 999px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.alert-band .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B3261E; animation: blink 1s steps(1) infinite; }
.alert-band h2 { font-size: clamp(1.3rem, 2.6vw, 2rem); font-variation-settings: "wdth" 80; text-transform: uppercase; color: #1D1504; }
.alert-band p { margin-top: 6px; }
.alert-band .btn { background: #1D1504; color: var(--signal) !important; }
.alert-band .btn::after { background: #000; }
@media (max-width: 860px) { .alert-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Appel final ---------- */
.final { text-align: center; overflow: hidden; }
.final .kicker { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--cyan-deep); }
.final h2 { font-size: clamp(3.6rem, 15vw, 17rem); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; line-height: .8; letter-spacing: -0.04em; margin-top: 18px; }
.final h2 .o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.final p { max-width: 44ch; color: var(--mute); font-size: var(--t-md); margin: 28px auto 0; }
.magnet { margin: 44px auto 0; width: clamp(150px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; text-decoration: none; font-weight: 600; font-size: var(--t-sm); line-height: 1.3; position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.magnet::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cyan-deep); transform: scale(0); transition: transform .5s var(--ease); z-index: -1; }
.magnet:hover::after { transform: scale(1); }
.magnet span { display: block; }

/* ---------- Pages intérieures ---------- */
.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 4vw, 56px); }
.page-head .crumb { font-family: var(--f-mono); font-size: .68rem; color: var(--mute); margin-bottom: 24px; }
.page-head .crumb a { color: var(--cyan-deep); text-decoration: none; }
.page-head h1 { font-size: var(--t-hero); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; line-height: .88; letter-spacing: -0.02em; }
.page-head h1 .wide { font-variation-settings: "wdth" 125; font-weight: 300; font-size: .4em; line-height: 1.3; color: var(--cyan-deep); }
.page-head .lede { margin-top: 24px; max-width: 56ch; font-size: var(--t-md); color: var(--text); }

/* Onglets d'audience */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; margin-top: 32px; }
.tabs button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: var(--t-sm); cursor: pointer; color: var(--mute); transition: background .25s, color .25s, box-shadow .25s; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 10px -4px rgba(14,26,35,.3); }

/* Sous-navigation par couche */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 60px); z-index: 50; background: rgba(244,247,248,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav a { flex: none; text-decoration: none; font-size: var(--t-sm); font-weight: 500; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; background: var(--surface); transition: .2s; }
.subnav a span { font-family: var(--f-mono); font-size: .64rem; color: var(--cyan-deep); margin-right: 6px; }
.subnav a:hover, .subnav a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.subnav a.on span, .subnav a:hover span { color: var(--cyan); }

/* Groupes d'offres */
.group { padding-block: clamp(40px, 6vw, 72px) 0; scroll-margin-top: 140px; }
.group-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.group-head .n { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--cyan-deep); }
.group-head h2 { font-size: var(--t-xl); font-variation-settings: "wdth" 75; text-transform: uppercase; }
.group-head p { color: var(--mute); font-size: var(--t-sm); flex-basis: 100%; }
.offers { display: grid; gap: 10px; }
.offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 170px; gap: 12px 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 20px 24px; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.offer:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 16px 32px -24px rgba(14,26,35,.45); }
.offer h3 { font-size: 1.2rem; font-variation-settings: "wdth" 92; line-height: 1.15; }
.offer h3 small { display: block; font-family: var(--f-mono); font-size: .64rem; font-weight: 400; color: var(--mute); margin-top: 6px; }
.offer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--text); }
.offer li { padding: 3px 9px; background: var(--surface-2); border-radius: 3px; }
.offer .desc { font-size: var(--t-sm); color: var(--text); }
.offer .amt { text-align: right; }
.offer .amt .from { display: block; font-family: var(--f-mono); font-size: .62rem; color: var(--mute); }
.offer .amt b { display: block; font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; font-variation-settings: "wdth" 80; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.offer .amt .u { display: block; font-size: .76rem; color: var(--mute); }
.offer.key { border-color: var(--ink); border-width: 1.5px; }
.offer .flag { display: inline-block; font-family: var(--f-mono); font-size: .6rem; background: var(--cyan); color: var(--ink); padding: 2px 7px; margin-bottom: 8px; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } .offer .amt { text-align: left; } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan { background: var(--surface); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(14,26,35,.5); }
.plan h3 { font-size: var(--t-lg); font-variation-settings: "wdth" 80; text-transform: uppercase; }
.plan .amt b { font-family: var(--f-display); font-size: 2.2rem; font-variation-settings: "wdth" 80; color: var(--ink); }
.plan .amt span { color: var(--mute); font-size: var(--t-sm); }
.plan ul { list-style: none; display: grid; gap: 8px; font-size: var(--t-sm); border-top: 1px solid var(--line); padding-top: 14px; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: "+"; position: absolute; left: 0; font-family: var(--f-mono); color: var(--cyan-deep); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.dark-card { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.plan.dark-card h3, .plan.dark-card .amt b { color: #fff; }
.plan.dark-card .amt span { color: var(--on-ink-mute); }
.plan.dark-card ul { border-color: var(--line-ink); }
.plan.dark-card li::before { color: var(--cyan); }
.plan.dark-card .btn-primary { background: var(--cyan); color: var(--ink) !important; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.notes { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 56px; font-size: var(--t-sm); color: var(--mute); }
.notes b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.faq { border-top: 1px solid var(--line-strong); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: var(--t-md); font-variation-settings: "wdth" 95; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--f-mono); font-size: 1.2rem; color: var(--cyan-deep); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; max-width: 68ch; }

/* ---------- Fiches pratiques ---------- */
.fiches-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fiches-index a { padding: 22px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; display: grid; gap: 6px; min-width: 0; transition: transform .3s var(--ease), border-color .25s; }
.fiches-index a:hover { transform: translateY(-3px); border-color: var(--ink); }
.fiches-index b { font-family: var(--f-display); font-size: var(--t-md); font-variation-settings: "wdth" 92; color: var(--ink); line-height: 1.15; }
.fiches-index span:last-child { font-size: var(--t-sm); color: var(--mute); }
@media (max-width: 860px) { .fiches-index { grid-template-columns: 1fr; } }
.fiche { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px 56px; padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.fiche .fiche-meta { position: sticky; top: 100px; align-self: start; display: grid; gap: 8px; }
.fiche .fiche-meta .meta { font-family: var(--f-mono); font-size: .66rem; color: var(--mute); }
.fiche h2 { font-size: var(--t-xl); font-variation-settings: "wdth" 78; text-transform: uppercase; line-height: .95; margin-bottom: 22px; }
.fiche .body { max-width: 66ch; display: grid; gap: 16px; }
.fiche .body h3 { font-size: var(--t-md); font-variation-settings: "wdth" 95; margin-top: 10px; }
.fiche .body ol, .fiche .body ul { padding-left: 1.2em; display: grid; gap: 8px; }
.fiche .body li::marker { color: var(--cyan-deep); font-family: var(--f-mono); font-size: .8em; }
.fiche .tldr { background: var(--ink); color: var(--on-ink); padding: 18px 22px; font-size: var(--t-sm); display: grid; gap: 4px; }
.fiche .tldr b { font-family: var(--f-mono); font-size: .64rem; color: var(--cyan); font-weight: 500; }
.fiche .src { font-size: var(--t-sm); color: var(--mute); }
.fiche .src a, .fiche .body a { color: var(--cyan-deep); }
@media (max-width: 900px) { .fiche { grid-template-columns: 1fr; } .fiche .fiche-meta { position: static; } }
.feeds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.feeds a { padding: 20px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; display: grid; gap: 6px; transition: border-color .25s; }
.feeds a:hover { border-color: var(--ink); }
.feeds b { font-family: var(--f-display); font-size: var(--t-md); font-variation-settings: "wdth" 95; color: var(--ink); }
.feeds span:last-child { font-size: var(--t-sm); color: var(--mute); }
@media (max-width: 900px) { .feeds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feeds { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 28px; background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.form legend { font-family: var(--f-mono); font-size: .68rem; color: var(--cyan-deep); margin-bottom: 12px; padding: 0; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
.field label .opt { color: var(--mute); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink); padding: 13px 14px; font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-deep); background: #fff; box-shadow: 0 0 0 3px var(--cyan-soft); }
.field .hint { font-size: .8rem; color: var(--mute); }
.field.err input, .field.err select, .field.err textarea { border-color: #C2410C; }
.field .msg { font-size: .8rem; color: #C2410C; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--t-sm); background: var(--bg); transition: .2s; }
.choices input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--cyan-deep); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--mute); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.consent a { color: var(--cyan-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-out { border: 1.5px solid var(--ink); background: var(--surface); padding: 24px; display: grid; gap: 14px; }
.form-out pre { margin: 0; white-space: pre-wrap; font-family: var(--f-mono); font-size: .74rem; background: var(--bg); padding: 16px; max-height: 300px; overflow: auto; border: 1px solid var(--line); }
.form-out .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.h-lg { font-size: var(--t-lg); }
.side { display: grid; border-top: 1px solid var(--line-strong); }
.side > div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.side .k { font-family: var(--f-mono); font-size: .66rem; color: var(--mute); }
.side .v { font-family: var(--f-display); font-size: var(--t-lg); font-variation-settings: "wdth" 92; line-height: 1.15; color: var(--ink); word-break: break-word; }
.side .v a { text-decoration: none; }
.side .v a:hover { color: var(--cyan-deep); }
.side p { color: var(--mute); font-size: var(--t-sm); }
.copy { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 3px; font-family: var(--f-mono); font-size: .64rem; padding: 5px 9px; cursor: pointer; color: var(--mute); justify-self: start; }
.copy:hover { color: var(--ink); border-color: var(--ink); }
.side .urg { border: 1.5px solid var(--signal); background: #FFF8EA; padding: 18px; margin-top: 24px; }
.side .urg .k { color: #8A5A00; }
.side .urg a { color: #8A5A00; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Légal ---------- */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 56px; }
.legal nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 8px; font-size: var(--t-sm); }
.legal nav a { color: var(--mute); text-decoration: none; }
.legal nav a:hover { color: var(--cyan-deep); }
.legal .body { max-width: 72ch; display: grid; gap: 14px; }
.legal h2 { font-size: var(--t-lg); font-variation-settings: "wdth" 90; margin-top: 28px; scroll-margin-top: 100px; }
.legal h2:first-child { margin-top: 0; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-family: var(--f-mono); font-size: .68rem; color: var(--mute); padding-top: 4px; }
.legal dd { margin: 0; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--cyan-deep); }
.todo { background: rgba(242,181,68,.25); color: #8A5A00; padding: 0 4px; font-family: var(--f-mono); font-size: .82em; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal nav { position: static; } .legal dl { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--ink); color: var(--on-ink-mute); padding-block: 64px 28px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.site-foot .brand b { color: #fff; }
.site-foot .brand b i { color: var(--cyan); }
.foot-grid h2 { font-family: var(--f-mono); font-size: .66rem; font-weight: 400; color: var(--on-ink-mute); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; font-size: var(--t-sm); }
.foot-grid a { text-decoration: none; color: var(--on-ink); }
.foot-grid a:hover { color: var(--cyan); }
.foot-grid .pitch { margin-top: 14px; font-size: var(--t-sm); }
.wordmark { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(3.4rem, 17.5vw, 17rem); line-height: .8; letter-spacing: -0.03em; margin-top: 56px; color: transparent; -webkit-text-stroke: 1px var(--line-ink); user-select: none; white-space: nowrap; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-ink); font-family: var(--f-mono); font-size: .64rem; }
.foot-bottom a { color: var(--on-ink-mute); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.nf { min-height: 64vh; display: grid; align-content: center; gap: 24px; padding-block: 80px; }
.nf h1 { font-size: clamp(5rem, 22vw, 16rem); font-variation-settings: "wdth" 62; font-weight: 800; line-height: .8; }
.nf pre { font-family: var(--f-mono); font-size: .75rem; color: var(--mute); white-space: pre-wrap; margin: 0; }
.nf-lede { max-width: 48ch; font-size: var(--t-md); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }


/* ---------- Ajustements pages intérieures (v5) ---------- */
.page-head { padding-top: calc(var(--head-h) + clamp(48px, 8vw, 110px)); position: relative; }
.page-head h1 { font-size: clamp(3.4rem, 11vw, 12rem); letter-spacing: -0.035em; line-height: .82; }
.page-head h1 .wide { font-size: .32em; font-weight: 250; display: block; margin-bottom: .2em; }
.subnav { top: var(--head-h); }
.offer, .plan, .fiches-index a, .feeds a, .form { border-radius: 4px; }
.group-head h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-variation-settings: "wdth" 70; }
.group-head .n { font-size: var(--t-md); }
.tabs button { padding: 12px 26px; }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--ink); }
.foot-cta { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line-ink); margin-bottom: 48px; }
.foot-cta p { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 700; font-variation-settings: "wdth" 80; color: #fff; line-height: 1; max-width: 18ch; text-transform: uppercase; }
.foot-cta .btn-primary { background: var(--cyan); color: var(--ink) !important; }
.foot-cta .btn-primary::after { background: #fff; }

/* ==========================================================================
   Animations — visibles sans JS ; classe .anim posée en tête par anim-init.js
   ========================================================================== */
.anim [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.anim [data-reveal].in { opacity: 1; transform: none; }
.anim [data-reveal="scale"] { transform: scale(.94); }
.anim [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-io); }
.anim [data-reveal="clip"].in { clip-path: inset(0 0 0 0); }
.anim .split .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: var(--wd, 0s); }
.anim .split.in .w > span { transform: none; }
.anim .hero-hud, .anim .hero-row, .anim .hero-foot { opacity: 0; transition: opacity 1s .3s, transform 1s .3s var(--ease); transform: translateY(14px); }
.anim.ready .hero-hud, .anim.ready .hero-row, .anim.ready .hero-foot { opacity: 1; transform: none; }
.anim.ready .hero-row { transition-delay: .7s; } .anim.ready .hero-foot { transition-delay: .9s; }
.d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; } .d4 { --d: .32s; }
@media (prefers-reduced-motion: reduce) {
  .anim [data-reveal], .anim .split .w > span, .anim .hero-hud, .anim .hero-row, .anim .hero-foot { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .brand b i, .nav .cta::before, .scroll-cue span::after, .hero-hud .live::before, .alert-band .tag::before { animation: none; }
}
.page-head h1 br { display: none; }
.nf { padding-top: calc(var(--head-h) + 64px); }
@media (max-width: 900px) { .brand { position: relative; z-index: 2; } .nav-open .brand b { color: #fff; } }
@media (max-width: 600px) { .badge { max-width: 300px; } }


/* ==========================================================================
   v6 — finitions d'animation et adaptation multi-écrans
   ========================================================================== */
/* Lien pour passer la pile */
.pile-skip { justify-self: start; font-family: var(--f-mono); font-size: .66rem; color: var(--mute); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; padding: 6px 0; }
.pile-skip:hover { color: var(--ink); }
.pile-skip span { display: inline-block; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }

/* Changement de couche : titre masqué puis révélé, texte en cascade */
.pile-item h3 { clip-path: inset(0 0 100% 0); transform: translateY(30%); transition: clip-path .7s var(--ease-io), transform .7s var(--ease-io); }
.pile-item p, .pile-item ul, .pile-item a { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.pile-item.on h3 { clip-path: inset(0 0 -10% 0); transform: none; }
.pile-item.on p { opacity: 1; transform: none; transition-delay: .18s; }
.pile-item.on ul { opacity: 1; transform: none; transition-delay: .26s; }
.pile-item.on a { opacity: 1; transform: none; transition-delay: .34s; }
.pile-item { transition: opacity .3s; transform: none; }
.no-webgl .pile-item h3, .no-webgl .pile-item p, .no-webgl .pile-item ul, .no-webgl .pile-item a { clip-path: none; opacity: 1; transform: none; }

/* Navigation : texte qui roule */
.roll { display: inline-flex; flex-direction: column; height: 1.5em; overflow: hidden; vertical-align: top; line-height: 1.5em; }
.roll span { display: block; transition: transform .45s var(--ease); }
.nav a:hover .roll span { transform: translateY(-100%); }
.nav a:not(.cta)::after { display: none; }
.nav a[aria-current="page"] .roll span:first-child { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) { .roll { height: auto; line-height: inherit; } .roll span:last-child { display: none; } }

/* Cartes inclinables + halo qui suit le pointeur */
.aud, .plan, .offer.key { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
.aud.tilt, .plan.tilt, .offer.key.tilt { transition: transform .12s linear, box-shadow .4s; }
.aud:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.aud > *, .plan > * { position: relative; z-index: 1; }
.aud .glow, .plan .glow { display: none; }
.aud::after, .plan::after, .offer.key::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(34,191,219,.16), transparent 60%); opacity: 0; transition: opacity .4s; z-index: 0; }
.aud.tilt::after, .plan.tilt::after, .offer.key.tilt::after { opacity: 1; }
.plan, .offer.key { position: relative; }

/* Sections sombres qui s'ouvrent au défilement */
[data-open] { clip-path: inset(calc((1 - var(--o, 1)) * 7vh) calc((1 - var(--o, 1)) * 6vw) round calc((1 - var(--o, 1)) * 48px)); }
@media (prefers-reduced-motion: reduce) { [data-open] { clip-path: none; } }

/* Mot-symbole du pied de page lettre à lettre */
.wordmark.split .w { padding-bottom: 0; margin-bottom: 0; }

/* ---------- Ordinateur portable / tablette paysage (980–1240 px) ---------- */
@media (min-width: 980px) and (max-width: 1240px) and (orientation: landscape) {
  .hero h1 { font-size: 12.4vw; }
  .hero-row .lede { grid-column: 1 / 7; }
  .hero-row .actions { grid-column: 7 / 13; }
  .pile-panel { grid-column: 1 / 7; }
  .pile-num { font-size: 11rem; }
  .pile-side { display: none; }
  .badge { grid-column: 1 / 6; }
  .about-body { grid-column: 6 / 13; }
}
/* ---------- Grand écran ---------- */
@media (min-width: 1600px) {
  :root { --maxw: 1600px; }
  .hero h1 { font-size: min(13.2vw, 17rem); }
}
/* ---------- Tablette portrait ---------- */
@media (min-width: 700px) and (max-width: 979px), (orientation: portrait) and (min-width: 700px) and (max-width: 1100px) {
  .hero h1 { font-size: 14.5vw; }
  .hero-main { padding-top: 40vh; }
  .hero-row { gap: 24px; }
  .hero-row .lede { grid-column: 1 / 8; }
  .hero-row .actions { grid-column: 1 / -1; }
  .hero-stats { display: flex; }
  .pile-panel { padding-bottom: 48px; }
  .pile-num { font-size: 8rem; }
  .pile-item h3 { font-size: 3rem; }
  .audience { grid-template-columns: 1fr 1fr; }
  .aud { min-height: 460px; }
  .aud h3 { font-size: 3.4rem; }
  .method { grid-template-columns: 1fr 1fr; }
  .zone { grid-template-columns: 1fr; }
  .radar { max-width: 520px; }
  .badge { grid-column: 1 / 6; margin-right: 24px; max-width: none; }
  .about-body { grid-column: 6 / 13; }
  .offer { grid-template-columns: minmax(0, 1fr) 150px; }
  .offer ul, .offer .desc { grid-column: 1 / -1; grid-row: 2; }
  .offer .amt { grid-row: 1; grid-column: 2; }
}
/* ---------- Téléphone ---------- */
@media (max-width: 699px) {
  :root { --head-h: 64px; }
  .brand img { width: 36px; height: 36px; }
  .brand b { font-size: 1.15rem; }
  .hero { padding-bottom: 20px; }
  .hero-main { padding-top: 40vh; }
  .hero-row .actions .btn { flex: 1 1 auto; justify-content: center; }
  .sec { padding-block: 72px; }
  .sec-head h2 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .pile-panel { padding-bottom: 20px; }
  .pile-num { font-size: 4.6rem; }
  .pile-item h3 { font-size: 2.1rem; }
  .pile-items { min-height: 230px; }
  .pile-progress button { font-size: .56rem; }
  .bigmarquee .track { font-size: 3.2rem; }
  .aud { min-height: 380px; }
  .method { grid-template-columns: 1fr; gap: 28px; }
  .method .n { font-size: 4rem; }
  .final h2 { font-size: 17vw; }
  .magnet { width: 150px; }
  .foot-cta p { font-size: 1.8rem; }
  .group-head h2 { font-size: 2.2rem; }
  .subnav { top: var(--head-h); }
}

/* ---------- 404 : la pile à laquelle il manque une couche ---------- */
.nf-hero { min-height: 100svh; }
.nf-hero h1 { font-size: clamp(6rem, 24vw, 22rem); }
.nf-hero h1 .l2 { color: #B7791F; }
.hero-hud .live.warn::before { background: var(--signal); }
.nf-body { grid-column: 1 / 7; display: grid; gap: 20px; }
.nf-term { margin: 0; font-family: var(--f-mono); font-size: .74rem; line-height: 1.9; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-left: 3px solid var(--signal); padding: 14px 18px; white-space: pre-wrap; max-width: 54ch; box-shadow: 0 24px 40px -32px rgba(14,26,35,.5); }
.nf-term .c { color: var(--cyan-deep); }
.nf-term .e { color: #B3261E; font-weight: 600; }
.nf-term .cur { animation: blink 1s steps(1) infinite; color: var(--ink); }
.nf-links { grid-column: 8 / 13; display: grid; border-top: 1px solid var(--ink); align-self: end; }
.nf-links a { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); font-variation-settings: "wdth" 85; color: var(--ink); transition: padding .35s var(--ease), color .25s; background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,0)); }
.nf-links a span { font-family: var(--f-mono); font-size: .66rem; font-weight: 400; color: var(--mute); }
.nf-links a:hover { padding-left: 14px; color: var(--cyan-deep); }
.nf-links a::after { content: "→"; margin-left: auto; font-family: var(--f-mono); font-size: .9rem; transition: transform .3s var(--ease); }
.nf-links a:hover::after { transform: translateX(-4px) rotate(-45deg); }
@media (max-width: 979px), (orientation: portrait) and (max-width: 1100px) {
  .nf-body, .nf-links { grid-column: 1 / -1; }
  .nf-hero .hero-main { padding-top: 34vh; }
}
@media (max-width: 699px) { .nf-hero h1 { font-size: 34vw; } .nf-term { font-size: .66rem; } }
.nf-hero h1 { font-size: clamp(5rem, 17vw, 15rem); }
.nf-hero h1 .l2 { font-size: .17em; white-space: nowrap; margin-top: .25em; }
@media (max-width: 699px) { .nf-hero h1 { font-size: 30vw; } .nf-hero h1 .l2 { font-size: .2em; } }
@media (max-width: 979px), (orientation: portrait) and (max-width: 1100px) { .nf-hero .hero-main { padding-top: 40vh; } }
.nf-links a { background: linear-gradient(90deg, rgba(242,245,246,.92), rgba(242,245,246,.6)); }

/* =========================================================
   En-tête « île » — pilule flottante qui se compacte au défilement
   ========================================================= */
:root { --spring: cubic-bezier(.32, 1.42, .52, 1); --isl-bg: #0A1218; }
.site-head, .site-head.scrolled, .site-head.hide { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: center; padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; pointer-events: none; }
.island { pointer-events: auto; position: relative; display: flex; align-items: center; height: 54px; padding: 0 7px; border-radius: 999px; background: var(--isl-bg); color: #fff;
  box-shadow: 0 14px 34px -14px rgba(6, 16, 24, .6), 0 2px 6px -2px rgba(6, 16, 24, .3), inset 0 0 0 1px rgba(255, 255, 255, .11);
  transition: height .6s var(--spring), padding .6s var(--spring), box-shadow .4s; }
.island > * { flex: none; }
.island .brand { gap: 0; }
.isl-ring { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; transition: width .6s var(--spring), height .6s var(--spring); }
.isl-ring::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(var(--cyan) calc(var(--prog, 0) * 1turn), rgba(255, 255, 255, .1) 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.island .brand img, .island .brand .isl-ring img { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; transition: width .6s var(--spring), height .6s var(--spring); }
.island .brand b { color: #fff; font-size: 1.05rem; margin-left: 10px; max-width: 110px; overflow: hidden; white-space: nowrap; transition: max-width .6s var(--spring), margin .6s var(--spring), opacity .3s; }
.island .brand b i { color: var(--cyan); }

/* zones qui s'ouvrent / se ferment */
.island .nav, .isl-status, .isl-cta { overflow: hidden; white-space: nowrap; transition: max-width .65s var(--spring), opacity .35s, padding .6s var(--spring), margin .6s var(--spring); }
.island .nav { max-width: 640px; margin-left: 14px; gap: 2px; }
.island .nav a { color: rgba(255, 255, 255, .74); padding: 8px 13px; white-space: nowrap; }
.island .nav a:hover, .island .nav a:focus-visible { color: #fff; background: rgba(255, 255, 255, .08); }
.island .nav a[aria-current="page"]:not(.cta) { color: #fff; }
.island .nav a[aria-current="page"] .roll span:first-child { text-decoration: none; }
.island .nav a[aria-current="page"]:not(.cta)::before { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cyan); }
.island .nav .cta { margin-left: 6px; background: var(--cyan); color: var(--ink); font-weight: 600; padding: 10px 17px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px; }
.island .nav .cta:hover { background: #fff; color: var(--ink); }

.isl-status { display: inline-flex; align-items: center; gap: 9px; max-width: 0; opacity: 0; padding: 0; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.isl-status i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3ADBA0; animation: ping 2.2s infinite; }
.isl-txt { display: inline-block; }
.isl-txt.swap { animation: islSwap .5s var(--ease); }
@keyframes islSwap { 0% { transform: translateY(70%); opacity: 0; filter: blur(3px); } 100% { transform: none; opacity: 1; filter: none; } }
.isl-cta { display: inline-flex; align-items: center; gap: 6px; max-width: 0; opacity: 0; padding: 8px 0; margin-left: 0; border-radius: 999px; background: var(--cyan); color: var(--ink); font-size: var(--t-sm); font-weight: 600; text-decoration: none; }
.isl-cta:hover { background: #fff; }

/* état compact : logo + statut + contact */
.site-head.compact:not(.open):not(:focus-within) .island { height: 46px; padding: 0 5px; }
.site-head.compact:not(.open):not(:focus-within) .island .isl-ring { width: 36px; height: 36px; border-radius: 12px; }
.site-head.compact:not(.open):not(:focus-within) .island .brand img { width: 28px; height: 28px; border-radius: 8px; }
.site-head.compact:not(.open):not(:focus-within) .island .brand b { max-width: 0; margin-left: 0; opacity: 0; }
.site-head.compact:not(.open):not(:focus-within) .island .nav { max-width: 0; margin-left: 0; opacity: 0; }
.site-head.compact:not(.open):not(:focus-within) .island .isl-status { max-width: 280px; opacity: 1; padding: 0 14px 0 12px; }
.site-head.compact:not(.open):not(:focus-within) .island .isl-cta { max-width: 130px; opacity: 1; padding: 8px 14px; }
.site-head.compact.open .island, .site-head.compact:focus-within .island { box-shadow: 0 22px 44px -16px rgba(6, 16, 24, .65), inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* tablette & téléphone : pilule centrée, menu plein écran qui jaillit de l'île */
@media (max-width: 900px) {
  .site-head, .site-head.scrolled { padding-top: calc(env(safe-area-inset-top, 0px) + 10px); }
  .island { height: 50px; padding: 0 5px 0 6px; }
  .island .nav { max-width: none; margin: 0; overflow: visible; opacity: 1; white-space: normal; transition: clip-path .7s var(--ease-io); clip-path: circle(0% at var(--ox, 50%) var(--oy, 34px)); }
  .island .nav.open { clip-path: circle(150% at var(--ox, 50%) var(--oy, 34px)); }
  .island .nav a { color: #fff; padding: 4px 0; }
  .island .nav a:hover { background: none; }
  .island .nav a[aria-current="page"]:not(.cta)::before { display: none; }
  .island .nav .cta { margin: 24px 0 0; padding: 14px 22px; }
  .isl-cta { display: none; }
  .island .menu-btn { margin-left: 8px; background: rgba(255, 255, 255, .1); color: #fff; padding: 10px 16px; transition: background .3s; }
  .nav-open .island .menu-btn { background: var(--cyan); color: var(--ink); }
  .nav-open .island { background: transparent; box-shadow: none; }
  .nav-open .isl-status { opacity: 0; }
  .site-head.compact:not(.open):not(:focus-within) .island { height: 44px; }
  .site-head.compact:not(.open):not(:focus-within) .island .nav { max-width: none; opacity: 1; }
  .site-head.compact:not(.open):not(:focus-within) .island .isl-cta { max-width: 0; padding: 0; }
  .site-head.compact:not(.open):not(:focus-within) .island .isl-status { max-width: 52vw; padding: 0 4px 0 12px; }
  .nav-open .site-head.compact .island .brand b { max-width: 110px; margin-left: 10px; opacity: 1; }
  .nav-open .site-head.compact .island .isl-status { max-width: 0; padding: 0; }
}
@media (max-width: 380px) { .island .brand b { display: none; } }
@media (prefers-reduced-motion: reduce) { .island, .island *, .isl-txt.swap { transition-duration: .01s !important; animation: none !important; } }

/* =========================================================
   Pile : pile 3D à gauche, texte à droite, une seule hauteur d'écran.
   Molette au-dessus de la pile = couche suivante ; ailleurs = la page défile.
   ========================================================= */
.pile { height: auto; min-height: 100svh; }
.pile-stage { position: relative; top: auto; height: 100svh; min-height: 640px; }
.pile-panel { grid-column: 8 / 13; }
.pile-zone { position: absolute; z-index: 1; left: 0; top: var(--head-h); bottom: 0; width: 57%; cursor: ns-resize; touch-action: pan-y; }
.pile-stage .wrap { position: relative; z-index: 2; pointer-events: none; }
.pile-panel { pointer-events: auto; }
.pile-hint { position: absolute; left: var(--gutter); bottom: 34px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .04em; color: var(--mute); }
.pile-hint::before { content: ""; width: 14px; height: 22px; border: 1.5px solid currentColor; border-radius: 8px; background: linear-gradient(currentColor, currentColor) 50% 5px / 2px 5px no-repeat; animation: wheelHint 1.6s var(--ease-io) infinite; }
@keyframes wheelHint { 0%, 100% { background-position: 50% 4px; } 50% { background-position: 50% 10px; } }
.pile-hint .k-touch { display: none; }
@media (hover: none) { .pile-hint .k-wheel { display: none; } .pile-hint .k-touch { display: inline; } .pile-hint::before { width: 22px; height: 14px; background-position: 5px 50%; background-size: 5px 2px; animation: swipeHint 1.6s var(--ease-io) infinite; } }
@keyframes swipeHint { 0%, 100% { background-position: 12px 50%; } 50% { background-position: 4px 50%; } }
.pile-progress button i { transition: transform .6s var(--ease-io); transform: scaleX(0); }
.pile-progress button.done i, .pile-progress button.on i { transform: scaleX(1); }
.pile-progress button:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 4px; }
@media (max-width: 1239px) and (min-width: 980px) { .pile-panel { grid-column: 7 / 13; } }
/* tablette portrait & téléphone : pile en haut, texte en bas */
@media (max-width: 979px), (orientation: portrait) and (max-width: 1100px) {
  .pile-stage { height: 100svh; min-height: 600px; }
  .pile-panel { grid-column: 1 / -1; }
  .pile-zone { width: 100%; bottom: 46%; cursor: ew-resize; }
  .pile-hint { left: 50%; transform: translateX(-50%); bottom: 6px; white-space: nowrap; }
}
.no-webgl .pile-zone { display: none; }
.no-webgl .pile-stage { height: auto; min-height: 0; }
.no-webgl .pile-panel { grid-column: 1 / -1; }

/* Île : noire en haut de page, s'éclaircit légèrement au défilement */
.island { transition: height .6s var(--spring), padding .6s var(--spring), box-shadow .4s, background-color .5s; }
.site-head.scrolled .island { background-color: rgba(30, 42, 51, .92); }
@media (min-width: 901px) { .site-head.scrolled .island { background-color: rgba(30, 42, 51, .8); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); } }
.pile-num { padding-right: .62em; }

/* =========================================================
   Réalisations
   ========================================================= */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.work { display: grid; gap: 22px; align-content: start; }
.work-txt { display: grid; gap: 12px; }
.work .kind { font-family: var(--f-mono); font-size: .7rem; color: var(--cyan-deep); }
.work h2 { font-size: var(--t-xl); font-weight: 800; font-variation-settings: "wdth" 76; text-transform: uppercase; line-height: .95; }
.work-txt > p:not(.kind) { color: var(--text); max-width: 52ch; }
.work .tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.work .tags li { font-family: var(--f-mono); font-size: .66rem; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.work .more { justify-self: start; font-weight: 600; font-size: var(--t-sm); color: var(--cyan-deep); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.work .more:hover { color: var(--ink); }

/* écrans dessinés en CSS */
.shot { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--ink); overflow: hidden; padding: 4.5%; display: grid; transition: transform .6s var(--ease); }
.work:hover .shot { transform: translateY(-6px); }
.shot span, .shot b, .shot i, .shot em { display: block; }
/* TV d'affichage */
.shot-tv { grid-template-rows: auto 1fr auto; gap: 4%; }
.tv-top { display: flex; align-items: center; gap: 3%; height: 11%; min-height: 18px; }
.tv-top i { width: 7%; aspect-ratio: 1; border-radius: 6px; background: #E5484D; }
.tv-top b { width: 30%; height: 38%; border-radius: 4px; background: rgba(255,255,255,.85); }
.tv-top em { margin-left: auto; width: 18%; height: 60%; border-radius: 6px; background: rgba(229,72,77,.35); }
.tv-body { display: grid; grid-template-columns: 2.4fr 1fr; gap: 3%; min-height: 0; }
.tv-main { background: rgba(255,255,255,.94); border-radius: 8px; padding: 5%; display: grid; gap: 7%; align-content: start; overflow: hidden; }
.tv-main span { height: 9px; border-radius: 3px; background: #D5DEE3; animation: tvScroll 6s linear infinite; }
.tv-main span:nth-child(odd) { background: #BFE9F2; width: 82%; }
@keyframes tvScroll { from { transform: translateY(0); } to { transform: translateY(-160%); } }
.tv-side { display: grid; grid-template-rows: 1.2fr 1fr 1fr; gap: 6%; }
.tv-side span { border-radius: 8px; background: rgba(255,255,255,.9); }
.tv-side .clock { background: #2447B8; color: #fff; font-family: var(--f-display); font-weight: 800; font-size: clamp(.9rem, 2.4vw, 1.9rem); display: grid; place-items: center; }
.tv-ticker { display: flex; height: 9%; min-height: 14px; border-radius: 4px; overflow: hidden; background: #132433; }
.tv-ticker b { width: 22%; background: #E5484D; }
.tv-ticker span { flex: 1; background: linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,.55) 8% 40%, transparent 40% 52%, rgba(255,255,255,.4) 52% 80%, transparent 80%) 0 50% / 200% 30% repeat-x; animation: ticker 7s linear infinite; }
@keyframes ticker { to { background-position: -200% 50%; } }
/* navigateur */
.shot-web { grid-template-rows: auto 1fr; padding: 0; background: #F4F7F8; border: 1px solid var(--line-strong); }
.web-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--ink); }
.web-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.web-bar span { margin-left: 10px; font-family: var(--f-mono); font-size: .62rem; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); padding: 3px 10px; border-radius: 999px; }
.web-body { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 6%; padding: 6% 7%; }
.web-txt { display: grid; gap: 9px; }
.web-txt b { height: clamp(14px, 2.4vw, 26px); width: 92%; background: var(--ink); border-radius: 3px; }
.web-txt b + b { width: 64%; }
.web-txt span { height: 7px; width: 80%; background: var(--line-strong); border-radius: 3px; }
.web-txt em { margin-top: 6px; width: 38%; height: clamp(14px, 2vw, 22px); border-radius: 999px; background: var(--cyan); }
.web-stack { display: grid; gap: 7%; perspective: 500px; }
.web-stack i { height: clamp(8px, 1.5vw, 14px); border-radius: 3px; background: #fff; border: 1px solid var(--line-strong); transform: rotateX(55deg) rotateZ(-30deg); animation: layerOn 4.8s var(--ease-io) infinite; }
.web-stack i:nth-child(2) { animation-delay: .8s; } .web-stack i:nth-child(3) { animation-delay: 1.6s; } .web-stack i:nth-child(4) { animation-delay: 2.4s; } .web-stack i:nth-child(5) { animation-delay: 3.2s; } .web-stack i:nth-child(6) { animation-delay: 4s; }
@keyframes layerOn { 0%, 20%, 100% { background: #fff; border-color: var(--line-strong); transform: rotateX(55deg) rotateZ(-30deg); } 8% { background: #CFF3FA; border-color: var(--cyan-deep); transform: rotateX(55deg) rotateZ(-30deg) translateX(10%); } }
/* terminal */
.shot-term { align-content: center; gap: 10px; font-family: var(--f-mono); font-size: clamp(.62rem, 1.15vw, .9rem); color: #E2F0F4; padding: 8%; }
.shot-term .c { color: var(--cyan); }
.shot-term .m { color: #8DA2AE; }
.shot-term .cur { color: var(--cyan); animation: blink 1.1s steps(1) infinite; }
/* outils */
.shot-tools { align-content: center; gap: 12px; padding: 8%; background: #F4F7F8; border: 1px solid var(--line-strong); }
.shot-tools .tl { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: clamp(.7rem, 1.2vw, .9rem); }
.shot-tools .tl b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }
.shot-tools .tl span { font-family: var(--f-mono); color: var(--ok); font-size: .9em; }
.shot-tools .meter { width: 40%; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.shot-tools .meter i { height: 100%; width: 0; background: var(--ok); animation: meter 3.6s var(--ease-io) infinite; }
@keyframes meter { 0% { width: 8%; background: #E5484D; } 45% { width: 55%; background: var(--signal); } 75%, 100% { width: 96%; background: var(--ok); } }

.final-mini { padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.final-mini .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.final-mini h2 { font-size: var(--t-2xl); font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; line-height: .95; }
@media (max-width: 860px) { .works { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tv-main span, .tv-ticker span, .web-stack i, .shot-tools .meter i { animation: none; } .shot-tools .meter i { width: 90%; } }
.shot-term span { display: inline; }

/* Par où commencer (Services) */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; max-width: 1100px; }
.routes a { position: relative; display: grid; gap: 6px; padding: 22px 22px 22px 70px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.routes a:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(14,26,35,.5); }
.routes .k { position: absolute; left: 20px; top: 22px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--cyan); font-weight: 700; }
.routes a:first-child .k { background: var(--signal); color: var(--ink); }
.routes b { font-family: var(--f-display); font-size: var(--t-lg); font-weight: 800; font-variation-settings: "wdth" 80; color: var(--ink); line-height: 1.05; }
.routes span:not(.k) { color: var(--mute); font-size: var(--t-sm); line-height: 1.45; }
@media (max-width: 860px) { .routes { grid-template-columns: 1fr; } .routes a { padding: 18px 18px 18px 64px; } .routes .k { top: 18px; left: 16px; } }

/* Curseur : déplacé en transform 3D, l'anneau change d'échelle sans recalcul de mise en page */
.cursor .dot, .cursor .ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor .dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; transition: opacity .2s, scale .2s var(--ease); }
.cursor .ring { width: 0; height: 0; margin: 0; border: 0; background: none; display: block; transition: none; }
.cursor .ring i { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid rgba(11,124,147,.55); transform: scale(.6); transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.cursor .ring em { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.cursor.hot .ring, .cursor.label .ring { width: 0; height: 0; margin: 0; background: none; }
.cursor.hot .ring i { transform: scale(1); border-color: var(--cyan-deep); background-color: rgba(34,191,219,.10); }
.cursor.label .ring i { transform: scale(1.35); background-color: var(--ink); border-color: var(--ink); }
.cursor.down .ring i { transform: scale(.48); }
.cursor.hot.down .ring i { transform: scale(.85); }
.cursor.down .dot { scale: .6; }

.page-head .crumb a { text-decoration: underline; text-underline-offset: 3px; }
.foot-grid h2 { line-height: 1.4; }
.shot-tools .tl span { color: #157A57; }
