/* ==========================================================
   AI MOTION DESIGN MASTERY — styles
   ========================================================== */

/* Sans serif dominante : Inter (texte) + Inter Tight (titres). Serif d'accent : Instrument Serif italique. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("../assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-2: #0A0A0A;
  --surface: #151515;
  --surface-2: #1C1C1E;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --white: #FFFFFF;
  --muted: #B8B8B8;
  --dim: #7A7A7E;
  --blue: #246BFD;
  --blue-2: #4DA3FF;
  --blue-glow: rgba(36, 107, 253, .45);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }

/* ---------- Accent serif (mots mis en valeur) ---------- */
.serif {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -.005em; font-size: 1.1em; line-height: 1;
  padding-right: .06em;
}
em { font-style: normal; }
.nowrap { white-space: nowrap; }

/* ---------- Icônes ---------- */
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico {
  display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  color: #E6E6EA;
  background: radial-gradient(120% 120% at 30% 20%, #4A4A50 0%, #2A2A2E 55%, #1E1E21 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 16px rgba(0,0,0,.45);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.ico-accent, .is-lit > .ico {
  color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, #6FB6FF 0%, var(--blue) 60%, #1A4FCC 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 6px rgba(36,107,253,.12), 0 8px 28px var(--blue-glow);
}

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border-radius: 14px;
  font-size: 15px; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}
.btn .i { transition: transform .35s var(--ease); }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 0 0 1px rgba(77,163,255,.35) inset, 0 10px 30px -8px var(--blue-glow);
}
.btn-primary:hover { background: #2F77FF; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(77,163,255,.55) inset, 0 16px 40px -8px rgba(36,107,253,.65); }
.btn-primary:hover .i { transform: translateX(4px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(77,163,255,.5); transform: translateY(-2px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn-lg { --h: 60px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px var(--gutter) 0;
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(100%, 1240px); margin-inline: auto;
  padding: 8px 8px 8px 12px;
  border: 1px solid transparent; border-radius: 999px;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease), max-width .6s var(--ease), padding .5s var(--ease);
}
.site-header.is-scrolled .header-bar {
  width: min(100%, 1080px);
  background: rgba(21, 21, 21, .84);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; box-shadow: 0 0 18px var(--blue-glow);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name span { color: var(--muted); font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.14em; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a { position: relative; text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .3s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--blue-2); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav ul a:hover, .nav ul a.is-active { color: var(--white); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(21,21,21,.8); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { overflow-x: clip; position: relative; padding: clamp(140px, 18vw, 190px) 0 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 52%;
  width: min(1100px, 100%); height: 520px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(36,107,253,.22), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
/* Dot Grid interactif (js/dot-grid.js) : fixe, derrière tout le contenu */
.dot-grid {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none; display: block;
}
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-size: 13.5px; color: var(--muted); font-weight: 500;
}
.badge-tag {
  display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 600;
  box-shadow: 0 0 14px rgba(36,107,253,.5);
}
.badge-tag-lg { font-size: 13px; padding: 5px 14px; }

.hero-title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.9vw, 4.25rem);
  line-height: 1.04; font-weight: 500; letter-spacing: -.035em;
  max-width: 1120px;
  text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-title .soft { color: var(--dim); }
.hero-title .accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; font-size: 1.12em; padding-right: .08em;
  color: var(--blue-2);
  background: linear-gradient(100deg, #8CC4FF 0%, var(--blue-2) 35%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 24px rgba(36,107,253,.35));
}
.hero-lead { margin-top: 26px; max-width: 58ch; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--muted); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-meta { margin-top: 24px; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--dim); }
.hero-meta .i { width: 16px; height: 16px; color: var(--blue-2); }
.hero-meta a { color: var(--white); text-underline-offset: 3px; text-decoration-color: rgba(77,163,255,.6); }
.hero-meta a:hover { color: var(--blue-2); }

/* Séquence d'arrivée (un seul moment orchestré) */
.js .hero-seq { opacity: 0; transform: translateY(26px); filter: blur(8px); }
.js .is-loaded .hero-seq {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--d) * 110ms + 100ms);
}

/* ---------- Vidéo (showreel) ---------- */
.showreel { margin: clamp(56px, 8vw, 88px) 0 0; position: relative; }
.showreel-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 8px rgba(255,255,255,.025), 0 40px 120px -30px rgba(36,107,253,.45), 0 30px 80px rgba(0,0,0,.6);
  transform: scale(var(--s, 1));
  transform-origin: 50% 0;
  will-change: transform;
}
.showreel-video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.vid-sound {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,10,.65); border: 1px solid var(--line-2); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .3s, transform .3s var(--ease);
}
.vid-sound:hover { background: var(--blue); transform: scale(1.06); }
.vid-sound .on { display: none; }
.vid-sound[aria-pressed="true"] .on { display: block; }
.vid-sound[aria-pressed="true"] .off { display: none; }
.vid-bigplay {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  box-shadow: 0 0 0 10px rgba(36,107,253,.2), 0 20px 50px var(--blue-glow);
  transition: transform .4s var(--ease);
}
.vid-bigplay svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.vid-bigplay:hover { transform: scale(1.07); }
.vid-bigplay[hidden] { display: none; }

.vid-bar {
  display: flex; align-items: center; gap: 14px;
  margin: 14px auto 0; width: min(100%, 520px);
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.vid-play { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; transition: background .3s; }
.vid-play:hover { background: #2F77FF; }
.vid-play .i { width: 16px; height: 16px; }
.vid-play .play { display: none; }
.vid-play.is-paused .play { display: block; }
.vid-play.is-paused .pause { display: none; }
.vid-progress { position: relative; flex: 1; height: 22px; cursor: pointer; }
.vid-progress::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255,255,255,.12); }
.vid-progress-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); box-shadow: 0 0 12px var(--blue-glow); }
.vid-time { font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--blue-2); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }

/* Faits clés sous la vidéo */
.facts { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px; border-radius: var(--radius);
  background: linear-gradient(180deg, #19191B, #121213);
  border: 1px solid var(--line);
}
.fact strong { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.fact small { display: block; font-size: 13px; color: var(--dim); line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0 0; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-2);
}
.eyebrow-sm { font-size: 11.5px; color: var(--dim); margin: 26px 0 14px; }
.h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.05; font-weight: 500; letter-spacing: -.032em;
  max-width: 17ch; text-wrap: balance;
}
.h2 .serif, .final-title .serif, .manifesto-text .serif { color: var(--blue-2); }
.lead { margin-top: 20px; max-width: 52ch; color: var(--muted); font-size: 17.5px; }
.center-head .h2 { max-width: none; }
.center-head { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Présentation / manifeste */
.manifesto-text {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.9rem);
  line-height: 1.22; font-weight: 500; letter-spacing: -.03em;
  max-width: 34ch;
}
.manifesto-text .w { color: #3A3A3E; transition: color .25s linear; }
.manifesto-text .w.on { color: var(--white); }
.manifesto-text .w.on.serif { color: var(--blue-2); }

/* Bénéfices */
.skills-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; justify-self: end; width: min(100%, 420px); }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 8px 14px; border-radius: var(--radius);
  background: linear-gradient(180deg, #19191B, #111112);
  border: 1px solid var(--line); text-align: center;
  font-size: 13px; color: var(--muted);
  transition: border-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.tile .ico { width: 50px; height: 50px; }
.tile .i { width: 20px; height: 20px; }
.tile.is-lit { border-color: rgba(77,163,255,.35); color: var(--white); transform: translateY(-3px); }

.cards { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; padding: 26px; border-radius: 24px; min-height: 220px;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1A1A1C 0%, #121213 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  transition: border-color .45s var(--ease), transform .45s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(36,107,253,.14), transparent 60%);
  transition: opacity .4s;
}
.card:hover { border-color: rgba(77,163,255,.3); transform: translateY(-4px); }
.card:hover::after { opacity: 1; }
.card h3 { margin-top: auto; font-family: var(--font-display); padding-top: 28px; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card-feature { grid-column: span 2; background: radial-gradient(120% 140% at 0% 0%, rgba(36,107,253,.16), transparent 55%), linear-gradient(180deg, #1A1A1C 0%, #121213 100%); }
.card-feature h3 { font-size: clamp(22px, 2.4vw, 28px); max-width: 20ch; }
.card-feature p { max-width: 48ch; }

/* Programme */
.programme-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.programme-intro { position: sticky; top: 120px; }
.mini-facts { margin-top: 32px; display: grid; gap: 14px; }
.mini-facts li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.mini-facts .ico { width: 38px; height: 38px; }
.mini-facts .i { width: 16px; height: 16px; }
.mini-facts a { color: var(--blue-2); text-underline-offset: 3px; }

.modules { display: grid; gap: 12px; counter-reset: mod; }
.module {
  border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #171719, #111112);
  transition: border-color .45s var(--ease), background .45s var(--ease);
}
.module.is-open { border-color: rgba(77,163,255,.3); background: linear-gradient(180deg, #1A1B20, #121214); }
.module-head { width: 100%; display: flex; align-items: center; gap: 22px; padding: 22px 24px; text-align: left; }
.module-num { font-family: var(--font-serif); font-style: italic; font-size: 34px; font-weight: 400; color: #55555B; letter-spacing: 0; min-width: 40px; transition: color .4s; font-variant-numeric: tabular-nums; }
.module.is-open .module-num { color: var(--blue-2); }
.module-title { flex: 1; }
.module-title strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.module-title small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--dim); }
.module .plus, .faq .plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; background: currentColor; border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.is-open .plus, [aria-expanded="true"] .plus { background: var(--blue); border-color: var(--blue); }
.is-open .plus::after, [aria-expanded="true"] .plus::after { transform: rotate(0); }

.module-body, .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.module-body > div, .faq-a > div { overflow: hidden; }
.module.is-open .module-body, .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.module-points { display: grid; gap: 12px; padding: 0 24px 24px 86px; }
.module-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.module-points li::before, .checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 10px rgba(36,107,253,.5);
}

/* Tarif */
.price-card {
  --angle: 0deg;
  position: relative; margin: 56px auto 0; max-width: 1020px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  border-radius: 32px;
  background: linear-gradient(180deg, #141416, #0D0D0E);
  isolation: isolate;
}
/* Bordure lumineuse : un faisceau bleu parcourt le contour */
.price-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background:
    conic-gradient(from var(--angle), transparent 0deg, transparent 300deg, rgba(77,163,255,.2) 320deg, var(--blue-2) 350deg, #fff 356deg, transparent 360deg),
    linear-gradient(var(--line-2), var(--line-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 6s linear infinite;
}
.price-card::after {
  content: ""; position: absolute; z-index: -2; inset: 20% 10% -10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36,107,253,.25), transparent);
  filter: blur(40px);
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --angle: 360deg; } }

.price-main { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.price-title { margin-top: 22px; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.025em; }
.price-sub { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.price { margin-top: 26px; display: flex; align-items: flex-start; gap: 10px; line-height: .9; }
.price-amount { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(92px, 11vw, 136px); letter-spacing: -.02em; padding-right: .04em; }
.price-cur { margin-top: 12px; font-size: 22px; font-weight: 600; color: var(--blue-2); letter-spacing: .02em; }
.price-note { margin: 18px 0 28px; color: var(--dim); font-size: 14.5px; max-width: 40ch; }
.price-help { margin-top: 16px; font-size: 14px; color: var(--dim); }
.price-help a { color: var(--white); text-underline-offset: 3px; text-decoration-color: rgba(77,163,255,.6); }

.price-side { padding: clamp(28px, 4vw, 48px); border-left: 1px solid var(--line); }
.price-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.price-tiles li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 6px 12px; border-radius: 18px; background: #18181A; border: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }
.price-tiles li.is-lit { color: var(--white); border-color: rgba(77,163,255,.3); }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #E2E2E5; line-height: 1.45; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-grid .btn { margin-top: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #171719, #111112); transition: border-color .4s; }
.faq-item.is-open { border-color: rgba(77,163,255,.3); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; text-align: left; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq-a p { padding: 0 24px 24px; color: var(--muted); font-size: 15.5px; max-width: 62ch; }

/* CTA final */
.final { position: relative; margin-top: var(--section); padding: clamp(96px, 12vw, 150px) 0; overflow: hidden; isolation: isolate; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(36,107,253,.28), transparent 70%);
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
}
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final-title { font-family: var(--font-display); font-size: clamp(2.6rem, 8vw, 7rem); line-height: .98; font-weight: 500; letter-spacing: -.055em; max-width: 12ch; text-wrap: balance; }
.final-lead { margin: 26px 0 36px; color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); max-width: 44ch; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 40px 0 32px; background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 14.5px; transition: color .3s; }
.footer-links a:hover { color: var(--white); }
.footer-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }

/* ---------- Révélations au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .45s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > .card:hover { transform: translateY(-4px); transition-delay: 0s; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.is-in .split-word > span, .split-word.is-in > span { transform: none; }
.split-word:has(.serif) { padding-bottom: .2em; margin-bottom: -.2em; }
.split-word:has(.serif) + .split-word { margin-left: -.1em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 18px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .skills-head { grid-template-columns: 1fr; }
  .tiles { justify-self: start; width: 100%; grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .header-bar { border-radius: 24px; }
  .site-header.is-scrolled .header-bar, .site-header.menu-open .header-bar {
    background: rgba(21,21,21,.88); border-color: var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px; border-radius: 22px;
    background: rgba(18,18,19,.97); border: 1px solid var(--line-2);
    box-shadow: 0 30px 60px rgba(0,0,0,.6);
    opacity: 0; transform: translateY(-10px) scale(.98); visibility: hidden; pointer-events: none;
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 6px; font-size: 18px; color: var(--white); border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-cta { --h: 52px; font-size: 15px; }

  .programme-grid, .faq-grid { grid-template-columns: 1fr; }
  .programme-intro { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .price-card { grid-template-columns: 1fr; }
  .price-side { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand { font-size: 15.5px; gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { padding-top: 124px; }
  .hero-title { font-size: clamp(2.15rem, 9.6vw, 3rem); letter-spacing: -.035em; max-width: none; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; white-space: normal; }
  .badge { font-size: 12.5px; }
  .showreel-frame { border-radius: 18px; box-shadow: 0 0 0 5px rgba(255,255,255,.025), 0 30px 80px -30px rgba(36,107,253,.5); }
  .vid-sound { top: 10px; right: 10px; width: 40px; height: 40px; }
  .vid-bigplay { width: 66px; height: 66px; }
  .facts { gap: 10px; }
  .fact { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr; margin-top: 48px; }
  .card-feature { grid-column: auto; }
  .card { min-height: 0; }
  .module-head { gap: 14px; padding: 18px; }
  .module-num { font-size: 24px; min-width: 30px; }
  .module-points { padding: 0 18px 20px 18px; }
  .faq-q { padding: 18px; font-size: 16px; }
  .faq-a p { padding: 0 18px 20px; }
  .price-tiles li { font-size: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Réduction des animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero-seq, .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .split-word > span { transform: none !important; }
  .manifesto-text .w { color: var(--white); }
  .showreel-frame { transform: none !important; }
}
