/* ==========================================================================
   Site trading — Feuille de style
   Direction artistique : « constellation sur velours noir »
   Noir pur, un seul violet pour l'action, étincelles ambrées,
   typographie monumentale en graisse 400.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: dark; /* site volontairement sombre : formulaires et barres de défilement aussi */
  --void: #000000;
  --white: #ffffff;
  --ash: #9a9a9a;
  --silver: #bdbdbd;
  --iris: #8052ff;
  --iris-light: #a58bff;
  --saffron: #ffb829;
  --verdant: #15846e;
  --mint: #1fc49a;
  --rose: #ff5c7a;
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.06);

  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(3.25rem, 8.8vw, 7.0625rem); /* 113px */
  --fs-xl: clamp(2.6rem, 6vw, 4.875rem);          /* 78px */
  --fs-lg: clamp(2.1rem, 4vw, 3rem);              /* 48px */
  --fs-md: clamp(1.75rem, 3.2vw, 2.625rem);       /* 42px */
  --fs-sm: clamp(1.4rem, 2.2vw, 1.6875rem);       /* 27px */
  --fs-body: 1.125rem;                            /* 18px */
  --w-body: 300;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius: 24px;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 13vw, 180px);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  background: var(--void);
  color: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.is-loading { overflow: hidden; }

body {
  min-height: 100vh;
  background: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--w-body);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
svg { display: block; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
::selection { background: var(--iris); color: #fff; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 4px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -64px; z-index: 300;
  padding: 10px 18px; border-radius: 999px; background: #fff; color: #000;
  font: 600 0.8rem/1 var(--font-display); transition: top 0.3s;
}
.skip-link:focus { top: 16px; }

html.has-cursor,
html.has-cursor * { cursor: none !important; }

/* Lenis (smooth scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 3. Mise en page ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
main, .footer { position: relative; z-index: 1; }
main { overflow-x: clip; }
.section { position: relative; padding-block: var(--section); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--reverse .split__visual { order: -1; }
.split__content > * + * { margin-top: 28px; }
.split__visual { position: relative; }

/* zone réservée à la constellation (les particules s'y dessinent) */
.anchor { width: 100%; aspect-ratio: 1; max-width: 560px; max-height: 76vh; margin-inline: auto; }
.anchor--sm { max-width: 440px; }

/* ---------- 4. Typographie ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  line-height: 1.2; letter-spacing: 0.025em; text-transform: uppercase;
  color: var(--saffron);
}
.label::before {
  content: ""; width: 7px; height: 7px; flex: none; background: currentColor;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.display, .h-xl, .h-lg {
  font-family: var(--font-display); font-weight: 400; color: var(--white);
  font-feature-settings: "ss01" on;
}
.display { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.045em; }
.h-xl { font-size: var(--fs-xl); line-height: 1.02; letter-spacing: -0.04em; }
.h-lg { font-size: var(--fs-lg); line-height: 1.1; letter-spacing: -0.035em; }
.muted { color: var(--ash); }

.lead {
  max-width: 31em; color: var(--silver);
  font-size: var(--fs-body); font-weight: var(--w-body); line-height: 1.6;
}

/* Mots révélés derrière un masque */
.w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0 0.05em 0.14em; margin: 0 -0.05em -0.14em;
}
.w > span { display: inline-block; }
.js [data-split] .w > span {
  transform: translate3d(0, 112%, 0);
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms + var(--d, 0s));
}
.js [data-split].is-in .w > span { transform: none; }

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 1s var(--ease-out), transform 1.25s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 5. Boutons & liens ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
  transition: transform 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s;
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--fx, 50%); top: var(--fy, 50%);
  width: 260%; aspect-ratio: 1; border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.75s var(--ease-out);
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn__inner { display: inline-flex; align-items: center; gap: 10px; transition: transform 0.5s var(--ease-out); }
.btn__icon { width: 17px; height: 17px; flex: none; }
.btn__icon svg { width: 100%; height: 100%; }
.btn--primary { background: var(--iris); color: #fff; }
.btn--primary:hover { color: #000; }
.btn--outline { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.btn--outline:hover { color: #000; border-color: #fff; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 0.8125rem; }
.btn--lg { --h: 60px; padding: 0 30px; }

/* texte qui roule */
.roll { display: inline-block; height: 1.2em; overflow: hidden; line-height: 1.2; vertical-align: top; }
.roll__inner { display: flex; flex-direction: column; transition: transform 0.65s var(--ease-out); }
a:hover .roll__inner,
button:hover .roll__inner { transform: translate3d(0, -50%, 0); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 0;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--white);
  transition: color 0.4s;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.7s var(--ease-out);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link--muted { color: var(--ash); }
.link--muted:hover { color: var(--white); }

/* flèches qui s'échangent */
.arrow { position: relative; width: 14px; height: 14px; flex: none; overflow: hidden; }
.arrow svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.6s var(--ease-out); }
.arrow svg + svg { transform: translate(-115%, 115%); }
a:hover .arrow svg:first-child,
button:hover .arrow svg:first-child { transform: translate(115%, -115%); }
a:hover .arrow svg + svg,
button:hover .arrow svg + svg { transform: none; }
.arrow--e svg + svg { transform: translateX(-115%); }
a:hover .arrow--e svg:first-child { transform: translateX(115%); }
.arrow--n svg + svg { transform: translateY(115%); }
a:hover .arrow--n svg:first-child { transform: translateY(-115%); }

/* ---------- 6. Préchargement ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; background: var(--void);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-in-out);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader__center { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__mark { width: 52px; height: 52px; animation: tri-step 1.4s var(--ease-in-out) infinite; }
.preloader__count {
  font-family: var(--font-display); font-size: clamp(4.5rem, 13vw, 8.5rem);
  line-height: 1; letter-spacing: -0.06em; font-variant-numeric: tabular-nums;
}
.preloader__bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--iris); transform-origin: left; transform: scaleX(0); }
.preloader__label {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash);
  white-space: nowrap;
}
@keyframes tri-step { 0% { transform: rotate(0); } 55%, 100% { transform: rotate(120deg); } }

/* ---------- 7. Constellation, curseur, progression ---------- */
.constellation {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 100%; height: 100vh; height: 100lvh;
  pointer-events: none;
}

.cursor { display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot,
.cursor__ring { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; transition: opacity 0.3s; }
.cursor__dot { mix-blend-mode: difference; }
.cursor__dot::before {
  content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px;
  border-radius: 50%; background: #fff; transition: transform 0.35s var(--ease-out);
}
.cursor__shape {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: max-content; min-width: 38px; height: 38px; padding: 0;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: min-width 0.5s var(--ease-out), height 0.5s var(--ease-out), padding 0.5s var(--ease-out),
    background-color 0.4s, border-color 0.4s, opacity 0.4s, transform 0.5s var(--ease-out);
}
.cursor__label {
  max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap;
  font: 600 0.72rem/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  transition: max-width 0.5s var(--ease-out), opacity 0.3s;
}
.cursor:not(.is-visible) .cursor__dot,
.cursor:not(.is-visible) .cursor__ring { opacity: 0; }
.cursor.is-hover .cursor__shape { min-width: 66px; height: 66px; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.75); }
.cursor.is-hover .cursor__dot::before { transform: scale(0.5); }
.cursor.is-btn .cursor__shape { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
.cursor.has-label .cursor__shape { height: 46px; padding: 0 18px; background: var(--iris); border-color: var(--iris); }
.cursor.has-label .cursor__label { max-width: 220px; opacity: 1; }
.cursor.has-label .cursor__dot::before { transform: scale(0); }
.cursor.is-down .cursor__shape { transform: translate(-50%, -50%) scale(0.85); }

.progress { position: fixed; left: 0; top: 0; right: 0; z-index: 60; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--iris); transform-origin: left; transform: scaleX(0); }

/* ---------- 8. Navigation ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%;
  width: min(100% - 2 * var(--gutter) + 20px, var(--max) + 20px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 20px; border-radius: var(--radius);
  transform: translate3d(-50%, 0, 0);
  transition: transform 0.7s var(--ease-out), opacity 1s var(--ease-out) 0.3s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(10, 10, 12, 0.62); border: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  opacity: 0; transition: opacity 0.5s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translate3d(-50%, calc(-100% - 30px), 0); }
.js:not(.is-ready) .nav { opacity: 0; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.03em;
}
.logo__mark { width: 26px; height: 26px; transition: transform 0.9s var(--ease-back); }
.logo:hover .logo__mark { transform: rotate(120deg); }

.nav__links { display: flex; gap: clamp(18px, 2.4vw, 32px); }
.nav__link {
  position: relative; padding: 6px 0; color: var(--ash); white-space: nowrap;
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.4s;
}
.nav__link:hover,
.nav__link.is-active { color: var(--white); }
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 6px; height: 5px; margin-left: -3px;
  background: var(--iris); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: scale(0); transition: transform 0.45s var(--ease-back);
}
.nav__link.is-active::after { transform: scale(1); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__tg { display: none; }

/* bouton son : barres immobiles = coupé, barres animées = activé */
.sound-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--ash);
  transition: color 0.4s, border-color 0.4s, background-color 0.4s;
}
.sound-toggle:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.sound-toggle.is-on { color: var(--white); border-color: var(--iris); background: rgba(128, 82, 255, 0.16); }
.sound-toggle__bars { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.sound-toggle__bars i {
  display: block; width: 2px; height: 100%; border-radius: 1px; background: currentColor;
  transform-origin: bottom; transform: scaleY(0.25); transition: transform 0.4s var(--ease-out);
}
.sound-toggle.is-on .sound-toggle__bars i { animation: eq 0.9s ease-in-out infinite alternate; }
.sound-toggle.is-on .sound-toggle__bars i:nth-child(2) { animation-delay: -0.3s; }
.sound-toggle.is-on .sound-toggle__bars i:nth-child(3) { animation-delay: -0.6s; }
.sound-toggle.is-on .sound-toggle__bars i:nth-child(4) { animation-delay: -0.15s; }
/* sur téléphone, le bouton son est dans le menu */
@media (hover: none) { .nav .sound-toggle { display: none; } }
.menu__hint { font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }

/* film de présentation du bandeau */
.film {
  position: relative; isolation: isolate; width: 100%; max-width: 640px; margin: 0 0 0 auto;
  border-radius: var(--radius); overflow: hidden; background: #050507;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 120px -40px rgba(128, 82, 255, 0.55);
  transition: transform 0.7s var(--ease-out), box-shadow 0.6s;
}
.film:hover { box-shadow: 0 40px 140px -30px rgba(128, 82, 255, 0.75); }
.film__canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.film__ui {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  font: 600 0.7rem/1 var(--font-display); letter-spacing: 0.06em; color: var(--silver);
  opacity: 0.85; transition: opacity 0.4s;
}
.film:hover .film__ui { opacity: 1; }
.film__toggle {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  color: var(--white); background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.3s, border-color 0.3s;
}
.film__toggle:hover { background: var(--iris); border-color: var(--iris); }
.film__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.film__i-play { display: none; }
.film.is-paused .film__i-play { display: block; }
.film.is-paused .film__i-pause { display: none; }
.film__bar { position: relative; flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.18); }
.film__bar span { position: absolute; inset: 0; background: var(--iris); transform-origin: left; transform: scaleX(0); }
.film__time { flex: none; font-variant-numeric: tabular-nums; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }

/* sélecteur de langue FR / EN */
.lang {
  position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2);
}
.lang__opt {
  position: relative; z-index: 1; display: grid; place-items: center;
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px;
  font: 600 0.72rem/1 var(--font-display); letter-spacing: 0.08em; color: var(--ash);
  transition: color 0.4s;
}
.lang__opt:hover { color: var(--white); }
.lang__opt.is-active { color: #000; }
.lang__thumb {
  position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: var(--white); transition: transform 0.6s var(--ease-back);
}
.lang[data-current="en"] .lang__thumb { transform: translateX(100%); }
.menu__lang { display: flex; align-items: center; gap: 14px; }
.legal__translation {
  margin-top: 20px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line);
  color: var(--silver); font-size: 0.9rem;
}
.nav__burger {
  display: none; position: relative; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nav__burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 24px; }
.menu-open .nav__burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 48px;
  padding: 110px var(--gutter) 40px;
  background: rgba(0, 0, 0, 0.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.9s var(--ease-in-out);
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); }
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; overflow: hidden;
  font-family: var(--font-display); font-size: clamp(2.5rem, 11vw, 4rem); line-height: 1.15; letter-spacing: -0.04em;
}
.menu__idx { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--saffron); }
.menu__t {
  display: inline-block; transform: translateY(110%);
  transition: transform 0.8s var(--ease-out); transition-delay: calc(0.2s + var(--i, 0) * 60ms);
}
.menu-open .menu__t { transform: none; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding-top: clamp(110px, 15vh, 150px); padding-bottom: 28px;
  overflow-x: clip;
}
.hero__grid {
  flex: 1; display: grid; align-items: center; gap: 32px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}
.hero__content { position: relative; will-change: transform, opacity; }
.hero__content > * + * { margin-top: 28px; }
.hero__title .line { display: block; }
.hero__visual .anchor { max-width: 600px; }

.rotator {
  display: inline-grid; vertical-align: top; overflow: hidden;
  padding: 0 0.06em 0.12em; margin: 0 -0.06em -0.12em;
  color: var(--saffron);
}
.rotator__word { grid-area: 1 / 1; white-space: nowrap; }
.rotator__word .ch { display: inline-block; transform: translate3d(0, 118%, 0); }
.rotator__word.is-active .ch {
  transform: none;
  transition: transform 1s var(--ease-out) calc(var(--i) * 34ms + var(--rd, 0ms));
}
.rotator__word.is-leaving .ch {
  transform: translate3d(0, -118%, 0);
  transition: transform 0.7s var(--ease-in-out) calc(var(--i) * 22ms);
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.btn--vip { animation: vip-glow 2.8s ease-in-out infinite; }
@keyframes vip-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(128, 82, 255, 0.55), 0 12px 40px -10px rgba(128, 82, 255, 0.75); }
  50% { box-shadow: 0 0 0 12px rgba(128, 82, 255, 0), 0 16px 56px -8px rgba(128, 82, 255, 1); }
}
.hero__vip-note { flex-basis: 100%; margin-top: -4px; color: var(--ash); font-size: 0.875rem; }
@media (prefers-reduced-motion: reduce) { .btn--vip { animation: none; } }

.hero__foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; margin-top: 32px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash);
}
.sessions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.sessions__status { color: var(--white); }
.session { display: inline-flex; align-items: center; gap: 8px; transition: color 0.4s; }
.session i { position: relative; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ash); }
.session.is-open { color: var(--white); }
.session.is-open i { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 10px var(--mint); }
.session.is-open i::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--mint);
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.4); opacity: 0; } }

.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint__line { position: relative; width: 1px; height: 46px; overflow: hidden; background: rgba(255, 255, 255, 0.15); }
.scroll-hint__line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #fff;
  animation: scroll-line 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-line { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.clock { justify-self: end; display: flex; gap: 10px; }
.clock__time { color: var(--white); font-variant-numeric: tabular-nums; }

/* ---------- 10. Marquee ---------- */
.marquee { position: relative; padding-block: clamp(40px, 6vw, 90px); overflow: hidden; }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex: none; align-items: center; }
.marquee--big .marquee__group { gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
.mq-word {
  font-family: var(--font-display); font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 1.08; letter-spacing: -0.045em; white-space: nowrap;
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.mq-word--outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); }
.mq-word:hover { color: var(--saffron); -webkit-text-stroke-color: transparent; }
.mq-sep { width: clamp(22px, 2.6vw, 40px); flex: none; color: var(--iris); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee__row--ticker { margin-top: clamp(20px, 3vw, 36px); padding-block: 14px; border-block: 1px solid var(--line-soft); }
.tick {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 30px;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap;
}
.tick b { font-weight: 600; color: var(--white); }
.tick em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }
.spark { width: 64px; height: 20px; }
.spark path { fill: none; stroke: var(--iris-light); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- 11. Le canal + chiffres ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  margin-top: clamp(72px, 9vw, 130px);
}
.stat { position: relative; padding-top: 28px; }
.stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) var(--d, 0s);
}
.stat.is-in::before { transform: scaleX(1); }
.stat__num {
  display: flex; align-items: baseline;
  font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat__num small { margin-left: 0.08em; font-size: 0.45em; letter-spacing: -0.02em; color: var(--iris-light); }
.stat__label { max-width: 18em; margin-top: 14px; color: var(--silver); font-size: 1rem; }

/* ---------- 12. Manifeste (mots qui s'allument) ---------- */
.statement { position: relative; padding-block: var(--section); }
.statement__text {
  max-width: 1120px; margin-top: 32px;
  font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 4rem); font-weight: 400;
  line-height: 1.12; letter-spacing: -0.035em;
}
.statement__text em { font-style: normal; color: var(--saffron); }
.statement__text em.iris { color: var(--iris-light); }
.sw { transition: opacity 0.2s linear; }

/* ---------- 13. Défilement horizontal ---------- */
.hscroll { position: relative; }
.hscroll__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 60px);
  padding-top: 64px;
}
.hscroll__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hscroll__head .label { margin-bottom: 22px; }
.hscroll__meta {
  display: flex; align-items: center; gap: 16px; padding-bottom: 12px;
  font: 500 0.875rem/1 var(--font-display); letter-spacing: 0.04em; color: var(--ash);
  font-variant-numeric: tabular-nums;
}
.hscroll__meta [data-hcount] { color: var(--white); }
.hscroll__bar { position: relative; width: 160px; height: 1px; overflow: hidden; background: var(--line); }
.hscroll__bar span { position: absolute; inset: 0; background: var(--iris); transform-origin: left; transform: scaleX(0); }
.hscroll__track {
  position: relative; display: flex; gap: clamp(16px, 2vw, 28px);
  padding-inline: max(var(--gutter), (100vw - var(--max)) / 2);
  will-change: transform;
}

.panel {
  position: relative; isolation: isolate;
  flex: 0 0 clamp(280px, 30vw, 400px); min-height: clamp(380px, 56vh, 480px);
  display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}
.panel > * { position: relative; z-index: 1; }
.panel__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel__index {
  font-family: var(--font-display); font-size: 3.4rem; line-height: 0.9; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}
.panel:hover .panel__index { color: var(--iris); -webkit-text-stroke-color: var(--iris); }
.panel__tag {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  font: 600 0.68rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash);
}
.panel__viz { height: 130px; margin: 26px 0 auto; }
.panel__title {
  margin-top: 28px; font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 400;
  line-height: 1.1; letter-spacing: -0.025em;
}
.panel__text { margin-top: 12px; color: var(--silver); font-size: 1rem; }

/* Effet « spotlight » : halo + bordure lumineuse qui suivent la souris */
.glow::before,
.glow::after {
  content: ""; position: absolute; border-radius: inherit; pointer-events: none; opacity: 0;
  transition: opacity 0.5s; z-index: 0;
}
.glow::before {
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(128, 82, 255, 0.17), transparent 60%);
}
.glow::after {
  inset: -1px; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(165, 139, 255, 0.95), transparent 70%);
  -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);
}
.glow:hover::before,
.glow:hover::after { opacity: 1; }

/* Mini-visuels animés des panneaux */
.viz { width: 100%; height: 100%; }
.viz .grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.viz-chart .line {
  fill: none; stroke: var(--iris-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4.2s var(--ease-in-out) infinite;
}
.viz-chart .dot { fill: var(--saffron); animation: blink 4.2s var(--ease-in-out) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 50%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes blink { 0%, 42% { opacity: 0; } 50%, 82% { opacity: 1; } 92%, 100% { opacity: 0; } }

.viz-levels .lvl { stroke-width: 1; stroke-dasharray: 3 4; }
.viz-levels .tp { stroke: var(--mint); }
.viz-levels .entry { stroke: rgba(255, 255, 255, 0.55); }
.viz-levels .sl { stroke: var(--rose); }
.viz-levels text { font: 600 7px var(--font-display); letter-spacing: 0.08em; }
.viz-levels .t-tp { fill: var(--mint); }
.viz-levels .t-entry { fill: rgba(255, 255, 255, 0.7); }
.viz-levels .t-sl { fill: var(--rose); }
.viz-levels .price {
  fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4.8s var(--ease-in-out) infinite 0.3s;
}

.viz-live { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 92, 122, 0.45);
  font: 700 0.68rem/1 var(--font-display); letter-spacing: 0.14em; color: var(--rose);
}
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.2; } }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.bars span {
  flex: 1; height: 100%; border-radius: 2px; background: var(--iris); transform-origin: bottom;
  opacity: calc(0.45 + mod(var(--i), 3) * 0.2);
  animation: eq 1.3s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.17s);
}
@keyframes eq { from { transform: scaleY(0.12); } to { transform: scaleY(1); } }

.viz-risk { position: relative; display: grid; place-items: center; height: 100%; }
.viz-risk svg { width: 124px; height: 124px; animation: spin 14s linear infinite; }
.viz-risk .ring { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 7; stroke-dasharray: 0.6 1.4; }
.viz-risk .arc { fill: none; stroke: var(--saffron); stroke-width: 7; stroke-dasharray: 3 97; }
.viz-risk .val { position: absolute; font: 400 1.9rem/1 var(--font-display); letter-spacing: -0.05em; }

.viz-phases { display: grid; align-content: center; gap: 16px; height: 100%; }
.phase {
  display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px;
  font: 600 0.68rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash);
}
.phase i { display: block; height: 6px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.phase b { display: block; height: 100%; background: var(--iris); transform-origin: left; transform: scaleX(0); }
.phase:nth-child(1) b { animation: phase-1 6s var(--ease-in-out) infinite; }
.phase:nth-child(2) b { animation: phase-2 6s var(--ease-in-out) infinite; }
.phase:nth-child(3) b { animation: phase-3 6s var(--ease-in-out) infinite; background: var(--saffron); }
@keyframes phase-1 { 0% { transform: scaleX(0); } 20%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes phase-2 { 0%, 20% { transform: scaleX(0); } 40%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes phase-3 { 0%, 40% { transform: scaleX(0); } 60%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

.viz-orbit { position: relative; display: grid; place-items: center; height: 100%; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.14); animation: spin linear infinite; }
.orbit--1 { width: 60px; height: 60px; animation-duration: 7s; }
.orbit--2 { width: 100px; height: 100px; animation-duration: 12s; animation-direction: reverse; }
.orbit--3 { width: 140px; height: 140px; animation-duration: 18s; }
.orbit i {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 9px; margin: -4.5px 0 0 -5px;
  background: var(--c, var(--iris)); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1));
}
.orbit__core {
  width: 22px; height: 22px; border-radius: 50%; background: var(--iris);
  box-shadow: 0 0 30px 6px rgba(128, 82, 255, 0.55);
}

/* ---------- 14. Offre prop firm ---------- */
.note { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--white); }
.note__badge {
  flex: none; padding: 6px 10px; border-radius: 999px; background: var(--saffron); color: #000;
  font: 700 0.68rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
}

.pf { margin-top: clamp(56px, 7vw, 100px); }
.pf__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pf__stat { position: relative; padding-top: 26px; }
.pf__stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) var(--d, 0s);
}
.pf__stat.is-in::before { transform: scaleX(1); }
.pf__value {
  font-family: var(--font-display); font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1;
  letter-spacing: -0.045em; white-space: nowrap;
}
.pf__value small { font-size: 0.5em; letter-spacing: -0.02em; color: var(--iris-light); }
.pf__label { margin-top: 12px; color: var(--silver); font-size: 1rem; }
.pf__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(44px, 5vw, 64px); }
.pf__cta p { max-width: 30em; color: var(--silver); font-size: 1rem; }
.pf__note { max-width: 52em; margin-top: 32px; color: var(--ash); font-size: 0.875rem; }

/* ---------- 15. Accès VIP ---------- */
.plans {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch;
  gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(56px, 7vw, 100px);
}
.plan-wrap { display: flex; }
.plan {
  position: relative; isolation: isolate; flex: 1;
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d; transition: transform 0.7s var(--ease-out);
}
.plan > * { position: relative; z-index: 1; }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__kicker { font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); }
.plan__badge {
  padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line);
  font: 600 0.68rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
}
.plan__badge--alt { background: var(--saffron); border-color: var(--saffron); color: #000; }
.plan__name { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 400; line-height: 1.1; letter-spacing: -0.025em; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-family: var(--font-display); }
.plan__amount { font-size: clamp(4.5rem, 8vw, 7rem); line-height: 0.85; letter-spacing: -0.06em; }
.plan__currency { font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -0.04em; }
.plan__period { font-family: var(--font-body); font-size: 1rem; color: var(--silver); }
.plan__desc { color: var(--silver); font-size: 1rem; }
.plan__desc strong { color: var(--white); font-weight: 500; }
.plan__cents { align-self: flex-start; margin: 0.3em 0 0 -4px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; }
.plan__hint { margin-top: -8px; color: var(--ash); font-size: 0.875rem; }

/* bascule mensuel / annuel */
.billing {
  position: relative; isolation: isolate; align-self: flex-start;
  display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.billing__opt {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px; white-space: nowrap;
  font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ash); transition: color 0.4s;
}
.billing__opt:hover { color: var(--white); }
.billing__opt.is-active { color: #000; }
.billing__thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--white);
  transition: transform 0.6s var(--ease-back);
}
[data-period="yearly"] .billing__thumb { transform: translateX(100%); }
.billing__save {
  padding: 4px 7px; border-radius: 999px; background: var(--saffron); color: #000;
  font-size: 0.66rem; letter-spacing: 0.02em;
}

/* prix et texte qui s'échangent verticalement */
.plan__swap { display: grid; }
.plan__swap > * {
  grid-area: 1 / 1;
  transition: opacity 0.45s var(--ease-out), transform 0.7s var(--ease-out), filter 0.45s var(--ease-out);
}
.plan__swap > :not(.is-active) { opacity: 0; filter: blur(6px); pointer-events: none; }
[data-period="yearly"] .plan__swap > [data-price-big="monthly"],
[data-period="yearly"] .plan__swap > [data-billing-note="monthly"] { transform: translateY(-40%); }
[data-period="monthly"] .plan__swap > [data-price-big="yearly"],
[data-period="monthly"] .plan__swap > [data-billing-note="yearly"] { transform: translateY(40%); }
.plan__list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0;
  border-top: 1px solid var(--line-soft); font-size: 1rem;
}
.plan__list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--iris-light); }
.plan__list svg path {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.8s var(--ease-out) calc(0.35s + var(--i, 0) * 0.12s);
}
.is-in .plan__list svg path { stroke-dashoffset: 0; }
.plan__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: auto; padding-top: 10px; }

.plans__or { position: relative; display: grid; place-items: center; align-self: center; width: 120px; height: 120px; }
.plans__or svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.plans__or text { font: 600 10.5px var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; fill: var(--ash); }
.plans__or span {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--white); color: #000; font: 500 1.15rem/1 var(--font-display); letter-spacing: -0.02em;
}
.plans__free {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px;
  margin-top: 48px; color: var(--silver); font-size: 1rem;
}

/* ---------- 16. Étapes ---------- */
.steps__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.steps__head { position: sticky; top: 130px; }
.steps__head > * + * { margin-top: 24px; }
.steps__body { position: relative; padding-left: 92px; }
.steps__rail { position: absolute; left: 22px; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.steps__fill { position: absolute; inset: 0; background: var(--iris); transform-origin: top; transform: scaleY(0); }
.steps__list { display: grid; gap: clamp(64px, 9vw, 120px); }
.step { position: relative; }
.step__num {
  position: absolute; left: -92px; top: 0; display: grid; place-items: center;
  width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--line); background: var(--void);
  font: 600 0.8rem/1 var(--font-display); letter-spacing: 0.04em; color: var(--ash);
  transition: background-color 0.5s, border-color 0.5s, color 0.5s, box-shadow 0.6s;
}
.step.is-active .step__num {
  background: var(--iris); border-color: var(--iris); color: #fff;
  box-shadow: 0 0 0 8px rgba(128, 82, 255, 0.14), 0 0 42px rgba(128, 82, 255, 0.55);
}
.step__title {
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 400; line-height: 1.1;
  letter-spacing: -0.035em; color: var(--ash); transition: color 0.6s;
}
.step.is-active .step__title { color: var(--white); }
.step__text { max-width: 30em; margin-top: 14px; color: var(--silver); }

/* ---------- 17. FAQ ---------- */
.faq__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.faq__head { position: sticky; top: 130px; }
.faq__head > * + * { margin-top: 24px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; padding: 26px 0; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 400;
  line-height: 1.25; letter-spacing: -0.02em; color: var(--white);
}
.faq__q-text { transition: transform 0.6s var(--ease-out); }
.faq__q:hover .faq__q-text { transform: translateX(10px); }
.faq__icon {
  position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.6s var(--ease-out), background-color 0.4s, border-color 0.4s;
}
.faq__icon::before,
.faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px;
  background: currentColor; transition: transform 0.6s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q:hover .faq__icon { border-color: var(--white); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--iris); border-color: var(--iris); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-out); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s 0.6s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition-delay: 0s; }
.faq__a p { padding: 0 64px 28px 0; color: var(--silver); font-size: 1.0625rem; }

/* ---------- 18. Appel final ---------- */
.cta-final { position: relative; padding-block: var(--section); }
.cta-final__title { font-size: clamp(3.6rem, 10vw, 8.6rem); }
.pl { display: inline-block; transition: font-weight 0.35s var(--ease-out); }

/* ---------- 19. Pied de page ---------- */
.footer { padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand p { max-width: 22em; margin-top: 18px; color: var(--silver); font-size: 1rem; }
.footer__title {
  margin-bottom: 16px; font: 600 0.75rem/1 var(--font-display);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--saffron);
}
.footer__col a {
  display: block; width: fit-content; padding: 6px 0; color: var(--ash); font-size: 1rem;
  transition: color 0.3s, transform 0.5s var(--ease-out);
}
.footer__col a:hover { color: var(--white); transform: translateX(6px); }
.footer__disclaimer { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__disclaimer p { max-width: 70em; color: #8a8a8a; font-size: 0.8125rem; line-height: 1.65; }
.footer__disclaimer strong { color: var(--silver); }

.footer__mark {
  position: relative; display: grid; margin-top: clamp(40px, 6vw, 72px);
  font-family: var(--font-display); font-size: 14vw; font-weight: 500; line-height: 0.78;
  letter-spacing: -0.035em; text-transform: uppercase; text-align: center;
  user-select: none; -webkit-user-select: none;
}
.footer__mark > span { grid-area: 1 / 1; white-space: nowrap; padding-bottom: 0.04em; }
.footer__mark-base { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18); }
.footer__mark-fill {
  color: var(--iris);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), #000 15%, transparent 100%);
  mask-image: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), #000 15%, transparent 100%);
}
.footer__mark .ch { display: inline-block; }
.js .footer__mark .ch {
  opacity: 0; transform: translate3d(0, 45%, 0);
  transition: transform 1.4s var(--ease-out), opacity 1.4s var(--ease-out);
  transition-delay: calc(var(--i) * 80ms);
}
.js .footer__mark.is-in .ch { opacity: 1; transform: none; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 24px 0 32px; color: var(--ash); font-size: 0.8125rem;
}

/* ---------- 19 bis. Compléments : prix en fourchette, modules, flèche retour ---------- */
.plan__amount--range { font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }

.viz-modules { display: grid; align-content: center; gap: 12px; height: 100%; }
.mod { display: flex; align-items: center; gap: 12px; font: 500 0.85rem/1 var(--font-display); letter-spacing: 0.02em; color: var(--ash); }
.mod i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line); }
.mod i::after {
  content: ""; position: absolute; inset: 3px; border-radius: 3px; background: var(--iris);
  transform: scale(0); animation: mod-check 6s var(--ease-out) infinite; animation-delay: calc(var(--n, 0) * 0.6s);
}
@keyframes mod-check { 0%, 6% { transform: scale(0); } 14%, 84% { transform: scale(1); } 94%, 100% { transform: scale(0); } }

.arrow--w svg + svg { transform: translateX(115%); }
a:hover .arrow--w svg:first-child { transform: translateX(-115%); }

/* ---------- 19 ter. Fiche client (fenêtre) ---------- */
.modal {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: clamp(12px, 4vw, 48px); border: 0;
  background: rgba(0, 0, 0, 0.72); color: var(--white);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  overflow-y: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: transparent; }
.modal[open] { display: flex; animation: modal-in 0.45s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  position: relative; width: min(100%, 640px); margin: auto;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius);
  border: 1px solid var(--line); background: #08080a;
  animation: panel-in 0.7s var(--ease-out);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); transition: transform 0.6s var(--ease-out), border-color 0.4s;
}
.modal__close span {
  position: absolute; left: 13px; right: 13px; top: 20px; height: 1.5px; background: currentColor;
}
.modal__close span:first-child { transform: rotate(45deg); }
.modal__close span:last-child { transform: rotate(-45deg); }
.modal__close:hover { transform: rotate(90deg); border-color: var(--white); }

/* curseur système à l'intérieur de la fenêtre (elle passe au-dessus du curseur animé) */
html.has-cursor .modal,
html.has-cursor .modal * { cursor: auto !important; }
html.has-cursor .modal a,
html.has-cursor .modal button,
html.has-cursor .modal label,
html.has-cursor .modal input[type="radio"],
html.has-cursor .modal input[type="checkbox"] { cursor: pointer !important; }
html.has-cursor .modal input[type="text"],
html.has-cursor .modal input[type="email"] { cursor: text !important; }
.modal-open .cursor { display: none; }

.fiche { display: grid; gap: 22px; }
.fiche__title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-md);
  line-height: 1.05; letter-spacing: -0.035em; padding-right: 48px;
}
.fiche__lead { color: var(--silver); font-size: 1rem; }
.fiche__small { color: var(--ash); font-size: 0.8125rem; }
.fiche__small a,
.check a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.fiche__submit { justify-self: start; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; min-width: 0; }
.choice {
  position: relative; display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); transition: border-color 0.3s, background-color 0.3s;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__name { display: flex; align-items: center; gap: 8px; font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }
.choice__price { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.03em; }
.choice:hover { border-color: rgba(255, 255, 255, 0.3); }
.choice:has(input:checked) { border-color: var(--iris); background: rgba(128, 82, 255, 0.12); }
.choice:has(input:checked) .choice__name { color: var(--white); }
.choice:has(input:focus-visible) { outline: 2px solid var(--saffron); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font: 600 0.72rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }
.field input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--white);
  font: 400 1rem var(--font-body); transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.field input::placeholder { color: #6b6b6b; }
.field input:focus { outline: none; border-color: var(--iris); background: rgba(128, 82, 255, 0.08); box-shadow: 0 0 0 4px rgba(128, 82, 255, 0.18); }
.field input:user-invalid { border-color: var(--rose); }
.field small { color: var(--ash); font-size: 0.8rem; }

.checks { display: grid; gap: 12px; }
.check { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; color: var(--silver); font-size: 0.875rem; line-height: 1.5; }
.check input {
  appearance: none; -webkit-appearance: none; display: grid; place-items: center;
  width: 22px; height: 22px; margin: 0; border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.32); background: transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.check input::after {
  content: ""; width: 10px; height: 5px; margin-top: -3px;
  border-left: 2px solid #000; border-bottom: 2px solid #000;
  transform: rotate(-45deg) scale(0); transition: transform 0.3s var(--ease-back);
}
.check input:checked { background: var(--saffron); border-color: var(--saffron); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.check input:user-invalid { border-color: var(--rose); }

.modal__done { display: grid; justify-items: start; gap: 20px; }
.modal__check {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--saffron); color: #000; animation: pop 0.6s var(--ease-back);
}
.modal__check svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------- 19 quater. Pages légales et page merci ---------- */
.page .nav { justify-content: space-between; }
.legal.container { width: min(100% - 2 * var(--gutter), 860px); }
.legal { padding-top: clamp(130px, 18vh, 180px); padding-bottom: clamp(64px, 8vw, 110px); }
.legal h1 { margin-top: 20px; }
.legal__updated { margin-top: 18px; color: var(--ash); font-size: 0.9rem; }
.legal__intro { margin-top: 32px; color: var(--silver); }
.legal section { margin-top: 56px; }
.legal h2 {
  padding-top: 26px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-sm);
  line-height: 1.15; letter-spacing: -0.02em;
}
.legal h3 {
  margin-top: 28px; font: 600 0.78rem/1.3 var(--font-display);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron);
}
.legal p,
.legal li { color: var(--silver); font-size: 1rem; line-height: 1.7; }
.legal h2 + p,
.legal h3 + p,
.legal p + p,
.legal p + ul,
.legal ul + p { margin-top: 14px; }
.legal ul { display: grid; gap: 8px; margin-top: 14px; padding-left: 1.3em; }
.legal li { position: relative; }
.legal li::before {
  content: ""; position: absolute; left: -1.15em; top: 0.72em; width: 6px; height: 5px;
  background: var(--iris-light); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.legal strong { color: var(--white); font-weight: 500; }
.legal a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.legal-box {
  margin-top: 20px; padding: clamp(20px, 3vw, 28px); border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.todo { padding: 1px 6px; border-radius: 5px; background: var(--saffron); color: #000; font-weight: 500; }
.legal-foot {
  display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 28px 0 40px;
  border-top: 1px solid var(--line); color: var(--ash); font-size: 0.875rem;
}
.legal-foot a:hover { color: var(--white); }

.thanks { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 140px 80px; }
.thanks .split__content > * + * { margin-top: 26px; }
.thanks__steps { display: grid; gap: 12px; counter-reset: step; }
.thanks__manage { color: var(--ash); font-size: 0.9rem; }
.thanks__manage .link { padding: 0; font-size: inherit; text-transform: none; letter-spacing: 0; color: var(--white); }

/* Gérer mon abonnement */
.manage { padding-top: clamp(130px, 18vh, 180px); padding-bottom: clamp(64px, 8vw, 110px); }
.manage__head { max-width: 760px; }
.manage__head > * + * { margin-top: 24px; }
.manage__head .hero__actions { margin-top: 36px; }
.manage__secure { display: flex; align-items: center; gap: 10px; color: var(--ash); font-size: 0.875rem; }
.manage__lock {
  flex: none; width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.manage__h {
  margin-top: clamp(56px, 8vw, 96px); margin-bottom: 22px;
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 400; letter-spacing: -0.02em;
}
.manage__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.manage__card {
  display: grid; align-content: start; gap: 12px;
  padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02); color: var(--silver);
}
.manage__card .link { justify-self: start; }
.manage__num { font: 600 0.8125rem/1 var(--font-display); color: var(--iris-light); letter-spacing: 0.06em; }
.manage__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--white); letter-spacing: -0.01em; }
.thanks__steps li { display: flex; gap: 14px; color: var(--silver); }
.thanks__steps li::before {
  counter-increment: step; content: counter(step);
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); font: 600 0.75rem/1 var(--font-display); color: var(--white);
}

/* ---------- 19 quinquies. Académie ICT ---------- */
.academy { padding-top: clamp(130px, 18vh, 180px); padding-bottom: clamp(64px, 8vw, 110px); }
.academy__head > * + * { margin-top: 24px; }
.academy__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 6vw, 64px); }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ash);
  font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.chip:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.chip[aria-pressed="true"] { color: #fff; border-color: var(--iris); background: var(--iris); }
.academy__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(18px, 2.4vw, 28px); margin-top: 32px;
}
.academy__filters[hidden] + .academy__grid { margin-top: clamp(40px, 6vw, 64px); }
.lesson__btn {
  display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left;
  border-radius: var(--radius); border: 1px solid var(--line); background: #08080a; overflow: hidden;
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.lesson__btn:hover { border-color: rgba(128, 82, 255, 0.6); transform: translateY(-4px); }
.lesson__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(120% 120% at 20% 0%, rgba(128, 82, 255, 0.35), transparent 60%), #0d0d10;
}
.lesson__thumb img,
.lesson__thumb video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  transition: transform 0.9s var(--ease-out), opacity 0.4s;
}
.lesson__btn:hover .lesson__thumb img,
.lesson__btn:hover .lesson__thumb video { transform: scale(1.04); opacity: 0.75; }
.lesson__play {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
  width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease-back), background-color 0.3s, border-color 0.3s;
}
.lesson__play svg { width: 20px; height: 20px; margin-left: 3px; }
.lesson__play svg[stroke] { margin-left: 0; }
.lesson__btn:hover .lesson__play { transform: scale(1.12); background: var(--iris); border-color: var(--iris); }
.lesson__num,
.lesson__time {
  position: absolute; top: 14px; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.6);
  font: 600 0.7rem/1 var(--font-display); letter-spacing: 0.06em; color: #fff;
}
.lesson__num { left: 14px; }
.lesson__time { right: 14px; font-variant-numeric: tabular-nums; }
.lesson__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.lesson__cat {
  font: 600 0.7rem/1.2 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron);
}
.lesson__title {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
}
.lesson__desc { color: var(--silver); font-size: 0.95rem; line-height: 1.55; }
.academy__empty {
  display: grid; justify-items: start; gap: 14px; margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border: 1px dashed var(--line);
  color: var(--silver);
}
.academy__empty-title { font-family: var(--font-display); font-size: var(--fs-sm); color: var(--white); letter-spacing: -0.02em; }
.academy__empty .btn { margin-top: 10px; }
.academy__note { margin-top: clamp(48px, 6vw, 72px); color: var(--ash); font-size: 0.875rem; }

.player__panel {
  width: min(100%, 1100px); margin: auto; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #08080a; animation: panel-in 0.7s var(--ease-out);
}
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 24px; }
.player__title {
  font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 400; letter-spacing: -0.02em;
}
.player__close { position: relative; top: auto; right: auto; flex: none; }
.player__video { display: block; width: 100%; max-height: 75vh; background: #000; }
.player__img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #fff; }
.player__img[hidden] { display: none; }
.player__desc { padding: 18px 24px 22px; color: var(--silver); font-size: 0.95rem; }
.player__desc:empty { display: none; }
.player__explain { display: grid; gap: 22px; padding: 4px 24px 30px; border-top: 1px solid var(--line); padding-top: 24px; margin: 0 0 0; }
.player__explain[hidden] { display: none; }
.player__block { max-width: 760px; }
.player__h { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; color: var(--white); }
.player__block p { color: var(--silver); font-size: 0.95rem; line-height: 1.65; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); }
}

/* menu burger un peu plus tôt : la barre a aussi les boutons langue et son (et 6 onglets) */
@media (max-width: 1240px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 900px) {

  .split,
  .steps__grid,
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__visual,
  .split__visual { order: 1; }
  .anchor { max-width: 380px; }
  .steps__head,
  .faq__head { position: static; }

  /* hero : le film passe sous le texte */
  .hero { padding-top: 120px; }
  .hero__grid { display: block; }
  .hero__visual { margin-top: 44px; }
  .film { margin: 0 auto; }
  .hero__foot { grid-template-columns: 1fr auto; }
  .scroll-hint { display: none; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }

  .hscroll__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .panel { flex-basis: min(82vw, 380px); min-height: 400px; }

  .plans { grid-template-columns: minmax(0, 1fr); }
  .plans__or { justify-self: center; width: 104px; height: 104px; }
  .pf__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .film__ui { left: 10px; right: 10px; bottom: 8px; gap: 9px; font-size: 0.62rem; }
  .film__toggle { width: 28px; height: 28px; }
  .film__toggle svg { width: 11px; height: 11px; }
  .nav .sound-toggle { display: none; }
  .logo { font-size: 1.15rem; }
  .nav__cta { width: 42px; padding: 0; }
  .nav__cta .roll,
  .nav__cta .arrow { display: none; }
  .nav__tg { display: block; }
}

@media (max-width: 640px) {
  .nav--home .lang { display: none; } /* sur mobile, la langue se choisit dans le menu */
  .nav__back { display: none; }       /* le logo ramène déjà à l'accueil */
  .btn--lg { --h: 56px; padding: 0 24px; }
  .hero__actions { gap: 14px 22px; }
  .hero__foot { grid-template-columns: 1fr; gap: 14px; }
  .clock { justify-self: start; }
  .stats { gap: 40px 18px; }
  .stat__label { font-size: 0.9375rem; }

  .pf__stats { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .choices { grid-template-columns: minmax(0, 1fr); }

  .steps__body { padding-left: 68px; }
  .step__num { left: -68px; }

  .faq__a p { padding-right: 0; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 21. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js [data-split] .w > span,
  .js .footer__mark .ch { opacity: 1 !important; transform: none !important; }
  .viz-chart .line,
  .viz-levels .price { stroke-dashoffset: 0 !important; }
  .viz-chart .dot { opacity: 1 !important; }
  .phase b { transform: scaleX(1) !important; }
  .mod i::after { transform: scale(1) !important; }
}

/* ---------- Trader (petit personnage en bas à droite) ---------- */
.trader {
  position: fixed; right: clamp(8px, 2vw, 24px); bottom: clamp(6px, 1.5vw, 16px); z-index: 40;
  width: clamp(120px, 13vw, 190px); pointer-events: none; user-select: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
html:not(.is-loading) .trader { opacity: 1; transform: none; }
html:not(.is-loading) .trader.is-lifted { transform: translateY(-44px); }
.menu-open .trader { opacity: 0; }
.trader svg { display: block; width: 100%; height: auto; overflow: visible; }
.trader__chart { animation: trader-chart 14s linear infinite; }
.trader__price { animation: trader-price 3.2s ease-in-out infinite alternate; }
.trader__me { filter: drop-shadow(0 0 1px rgba(189, 170, 255, 0.9)) drop-shadow(0 0 6px rgba(128, 82, 255, 0.45)); transform-box: fill-box; transform-origin: 50% 100%; animation: trader-me 5s ease-in-out infinite; }
.trader__light { animation: trader-light 2.4s ease-in-out infinite alternate; }
.trader__keys { animation: trader-key 0.9s steps(2) infinite; }
.trader__steam { animation: trader-steam 2.6s ease-in-out infinite; }
.trader__pnl { opacity: 0; animation: trader-pnl 7s ease-out infinite 2s; }

@keyframes trader-chart { to { transform: translateX(var(--trader-loop)); } }
@keyframes trader-price { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
@keyframes trader-me { 0%, 100% { transform: none; } 30% { transform: translateY(0.6px) rotate(-0.8deg); } 65% { transform: translateY(0.3px) rotate(0.6deg); } }
@keyframes trader-light { from { opacity: 0.45; } to { opacity: 0.9; } }
@keyframes trader-key { 0% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes trader-steam { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes trader-pnl { 0% { opacity: 0; transform: translateY(6px); } 10% { opacity: 1; } 30% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 0; } }

@media (max-width: 640px) { .trader { width: 100px; opacity: 0.95; } }
@media (prefers-reduced-motion: reduce) { .trader * { animation: none !important; } }

/* ---------- Application installable (assets/js/install.js) ---------- */
.install-bar {
  position: fixed; z-index: 55; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 10px;
  border: 1px solid var(--line); border-radius: 20px;
  background: rgba(12, 12, 16, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(calc(100% + 40px)); transition: transform 0.7s var(--ease-out);
}
.install-bar.is-in { transform: none; }
.install-bar__icon { flex: none; width: 44px; height: 44px; border-radius: 11px; }
.install-bar__text { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 0.8125rem; line-height: 1.3; color: var(--silver); }
.install-bar__text strong { color: var(--white); font-size: 0.875rem; font-weight: 600; }
.install-bar__btn { flex: none; padding: 0 14px; }
.install-bar__close { position: relative; flex: none; width: 28px; height: 32px; border-radius: 50%; color: var(--ash); }
.install-bar__close span { position: absolute; left: 7px; right: 7px; top: 15px; height: 1.5px; background: currentColor; }
.install-bar__close span:first-child { transform: rotate(45deg); }
.install-bar__close span:last-child { transform: rotate(-45deg); }
.install-modal__panel { display: grid; gap: 18px; width: min(100%, 520px); }
.install-modal__icon { width: 64px; height: 64px; border-radius: 16px; }
.install-modal__warn { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 184, 41, 0.4); background: rgba(255, 184, 41, 0.08); color: var(--white); font-size: 0.9rem; }
.install-modal__steps b { color: var(--white); font-weight: 600; }
.install-share { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; color: #4ea1ff; }
.install-modal__ok { justify-self: start; }
@media (prefers-reduced-motion: reduce) { .install-bar { transition: none; } }
