/* ReelClue · landing — encre, ivoire, corail, ambre */
@property --lx { syntax: '<number>'; inherits: true; initial-value: .3; }
@property --ly { syntax: '<number>'; inherits: true; initial-value: .4; }

:root {
  color-scheme: dark;
  --ink: #0D0A12;
  --ink-2: #16101C;
  --ink-3: #221A28;
  --plum: #241520;
  --ivory: #FFF9F0;
  --paper: #FFFDFA;
  --sand: #F4ECE3;
  --coral: #FF684A;
  --coral-d: #C9432A;
  --amber: #FFC15F;
  --amber-d: #D4902B;
  --clue: #FF7A2F;
  --green: #2FB585;
  --green-d: #1E7F5D;
  --violet: #8466E6;
  --violet-d: #5A40B0;
  --soft: rgba(255, 249, 240, .7);
  --faint: rgba(255, 249, 240, .5);
  --line: rgba(255, 249, 240, .12);
  --l-ink: #211823;
  --l-muted: #6E5F6D;
  --l-line: #E7DCD3;

  --f-display: "SF Pro Rounded", ui-rounded, "Nunito", "Segoe UI Variable Display", system-ui, -apple-system, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --f-serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --r-lg: 28px;
  --r-md: 20px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(40px, 6.2vw, 84px); line-height: .98; letter-spacing: -.04em; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--amber); color: var(--ink); }

.wrap { width: min(100% - var(--gutter) * 2, 1200px); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 12px 16px; background: var(--amber); color: var(--ink); border-radius: 12px; font-weight: 700; transform: translateY(-200%); }
.skip:focus { transform: none; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -.03em; }

/* ---------- boutons ---------- */
.btn {
  --bg: var(--amber); --fg: var(--ink); --sh: var(--amber-d);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border: 0; border-radius: 16px;
  background: var(--bg); color: var(--fg); box-shadow: 0 5px 0 var(--sh);
  font: 750 17px/1 var(--f-display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-spring); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--sh); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--sh); transition-duration: .06s; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 18px; border-radius: 18px; }
.btn--md { height: 52px; padding: 0 24px; }
.btn--sm { gap: 0; height: 44px; padding: 0 18px; font-size: 15px; border-radius: 13px; box-shadow: 0 4px 0 var(--sh); }
.btn--sm:hover { box-shadow: 0 5px 0 var(--sh); }
.btn--ink { --bg: var(--ink); --fg: var(--ivory); --sh: #000; }
.btn--ghost { --bg: transparent; --fg: var(--ivory); --sh: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px rgba(255, 249, 240, .32); transform: none; background: rgba(255, 249, 240, .04); }
.btn--ghost:active { transform: scale(.98); box-shadow: inset 0 0 0 2px rgba(255, 249, 240, .32); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 750 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.eyebrow--coral { color: var(--coral-d); }
.eyebrow--ink { color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .45s var(--ease-out); }
.nav__inner {
  width: min(100% - var(--gutter) * 2, 1200px); margin: 12px auto 0; height: 64px; padding: 0 10px 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 20px;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled .nav__inner { background: rgba(22, 16, 28, .72); box-shadow: inset 0 0 0 1px var(--line), 0 12px 40px rgba(0, 0, 0, .35); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-hidden .nav__inner { box-shadow: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--f-display); letter-spacing: -.035em; }
.brand img { border-radius: 9px; }
.nav__links { display: none; gap: 4px; }
.nav__links a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--soft); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--ivory); background: rgba(255, 249, 240, .06); }
.nav__cta-long { display: none; }
@media (min-width: 560px) { .nav__cta-long { display: inline; } }
@media (min-width: 960px) { .nav__links { display: flex; } }

/* ---------- intro ---------- */
[data-intro] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--n, 0) * 60ms + 40ms); }
.is-ready [data-intro] { opacity: 1; transform: none; }
.hero__title .line { display: block; overflow: hidden; padding: .04em .2em .26em .06em; margin: -.04em -.2em -.26em -.06em; opacity: 1; filter: none; transform: none; }
.hero__title .line > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform .75s var(--ease-out); transition-delay: calc(var(--n, 0) * 70ms + 30ms); white-space: nowrap; }
.is-ready .hero__title .line > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 112px 0 64px; display: flex; align-items: center; isolation: isolate; overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(13, 10, 18, 0), var(--ink)); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb--a { width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(circle, #FF684A 0%, rgba(255, 104, 74, 0) 70%); animation: drift 18s ease-in-out infinite alternate; }
.orb--b { width: 520px; height: 520px; left: -200px; bottom: -220px; background: radial-gradient(circle, #8466E6 0%, rgba(132, 102, 230, 0) 70%); opacity: .38; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes drift { to { transform: translate(-60px, 80px) scale(1.12); } }
.grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 193, 95, .6); animation: ping 2s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 193, 95, 0); } }
.hero__title { margin: 24px 0 24px; font-size: clamp(54px, 13.6vw, 84px); line-height: .9; letter-spacing: -.055em; font-weight: 850; }
.hero__ia {
  font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -.045em;
  background: linear-gradient(100deg, var(--amber) 0%, var(--coral) 35%, #FF4F7B 55%, var(--coral) 75%, var(--amber) 100%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
  display: inline-block; padding: 0 .16em .2em .04em; margin: 0 -.1em -.2em -.04em;
}
.hero__lede { max-width: 30ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 12px; margin-top: 36px; }
.hero__facts { display: flex; gap: 28px; margin-top: 40px; color: var(--faint); font-size: 15px; }
.hero__facts strong { display: block; font: 800 32px/1 var(--f-display); color: var(--ivory); letter-spacing: -.03em; margin-bottom: 6px; }
.hero__facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--soft); animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
  .hero__title { font-size: clamp(76px, 8.4vw, 128px); }
  .hero__scroll { display: block; }
}
@media (max-width: 559px) {
  .hero { padding-top: 100px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 20px; }
  .hero__facts li + li { padding-left: 20px; }
}

/* ---------- jeu du hero ---------- */
.play { width: 100%; max-width: 440px; justify-self: center; }
.play__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 249, 240, .08); box-shadow: inset 0 0 0 1px var(--line); font: 700 13px/1 var(--f-display); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.play__dots { display: flex; gap: 6px; }
.play__dots li { width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 249, 240, .16); transition: background-color .4s, width .4s var(--ease-out); }
.play__dots li.is-current { width: 34px; background: var(--ivory); }
.play__dots li.is-win { background: var(--green); }
.play__dots li.is-miss { background: var(--coral); }
.play__score { font: 800 17px/1 var(--f-display); color: var(--faint); font-variant-numeric: tabular-nums; }
.play__score b { color: var(--ivory); display: inline-block; }
.play__score b.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.5); color: var(--amber); } }

.stack { --rx: 0deg; --ry: 0deg; position: relative; aspect-ratio: 4 / 5; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s var(--ease-out); }
.stack::after { content: ""; position: absolute; inset: 0; z-index: 20; border-radius: var(--r-lg); pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 249, 240, .16), transparent 55%); opacity: 0; transition: opacity .3s; }
.stack:hover::after { opacity: 1; }
.stack:focus-visible { outline: 3px solid var(--amber); outline-offset: 6px; border-radius: var(--r-lg); }
.card {
  --tx: 0px; --rot: 0deg; --depth: 0;
  position: absolute; inset: 0; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 249, 240, .08);
  transform: translate3d(var(--tx), calc(var(--depth) * 16px), 0) rotate(var(--rot)) scale(calc(1 - var(--depth) * .05));
  transition: transform .55s var(--ease-out), opacity .4s, filter .4s;
  will-change: transform; cursor: grab;
}
.card[data-depth="1"] { filter: brightness(.6); }
.card[data-depth="2"] { filter: brightness(.4); }
.card[data-depth="3"] { opacity: 0; }
.card.is-dragging { transition: none; cursor: grabbing; }
.card.is-static { position: relative; }
.card img, .card video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.card__canvas { position: absolute; inset: 0; transition: transform .9s var(--ease-out) .1s; }
.card.is-revealed .card__canvas { transform: translateY(calc(var(--shift, 0) * -100%)); }
.card__media { position: absolute; inset: 0; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 10, 18, .45) 0%, rgba(13, 10, 18, 0) 22%, rgba(13, 10, 18, 0) 60%, rgba(13, 10, 18, .55) 100%); transition: background .5s; }
.card__tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(13, 10, 18, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 700 12px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.card__tag svg { width: 12px; height: 12px; fill: currentColor; }
.card__desc { position: absolute; left: 20px; right: 20px; bottom: 18px; font: 650 17px/1.35 var(--f-display); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); transition: opacity .3s; }

.stamp {
  position: absolute; top: 22px; z-index: 3; padding: 6px 14px 4px; border: 4px solid; border-radius: 12px;
  font: 900 30px/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; pointer-events: none;
  opacity: var(--o, 0); transform: rotate(var(--sr)) scale(calc(1.4 - var(--o, 0) * .4));
}
.stamp--cap { left: 18px; --sr: -14deg; color: #6FE3B6; border-color: #6FE3B6; background: rgba(13, 10, 18, .35); }
.stamp--ia { right: 18px; --sr: 14deg; color: var(--coral); border-color: var(--coral); background: rgba(13, 10, 18, .35); }

.card__sheet {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4; padding: 16px 16px 14px; border-radius: 20px;
  background: rgba(22, 16, 28, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line);
  transform: translateY(calc(100% + 16px)); transition: transform .6s var(--ease-out) .15s;
}
.card.is-revealed .card__sheet { transform: none; }
.card.is-revealed .card__desc, .card.is-revealed .card__tag { opacity: 0; }
.card.is-revealed .card__media::after { background: linear-gradient(180deg, rgba(13, 10, 18, .2), rgba(13, 10, 18, .1) 40%, rgba(13, 10, 18, .7)); }
.sheet__res { display: flex; align-items: center; gap: 8px; font: 750 13px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.sheet__res i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-style: normal; font-size: 13px; color: var(--ink); }
.is-win .sheet__res { color: #6FE3B6; } .is-win .sheet__res i { background: #6FE3B6; }
.is-miss .sheet__res { color: var(--coral); } .is-miss .sheet__res i { background: var(--coral); }
.sheet__verdict { margin-top: 8px; font: 800 24px/1.1 var(--f-display); letter-spacing: -.025em; }
.sheet__text { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--soft); }
.sheet__credit { margin-top: 8px; font-size: 12px; color: var(--faint); }
.sheet__credit a { color: var(--faint); }
.sheet__next { margin-top: 12px; width: 100%; height: 46px; border: 0; border-radius: 13px; background: var(--amber); color: var(--ink); box-shadow: 0 4px 0 var(--amber-d); font: 750 15px/1 var(--f-display); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.sheet__next:active { transform: translateY(4px); box-shadow: none; }

.zone {
  position: absolute; z-index: 2; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: calc(var(--w) * 100%); height: calc(var(--h) * 100%);
  border: 3px solid var(--clue); border-radius: 12px; box-shadow: 0 0 0 1px rgba(13, 10, 18, .35), 0 0 24px rgba(255, 122, 47, .45);
  opacity: 0; transform: scale(1.35); transition: opacity .35s, transform .6s var(--ease-spring); pointer-events: none;
}
.zone b { position: absolute; left: -12px; top: -12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--clue); color: var(--ink); font: 850 13px/1 var(--f-display); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.card.is-revealed .zone, .is-in .zone, .phone[data-step="3"] .ps--3 .zone { opacity: 1; transform: none; transition-delay: calc(.35s + var(--k, 0) * .18s); }
.card.is-revealed .zone, .is-in .zone { animation: zonePulse 2.4s ease-in-out 1.2s infinite; }
@keyframes zonePulse { 50% { box-shadow: 0 0 0 1px rgba(13, 10, 18, .35), 0 0 0 8px rgba(255, 122, 47, .16), 0 0 32px rgba(255, 122, 47, .5); } }

.card--end { display: grid; place-content: center; text-align: center; padding: 32px; background: radial-gradient(120% 90% at 50% 0%, #4A2533 0%, var(--ink-3) 60%); cursor: default; }
.card--end .end__score { font: 850 96px/1 var(--f-display); letter-spacing: -.05em; }
.card--end .end__score small { font-size: 40px; color: var(--faint); }
.card--end h3 { margin-top: 12px; font-size: 24px; }
.card--end p { margin: 10px auto 24px; max-width: 26ch; color: var(--soft); font-size: 15px; }
.card--end .btn { justify-self: center; }
.card--end .end__again { margin-top: 16px; background: none; border: 0; color: var(--faint); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

.play__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; transition: opacity .3s; }
.play__controls.is-off { opacity: .35; pointer-events: none; }
.play__controls.is-done { opacity: 0; visibility: hidden; }
.vbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border: 0; border-radius: 16px; font: 750 16px/1 var(--f-display); cursor: pointer; transition: transform .15s var(--ease-out), box-shadow .15s; }
.vbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vbtn--cap { background: var(--ink-3); color: var(--ivory); box-shadow: inset 0 0 0 1.5px var(--line), 0 5px 0 #08060B; }
.vbtn--ia { background: var(--amber); color: var(--ink); box-shadow: 0 5px 0 var(--amber-d); }
.vbtn:hover { transform: translateY(-2px); }
.vbtn:active { transform: translateY(5px); box-shadow: none; }
.vbtn--cap:active { box-shadow: inset 0 0 0 1.5px var(--line); }
.play__hint { margin-top: 16px; text-align: center; font-size: 13px; color: var(--faint); transition: opacity .3s; }

/* ---------- ruban ---------- */
.ribbon-wrap { position: relative; z-index: 2; overflow: clip; padding: 56px 0; margin: -1px 0; pointer-events: none; background: linear-gradient(180deg, var(--ink) 50%, var(--ivory) 50%); }
.ribbon { position: relative; width: 108%; margin-left: -4%; background: var(--coral); color: var(--ink); transform: rotate(-2deg); box-shadow: 0 8px 0 var(--coral-d); overflow: hidden; }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: marquee 34s linear infinite; }
.ribbon span { font: 850 clamp(28px, 4vw, 48px)/1 var(--f-display); letter-spacing: -.035em; white-space: nowrap; }
.ribbon i { font-style: normal; font-size: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections claires ---------- */
.light { background: var(--ivory); color: var(--l-ink); color-scheme: light; }
.light :focus-visible { outline-color: var(--coral-d); }
.section-head { display: grid; gap: 20px; justify-items: start; }
.section-head__lede { max-width: 46ch; font-size: 19px; line-height: 1.55; color: var(--soft); }
.light .section-head__lede { color: var(--l-muted); }
.light .section-head__lede a { color: var(--coral-d); font-weight: 600; }
.section-head--center { justify-items: center; text-align: center; margin-inline: auto; }
.section-head--center .section-head__lede { margin-inline: auto; }
.section-head--split { gap: 24px; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; column-gap: 64px; }
}

/* révélations au défilement */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
.no-js [data-reveal], .no-js [data-intro] { opacity: 1; transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- principe ---------- */
.story { padding: 96px 0 120px; }
.story__grid { display: grid; gap: 48px; margin-top: 64px; }
.story__phone-col { display: grid; justify-items: center; }
.story__steps { display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--l-line); transition: opacity .3s, transform .35s var(--ease-out), box-shadow .3s; }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sand); font: 850 16px/1 var(--f-display); color: var(--coral-d); margin-bottom: 18px; transition: background-color .4s, color .4s, transform .5s var(--ease-spring); }
.step h3 { font-size: 30px; letter-spacing: -.03em; }
.step p { margin-top: 10px; color: var(--l-muted); font-size: 17px; max-width: 44ch; }
.step strong { color: var(--l-ink); }
.step.is-active { box-shadow: inset 0 0 0 2px var(--l-ink), 0 6px 0 var(--l-ink); }
.step.is-active .step__num { background: var(--coral); color: var(--ink); transform: rotate(-8deg) scale(1.08); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { padding: 7px 12px; border-radius: 999px; background: var(--sand); font: 650 13px/1 var(--f-display); color: var(--l-ink); }

@media (min-width: 960px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .story__phone-col { position: sticky; top: max(88px, calc(50vh - 330px)); min-height: 640px; align-content: center; }
  .story__steps { gap: 0; padding: 12vh 0 18vh; }
  .step { min-height: 62vh; display: grid; align-content: center; padding: 40px; background: transparent; box-shadow: none; opacity: .28; transform: translateX(16px); }
  .step h3 { font-size: clamp(44px, 4.4vw, 64px); letter-spacing: -.045em; }
  .step p { font-size: 20px; margin-top: 16px; }
  .step__num { width: 52px; height: 52px; font-size: 18px; border-radius: 16px; margin-bottom: 24px; }
  .step.is-active { opacity: 1; transform: none; box-shadow: none; }
}

/* téléphone */
.phone { position: relative; width: 300px; height: 620px; padding: 10px; border-radius: 52px; background: #1A141E; box-shadow: inset 0 0 0 1.5px #3A2F3F, inset 0 0 0 5px #0B080D, 0 50px 80px -30px rgba(33, 24, 35, .55), 0 20px 40px -20px rgba(33, 24, 35, .35); flex: none; }
.phone__island { position: absolute; z-index: 5; left: 50%; top: 22px; width: 92px; height: 26px; margin-left: -46px; border-radius: 16px; background: #000; }
.phone__screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--ink); color: var(--ivory); }
.ps-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 26px 0 30px; height: 46px; font: 650 14px/1 var(--f-body); }
.ps-bar__icons { display: flex; gap: 4px; }
.ps-bar__icons i { width: 16px; height: 10px; border-radius: 3px; background: var(--ivory); opacity: .9; }
.ps-bar__icons i:first-child { width: 14px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.ps-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 12px; }
.ps-chip { font: 750 11px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.ps-timer { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--ink-3); font: 700 12px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.ps-timer svg { width: 13px; height: 13px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; }
.ps { position: absolute; left: 12px; right: 12px; top: 104px; bottom: 16px; display: flex; flex-direction: column; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.phone[data-step="1"] .ps--1, .phone[data-step="2"] .ps--2, .phone[data-step="3"] .ps--3 { opacity: 1; transform: none; }
.ps-media { --mh: 330px; position: relative; width: 256px; height: var(--mh); border-radius: 22px; overflow: hidden; background: var(--ink-3); flex: none; }
.ps-media > img { width: 100%; height: 100%; object-fit: cover; }
.ps-cap { margin-top: auto; padding: 14px 0 6px; text-align: center; font: 700 10.5px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.ps-lens {
  position: absolute; width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--ivory); overflow: hidden;
  left: calc(var(--lx) * 256px - 42px); top: calc(var(--ly) * var(--mh) - 42px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .5); animation: lens 7s ease-in-out infinite;
}
.ps-lens img { position: absolute; max-width: none; width: 2200px; height: 1100px; left: calc(42px - (var(--lx) * 256px + 312px) * 2.5); top: calc(42px - var(--ly) * var(--mh) * 2.5); }
.ps--1 .ps-media { --mh: 440px; }
.ps--2 .ps-media { --mh: 410px; }
@keyframes lens { 0%, 100% { --lx: .28; --ly: .36; } 33% { --lx: .7; --ly: .5; } 66% { --lx: .52; --ly: .66; } }
.ps-media--swipe { animation: swipe 3.2s var(--ease-out) infinite; transform-origin: 50% 120%; }
.ps-media--swipe .stamp { top: 16px; font-size: 22px; padding: 4px 10px 3px; border-width: 3px; animation: stampIn 3.2s var(--ease-out) infinite; }
@keyframes swipe { 0%, 15% { transform: none; } 45%, 70% { transform: translateX(46px) rotate(7deg); } 100% { transform: none; } }
@keyframes stampIn { 0%, 20% { opacity: 0; transform: rotate(14deg) scale(1.4); } 45%, 70% { opacity: 1; transform: rotate(14deg) scale(1); } 90%, 100% { opacity: 0; } }
.ps-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.ps-btn { display: grid; place-items: center; height: 48px; border-radius: 14px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); font: 750 13px/1 var(--f-display); }
.ps-btn--ia { background: var(--amber); color: var(--ink); box-shadow: 0 4px 0 var(--amber-d); animation: tap 3.2s var(--ease-out) infinite; }
@keyframes tap { 40% { transform: none; box-shadow: 0 4px 0 var(--amber-d); } 46% { transform: translateY(4px); box-shadow: none; } 54% { transform: none; box-shadow: 0 4px 0 var(--amber-d); } }
.ps--3 .ps-media { --mh: 200px; }
.ps-sheet { margin-top: 10px; padding: 14px; border-radius: 18px; background: var(--ink-3); flex: 1; display: flex; flex-direction: column; }
.ps-ok { display: flex; align-items: center; gap: 6px; font: 750 10.5px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: #6FE3B6; }
.ps-ok b { margin-left: auto; color: var(--amber); font-size: 13px; letter-spacing: 0; }
.ps-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: #6FE3B6; color: var(--ink); font-size: 11px; }
.ps-verdict { margin-top: 8px; font: 800 20px/1.1 var(--f-display); letter-spacing: -.02em; }
.ps-text { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--soft); }
.ps-src { margin-top: 6px; font-size: 10.5px; color: var(--faint); }
.ps-next { margin-top: auto; display: grid; place-items: center; height: 42px; border-radius: 12px; background: var(--amber); color: var(--ink); font: 750 13px/1 var(--f-display); box-shadow: 0 3px 0 var(--amber-d); }
.phone[data-step="3"] .ps-sheet > * { animation: rise .6s var(--ease-out) both; }
.phone[data-step="3"] .ps-sheet > :nth-child(2) { animation-delay: .08s; } .phone[data-step="3"] .ps-sheet > :nth-child(3) { animation-delay: .16s; } .phone[data-step="3"] .ps-sheet > :nth-child(4) { animation-delay: .24s; } .phone[data-step="3"] .ps-sheet > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 380px) { .phone { zoom: .88; } }
@media (min-width: 1200px) and (min-height: 900px) { .phone { zoom: 1.1; } }

/* ---------- correction ---------- */
.reveal-sec { padding: 140px 0; background: radial-gradient(80% 60% at 85% 10%, rgba(255, 104, 74, .14), transparent 70%), var(--ink); }
.hl { color: var(--ink); padding: 0 .12em; margin: 0 -.04em; border-radius: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--amber), var(--amber)) no-repeat 0 62% / 0% 84%; transition: background-size .7s var(--ease-out) .25s; }
.is-in .hl, .no-js .hl { background-size: 100% 84%; }
#correction-title { line-height: 1.06; }
.inspect { margin: 64px 0 0; display: grid; gap: 40px; align-items: center; }
.inspect__frame { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); justify-self: center; cursor: crosshair; touch-action: pan-y; }
.inspect__frame > img { width: 100%; height: 100%; object-fit: cover; }
.zone--big { border-width: 4px; border-radius: 16px; }
.zone--big b { width: 30px; height: 30px; font-size: 15px; left: -15px; top: -15px; }
.zone--big:nth-of-type(2) { --k: 1; }
.lens { position: absolute; z-index: 3; left: 0; top: 0; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; border: 4px solid var(--ivory); background-repeat: no-repeat; box-shadow: 0 20px 40px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .2); pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease-spring); }
.lens.is-on { opacity: 1; transform: scale(1); }
.verdict-pill { display: inline-flex; padding: 3px; border-radius: 999px; background: linear-gradient(100deg, var(--amber), var(--coral)); }
.verdict-pill span { padding: 10px 18px; border-radius: 999px; background: var(--ink); font: 800 15px/1 var(--f-display); letter-spacing: .02em; }
.clues { display: grid; gap: 14px; margin-top: 28px; }
.clues li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border-radius: var(--r-md); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.clues li > b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--clue); color: var(--ink); font: 850 18px/1 var(--f-display); }
.clues h3 { font-size: 20px; }
.clues p { margin-top: 4px; color: var(--soft); font-size: 16px; }
.inspect__foot { margin-top: 24px; font-size: 14.5px; color: var(--faint); max-width: 48ch; }
@media (min-width: 960px) {
  .inspect { grid-template-columns: 1fr 1fr; gap: 80px; }
  .inspect__frame { justify-self: end; }
}

/* ---------- apprendre ---------- */
.learn { padding: 140px 0; overflow: clip; }
.learn__grid { display: grid; gap: 56px; }
.learn .section-head .btn { margin-top: 12px; }
.path ol { position: relative; display: grid; gap: 22px; max-width: 460px; margin-inline: auto; }
.node { position: relative; display: flex; align-items: center; gap: 18px; margin-left: calc(var(--x) - 42px); width: max-content; }
.node__btn {
  --c: var(--coral); --cd: var(--coral-d);
  position: relative; display: grid; place-items: center; width: 84px; height: 78px; border-radius: 50%;
  background: var(--c); box-shadow: 0 8px 0 var(--cd); flex: none;
  opacity: 0; transform: translateY(30px) scale(.4); transition: opacity .5s, transform .7s var(--ease-spring); transition-delay: calc(var(--i) * 140ms + 200ms);
}
.node__btn svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.node--green .node__btn { --c: var(--green); --cd: var(--green-d); }
.node--violet .node__btn { --c: var(--violet); --cd: var(--violet-d); }
.node:nth-child(n+3) .node__btn { filter: saturate(.85); }
.node__label { display: grid; gap: 4px; font: 750 18px/1.15 var(--f-display); letter-spacing: -.015em; opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: calc(var(--i) * 140ms + 320ms); }
.node__label small { font: 750 11px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--l-muted); }
.path.is-in .node__btn { opacity: 1; transform: none; }
.path.is-in .node__label { opacity: 1; transform: none; }
.node__bubble { position: absolute; left: 42px; top: -46px; transform: translateX(-50%); padding: 10px 14px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 2px var(--l-line); font: 800 13px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--coral-d); white-space: nowrap; animation: bob 2.2s ease-in-out infinite; z-index: 1; }
.node__bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; background: var(--paper); box-shadow: 2px 2px 0 0 var(--l-line); transform: rotate(45deg); }
@keyframes bob { 50% { transform: translate(-50%, -6px); } }
.node__bubble { opacity: 0; transition: opacity .4s .9s; }
.path.is-in .node__bubble { opacity: 1; }
.node:first-child { margin-top: 52px; }
.node:first-child .node__btn::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 4px solid rgba(255, 104, 74, .3); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@media (min-width: 960px) {
  .learn__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
}
@media (max-width: 559px) { .node { margin-left: calc((var(--x) - 32%) * .9); } .node__label { max-width: 140px; } }

/* ---------- duels ---------- */
.duels { padding: 140px 0; background: radial-gradient(70% 50% at 50% 0%, rgba(132, 102, 230, .22), transparent 70%), var(--plum); }
.duels__grid { display: grid; gap: 16px; margin-top: 64px; }
.panel { position: relative; padding: 28px; border-radius: var(--r-lg); background: rgba(13, 10, 18, .5); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.panel__kicker { font: 750 12px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.panel__note { margin-top: 18px; font-size: 13.5px; color: var(--faint); }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 850 16px/1 var(--f-display); color: var(--ink); flex: none; }
.avatar--coral { background: var(--coral); } .avatar--amber { background: var(--amber); } .avatar--violet { background: #B7A2F5; } .avatar--green { background: #6FE3B6; }
.vs__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 28px; text-align: center; }
.vs__player { display: grid; justify-items: center; gap: 8px; font: 750 15px/1 var(--f-display); }
.vs__player .avatar { width: 56px; height: 56px; font-size: 22px; }
.vs__score { font: 850 56px/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.vs__mid { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--coral); color: var(--ink); font: 900 15px/1 var(--f-display); transform: rotate(-8deg); }
.vs__bars { display: grid; gap: 8px; margin-top: 24px; }
.vs__bars span { height: 10px; border-radius: 5px; background: rgba(255, 249, 240, .1); position: relative; overflow: hidden; }
.vs__bars span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease-out) .4s; }
.vs__bars span + span::after { background: var(--amber); }
.vs.is-in .vs__bars span::after { transform: scaleX(var(--v)); }
.vs__result { margin-top: 20px; display: inline-flex; padding: 8px 12px; border-radius: 10px; background: rgba(111, 227, 182, .12); color: #6FE3B6; font: 750 14px/1 var(--f-display); }
.elo__value { display: flex; align-items: baseline; gap: 10px; margin-top: 24px; font: 850 clamp(64px, 7vw, 88px)/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.elo__value small { font-size: 18px; letter-spacing: 0; color: var(--faint); }
.elo__delta { margin-top: 10px; color: var(--soft); font-size: 15px; }
.elo__delta span { display: inline-block; padding: 4px 8px; margin-right: 4px; border-radius: 8px; background: rgba(255, 193, 95, .14); color: var(--amber); font: 800 14px/1 var(--f-display); }
.spark { width: 100%; height: 64px; margin-top: 20px; overflow: visible; }
.spark path { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease-out) .3s; filter: drop-shadow(0 6px 10px rgba(255, 193, 95, .35)); }
.elo.is-in .spark path { stroke-dashoffset: 0; }
.board__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 249, 240, .06); }
.board__tabs span { flex: 1; padding: 9px 0; border-radius: 10px; text-align: center; font: 700 13px/1 var(--f-display); color: var(--faint); }
.board__tabs .is-on { background: var(--ivory); color: var(--ink); }
.board__list { position: relative; display: grid; gap: 6px; margin-top: 18px; }
.board__list li { display: grid; grid-template-columns: 24px 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; font: 700 16px/1 var(--f-display); transition: background-color .4s; }
.board__list li.is-me { background: rgba(255, 193, 95, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 193, 95, .5); }
.board__rank { color: var(--faint); font-variant-numeric: tabular-nums; }
.board__elo { font-variant-numeric: tabular-nums; color: var(--soft); }
.board__list li.is-up .board__elo { color: var(--amber); }
@media (min-width: 760px) { .duels__grid { grid-template-columns: repeat(2, 1fr); } .board { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .duels__grid { grid-template-columns: repeat(3, 1fr); } .board { grid-column: auto; } }

/* ---------- manifeste ---------- */
.manifesto { padding: 160px 0; background: var(--ink); }
.manifesto__text { max-width: 22ch; margin-inline: auto; font: 800 clamp(34px, 5.4vw, 72px)/1.08 var(--f-display); letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.manifesto__text .w { color: rgba(255, 249, 240, .14); transition: color .25s; }
.manifesto__text .w.on { color: var(--ivory); }
.manifesto__text .w.accent.on { color: var(--amber); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 120px 0; background: var(--amber); color: var(--ink); overflow: clip; color-scheme: light; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 90% 50%, rgba(255, 104, 74, .45), transparent 70%); }
.cta__grid { position: relative; display: grid; gap: 64px; align-items: center; }
.cta h2 { margin-top: 20px; font-size: clamp(44px, 6vw, 80px); line-height: .94; letter-spacing: -.05em; }
.cta p { margin-top: 24px; max-width: 40ch; font-size: 19px; color: rgba(13, 10, 18, .72); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.cta__soon { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--f-display); color: rgba(13, 10, 18, .7); }
.cta__soon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fan { position: relative; height: 440px; overflow: visible; }
.fan__card { position: absolute; left: 50%; top: 50%; width: 260px; aspect-ratio: 4 / 5; margin: -162px 0 0 -130px; border-radius: 26px; overflow: hidden; border: 6px solid var(--paper); background: var(--paper); box-shadow: 0 30px 60px -20px rgba(80, 30, 10, .5); transform: translate(0, 40px) rotate(0deg) scale(.9); transition: transform 1.1s var(--ease-spring); }
.fan.is-in .fan__card { transform: translate(var(--tx), var(--ty)) rotate(var(--r)); }
.fan__card img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.fan__card--front { z-index: 2; }
.fan.is-in .fan__card--front { animation: float 5s ease-in-out 1.2s infinite; }
@keyframes float { 50% { transform: translate(var(--tx), calc(var(--ty) - 14px)) rotate(calc(var(--r) + 2deg)); } }
.fan__q { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 0 20px 0 24px; background: var(--ink); color: var(--amber); font: 900 34px/1 var(--f-display); }
@media (min-width: 960px) { .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fan { height: 520px; } .fan__card { width: 300px; margin: -187px 0 0 -150px; } }
@media (max-width: 559px) { .fan { height: 340px; } .fan__card { width: 180px; margin: -112px 0 0 -90px; } .cta__actions .btn { flex: 1 1 100%; } }

/* ---------- FAQ ---------- */
.faq { padding: 140px 0; }
.faq__grid { display: grid; gap: 48px; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--l-line); transition: box-shadow .2s, transform .2s var(--ease-out); }
.qa:hover { box-shadow: inset 0 0 0 1.5px #CDBDB0; }
.qa.is-open { box-shadow: inset 0 0 0 2px var(--l-ink), 0 4px 0 var(--l-ink); }
.qa h3 { margin: 0; font-size: inherit; }
.qa button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 0; background: none; text-align: left; font: 750 19px/1.3 var(--f-display); letter-spacing: -.015em; color: var(--l-ink); cursor: pointer; border-radius: var(--r-md); -webkit-tap-highlight-color: transparent; }
.qa button:active .qa__icon { transform: scale(.9); }
.qa__icon { position: relative; width: 32px; height: 32px; border-radius: 10px; background: var(--sand); flex: none; transition: background-color .2s, transform .25s var(--ease-out); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--l-ink); transition: transform .25s var(--ease-out); }
.qa__icon::after { transform: rotate(90deg); }
.qa.is-open .qa__icon { background: var(--coral); }
.qa.is-open .qa__icon::after { transform: rotate(0deg); }
.qa__r { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .26s var(--ease-out); }
.js .qa__r { grid-template-rows: 0fr; }
.js .qa.is-open .qa__r { grid-template-rows: 1fr; }
.qa__r > div { min-height: 0; overflow: hidden; }
.qa__r p { padding: 0 24px 24px; color: var(--l-muted); font-size: 17px; max-width: 62ch; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .26s var(--ease-out); }
.no-js .qa__r p, .qa.is-open .qa__r p { opacity: 1; transform: none; }
.qa__r a { color: var(--coral-d); font-weight: 600; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq .section-head { position: sticky; top: 120px; align-self: start; } }

/* ---------- footer ---------- */
.foot { padding: 96px 0 40px; background: var(--ink); overflow: clip; }
.foot__top { display: grid; gap: 32px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot__word { font: 850 clamp(72px, 16vw, 200px)/.8 var(--f-display); letter-spacing: -.065em; text-decoration: none; margin-left: -.04em; }
.foot__word span { color: var(--coral); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 15px; color: var(--faint); }
.foot__row nav { display: flex; gap: 24px; }
.foot__row a { color: var(--soft); text-decoration: none; }
.foot__row a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.foot__credits { margin-top: 20px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 249, 240, .4); max-width: 110ch; }
.foot__credits a { color: inherit; }
@media (min-width: 1100px) { .foot__top { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-intro], [data-reveal], .hero__title .line > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ribbon__track { animation: none; }
  .manifesto__text .w { color: var(--ivory); }
}
@media (min-width: 960px) and (max-width: 1199px) { .fan__card { width: 230px; margin: -144px 0 0 -115px; } .fan { height: 440px; } }
