/* ═══════════════════════════════════════════════════════════════
   NextFive Network — refonte Fable v2
   « Le Nike des joueurs de foot de Bruxelles »
   Papier clair · cartes blanches au repos, NOIRES à la sélection
   · un seul accent : le vert.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper: #F6F7F6;
  --paper-soft: #ECEFED;
  --ink: #0B0F0E;
  --card-dark: #101614;      /* la carte une fois sélectionnée */
  --card-dark-2: #1A211E;
  --line-dark: #242C28;
  --line-light: #DFE4E1;
  --green: #10B981;
  --green-hot: #34D399;
  --green-deep: #0B9268;
  --green-dim: rgba(16, 185, 129, .13);
  --white: #FFFFFF;
  --off-white: #F4F7F5;
  --mut-dark: #8B958E;
  --mut-light: #69736C;
  --danger: #E25555;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 8px 28px -14px rgba(11, 15, 14, .16);
  --shadow-pop: 0 22px 48px -20px rgba(11, 15, 14, .4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; -webkit-tap-highlight-color: transparent; }
label { -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }
fieldset { border: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Titres : l'ADN athlétique (l'italique reste réservé aux titres) ── */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .92;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--green); }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 32px);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(246, 247, 246, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--off-white);
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  text-transform: uppercase; font-size: 18px;
  transition: color .35s var(--ease);
}
.site-header.is-solid .brand { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.header-state {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(244, 247, 245, .82);
  transition: color .35s var(--ease);
}
.site-header.is-solid .header-state { color: var(--mut-light); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 clamp(20px, 5vw, 56px) clamp(24px, 4vh, 48px);
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute; inset: 0;
  background: url("./assets/brussels-football-hero.png?v=2") 52% 30% / cover no-repeat;
  filter: saturate(.85) contrast(1.06);
  animation: heroIn 2.2s var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.07); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,14,.5) 0%, rgba(11,15,14,.1) 34%, rgba(11,15,14,.6) 66%, rgba(11,15,14,.94) 100%);
}
.hero-title {
  position: relative;
  font-size: clamp(48px, 11.8vw, 132px);
  color: var(--off-white);
  animation: rise .9s .2s var(--ease) both;
}
.hero-bottom {
  position: relative;
  display: flex; flex-direction: column;
}
.hero-copy {
  margin: 18px 0 22px;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
  color: rgba(244, 247, 245, .9);
  animation: rise .8s .45s var(--ease) both;
}
.hero .primary-button { animation: rise .8s .55s var(--ease) both; align-self: stretch; }
.hero-note {
  margin-top: 13px;
  text-align: center;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(244, 247, 245, .55);
  animation: rise .8s .65s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-foot {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: clamp(18px, 3.5vh, 32px);
  padding-top: 16px;
  border-top: 1px solid rgba(244, 247, 245, .14);
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .05em; font-size: 12.5px;
  color: rgba(244, 247, 245, .55);
  animation: rise .8s .75s var(--ease) both;
}
.hero-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
@media (min-width: 700px) {
  .hero .primary-button { align-self: flex-start; }
  .hero-note { text-align: left; }
  .hero-foot { justify-content: flex-start; }
}

/* ── Boutons : chauds, lisibles, sans italique ── */
.primary-button, .next-button, .submit-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green);
  color: #04281D;
  font-family: var(--font-body); font-weight: 700; font-size: 16.5px;
  letter-spacing: -.01em;
  border-radius: 999px;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 14px 30px -12px rgba(16, 185, 129, .55);
}
.primary-button:active, .next-button:active, .submit-button:active { transform: scale(.98); }
.primary-button svg, .next-button svg, .submit-button svg { width: 19px; height: 19px; transition: transform .3s var(--ease); }
.primary-button { padding: 18px 34px; font-size: 17px; }

@media (hover: hover) {
  .primary-button:hover, .next-button:hover, .submit-button:hover { background: var(--green-hot); transform: translateY(-2px); }
  .primary-button:hover svg, .next-button:hover svg, .submit-button:hover svg { transform: translateX(4px); }
}

/* ═══════════ SECTION FUNNEL ═══════════ */
.signal {
  position: relative;
  min-height: 100svh;
  padding: clamp(20px, 4vh, 44px) clamp(16px, 4.5vw, 32px) clamp(32px, 6vh, 64px);
  max-width: 560px;
  margin: 0 auto;
  display: flex; flex-direction: column;
}

/* ── Progress : juste la barre + le compteur ── */
.progress-panel { margin-bottom: clamp(18px, 3vh, 30px); }
.progress-copy {
  display: flex; justify-content: flex-end;
  margin-bottom: 8px;
}
.progress-copy strong {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 13px; letter-spacing: .06em;
  color: var(--mut-light);
  font-variant-numeric: tabular-nums;
}
.progress-steps { display: flex; gap: 6px; }
.progress-steps span {
  flex: 1; height: 4px; border-radius: 999px;
  background: var(--line-light);
  transition: background .4s var(--ease);
}
.progress-steps span.is-complete { background: var(--green); }
.progress-steps span.is-current { background: var(--ink); }

/* ── Steps ── */
.step { display: none; }
.step.is-active {
  display: flex; flex-direction: column;
  flex: 1;
  animation: stepIn .5s var(--ease) both;
}
@keyframes stepIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.step-heading { margin-bottom: clamp(18px, 3vh, 28px); }
.step-kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.step-heading h2 { font-size: clamp(32px, 8.5vw, 44px); }
.step-heading > p:not(.step-kicker) {
  margin-top: 10px;
  font-size: 15px; color: var(--mut-light); font-weight: 500;
}

.form-error {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--danger);
}

.step-actions {
  display: flex; gap: 12px; align-items: center;
  margin-top: auto;
  padding-top: clamp(14px, 2.5vh, 22px);
}
.next-button { flex: 1; padding: 17px 26px; }
.back-button {
  flex: 0 0 auto;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  border: 1.5px solid var(--line-light);
  color: var(--ink);
  transition: border-color .3s var(--ease);
}
.back-button svg { width: 20px; height: 20px; }
@media (hover: hover) { .back-button:hover { border-color: var(--ink); } }

/* ═══════════ ÉTAPE 1 · ZONES (blanches → noires au choix) ═══════════ */
.zone-grid { display: grid; gap: 12px; }
.zone { position: relative; display: block; }
.zone input { position: absolute; opacity: 0; pointer-events: none; }
.zone-card {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: hover) { .zone-card:hover { border-color: var(--ink); } }
.zone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.zone-index {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: 15px; letter-spacing: .04em;
  color: var(--green-deep);
  transition: color .35s var(--ease);
}
.zone-card strong {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  text-transform: uppercase; font-size: clamp(24px, 6vw, 30px);
  line-height: 1;
}
.zone-card small { font-size: 13px; color: var(--mut-light); font-weight: 500; transition: color .35s var(--ease); }
.zone-check {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line-light);
  color: transparent;
  transition: all .3s var(--ease);
}
.zone-check svg { width: 16px; height: 16px; }
.zone input:checked + .zone-card {
  background: var(--card-dark);
  color: var(--off-white);
  border-color: var(--card-dark);
  box-shadow: var(--shadow-pop);
}
.zone input:checked + .zone-card .zone-index { color: var(--green-hot); }
.zone input:checked + .zone-card small { color: var(--mut-dark); }
.zone input:checked + .zone-card .zone-check { background: var(--green); border-color: var(--green); color: #04281D; }
.zone input:focus-visible + .zone-card { outline: 2px solid var(--green); outline-offset: 3px; }

.anywhere-option {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1.5px dashed var(--line-light);
  cursor: pointer;
  font-size: 14.5px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.anywhere-option input { position: absolute; opacity: 0; pointer-events: none; }
.anywhere-box {
  width: 24px; height: 24px; border-radius: 8px;
  border: 1.5px solid var(--line-light);
  display: grid; place-items: center;
  color: transparent;
  transition: all .3s var(--ease);
  flex-shrink: 0;
  background: var(--white);
}
.anywhere-box svg { width: 14px; height: 14px; }
.anywhere-option:has(input:checked) { border-color: var(--green); background: var(--green-dim); border-style: solid; }
.anywhere-option:has(input:checked) .anywhere-box { background: var(--green); border-color: var(--green); color: #04281D; }
.anywhere-option strong { font-weight: 700; }

/* ═══════════ ÉTAPE 2 · DISPONIBILITÉS ═══════════ */
.availability-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--paper-soft);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 20px;
}
.availability-tab {
  position: relative;
  padding: 12px 10px;
  border-radius: 999px;
  font-weight: 700; font-size: 14.5px;
  color: var(--mut-light);
  transition: color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.availability-tab.is-active {
  background: var(--ink); color: var(--off-white);
  box-shadow: 0 8px 20px -10px rgba(11, 15, 14, .5);
}
.availability-tab.has-selection::after {
  content: "";
  position: absolute; top: 9px; right: 14px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
}

.availability-pane { display: none; }
.availability-pane.is-active { display: block; animation: stepIn .4s var(--ease) both; }

.pane-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mut-light);
  margin: 18px 0 10px;
}
.pane-label:first-child { margin-top: 0; }

/* moments du week-end */
.moment { margin-top: 16px; }
.moment-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mut-light);
  margin-bottom: 8px;
}
.moment-label svg { width: 15px; height: 15px; color: var(--green-deep); }

/* chips (jours + heures) : blanches → vert plein */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; flex: 1; min-width: 52px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: grid; place-items: center;
  height: 50px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line-light);
  font-weight: 700; font-size: 15px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
@media (hover: hover) { .chip span:hover { border-color: var(--ink); } }
.chip input:checked + span {
  background: var(--green); border-color: var(--green); color: #04281D;
  box-shadow: 0 8px 20px -8px rgba(16, 185, 129, .55);
}
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.chip.wide span { font-size: 14.5px; }
.chip-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.chip-grid .chip { min-width: 0; }
.chip.tall span {
  height: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.chip.tall strong { font-weight: 700; font-size: 14.5px; }
.chip.tall small { font-size: 11.5px; font-weight: 600; color: var(--mut-light); transition: color .22s var(--ease); }
.chip.tall input:checked + span small { color: rgba(4, 40, 29, .65); }

/* ═══════════ ÉTAPES 3–4 · CARTES (blanches → noires) ═══════════ */
.pick-options { display: grid; gap: 12px; }
.pick { position: relative; display: block; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line-light);
  border-radius: var(--r-md);
  padding: 17px 18px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
@media (hover: hover) { .pick-card:hover { border-color: var(--ink); } }
.pick-icon {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--paper-soft);
  color: var(--mut-light);
  transition: all .3s var(--ease);
  flex-shrink: 0;
}
.pick-icon svg { width: 20px; height: 20px; }
.pick-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pick-text strong { font-weight: 700; font-size: 16px; }
.pick-text small { font-size: 13px; color: var(--mut-light); font-weight: 500; transition: color .3s var(--ease); }
.pick-check {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line-light);
  display: grid; place-items: center;
  color: transparent;
  transition: all .3s var(--ease);
  flex-shrink: 0;
}
.pick-check svg { width: 15px; height: 15px; }
.pick input:checked + .pick-card {
  background: var(--card-dark);
  color: var(--off-white);
  border-color: var(--card-dark);
  box-shadow: var(--shadow-pop);
}
.pick input:checked + .pick-card .pick-icon { background: var(--green-dim); color: var(--green-hot); }
.pick input:checked + .pick-card .pick-text small { color: var(--mut-dark); }
.pick input:checked + .pick-card .pick-check { background: var(--green); border-color: var(--green); color: #04281D; }
.pick input:focus-visible + .pick-card { outline: 2px solid var(--green); outline-offset: 3px; }

/* niveau : jauge */
.pick-level {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--paper-soft);
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  padding: 10px 0;
  flex-shrink: 0;
  transition: background .3s var(--ease);
}
.pick-level b { width: 5px; border-radius: 2px; background: var(--mut-light); transition: background .3s var(--ease); }
.pick-level b:nth-child(1) { height: 8px; }
.pick-level b:nth-child(2) { height: 14px; }
.pick-level b:nth-child(3) { height: 20px; }
.pick input:checked + .pick-card .pick-level { background: var(--green-dim); }
.pick input:checked + .pick-card .pick-level b { background: var(--green-hot); }

/* ═══════════ ÉTAPE 5 · CONTACT (carte claire, désirable) ═══════════ */
.identity-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: clamp(22px, 5vw, 30px);
  box-shadow: 0 18px 50px -22px rgba(11, 15, 14, .22);
}
.identity-fields { display: grid; gap: 14px; }
.field { display: block; }
.field-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mut-light);
  margin-bottom: 7px;
}
.field > input, .phone-field {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid transparent;
  border-radius: 14px;
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field > input { padding: 16px; font-size: 16px; font-weight: 600; }
.field input::placeholder { color: #B4BCB6; font-weight: 500; }
.field > input:focus, .phone-field:focus-within {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--green-dim);
}
.phone-field { display: flex; align-items: center; }
.phone-field .prefix {
  width: 58px; flex: 0 0 auto;
  background: none; border: 0; outline: none;
  padding: 16px 0 16px 16px;
  font-weight: 700; font-size: 16px;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}
.phone-field input {
  flex: 1; background: none; border: 0; outline: none;
  padding: 16px 16px 16px 8px; font-size: 16px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 0;
}
.phone-field input::placeholder { color: #B4BCB6; font-weight: 500; }

.consent {
  position: relative;
  display: flex; align-items: flex-start; gap: 11px;
  margin: 18px 0;
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent-box {
  width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid var(--line-light);
  background: var(--white);
  display: grid; place-items: center;
  color: transparent;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all .25s var(--ease);
}
.consent-box svg { width: 13px; height: 13px; }
.consent:has(input:checked) .consent-box { background: var(--green); border-color: var(--green); color: #04281D; }
.consent:has(input:focus-visible) .consent-box { outline: 2px solid var(--green); outline-offset: 2px; }
.consent-text { font-size: 13px; color: var(--mut-light); line-height: 1.5; }

.submit-button { width: 100%; padding: 18px 26px; font-size: 17px; font-weight: 700; }
.contact-promise {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--mut-light);
}
.contact-promise svg { width: 13px; height: 13px; color: var(--green-deep); }
.identity-card .form-error { text-align: center; margin-bottom: -6px; }
.identity-actions { padding-top: 14px; }

/* ═══════════ SUCCÈS (l'écran sombre reste : le moment de fête) ═══════════ */
.success { display: none; }
.success.is-active {
  display: block;
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  overflow-y: auto;
}
.success-intro {
  position: fixed; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--off-white);
  transition: opacity .6s var(--ease), visibility .6s;
}
.success.is-settled .success-intro { opacity: 0; visibility: hidden; pointer-events: none; }
.success-mark { margin-bottom: 22px; animation: markPop .7s var(--ease) both; }
.success-mark img { width: 64px; height: 64px; border-radius: 16px; }
@keyframes markPop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } to { transform: scale(1); opacity: 1; } }
.success-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-hot);
  margin-bottom: 14px;
  animation: rise .7s .2s var(--ease) both;
}
.success-intro h2 {
  font-size: clamp(44px, 12vw, 84px);
  color: var(--off-white);
  animation: rise .7s .32s var(--ease) both;
}
.celebration-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.celebration-lines span {
  position: absolute; top: -12%;
  width: 2px; height: 26%;
  background: linear-gradient(180deg, transparent, var(--green));
  opacity: 0;
  animation: fall 1.3s var(--ease) both;
}
.celebration-lines span:nth-child(1) { left: 8%; animation-delay: .1s; }
.celebration-lines span:nth-child(2) { left: 22%; animation-delay: .35s; }
.celebration-lines span:nth-child(3) { left: 34%; animation-delay: .2s; }
.celebration-lines span:nth-child(4) { left: 47%; animation-delay: .5s; }
.celebration-lines span:nth-child(5) { left: 58%; animation-delay: .15s; }
.celebration-lines span:nth-child(6) { left: 71%; animation-delay: .4s; }
.celebration-lines span:nth-child(7) { left: 83%; animation-delay: .28s; }
.celebration-lines span:nth-child(8) { left: 93%; animation-delay: .55s; }
@keyframes fall { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: .9; } 100% { transform: translateY(520%); opacity: 0; } }

.network-dashboard {
  position: relative; z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(24px, 5vh, 48px) clamp(18px, 4.5vw, 32px) 56px;
  color: var(--off-white);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s .15s var(--ease), transform .7s .15s var(--ease);
}
.success.is-settled .network-dashboard { opacity: 1; transform: none; }
.success-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  text-transform: uppercase; font-size: 15px;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.success-brand img { width: 28px; height: 28px; border-radius: 8px; }
.success-confirmed {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-hot);
  background: var(--green-dim);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 16px;
}
.success-confirmed svg { width: 14px; height: 14px; }
.success-main h2 { font-size: clamp(36px, 9.5vw, 54px); color: var(--off-white); }
.success-next {
  margin: 14px 0 26px;
  font-size: 15px; color: var(--mut-dark); font-weight: 500;
}
.launch-status {
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 14px;
}
.launch-copy { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.launch-copy strong {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  text-transform: uppercase; font-size: 18px;
}
.launch-copy strong span { color: var(--green-hot); }
.launch-copy > span { font-size: 12.5px; font-weight: 600; color: var(--mut-dark); }
.launch-phase {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-top: 14px; border-top: 1px solid var(--line-dark); margin-bottom: 10px;
  color: var(--mut-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.launch-phase strong {
  color: var(--off-white); font-family: var(--font-display); font-size: 18px; font-style: italic; letter-spacing: 0;
}
.network-progress {
  position: relative;
  height: 8px; border-radius: 999px;
  background: var(--card-dark-2);
  margin-bottom: 14px;
}
.network-progress span {
  display: block; height: 100%; width: 0;
  min-width: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--green-hot));
  transition: width 1.2s var(--ease);
}
.network-progress i {
  position: absolute; top: 50%; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green-hot);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .18);
  transition: left 1.2s var(--ease);
}
.launch-explain { font-size: 13px; color: var(--off-white); line-height: 1.5; margin-bottom: 7px; }
.invite-reason {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 4px 12px;
}
.invite-reason strong {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; font-size: 17px;
}
.invite-reason span { font-size: 13.5px; color: var(--mut-dark); }
.invite-cta {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--green);
  color: #04281D;
  border-radius: var(--r-md);
  padding: 16px 20px;
  transition: transform .3s var(--ease), background .3s var(--ease);
  box-shadow: 0 14px 34px -12px rgba(16, 185, 129, .5);
}
@media (hover: hover) { .invite-cta:hover { background: var(--green-hot); transform: translateY(-2px); } }
.invite-cta span { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; }
.invite-cta strong { font-weight: 700; font-size: 16px; }
.invite-cta small { font-size: 12.5px; font-weight: 600; opacity: .8; }
.invite-cta img { width: 30px; height: 30px; filter: brightness(0); opacity: .8; }
.share-confirmation { min-height: 18px; margin-top: 10px; font-size: 13px; color: var(--green-hot); text-align: center; }
.future-stats {
  display: flex; align-items: center; gap: 9px;
  margin-top: 16px;
  font-size: 12.5px; color: var(--mut-dark);
}
.future-stats svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* ═══════════ RESPONSIVE / DIVERS ═══════════ */
@media (min-width: 700px) {
  .zone-grid { grid-template-columns: repeat(3, 1fr); }
  .zone-card { padding: 22px; min-height: 158px; }
  .zone-top { margin-bottom: auto; padding-bottom: 14px; }
}
@media (max-height: 700px) {
  .step-heading h2 { font-size: clamp(26px, 7vw, 34px); }
  .pick-card { padding: 13px 15px; }
  .chip span { height: 46px; }
  .step-heading { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* numéro WhatsApp en vert (le canal est vert, le numéro aussi) */
.field input[name="phone"] { color: var(--green-deep); font-weight: 700; }

/* contact discret, après conversion seulement */
.contact-link {
  display: block;
  margin-top: 22px;
  text-align: center;
  font-size: 13px; font-weight: 600;
  color: var(--mut-dark);
  text-decoration: none;
}
.contact-link b { color: var(--green-hot); font-weight: 700; }

/* ═══════════ ARABE (RTL) ═══════════ */
html[dir="rtl"] body { font-family: "Cairo", "DM Sans", system-ui, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2,
html[dir="rtl"] .step-kicker, html[dir="rtl"] .hero-foot,
html[dir="rtl"] .launch-copy strong, html[dir="rtl"] .launch-phase strong,
html[dir="rtl"] .invite-reason strong, html[dir="rtl"] .success-brand, html[dir="rtl"] .brand {
  font-family: "Cairo", system-ui, sans-serif;
  font-style: normal;
  letter-spacing: 0;
}
html[dir="rtl"] h1, html[dir="rtl"] h2 { line-height: 1.15; font-weight: 900; }
html[dir="rtl"] h1 em, html[dir="rtl"] h2 em { font-style: normal; }
html[dir="rtl"] .hero-title { font-size: clamp(42px, 10.5vw, 110px); }
html[dir="rtl"] .progress-copy strong { font-style: normal; }
/* les flèches suivent le sens de lecture */
html[dir="rtl"] .primary-button svg, html[dir="rtl"] .next-button svg,
html[dir="rtl"] .submit-button svg, html[dir="rtl"] .back-button svg { transform: scaleX(-1); }
@media (hover: hover) {
  html[dir="rtl"] .primary-button:hover svg, html[dir="rtl"] .next-button:hover svg,
  html[dir="rtl"] .submit-button:hover svg { transform: scaleX(-1) translateX(4px); }
}
/* champs techniques toujours LTR, alignés côté lecture */
html[dir="rtl"] input[name="phone"], html[dir="rtl"] input[name="email"] { text-align: right; }

/* ═══════════ TÉLÉPHONE BICOLORE (le +XX toujours vert, via un miroir sous le texte) ═══════════ */
.phone-wrap {
  position: relative; display: block;
  background: var(--paper);
  border: 1.5px solid transparent;
  border-radius: 14px;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.phone-wrap:focus-within {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--green-dim);
}
.field .phone-wrap input[name="phone"] {
  position: relative; z-index: 1;
  width: 100%; background: transparent; border: 0; outline: none; box-shadow: none;
  padding: 16px; font-size: 16px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: transparent;            /* le texte réel est invisible… */
  -webkit-text-fill-color: transparent; /* Safari/iOS autofill */
  caret-color: var(--ink);       /* …mais le curseur reste visible */
}
.field .phone-wrap input[name="phone"]:-webkit-autofill,
.field .phone-wrap input[name="phone"]:-webkit-autofill:hover,
.field .phone-wrap input[name="phone"]:-webkit-autofill:focus {
  -webkit-text-fill-color: transparent !important;
  transition: background-color 9999s ease-out 0s;
}
.phone-mirror {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center;
  padding: 16px;
  font-size: 16px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: pre; overflow: hidden;
  color: var(--ink);             /* …et c'est le miroir qui l'affiche */
  pointer-events: none;
  direction: ltr;
}
.phone-mirror b { color: var(--green-deep); font-weight: inherit; }
html[dir="rtl"] .phone-mirror { justify-content: flex-end; }
