/* ==========================================================
   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%);
}

/* Liens dans le texte. Sans règle, le navigateur applique ses couleurs
   par défaut : bleu, puis violet une fois visités. */
/* Vise « main » plutôt que « .page » : l'accueil et la page templates
   portent une autre classe, leurs liens restaient donc en bleu. */
main p a,
main dd a,
main li a:not([class]),
.qa a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 3px;
  transition: text-decoration-color .25s;
}
main p a:hover,
main dd a:hover,
main li a:not([class]):hover,
.qa a:hover { text-decoration-color: var(--white); }

/* ==========================================================
   Encart d'inscription à la liste
   En bas à gauche sur ordinateur, en bandeau bas sur téléphone.
   ========================================================== */
.optin {
  position: fixed;
  z-index: 60;
  left: 22px;
  bottom: 22px;
  width: min(330px, calc(100vw - 32px));
  padding: 20px 22px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #101010;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.optin.on { opacity: 1; transform: none; }

/* Les trois états successifs : accroche, formulaire, confirmation */
.optin-vue[hidden] { display: none; }

.optin-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--grey-dark);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.optin-x:hover { color: var(--white); background: rgba(255,255,255,.08); }

.optin-titre {
  padding-right: 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--white);
}
.optin-txt { margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: var(--grey-dark); }

/* Flèche à la suite du titre, alignée sur la ligne de texte */
.optin-fleche {
  display: inline-block;
  vertical-align: -3px;
  margin-left: 7px;
  width: 16px;
  color: var(--grey-dark);
  animation: optinBat 1.4s ease-in-out infinite;
}
.optin-fleche svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes optinBat {
  0%, 100% { opacity: .35; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(4px); }
}

.optin-btn {
  margin-top: 15px;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: #000;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), opacity .2s;
}
/* Le bouton d'envoi est un « submit » : il attrape la règle globale
   button[type="submit"], plus prioritaire que .optin-btn, qui lui
   donnait 16 px et 54 px de haut. On remet les deux au même gabarit
   avec un sélecteur qui pèse plus lourd. */
.optin .optin-btn {
  height: auto;
  font-size: 14px;
  box-shadow: none;
}
.optin .optin-btn:hover { box-shadow: none; }

.optin-btn:hover { transform: translateY(-1px); }

/* Le halo tournant, réservé au bouton d'accroche. Le second bouton
   n'en a pas : à ce stade la personne a déjà décidé, il n'y a plus
   rien à attirer. La marge passe sur l'enveloppe. */
.optin-neon { margin-top: 15px; }
.optin-neon .optin-btn { margin-top: 0; }
.optin-btn:disabled { opacity: .55; cursor: default; transform: none; }

.optin input[type="email"] {
  margin-top: 13px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #1a1a1a;
  color: var(--white);
  font: inherit;
  /* 16 px et pas moins : en dessous, Safari sur iPhone zoome
     automatiquement à la mise au point du champ. */
  font-size: 16px;
}
.optin input[type="email"]:focus { outline: none; border-color: rgba(255,255,255,.45); }

/* Champ piège : hors de vue sans être « display: none »,
   que les robots remplissent quand même */
.optin input[type="text"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.optin-err { margin-top: 9px; font-size: 12.5px; line-height: 1.5; color: #ff7a5c; }
.optin-err:empty { display: none; }

.optin-ok { text-align: center; padding: 6px 0 2px; }
.optin-ok .optin-titre { padding-right: 0; }
.optin-tick {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #7ae096 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 7'/%3E%3C/svg%3E") center/17px no-repeat;
}

/* Sur téléphone, un bandeau collé en bas plutôt qu'une carte flottante */
@media (max-width: 700px) {
  .optin {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 18px 18px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .optin { transition: opacity .2s; transform: none; }
  .optin-fleche { animation: none; opacity: .6; }
}

/* Questions fréquentes. Cette mise en forme vivait dans la feuille des
   personnalités : toute page qui utilisait .qa sans la charger se
   retrouvait sans aucun espacement. */
.qa { padding: 22px 0; border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); margin-top: 22px; }
.qa h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.qa p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--grey); }

/* Paragraphe courant, posé directement dans une section.
   Sans lui, le texte hérite du corps de page : blanc, interligne
   serré, pleine largeur — il jure avec le reste de la page. */
.par {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey);
}
.par + .par { margin-top: 14px; }

/* Adresse ou nom de fichier cité dans le texte */
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em;
  color: var(--white);
}

/* Capture d'écran illustrant une démonstration, avec sa légende */
.shot {
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--grey-dark);
}

.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: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

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

.pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--white);
  font-size: 13px;
  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: top .3s var(--ease), transform .4s var(--ease) .08s, width .3s var(--ease);
}
.burger span:first-child { top: 13px; }
.burger span:last-child  { top: 20px; }

.burger[aria-expanded="true"] span { top: 16.5px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: 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 24px 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; }
/* Cette marge vaut pour une vidéo qui suit le hero. Sous un titre de
   section, elle laisse un trou : on la ramène à l'espacement courant. */
.page h2 + .video { margin-top: 24px; }

.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: 22px 24px 26px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  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); }
}

/* Réseaux du pied de page */
.socials { display: flex; gap: 8px; }

.socials a {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--grey);
  transition: color .3s, border-color .3s, background .3s;
}
.socials a:hover,
.socials a:focus-visible {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
}
.socials svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav-inner { height: 56px; padding: 0 18px; }
  .nav::before { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pill { display: none; }
  .burger { display: block; margin: 0 -6px 0 0; }

  /* ---------- Menu : panneau plein écran sous la barre ---------- */
  .nav nav {
    position: fixed;
    top: 56px; left: 0; right: 0; bottom: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px 18px max(20px, env(safe-area-inset-bottom));
    background: #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .35s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Intitulé du groupe */
  .nav nav::before {
    content: "Navigation";
    padding: 0 4px 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--grey-dark);
    opacity: 0;
    transition: opacity .3s var(--ease);
  }

  /* Une carte par lien, comme dans l'espace membre */
  .nav nav a:not(.menu-cta) {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--glass);
    color: var(--white);
    font-size: 15.5px;
    font-weight: 400;
    letter-spacing: -.01em;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s;
  }

  .nav nav a:not(.menu-cta):active { background: rgba(255,255,255,.09); }
  .nav nav a[aria-current="page"] { background: rgba(255,255,255,.08); }

  /* Icône à gauche, chevron à droite */
  .nav nav a:not(.menu-cta)::before {
    content: "";
    flex: none;
    width: 18px; height: 18px;
    background: var(--grey);
    /* Icône neutre : une adresse sans règle propre affiche un cercle,
       jamais un carré plein. */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='7'/%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='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .nav nav a:not(.menu-cta)::after {
    content: "";
    flex: none;
    margin-left: auto;
    width: 6px; height: 6px;
    border-top: 1.5px solid var(--grey-dark);
    border-right: 1.5px solid var(--grey-dark);
    transform: rotate(45deg);
  }

  .nav nav a[href="/affiliation-dating"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 20v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='3.5'/%3E%3Cpath d='M22 20v-2a4 4 0 0 0-3-3.8'/%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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 20v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='3.5'/%3E%3Cpath d='M22 20v-2a4 4 0 0 0-3-3.8'/%3E%3C/svg%3E") center/contain no-repeat; }
  .nav nav a[href="/achat-revente-vinted"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18l-1.5 12.5A2 2 0 0 1 17.5 20h-11a2 2 0 0 1-2-1.5z'/%3E%3Cpath d='M8.5 9V5.5a3.5 3.5 0 0 1 7 0V9'/%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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18l-1.5 12.5A2 2 0 0 1 17.5 20h-11a2 2 0 0 1-2-1.5z'/%3E%3Cpath d='M8.5 9V5.5a3.5 3.5 0 0 1 7 0V9'/%3E%3C/svg%3E") center/contain no-repeat; }
  .nav nav a[href="/niche-seo-rentable"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center/contain no-repeat; }
  .nav nav a[href="/templates-systemeio"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 9h18M9 9v11'/%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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 9h18M9 9v11'/%3E%3C/svg%3E") center/contain no-repeat; }
  .nav nav a[href="/personnalites"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20a7.5 7.5 0 0 1 15 0'/%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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E") center/contain no-repeat; }
  .nav nav a[href="/support"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.2 2.4c-.5.2-.7.6-.7 1.1v.5'/%3E%3Ccircle cx='12' cy='17' r='.6' fill='%23000' stroke='none'/%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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.2 2.4c-.5.2-.7.6-.7 1.1v.5'/%3E%3Ccircle cx='12' cy='17' r='.6' fill='%23000' stroke='none'/%3E%3C/svg%3E") center/contain no-repeat; }

  /* Bouton en bas du panneau, avec son néon */
  .menu-cta {
    position: relative;
    display: grid !important;
    place-items: center;
    /* Les liens portent désormais leur propre marge basse : on retire
       celle du bouton pour ne pas la doubler. */
    margin-top: 10px;
    margin-bottom: 0;
    height: 50px;
    padding: 0 !important;
    border-radius: 999px;
    background: #fff;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 600;
    isolation: isolate;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }

  .menu-cta::before {
    content: "";
    position: absolute;
    inset: -2px;
    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,.5)) drop-shadow(0 0 16px rgba(255,255,255,.28));
    animation: spin 3.2s linear infinite;
    animation-play-state: paused;
  }

  /* Le néon ne tourne que menu ouvert */
  body.menu-open .menu-cta::before { animation-play-state: running; }

  /* ---------- Ouvert ---------- */
  body.menu-open { overflow: hidden; }
  body.menu-open .nav nav { opacity: 1; 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: .05s; }
  body.menu-open .nav nav a:nth-child(2) { transition-delay: .08s; }
  body.menu-open .nav nav a:nth-child(3) { transition-delay: .11s; }
  body.menu-open .nav nav a:nth-child(4) { transition-delay: .14s; }
  body.menu-open .nav nav a:nth-child(5) { transition-delay: .17s; }
  body.menu-open .nav nav a:nth-child(6) { transition-delay: .20s; }
  body.menu-open .nav nav a:nth-child(7) { transition-delay: .23s; }
  body.menu-open .nav nav a:nth-child(8) { transition-delay: .26s; }

  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: 14px; }
  .socials { order: 3; }
  .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; }
}
