/* =========================================================================
   GetCollab — Styles globaux (partagés par toutes les pages)
   Direction artistique : environnement cosmique sombre, titres capitales 800,
   Blurple (#5865F2) réservé aux CTA principaux.
   ========================================================================= */

:root {
  /* ---- Couleurs (style guide) ---- */
  --color-blurple: #5865f2;
  --color-dark-blurple: #3442d9;
  --color-hover-blurple: #8891f2;
  --color-spring-green: #57f287;
  --color-fuchsia: #eb459e;
  --color-vivid-cerulean: #00b0f4;
  --color-ember-orange: #fda220;
  --color-ekko-red: #de2761;
  --color-void: #000000;
  --color-snow: #ffffff;
  --color-not-quite-black: #23272a;
  --color-dark-charcoal: #2c2f33;
  --color-graphite: #333333;
  --color-fog: #babcd9;
  --color-greyple: #99aab5;
  --color-dim-grey: #50555f;
  --color-off-white: #f6f6f6;

  --surface-cosmic-page: #0e0f2d;
  --surface-app-chrome: #23272a;
  --surface-app-surface: #2c2f33;

  /* ---- Marque GetCollab : le trait (swoosh) du logo ---- */
  --swoosh-a: #e07bff;
  --swoosh-b: #9a74ff;
  --swoosh-c: #6366ff;

  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --panel: rgba(255, 255, 255, .035);
  --panel-strong: rgba(255, 255, 255, .06);
  --panel-card: linear-gradient(160deg, rgba(88, 101, 242, .14), rgba(255, 255, 255, .03) 62%);
  --panel-accent: linear-gradient(160deg, rgba(139, 49, 160, .32), rgba(255, 255, 255, .02) 78%);
  --grad-accent: linear-gradient(135deg, var(--swoosh-a), var(--swoosh-c));
  --color-on-accent: #fff;             /* texte sur fond Blurple */
  --focus-ring: rgba(88, 101, 242, .25);

  /* ---- Identité « Plateau » : le tournage (REC, viseur, prises) + touche « Carnet » (notes à la main) ---- */
  --color-rec: #de2761;                 /* le point REC, signe de la marque (Ekko red de la charte) */
  --color-note: #ffe29a;                /* encre des notes manuscrites */

  /* ---- Typo ---- */
  --font-display: 'Poppins', 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;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* ---- Formes & mise en page ---- */
  --radius-buttons: 12px;
  --radius-buttons-lg: 16px;
  --radius-cards: 16px;
  --radius-panels: 24px;
  --radius-pills: 104px;
  --page-max-width: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 84px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--surface-cosmic-page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-gutter: stable;
}
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; }
html.is-locked, html.is-locked body { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface-cosmic-page);
  color: var(--color-snow);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .013em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { display: block; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--color-blurple); color: #fff; }
:focus-visible { outline: 2px solid var(--color-hover-blurple); outline-offset: 3px; border-radius: 8px; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.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: -60px; z-index: 200;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 12px;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--page-max-width), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { position: relative; padding-block: clamp(96px, 11vw, 160px); }

/* --------------------------------------------------------- Typographie */
.display, .h-xl, .h-lg, .h-md {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--color-snow);
  text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 1.4rem + 4.1vw, 4.25rem); line-height: .94; }
.h-xl    { font-size: clamp(2.3rem, 1.2rem + 3.9vw, 4rem);    line-height: .95; }
.h-lg    { font-size: clamp(2.05rem, 1.15rem + 2.9vw, 3.5rem); line-height: .96; }
.h-md    { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.25rem);  line-height: 1.02; }
.lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-fog);
  max-width: 46ch;
}
.lead a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.lead a:hover { text-decoration-color: #fff; }

/* Mots découpés pour les révélations (JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .06em; margin: -.14em -.02em -.06em; }
.wi { display: inline-block; will-change: transform; }

/* Surlignage "swoosh" (le trait du logo sous un mot) */
.hl { position: relative; display: inline-block; white-space: nowrap; }
.swoosh {
  position: absolute; left: -3%; bottom: -.34em;
  width: 106%; height: .42em;
  overflow: visible; pointer-events: none;
}

/* ===================================================== Identité « Plateau »
   REC qui clignote, code temporel, coins de viseur, étiquette de prise,
   notes écrites à la main (touche « Carnet »).
   ======================================================================= */
.rec {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.rec::before {
  content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: var(--color-rec); box-shadow: 0 0 0 4px rgba(222, 39, 97, .22);
  animation: rec-blink 1.4s steps(2, start) infinite;
}
@keyframes rec-blink { to { visibility: hidden; } }
.tc { font: 500 12px/1 var(--font-mono); letter-spacing: .06em; color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; }

/* Coins de viseur : <span class="vf" aria-hidden="true"><i></i><i></i><i></i><i></i></span> dans un parent en position relative */
.vf { position: absolute; inset: -12px; pointer-events: none; z-index: 3; }
.vf i { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255, 255, 255, .7); }
.vf i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.vf i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
.vf--in { inset: 10px; }

/* Étiquette de prise (clap) */
.clap {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 8px; border-radius: 8px;
  background: #fff; color: var(--surface-cosmic-page);
  font: 800 12.5px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
}
.clap::before {
  content: ""; width: 16px; height: 10px; flex: none; border-radius: 2px;
  background: repeating-linear-gradient(-45deg, var(--surface-cosmic-page) 0 3px, #fff 3px 6px);
}

/* Notes écrites à la main (touche « Carnet ») */
.hand {
  display: inline-block; font: 700 clamp(1.35rem, 1.15rem + .7vw, 1.7rem)/1.05 var(--font-hand);
  color: var(--color-note); letter-spacing: 0; transform: rotate(-3deg); text-transform: none;
}
.hand--sm { font-size: 1.25rem; }
.hand__line { display: block; width: 100%; height: 10px; margin-top: 2px; overflow: visible; }
.hand__arrow { display: inline-block; width: 42px; height: 26px; vertical-align: middle; overflow: visible; }
.sticker {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px;
  font: 800 12px/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase;
  background: #fff; color: var(--surface-cosmic-page); transform: rotate(-6deg);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
}
.sticker--green { background: var(--color-spring-green); }
@media (prefers-reduced-motion: reduce) { .rec::before { animation: none; } }

/* ---------------------------------------------------------------- Pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pills);
  border: 1px solid rgba(186, 188, 217, .28);
  background: rgba(88, 101, 242, .12);
  color: #e6e7ff;
  font: 500 14px/1.2 var(--font-body);
  letter-spacing: .02em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pill .ico { font-size: 14px; color: #c9b8ff; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-spring-green); box-shadow: 0 0 0 4px rgba(87, 242, 135, .18); }
.pill--green { background: rgba(87, 242, 135, .1); border-color: rgba(87, 242, 135, .35); color: #c9ffdc; }

/* -------------------------------------------------------------- Boutons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px;
  border-radius: var(--radius-buttons);
  font: 500 16px/1.2 var(--font-body);
  letter-spacing: .016em;
  white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { font-size: 18px; transition: transform .45s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--color-blurple); color: #fff; padding: 19.5px 24px; }
.btn--primary:hover { background: var(--color-dark-blurple); }
.btn--white { background: #fff; color: var(--color-not-quite-black); border: 1px solid var(--color-not-quite-black); }
.btn--white:hover { background: #e9eaff; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid #fff; padding: 10px 16px; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--login { background: #fff; color: #000; border: 1px solid #000; border-radius: var(--radius-buttons-lg); padding: 10px 16px; }
.btn--login:hover { background: #e9eaff; }
.btn--block { width: 100%; }

/* Libellé qui "roule" au survol */
.btn__label { position: relative; display: inline-block; }
.btn__roll { display: inline-grid; overflow: hidden; vertical-align: top; height: 1.2em; }
.btn__roll > span { grid-area: 1 / 1; transition: transform .55s var(--ease-out); }
.btn__roll > span + span { transform: translateY(110%); }
.btn:hover .btn__roll > span:first-child { transform: translateY(-110%); }
.btn:hover .btn__roll > span + span { transform: translateY(0); }

/* Boutons des maquettes produit */
.ui-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: 10px;
  font: 600 14px/1.2 var(--font-body); letter-spacing: .01em;
  transition: background-color .3s, transform .3s var(--ease-out), color .3s;
  white-space: nowrap;
}
.ui-btn .ico { font-size: 15px; }
.ui-btn--primary { background: var(--color-blurple); color: #fff; }
button.ui-btn--primary:hover { background: var(--color-dark-blurple); }
.ui-btn--ghost { background: rgba(255,255,255,.06); color: #dfe0f5; border: 1px solid rgba(255,255,255,.12); }
button.ui-btn--ghost:hover { background: rgba(255,255,255,.12); }
.ui-btn--block { width: 100%; }
.ui-btn--sm { padding: 9px 12px; font-size: 13px; }
.ui-btn.is-done { background: #1f9e55; }

/* Badges & avatars (maquettes) */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 99px;
  font: 600 12px/1.2 var(--font-body); letter-spacing: .02em;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--green { color: var(--color-spring-green); background: rgba(87, 242, 135, .12); }
.badge--amber { color: var(--color-ember-orange); background: rgba(253, 162, 32, .14); }

.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 10px;
  font: 700 12px/1 var(--font-body); letter-spacing: .04em; font-style: normal;
  color: #fff;
}
.avatar--ls { background: linear-gradient(135deg, #ff9ac9, #d9468c); }
.avatar--or { background: linear-gradient(135deg, #ffd08a, #e08a1e); }
.avatar--pv { background: linear-gradient(135deg, #e2a8ff, #9b4dde); }
.avatar--cb { background: linear-gradient(135deg, #8fe3ff, #1d8fd0); }
.avatar--sl { background: linear-gradient(135deg, #9df5c4, #1fa565); }
.avatar--nb { background: linear-gradient(135deg, #ffc2b0, #e0604a); }

/* ------------------------------------------------- Environnement cosmique */
.cosmos {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  --glow-a: #3d2bb0;
  --glow-b: #6d2aa3;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(42, 36, 120, .75) 0%, rgba(14, 15, 45, 0) 60%),
    var(--surface-cosmic-page);
}
.cosmos__glow { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.cosmos__glow--a {
  width: 80vmax; height: 80vmax; left: -30vmax; top: -35vmax;
  background: radial-gradient(circle, var(--glow-a) 0%, rgba(14, 15, 45, 0) 62%);
}
.cosmos__glow--b {
  width: 70vmax; height: 70vmax; right: -32vmax; bottom: -38vmax;
  background: radial-gradient(circle, var(--glow-b) 0%, rgba(14, 15, 45, 0) 62%);
  opacity: .42;
}
.cosmos__stars { position: absolute; inset: 0; width: 100%; height: 100%; }

.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------- Objets 3D */
.prop { position: absolute; pointer-events: none; z-index: 3; }
.prop .float-in { width: 100%; height: 100%; will-change: transform; }
.prop svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 22px 26px rgba(8, 6, 40, .55)); }

/* ------------------------------------- Le coach IA (personnage orbe) */
.coach-orb { --size: 120px; position: relative; flex: none; width: var(--size); height: var(--size); }
.coach-orb__glow {
  position: absolute; inset: -38%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(140, 110, 255, .55), rgba(140, 110, 255, 0));
  animation: orbGlow 4s ease-in-out infinite;
}
.coach-orb__ring {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(201, 184, 255, .55); opacity: 0;
  animation: orbRing 3.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.coach-orb__ring + .coach-orb__ring { animation-delay: 1.7s; }
.coach-orb__body {
  position: absolute; inset: 0; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fbf7ff 0%, #cdb9ff 17%, #8a6cff 44%, #4b34d6 72%, #1d1470 100%);
  box-shadow:
    inset calc(var(--size) * -.07) calc(var(--size) * -.1) calc(var(--size) * .2) rgba(16, 8, 70, .55),
    inset calc(var(--size) * .05) calc(var(--size) * .07) calc(var(--size) * .14) rgba(255, 255, 255, .35),
    0 calc(var(--size) * .15) calc(var(--size) * .33) calc(var(--size) * -.08) rgba(60, 30, 180, .7);
}
.coach-orb__swirl {
  position: absolute; inset: -22%;
  background: conic-gradient(from 0deg, rgba(224, 123, 255, 0), rgba(224, 123, 255, .6), rgba(224, 123, 255, 0) 30%, rgba(99, 190, 255, .5) 55%, rgba(99, 102, 255, 0) 75%);
  mix-blend-mode: screen; filter: blur(calc(var(--size) * .06));
  animation: orbSpin 7s linear infinite;
}
.coach-orb__shine {
  position: absolute; left: 17%; top: 9%; width: 40%; height: 24%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
  transform: rotate(-22deg);
}
.coach-orb__face {
  position: absolute; left: 50%; top: 50%;
  display: flex; justify-content: space-between;
  width: calc(var(--size) * .34); height: calc(var(--size) * .2);
  margin: calc(var(--size) * -.13) 0 0 calc(var(--size) * -.17);
  will-change: transform;
}
.coach-orb__face i {
  width: calc(var(--size) * .1); height: 100%; border-radius: 99px; background: #fff;
  box-shadow: 0 0 calc(var(--size) * .08) rgba(255, 255, 255, .95);
  animation: orbBlink 4.8s infinite;
}
.coach-orb.is-talking .coach-orb__body { animation: orbTalk .45s ease-in-out infinite alternate; }
.coach-orb.is-talking .coach-orb__face i { animation: orbHappy .45s ease-in-out infinite alternate; }
.coach-orb.is-thinking .coach-orb__swirl { animation-duration: 1.4s; }
.coach-orb.is-thinking .coach-orb__face i { animation: orbThink 1.2s ease-in-out infinite; }
.coach-orb--sm { --size: 38px; }
.coach-orb--sm .coach-orb__ring, .coach-orb--sm .coach-orb__glow { display: none; }
@keyframes orbBlink { 0%, 91%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.12); } }
@keyframes orbHappy { from { transform: scaleY(1); } to { transform: scaleY(.62) translateY(-8%); } }
@keyframes orbThink { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30%); } }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbRing { 0% { transform: scale(.96); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes orbGlow { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes orbTalk { to { transform: scale(1.045); } }

/* Bulle de parole du coach */
.say {
  position: relative; padding: 14px 18px; border-radius: 18px; border-top-left-radius: 6px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #eceefd; font-size: 16px; line-height: 1.5;
}
.say b { color: #fff; }

/* ---------------------------------------------------------- Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 14px var(--gutter);
  transition: transform .6s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-120%); }
.nav__inner {
  max-width: calc(var(--page-max-width) + 24px);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background-color .5s, border-color .5s, -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.nav.is-scrolled .nav__inner {
  background: rgba(14, 15, 45, .62);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav__logo { display: block; width: 136px; flex: none; }
.nav__logo img { width: 100%; height: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; padding: 10px 14px; border-radius: 12px;
  font: 500 16px/1.2 var(--font-body); letter-spacing: .013em; color: #fff;
  transition: background-color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--swoosh-a), var(--swoosh-c));
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a:hover { background: rgba(255, 255, 255, .05); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__account { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font: 500 15px/1.2 var(--font-body); color: #fff; transition: background-color .3s; }
.nav__account .ico { font-size: 17px; }
.nav__account:hover { background: rgba(255, 255, 255, .06); }
@media (max-width: 560px) { .nav__account span { display: none; } }
.nav__burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .5);
}
.nav__burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 55; visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
}
.menu__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(109, 42, 163, .55), rgba(14, 15, 45, 0) 70%),
    radial-gradient(80% 50% at 0% 100%, rgba(61, 43, 176, .5), rgba(14, 15, 45, 0) 70%),
    #0b0c26;
}
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  display: block; overflow: hidden;
  font: 800 clamp(2.4rem, 10vw, 3.6rem)/1.05 var(--font-display);
  text-transform: uppercase; letter-spacing: -.01em;
}
.menu__links a span { display: inline-block; }
.menu__links a[aria-current="page"] { color: #c9b8ff; }
.menu__foot { display: grid; gap: 20px; color: var(--color-fog); }
.menu__foot .btn { justify-self: start; }

/* ------------------------------------------------------------- Footer */
.footer {
  position: relative; overflow: hidden;
  padding-top: clamp(80px, 9vw, 120px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 22%);
  color: var(--color-fog);
}
.footer__top {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px;
}
.footer__brand p { margin-top: 18px; max-width: 32ch; }
.footer__logo { display: block; width: 150px; }
.footer__logo img { width: 100%; height: auto; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 { font: 500 16px/1.5 var(--font-body); letter-spacing: .013em; color: #fff; margin-bottom: 6px; }
.footer__col a, .footer__col span {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  color: var(--color-fog); line-height: 1.5; transition: color .3s;
}
.footer__col a:hover { color: #fff; }
.footer__col .ico { color: #c9b8ff; }
.footer__mark { margin: clamp(56px, 8vw, 96px) 0 0; opacity: .95; }
.footer__mark img { width: 100%; height: auto; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 28px 0 36px; margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
}
.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* Mention sous les démonstrations */
.note-ex { margin-top: 18px; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--color-greyple); }

/* En-tête et pied de page minimaux (pages de parcours) */
.nav--min .nav__inner { padding: 10px 10px 10px 18px; }
.nav__exit { padding: 10px 16px; font-size: 15px; border-color: rgba(255, 255, 255, .5); }
.footer--min { padding-top: 40px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0, 0, 0, .7)); }
.footer--min .footer__bottom { margin-top: 0; }
.footer--min a:hover { color: #fff; }

/* ------------------------------------------------- États JS (avant anim) */
.js:not(.gc-ready) [data-hero-in],
.js:not(.gc-ready) [data-nav-item],
.js:not(.gc-ready) .nav__logo { opacity: 0; }
.intro { visibility: hidden; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --nav-h: 76px; }
  .nav { padding: 10px var(--gutter); }
  .nav__logo { width: 118px; }
  .nav__actions .btn--login { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
