/* Design tokens repris du deck VSL (jaune #FFCC00, noir #0A0A0A, Inter Tight, Instrument Serif) */
:root {
  --yellow: #ea580c; /* SniperScale terracotta (ex-jaune positionnement) */
  --black: #0A0A0A;
  --ink: rgba(10, 10, 10, 0.88);
  --ink-soft: rgba(10, 10, 10, 0.62);
  --ink-faint: rgba(10, 10, 10, 0.35);
  --line: rgba(10, 10, 10, 0.12);
  --green: #1FAE6F;
  --red: #D63232;
  --bg: #FAFAF7;
  --card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 10, 10, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font-sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

* { box-sizing: border-box; min-width: 0; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  transition: max-width 0.3s ease;
}

/* Sur la page de remerciement, on élargit le shell pour laisser respirer les grilles de témoignages */
body:has(.step[data-step="done"]:not([hidden])) .shell {
  max-width: 1180px;
}

/* Et on cache la topbar + progress bar (= une fois sur la TY page, le funnel est terminé,
   la jauge "Terminé" n'apporte plus rien et pollue le visuel) */
body:has(.step[data-step="done"]:not([hidden])) .topbar,
body:has(.step[data-step="done"]:not([hidden])) .progress {
  display: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
@media (max-width: 600px) {
  .topbar { margin-bottom: 10px; }
}

.brand {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--black);
}
@media (max-width: 480px) {
  .brand { font-size: 12px; letter-spacing: 0.06em; }
}

/* La classe .step-indicator est partagee avec la TY page (cf. ligne ~831) qui a un padding genereux
   pour son badge + dots. Sur le topbar, on n'a qu'un span texte simple, on resserre le padding. */
.topbar .step-indicator {
  padding: 6px 12px;
  gap: 0;
  margin: 0;
}
@media (max-width: 480px) {
  .topbar .step-indicator { padding: 5px 10px; font-size: 11px; }
}

.step-indicator {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.progress {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}
@media (max-width: 600px) {
  .progress { margin-bottom: 20px; }
}

.progress__bar {
  height: 100%;
  background: var(--yellow);
  transition: width 0.35s ease;
}

/* ============== STEPS ============== */
.step {
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
}

.title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 520px;
}

.tz-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: -16px 0 22px;
  opacity: 0.8;
}

/* ============== FORMS ============== */
.form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; border: none; padding: 0; margin: 0; }

.field__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field__hint {
  font-size: 13px;
  color: var(--ink-faint);
}

.input, .select, .textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.22);
}

.textarea { resize: vertical; min-height: 96px; }

.phone-row { display: flex; gap: 10px; }
.phone-row .select { flex: 0 0 110px; }
.phone-row .input { flex: 1; }

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.radio-group--col2 { grid-template-columns: repeat(2, 1fr); }

.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
  font-size: 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.radio:hover { border-color: rgba(10, 10, 10, 0.3); }
.radio input { accent-color: var(--yellow); margin: 0; }
.radio:has(input:checked) {
  border-color: var(--black);
  background: rgba(234, 88, 12, 0.08);
  font-weight: 600;
}

@media (max-width: 480px) {
  .radio-group, .radio-group--col2 { grid-template-columns: 1fr; }
}

/* ============== CHECKBOXES (multi-select) ============== */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.checkbox:hover { border-color: rgba(10, 10, 10, 0.3); }
.checkbox input { accent-color: var(--yellow); margin: 0; flex-shrink: 0; margin-top: 2px; }
.checkbox:has(input:checked) {
  border-color: var(--black);
  background: rgba(234, 88, 12, 0.08);
}
.checkbox strong { font-weight: 700; }

/* ============== QUALIFY FLOW (1 question à la fois) ============== */
.qualify-flow {
  display: flex;
  flex-direction: column;
}

.qsub {
  display: flex;
  flex-direction: column;
  animation: qsubIn 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* CRITIQUE : l'attribut hidden HTML est override par display: flex, on force ici */
.qsub[hidden] { display: none !important; }

@keyframes qsubIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.qsub__counter {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 12px;
}

.qsub__question {
  font-family: var(--font-sans);
  font-size: clamp(26px, 4.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin: 0 0 8px;
  color: var(--ink);
}

.qsub__question em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* Variante "énoncé" (= question longue de plusieurs phrases, ex. Q9 disposition à investir) :
   un paragraphe en 26-36px bold fait un mur de texte et écrase l'écran. On le rend lisible
   comme un énoncé : plus petit, moins gras, interligne aéré. Boutons compacts assortis. */
.qsub--statement .qsub__question {
  font-size: clamp(18px, 3.2vw, 23px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.qsub--statement .radio {
  padding: 12px 14px;
  font-size: 14.5px;
}

.qsub__hint {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.qsub__field {
  margin: 20px 0 24px;
}

/* Quand un hint précède le field, on serre l'espacement (sinon double margin = trop d'écart) */
.qsub__hint + .qsub__field { margin-top: 4px; }

.qsub__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

/* Bouton "Suivant" : terracotta, texte blanc, cohérent avec le CTA .cta--yellow du début */
.qsub__actions [data-next], .qsub__actions [data-final] {
  appearance: none;
  background: var(--yellow);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.18s ease, background 0.15s ease;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.4);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qsub__actions [data-next]:hover, .qsub__actions [data-final]:hover {
  background: #c2410c;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.5);
  transform: translateY(-1px);
}

.qsub__actions [data-next]:active, .qsub__actions [data-final]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

.qsub__actions [data-final] {
  background: var(--black);
  color: #fff;
  box-shadow: 0 2px 10px rgba(10, 10, 10, 0.18);
  padding: 16px 30px;
  font-size: 16px;
}
.qsub__actions [data-final]:hover {
  background: #1a1a1a;
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.25);
}

.qsub__back {
  background: none;
  border: none;
  color: var(--ink-faint);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 4px;
  cursor: pointer;
  transition: color 0.15s ease;
  margin-right: auto; /* pousse le "Suivant" à droite */
}

.qsub__back:hover { color: var(--ink); }

.qsub__err {
  margin: 12px 0 0;
}

.qsub--commitment {
  background: rgba(234, 88, 12, 0.10);
  padding: 24px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(234, 88, 12, 0.6);
  margin: 0 -4px;
}

.input--big, .textarea--big {
  font-size: 18px;
  padding: 18px 20px;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .name-row { grid-template-columns: 1fr; }
  .qsub__question { font-size: 24px; }
  .qsub__actions { flex-direction: column-reverse; }
  .qsub__actions .qsub__back { width: 100%; }
}

/* ============== CTA ============== */
.cta {
  width: 100%;
  padding: 16px 24px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
  margin-top: 8px;
}

.cta:hover { background: #1a1a1a; }
.cta:active { transform: translateY(1px); }
.cta:disabled { opacity: 0.5; cursor: not-allowed; }

.cta--accent {
  background: var(--yellow);
  color: #fff;
}
.cta--accent:hover { background: #c2410c; }

/* Bouton terracotta cohérent avec les "Suivant" des questions (= progression) */
.cta--yellow {
  background: var(--yellow);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.4);
  font-weight: 700;
}
.cta--yellow:hover {
  background: #c2410c;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.5);
}

.cta--whatsapp {
  display: inline-block;
  text-decoration: none;
  background: #25D366;
  color: #fff;
  margin: 24px 0 12px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.cta--whatsapp:hover { background: #1ebe5d; }

.warn {
  color: #B36800;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 24px;
}

.link {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  align-self: center;
  padding: 8px;
  margin-top: 4px;
}
.link:hover { color: var(--ink); }

.error {
  color: var(--red);
  font-size: 14px;
  margin: 4px 0 0;
}

/* ============== OTP cells ============== */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 8px 0 24px;
}

.otp-cell {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}

.otp-cell:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.35);
}

@media (max-width: 480px) {
  .otp-cell { width: 44px; height: 54px; font-size: 22px; }
  .otp-inputs { gap: 6px; }
}

.dev-banner {
  margin-top: 32px;
  padding: 14px 16px;
  background: #FFF8DB;
  border: 1px dashed #E5C200;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink);
}

.dev-banner strong {
  display: inline-block;
  background: var(--yellow);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-right: 8px;
}

.dev-code {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.12em;
  background: var(--card);
  padding: 2px 8px;
  border-radius: 4px;
}

.dev-banner small {
  display: block;
  color: var(--ink-faint);
  font-size: 12px;
  margin-top: 6px;
}

/* ============== SLOTS ============== */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--ink-faint);
  padding: 40px 0;
  font-size: 15px;
}

/* Override du hidden HTML attribute, sinon display:flex le maintient visible
   alors que JS set slotsLoading.hidden = true a la fin du chargement. */
.loading[hidden] { display: none; }

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: loading-spin 0.8s linear infinite;
}

.loading-text {
  animation: loading-pulse 1.4s ease-in-out infinite;
}

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

@keyframes loading-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .loading-spinner { animation-duration: 2.4s; }
  .loading-text    { animation: none; }
}

/* Spinner inline a placer DANS un bouton CTA pendant un loading state.
   Utilise les memes keyframes que .loading-spinner mais en plus petit + centre vertical sur la ligne. */
.spinner-inline {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  border-top-color: currentColor;
  border-radius: 50%;
  vertical-align: -2px;
  margin-right: 8px;
  animation: loading-spin 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .spinner-inline { animation-duration: 2s; }
}

.days-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.day-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
}

.day-card__head {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: capitalize;
}

.day-card__slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 480px) {
  .day-card__slots { grid-template-columns: repeat(2, 1fr); }
}

.slot-btn {
  padding: 12px 8px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.slot-btn:hover:not(:disabled):not(.slot-btn--selected) {
  border-color: var(--black);
  background: rgba(234, 88, 12, 0.12);
}

.slot-btn:disabled {
  background: rgba(10, 10, 10, 0.04);
  color: var(--ink-faint);
  cursor: not-allowed;
  text-decoration: line-through;
  border-style: dashed;
}

.slot-btn--selected {
  background: var(--yellow);
  border-color: var(--black);
  color: var(--black);
}

/* Bottom bar FIXED (= toujours visible dès qu'un slot est sélectionné, pas besoin de scroller).
   Slide-up animation à l'apparition, contenu centré. */
.slot-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--card);
  border-top: 1.5px solid var(--line);
  padding: 16px 24px 20px;
  box-shadow: 0 -8px 28px rgba(10, 10, 10, 0.10);
  z-index: 50;
  animation: slotActionsSlide 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.slot-actions__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.slot-actions__recap {
  flex: 1;
  min-width: 0;
}

.slot-actions__inner .cta {
  width: auto;
  margin: 0;
  padding: 14px 24px;
  flex-shrink: 0;
}

@keyframes slotActionsSlide {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Padding bottom de la page pour pas que le contenu soit caché derrière la bar fixed */
.step[data-step="slot"]:not([hidden]) ~ * { padding-bottom: 140px; }
body:has(.step[data-step="slot"]:not([hidden])) .shell { padding-bottom: 140px; }

@media (max-width: 600px) {
  .slot-actions { padding: 12px 16px 16px; }
  .slot-actions__inner { gap: 10px; }
  .slot-actions__inner .cta { width: 100%; padding: 13px 18px; }
}

.slot-recap__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 4px;
}

.slot-recap {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  background: rgba(234, 88, 12, 0.25);
  padding: 6px 12px;
  border-radius: 8px;
  margin: 0;
  text-transform: capitalize;
}

@media (max-width: 600px) {
  .slot-recap { font-size: 15px; padding: 5px 10px; }
  .slot-recap__label { font-size: 10px; margin-bottom: 2px; }
}

/* ============== DONE ============== */
.done-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.check {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.done-list {
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  text-align: left;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.done-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.done-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}
.done-list strong { color: var(--ink); font-weight: 700; }

/* ============== DONE PAGE EXTENDED (vidéo prep + témoignages) ============== */
/* Sur le step done, on retire le max-width du shell pour laisser plus de respiration aux grilles */
.step--done {
  /* shell max-width: 640px, on override pour donner plus d'air */
  margin: 0 -8px;
}

.done-hero {
  text-align: center;
  padding: 32px 24px 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 0 auto 40px;
  max-width: 720px;
}

.done-hero .cta--whatsapp {
  max-width: 460px;
  margin: 24px auto 12px;
  width: 100%;
}

/* ============== HERO DONE STYLE LIVE (= identique à la TY page de prod) ============== */
.merci-hero {
  text-align: center;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 32px) clamp(24px, 3.5vw, 44px);
  margin: 0 auto 40px;
  max-width: 880px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ============== Step indicator (badge ÉTAPE 1/2 + progress bar) ============== */
.step-indicator {
  /* display:flex + width max-content + margin auto = element bloc qui prend
     uniquement la largeur de son contenu et se centre. Indispensable pour
     forcer l icone check (inline-flex juste en dessous) sur sa propre ligne. */
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 14px;
  margin: 0 auto 22px;
  padding: 8px 14px 8px 8px;
  background: rgba(234, 88, 12, 0.16);
  border: 1.5px solid var(--yellow);
  border-radius: 999px;
}

.step-indicator__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.step-indicator__progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.step-indicator__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
}

.step-indicator__dot--active {
  background: var(--black);
}

.step-indicator__line {
  width: 28px;
  height: 2px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 2px;
}

@media (max-width: 540px) {
  .step-indicator { gap: 10px; padding: 6px 12px 6px 6px; }
  .step-indicator__badge { font-size: 12px; padding: 5px 11px; }
  .step-indicator__dot { width: 8px; height: 8px; }
  .step-indicator__line { width: 22px; }
}

/* ============== Bandeau "↓ Étape 2" en bas du merci-hero ============== */
.next-step-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px auto 0;
  padding: 14px 22px;
  max-width: 560px;
  background: rgba(234, 88, 12, 0.18);
  border: 1.5px solid var(--yellow);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.next-step-banner:hover {
  background: rgba(234, 88, 12, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.28);
}

.next-step-banner__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  flex-shrink: 0;
  animation: bounce-down 1.8s ease-in-out infinite;
}

.next-step-banner__text strong {
  font-weight: 700;
  color: var(--ink);
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .next-step-banner__arrow { animation: none; }
}

@media (max-width: 540px) {
  .next-step-banner { gap: 10px; padding: 12px 16px; font-size: 14px; }
  .next-step-banner__arrow { width: 32px; height: 32px; }
}

/* Scroll smooth pour le bandeau "Étape 2 ↓" */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.merci-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #4CAF50;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.28);
}
.merci-check svg { width: 36px; height: 36px; }

.merci-hero--action .merci-check {
  width: 56px;
  height: 56px;
}
.merci-hero--action .merci-check svg { width: 30px; height: 30px; }

.merci-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 16px 0 18px;
  text-wrap: balance;
}

/* <mark> = highlight jaune souligné (= identique à la version live) */
.merci-title mark, .merci-title .mark,
.merci-lead mark, .merci-lead .mark {
  background: linear-gradient(180deg, transparent 55%, var(--yellow) 55%);
  color: inherit;
  padding: 0 0.08em;
}
.merci-lead mark { font-weight: 600; }

.merci-lead {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--ink-soft);
  margin: 0 auto 12px;
  max-width: 680px;
  text-wrap: balance;
  line-height: 1.5;
}
.merci-lead strong { color: var(--ink); font-weight: 700; }

.merci-hero__warn {
  margin: 14px 0 0;
  font-size: 13px;
  color: #B57500;
  font-weight: 600;
}

.eyebrow--center { text-align: center; }

/* ============== Bouton CTA WhatsApp style live (rond icône + uppercase) ============== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 480px;
  margin: 24px auto 0;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 24px;
  background: var(--yellow);
  color: var(--black);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease;
  text-align: center;
}
.cta-btn:hover { background: #c2410c; }
.cta-btn:active { transform: translateY(1px); }

.cta-btn--whatsapp {
  background: #25D366;
  color: #fff;
}
.cta-btn--whatsapp:hover { background: #20BA5A; color: #fff; }
.cta-btn--whatsapp:active { background: #1AA049; color: #fff; }

.cta-btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .merci-title { font-size: 26px; }
  .merci-lead { font-size: 15px; }
  .cta-btn { font-size: 14px; padding: 16px 20px; gap: 10px; }
  .cta-btn__arrow { width: 24px; height: 24px; }
  .cta-btn__arrow svg { width: 14px; height: 14px; }
}

.done-block {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 28px;
  margin: 0 auto 32px;
  max-width: 1100px;
  box-shadow: var(--shadow-sm);
}

/* Blocks narrow : vidéo prep + CTA final (= contenu centré, pas de grille à étaler) */
.done-block:has(.prep-video),
.done-block--compact,
.done-cta-final {
  max-width: 800px;
}

/* Block "Ajouter au calendrier" : version compacte, less padding */
.done-block--compact {
  padding: 24px 28px;
}
.done-block__title--sm {
  font-size: clamp(20px, 3.2vw, 26px);
  margin-bottom: 8px;
}

/* Boutons "Ajouter au calendrier" */
.cal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.cal-btn:hover {
  border-color: var(--black);
  background: var(--n-100, #f7f7f7);
  transform: translateY(-1px);
}
.cal-btn:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 2px;
}
.cal-btn__ico {
  font-size: 16px;
  line-height: 1;
}

.done-cta-final .cta--whatsapp {
  max-width: 460px;
  margin: 24px auto 0;
  width: 100%;
}

.done-block__title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin: 8px 0 16px;
  text-align: center;
}

.done-block__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.done-block__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 auto 24px;
  max-width: 560px;
  text-align: center;
}

.eyebrow--center { text-align: center; }

.prep-video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 10, 10, 0.12);
}
.prep-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Témoignages vidéo : grille auto-fit */
.vid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.vid-card {
  margin: 0;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.vid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.08);
}

.vid-card__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}
.vid-card__player iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.vid-card figcaption {
  padding: 14px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vid-card figcaption strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.vid-card figcaption span {
  font-size: 13px;
  color: var(--ink-faint);
}

.vid-card__quote {
  padding: 6px 16px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  position: relative;
  padding-left: 24px;
}
.vid-card__quote::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 22px;
  width: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Témoignages texte */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.quote-card {
  margin: 0;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  position: relative;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.quote-card figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.quote-card figcaption div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.quote-card figcaption strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.quote-card figcaption span {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.3;
}

/* CTA final WhatsApp */
.done-cta-final {
  background: rgba(234, 88, 12, 0.1);
  border: 1.5px solid rgba(234, 88, 12, 0.45);
  text-align: center;
}
.done-cta-final .cta--whatsapp {
  max-width: 460px;
  margin: 24px auto 0;
}

@media (max-width: 600px) {
  .step--done { margin: 0; }
  .done-hero, .done-block { padding: 24px 18px; border-radius: 12px; }
  .done-block { margin-bottom: 20px; }
  .vid-grid, .quote-grid { grid-template-columns: 1fr; gap: 16px; }
}
