/* ==========================================================
   ecomstrike — Coming soon
   ========================================================== */

:root {
  --bg: #000;
  --white: #f5f5f7;
  --grey: #a1a1a6;
  --grey-dark: #6e6e73;
  --red: #ff6b6b;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.22);
  --glass: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

img, svg, iframe, video { max-width: 100%; }

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 22%, rgba(255,255,255,.06), transparent 70%);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transform: translate(-50%, -200%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Animation d'entrée ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  will-change: opacity;
  animation: reveal 1.1s var(--ease) forwards;
  animation-delay: calc(.12s + var(--i) * .13s);
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Une fois l'animation finie, plus aucun filtre ni transform sur le
   header : sinon il devient le repère des éléments positionnés. */
.nav.reveal { transform: none; filter: none; animation-name: revealNav; }

@keyframes revealNav {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Apparition au défilement (pages support et templates) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.reveal-on-scroll.seen { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

/* Le fond et le flou sont posés ici, et non sur .nav : un élément
   flouté devient le repère de ses enfants en position fixed. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 48px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.nav nav { display: flex; gap: 34px; }
.menu-cta { display: none; }

.nav nav a {
  color: var(--grey);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: -.01em;
  transition: color .3s;
}
.nav nav a:hover,
.nav nav a:focus-visible { color: var(--white); }

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: border-color .3s, background .3s;
}
.pill:hover,
.pill:focus-visible { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); }

/* Bouton menu (mobile) */
.burger {
  display: none;
  position: relative;
  width: 34px; height: 34px;
  margin-left: -8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 8px;
  width: 18px; height: 1.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .45s var(--ease), opacity .25s;
}
.burger span:first-child { top: 14px; }
.burger span:last-child  { top: 20px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3px) rotate(-45deg); }
.burger:focus-visible { outline: 1px solid var(--white); outline-offset: 2px; border-radius: 8px; }

/* ---------- Main ---------- */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px 48px;
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.05;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Compte à rebours */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 36px;
}

.unit { display: flex; flex-direction: column; align-items: center; min-width: 72px; }

.unit b {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.unit small { margin-top: 8px; font-size: 12px; color: var(--grey-dark); }

.sep { font-size: 30px; line-height: 36px; font-weight: 300; color: var(--grey-dark); }

/* ---------- Carte ---------- */
.card {
  position: relative;
  margin-top: 44px;
  width: 100%;
  max-width: 560px;
  padding: 40px 32px 32px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
}

.card::before {
  content: "";
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
}

/* Hauteur animée entre les étapes */
.card-body {
  overflow: hidden;
  transition: height .55s var(--ease);
}

.step { display: none; }
.step.is-active { display: block; }

/* Entrée d'une étape */
.step.enter { animation: stepIn .6s var(--ease) both; }
.step.enter-back { animation: stepInBack .6s var(--ease) both; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(18px); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes stepInBack {
  from { opacity: 0; transform: translateX(-18px); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

.card h2 { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }

.card p {
  margin: 10px auto 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--grey);
}
.card p b { color: var(--white); font-weight: 500; }

form { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

input[type="email"] {
  width: 100%;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .3s;
}
input::placeholder { color: var(--grey-dark); }
input[type="email"]:focus { border-color: rgba(255,255,255,.45); }
input.error { border-color: var(--red); }

/* ---------- Code à 6 chiffres ---------- */
.otp {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.otp .gap {
  width: 12px;
  height: 1px;
  background: var(--line-strong);
  flex: none;
}

.cell {
  position: relative;
  flex: 1 1 0;
  max-width: 60px;
}

.cell input {
  width: 100%;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
  color: var(--white);
  font: inherit;
  font-size: 26px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: center;
  caret-color: transparent;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .3s var(--ease);
}

.cell input:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06), 0 0 24px rgba(255,255,255,.12);
}

/* Chiffre saisi : petit pop */
.cell.filled input { border-color: rgba(255,255,255,.45); }
.cell.pop input { animation: pop .28s var(--ease); }

@keyframes pop {
  0%   { transform: scale(.9); }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Curseur clignotant maison */
.cell.caret::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 2px; height: 26px;
  margin-left: -1px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--white);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Erreur : secousse */
.otp.shake { animation: shake .45s ease; }
.otp.wrong .cell input { border-color: var(--red); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}

/* Succès : vague sur les cases */
.otp.ok .cell input {
  border-color: rgba(255,255,255,.7);
  animation: waveUp .5s var(--ease) both;
  animation-delay: calc(var(--n) * .05s);
}

@keyframes waveUp {
  0%   { transform: translateY(0); }
  45%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.hint {
  min-height: 18px;
  margin-top: 4px !important;
  font-size: 13px !important;
  color: var(--grey-dark) !important;
  opacity: 0;
  transition: opacity .3s, color .3s;
}
.hint.show { opacity: 1; }
.hint.bad { color: var(--red) !important; }

/* ---------- Néon autour du bouton ---------- */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.neon {
  position: relative;
  border-radius: 999px;
  padding: 2px;
  isolation: isolate;
}

/* Un seul calque : le trait lumineux. Sa lueur vient d'un
   drop-shadow, qui épouse la forme réellement dessinée. Un
   deuxième calque flouté, lui, laissait apparaître son cadre. */
.neon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: conic-gradient(
    from var(--a),
    transparent 0deg 250deg,
    rgba(255,255,255,.35) 300deg,
    #fff 340deg,
    transparent 360deg
  );
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,.55))
    drop-shadow(0 0 16px rgba(255,255,255,.3));
  animation: spin 3.2s linear infinite;
}

.neon:hover::before { animation-duration: 1.6s; }
.neon.busy::before { animation-duration: .9s; }

/* Hors écran ou onglet en arrière-plan : on arrête de repeindre */
.neon.paused::before { animation-play-state: paused; }

@keyframes spin { to { --a: 360deg; } }

button[type="submit"] {
  position: relative;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255,255,255,.18);
  transition: transform .15s, box-shadow .2s;
}
button[type="submit"]:hover { box-shadow: 0 0 36px rgba(255,255,255,.3); }
button[type="submit"]:active { transform: scale(.985); }
button[type="submit"]:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.btn-label { transition: opacity .2s; }

.spinner {
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.2);
  border-top-color: #000;
  opacity: 0;
  animation: rotate .7s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }

button.loading { cursor: default; }
button.loading .btn-label { opacity: 0; }
button.loading .spinner { opacity: 1; }

/* Bouton en forme de lien (pages support et templates) */
.btn {
  display: grid;
  place-items: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(255,255,255,.18);
  transition: box-shadow .3s, transform .15s;
}
.btn:hover { box-shadow: 0 0 36px rgba(255,255,255,.3); }
.btn:active { transform: scale(.985); }

.btn-ghost {
  color: var(--grey);
  font-size: 15px;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: color .3s, border-color .3s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

/* Liens secondaires */
.alt {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--grey-dark);
}

.ghost {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--grey);
  cursor: pointer;
  transition: color .3s;
}
.ghost:hover:not(:disabled) { color: var(--white); }
.ghost:disabled { color: var(--grey-dark); cursor: default; }
.ghost:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; border-radius: 4px; }

/* ---------- Confirmation ---------- */
.step[data-step="done"] { padding: 8px 0 4px; }

.check { display: flex; justify-content: center; margin-bottom: 22px; }
.check svg { width: 64px; height: 64px; }

.check-ring,
.check-mark {
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-ring {
  stroke-width: 1.5;
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  opacity: .5;
  animation: draw .9s var(--ease) .05s forwards;
}

.check-mark {
  stroke-width: 3;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw .55s var(--ease) .45s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Réseaux ---------- */
.social { display: flex; gap: 14px; margin-top: 40px; }

.social a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--white);
  transition: border-color .3s, background .3s;
}
.social a:hover,
.social a:focus-visible { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Blocs communs aux pages internes ---------- */
.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey);
}

.hero { text-align: center; }

.kicker { font-size: 13px; font-weight: 500; color: var(--grey-dark); }

.hero-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Grille de quatre encarts */
.grid-4 {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mini {
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.mini h3 { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.mini p { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--grey-dark); }

/* Étapes numérotées */
.timeline { margin-top: 24px; list-style: none; counter-reset: step; }

.timeline li {
  position: relative;
  counter-increment: step;
  padding: 0 0 30px 56px;
  border-left: 1px solid var(--line);
  margin-left: 15px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline li::before {
  content: counter(step);
  position: absolute;
  left: -16px; top: -4px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #000;
  font-size: 13px;
  color: var(--white);
}

.timeline h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.timeline p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--grey-dark); }

/* Liste à coches */
.checks {
  margin-top: 22px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 32px;
}

.checks li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--grey);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 4px; top: 21px;
  width: 10px; height: 6px;
  border-left: 1.6px solid var(--white);
  border-bottom: 1.6px solid var(--white);
  transform: rotate(-45deg);
}

/* Bandeau de fin */
.final { margin-top: 96px; }

.final .card {
  margin: 0;
  max-width: none;
  text-align: center;
  padding: 48px 32px;
}
.final .card p { max-width: 50ch; }
.final .neon { display: inline-block; margin-top: 26px; }

/* ---------- Pages internes ---------- */
.page {
  align-items: stretch;
  text-align: left;
  max-width: 940px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 22px 88px;
}

.page h1 {
  margin-top: 14px;
  font-size: clamp(34px, 5.8vw, 62px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  background: linear-gradient(180deg, #fff 35%, rgba(255,255,255,.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.hero .lead { max-width: 56ch; margin: 20px auto 0; }

/* ---------- Vidéo ---------- */
.video { margin-top: 64px; }

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #050505;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12);
}

.player::before {
  content: "";
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
}

.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Vignette cliquable : l'iframe n'est chargée qu'au clic */
.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  transform: scale(1.01);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(0,0,0,.55));
}

.poster:hover img,
.poster:focus-visible img { opacity: .8; transform: scale(1.04); }

.play {
  position: relative;
  z-index: 2;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px rgba(255,255,255,.18);
  transition: background .4s var(--ease), transform .4s var(--ease), box-shadow .4s;
}

.play::before {
  content: "";
  width: 0; height: 0;
  margin-left: 5px;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.poster:hover .play,
.poster:focus-visible .play {
  background: rgba(255,255,255,.18);
  transform: scale(1.06);
  box-shadow: 0 0 60px rgba(255,255,255,.28);
}

.poster:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 24px; }

.caption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--grey-dark);
}

/* Espacement des sections d'une page interne */
.page > section + section { margin-top: 96px; }
.page > section > .lead { max-width: 64ch; margin-top: 12px; }

.cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.src {
  position: relative;
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.src:hover { border-color: rgba(255,255,255,.3); transform: translateY(-3px); }

.src h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.src p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--grey-dark); }

.badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--grey);
}

.note {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-dark);
}

.glossary { margin-top: 20px; }

.glossary > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.glossary > div:first-child { border-top: 1px solid var(--line); }

.glossary dt { font-size: 15px; font-weight: 500; color: var(--white); }
.glossary dd { font-size: 14px; line-height: 1.6; color: var(--grey-dark); }

/* ---------- Page introuvable ---------- */
.nf { justify-content: center; padding: 72px 24px 80px; }

.nf-code {
  font-size: clamp(96px, 20vw, 190px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .9;
  background: linear-gradient(180deg, rgba(255,255,255,.5) 20%, rgba(255,255,255,.06));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 90px rgba(255,255,255,.12);
}

.nf h1 {
  margin-top: -6px;
  font-size: clamp(26px, 4.5vw, 40px);
  letter-spacing: -.035em;
}

.nf-lead {
  margin-top: 16px;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey);
}

.nf-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nf-links {
  margin-top: 64px;
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}

.nf-links a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--white);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s;
}
.nf-links a:hover,
.nf-links a:focus-visible {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  transform: translateY(-3px);
}
.nf-links b { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.nf-links span { font-size: 12.5px; line-height: 1.45; color: var(--grey-dark); }

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  color: var(--grey-dark);
  font-size: 12px;
  line-height: 1.5;
}

.footer-inner { max-width: 1024px; margin: 0 auto; padding: 20px 22px 24px; }

.footer-note {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  max-width: 70ch;
}

.footer-inner > .footer-bottom:only-child { padding-top: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  flex-wrap: wrap;
}

.footer-bottom nav { display: flex; flex-wrap: wrap; }

.footer-bottom nav a {
  color: var(--grey);
  text-decoration: none;
  padding: 0 12px;
  border-left: 1px solid var(--line-strong);
  transition: color .3s;
}
.footer-bottom nav a:first-child { border-left: 0; }
.footer-bottom nav a:hover { color: var(--white); }

/* ---------- Tablette ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav-inner { height: 52px; padding: 0 18px; }
  .pill { display: none; }
  .burger { display: block; margin: 0 -6px 0 0; }

  /* ---------- Panneau, ancré à droite sous le header ----------
     En position fixed : rangé hors écran, il n'agrandit pas la
     page. En absolu, il ajoutait sa largeur au document et iOS
     dézoomait la page entière pour tout faire tenir.             */
  .nav nav {
    position: fixed;
    top: 52px;
    right: 0;
    bottom: 0;
    z-index: 30;
    width: min(360px, 84vw);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px 24px max(28px, env(safe-area-inset-bottom)) 24px;
    background: #000;
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 80px rgba(0,0,0,.9);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .55s var(--ease), visibility .55s;
    overflow-y: auto;
    overscroll-behavior: contain;
    isolation: isolate;
  }

  /* Voile sombre sur le reste de la page */
  .nav nav::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .55s var(--ease);
  }

  /* Filet lumineux sur l'arête du panneau */
  .nav nav::after {
    content: "";
    position: absolute;
    top: 0; left: -1px;
    width: 1px; height: 150px;
    background: linear-gradient(180deg, rgba(255,255,255,.45), transparent);
  }

  .nav nav a {
    padding: 18px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--white);
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .55s var(--ease), transform .55s var(--ease), color .3s;
  }
  .nav nav a[aria-current="page"] { color: var(--grey-dark); }

  /* Bouton en bas du panneau */
  .menu-cta {
    display: grid !important;
    place-items: center;
    margin-top: auto;
    height: 50px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px;
    background: #fff;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 600;
    box-shadow: 0 0 30px rgba(255,255,255,.16);
  }

  /* ---------- Ouvert ---------- */
  body.menu-open { overflow: hidden; }
  body.menu-open .nav nav { visibility: visible; transform: none; }
  body.menu-open .nav nav::before { opacity: 1; }
  body.menu-open .nav nav a { opacity: 1; transform: none; }
  body.menu-open .nav nav a:nth-child(1) { transition-delay: .10s; }
  body.menu-open .nav nav a:nth-child(2) { transition-delay: .15s; }
  body.menu-open .nav nav a:nth-child(3) { transition-delay: .20s; }
  body.menu-open .nav nav a:nth-child(4) { transition-delay: .25s; }
  body.menu-open .nav nav a:nth-child(5) { transition-delay: .30s; }
  body.menu-open .nav nav a:nth-child(6) { transition-delay: .35s; }
  body.menu-open .nav nav a:nth-child(7) { transition-delay: .40s; }

  main { padding: 36px 20px 40px; }
  h1 { font-size: clamp(44px, 13vw, 56px); }

  .countdown { gap: clamp(6px, 2.5vw, 14px); width: 100%; justify-content: center; }
  .unit { min-width: 0; flex: 1 1 0; max-width: 76px; }
  .unit b { font-size: clamp(24px, 8vw, 32px); }
  .unit small { font-size: 11px; }
  .sep { font-size: clamp(20px, 6vw, 26px); line-height: 1.15; }

  .card { padding: 32px 20px 24px; border-radius: 24px; margin-top: 36px; }
  .card h2 { font-size: 22px; }
  .card p { font-size: 14px; }

  .otp { gap: clamp(4px, 1.6vw, 8px); }
  .otp .gap { width: clamp(4px, 1.6vw, 8px); }
  .cell { max-width: 56px; }
  .cell input { height: clamp(48px, 15vw, 56px); font-size: clamp(18px, 5.5vw, 22px); border-radius: 14px; }
  .cell.caret::after { height: 20px; }

  .social { margin-top: 32px; }

  .grid-4, .checks, .cards { grid-template-columns: 1fr; }
  .page { padding: 44px 20px 64px; }
  .page > section + section { margin-top: 68px; }
  .video { margin-top: 44px; }
  .player { border-radius: 18px; }
  .play { width: 62px; height: 62px; }
  .play::before { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
  .glossary > div { grid-template-columns: 1fr; gap: 6px; }
  .note { padding-left: 14px; font-size: 13px; }
  .caption { font-size: 12px; }
  .timeline li { padding-left: 44px; }
  .hero-cta { flex-direction: column; gap: 16px; }
  .hero-cta .neon, .hero-cta .btn { width: 100%; }
  .final .card { padding: 36px 20px; }

  .nf { padding: 48px 20px 56px; }
  .nf-cta { flex-direction: column; width: 100%; gap: 16px; }
  .nf-cta .neon, .nf-cta .btn { width: 100%; }
  .nf-links { grid-template-columns: 1fr; margin-top: 44px; gap: 10px; }

  /* Lueur allégée et rotation plus lente : moins de travail pour le GPU */
  .neon::before {
    filter: drop-shadow(0 0 6px rgba(255,255,255,.5));
    animation-duration: 4.5s;
  }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom nav a { padding: 0 10px 0 0; border-left: 0; }
}

/* ---------- Très petits écrans ---------- */
@media (max-width: 380px) {
  main { padding-left: 16px; padding-right: 16px; }
  .nav-inner { padding: 0 14px; }
  .card { padding: 26px 16px 22px; }
  .unit small { font-size: 10px; letter-spacing: 0; }
  .nf-links a { padding: 16px 14px 18px; }
  .page { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal,
  .reveal-on-scroll { opacity: 1; transform: none; filter: none; }
  body.menu-open .nav nav a { transition-delay: 0s !important; }
  .neon::before { background: rgba(255,255,255,.35); filter: none; }
  .check-ring, .check-mark { stroke-dashoffset: 0; }
}
