/* ────────────────────────────────────────────────────────────────
   Alma Navarro — design system
   Palette "Rose mystique" (choisie parmi 6 variations proposées) :
   blush clair + mauve poudré (accent) + prune profond (CTA, couleur
   rare ailleurs sur la page, réservée à l'action).
──────────────────────────────────────────────────────────────── */

:root {
  --bg: #FDF8F7;
  --bg-card: #FFFFFF;
  --ink: #2B1E24;
  --ink-soft: #7A5560;
  --line: #F0DEE0;
  --accent: #96536E;
  --accent-soft: #F5E3E8;
  --cta: #802D83;
  --cta-hover: #6E2971;
  --error: #B3413A;
  --deep: #2A0E2D;
  --deep-2: #45164A;
  --on-deep: #F6E9EE;
  --on-deep-soft: #C9A0B4;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-quote: 'Lora', Georgia, 'Times New Roman', serif;
  --font-title: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent-soft); color: var(--ink); }

::-webkit-scrollbar { width: 6px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

/* ── Typographie de la page offre (seule page à utiliser h2) ──────
   Inter posé une seule fois au niveau du conteneur : tout ce qui est
   à l'intérieur (listes, value-stack, FAQ, bio...) en hérite, plutôt
   que de corriger chaque sélecteur enfant un par un. Un seul style de
   h2 pour toute la page, aucune variante par section. */

#offer-root {
  font-family: 'Inter', var(--font-body);
}

#offer-root h2 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  margin: 48px 0 16px;
}

#offer-root p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
}

a { color: var(--accent); }

button { font-family: inherit; -webkit-appearance: none; appearance: none; }

/* ── Wrapper commun (quiz + offre) ────────────────────────────── */

.wrapper {
  position: relative;
  z-index: 0;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 96px;
  min-height: 100dvh;
}

.wrapper::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 30%, rgba(255,255,255,0) 75%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ── Progress bar (quiz) ──────────────────────────────────────── */

.progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 28px;
}

.progress-row[hidden] { display: none; }

.back-btn {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: var(--ink-soft);
  cursor: pointer;
}

.back-btn svg { width: 22px; height: 22px; }

.back-btn:hover { color: var(--accent); }
.back-btn[hidden] { display: none; }

.progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ── Steps / transitions (repris du pattern quiz existant) ──────── */

.step { display: none; }
.step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.step.active.fading-out { opacity: 0; transform: translateY(6px); }

/* ── Titres d'étape ───────────────────────────────────────────── */

.step-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 20px;
}

.step-title .glyph { margin-right: 4px; }

.zodiac-icon {
  display: inline-block;
  overflow: visible;
}

.zodiac-icon path { fill: url(#zodiac-grad); }

.sign-btn .zodiac-icon { width: 26px; height: 26px; }
.step-title .zodiac-icon { width: 38px; height: 38px; vertical-align: -5px; }

/* ── Sélecteur de signe (grille de boutons) ──────────────────── */

.sign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sign-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 4px;
  min-height: 88px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.sign-btn:hover { border-color: var(--accent); }
.sign-btn:active { transform: scale(0.97); }

.sign-btn .glyph { line-height: 0; margin-bottom: 6px; }
.sign-btn .name { font-size: 18px; font-weight: 600; margin-bottom: 1px; }
.sign-btn .dates { font-size: 9px; color: var(--ink-soft); text-align: center; opacity: 0.7; }

/* ── Questions à choix (radios stylés en boutons pleine largeur) ─
   Écoute sur `change`, jamais `click` sur le label : cf. quiz.js  */

.choice-list { display: flex; flex-direction: column; gap: 10px; }

.choice-option {
  position: relative;
}

.choice-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice-option label {
  display: block;
  padding: 16px 18px;
  min-height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice-option input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.choice-option label:hover { border-color: var(--accent); }

.choice-option input[type="radio"]:checked + label {
  border-color: var(--cta);
  background: var(--accent-soft);
}

/* ── Texte de corps des écrans reveal/pause (style commun) ──────── */

.reveal-text {
  font-family: 'Inter', var(--font-body);
  font-size: 15px;
  color: #655D77;
  line-height: 1.6;
}

/* ── Traits (pastilles sobres, sans icône ni couleur pleine) ──── */

.traits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.trait-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
}

/* ── Score ────────────────────────────────────────────────────── */

.score-value {
  font-family: var(--font-title);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin: 12px 0 28px;
}

.score-insight-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* ── Récap avant calcul ───────────────────────────────────────── */

.recap-table {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin: 4px 0 20px;
}

.recap-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.recap-row:last-child { border-bottom: none; }

.recap-key { font-size: 13px; color: var(--ink-soft); }
.recap-value { font-size: 13px; font-weight: 600; text-align: right; }

/* ── Écran de calcul ──────────────────────────────────────────── */

.calc-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 8px auto 28px;
}

.calc-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.calc-ring-bg { fill: none; stroke: var(--line); stroke-width: 4; }

.calc-ring-fill {
  fill: none;
  stroke: url(#zodiac-grad);
  stroke-width: 4;
  stroke-linecap: round;
}

.calc-ring-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.calc-phrases {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 24px;
}

.calc-phrase {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', var(--font-body);
  font-size: 14.5px;
  color: var(--ink-soft);
  text-align: left;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-bottom: 10px;
}

.calc-phrase.visible { opacity: 1; transform: translateY(0); }

.calc-check {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--cta);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease 0.15s, transform 0.25s ease 0.15s;
}

.calc-phrase.visible .calc-check { opacity: 1; transform: scale(1); }

/* ── CTA principal ────────────────────────────────────────────── */

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 78%;
  margin: 24px auto 0;
  min-height: 56px;
  padding: 12px 24px;
  background: var(--cta);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease;
}

/* Même taille que le CTA sticky (.sticky-cta .cta-btn, 17px). */
#offer-root .cta-btn {
  width: 100%;
  max-width: 440px;
  font-size: 17px;
  line-height: 1.3;
}

.cta-arrow { flex: none; width: 18px; height: 18px; margin-left: 6px; transition: transform 0.15s ease; }
.cta-btn:hover .cta-arrow { transform: translateX(4px); }
.cta-label { margin-top: -4px; }

.cta-btn:hover { background: var(--cta-hover); }
.cta-btn:disabled { opacity: 0.6; cursor: default; }

.cta-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 9px;
  color: var(--ink-soft);
  margin-top: 10px;
}

.cta-microcopy--faint { font-size: 11px; opacity: 0.65; }

/* ── Citation détachée (paroles de Zara) ─────────────────────────
   Rupture typographique volontaire : serif + retrait, pour les
   quelques répliques qui portent la thèse de la page. Sciemment rare
   (2 occurrences sur toute la page) pour garder son effet de contraste. */

.pull-quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  color: var(--cta);
  margin: 4px 0 24px;
}

.pull-quote::before { content: '«\00a0'; }
.pull-quote::after { content: '\00a0»'; }

/* ── Carte score (discrète, fond blanc) ──────────────────────────
   Volontairement sobre : pas de gros chiffre, le score est juste
   mentionné en première phrase, noyé dans le texte. */

.score-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}

#offer-root .score-card p:last-of-type { margin-bottom: 0; }

.score-card-link {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ── Témoignages ──────────────────────────────────────────────── */

.testimonial-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px 16px;
  padding: 0 20px 8px;
  cursor: grab;
}

.testimonial-scroller.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.testimonial-scroller.dragging .testimonial-card { pointer-events: none; }

.testimonial-scroller .testimonial-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  margin-bottom: 0;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 18px 16px;
  margin-bottom: 12px;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 30px;
  background: var(--accent-soft);
  margin-bottom: 14px;
}

/* ── Duo de signes (écran combo lui/elle) ──────────────────────── */

.combo-stars {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 12px;
  margin-bottom: 14px;
}

.combo-stars::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #FFFFFF 0%, #FFFFFF 35%, rgba(255,255,255,0) 80%);
  z-index: -1;
}

.combo-stars-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.combo-stars-icon { width: 150px; height: 150px; }
.combo-stars-icon svg { width: 100%; height: 100%; display: block; }

/* Étoiles : couleur vive, bien visibles. Traits de liaison : plus
   discrets, en retrait derrière les étoiles. */
.combo-stars-icon svg path[fill="#F2C44E"] { fill: #802D83; }
.combo-stars-icon svg path[fill="black"] { fill: var(--accent); opacity: 0.35; }


.stars-row { display: flex; gap: 3px; margin-bottom: 10px; }
.star-icon { width: 15px; height: 15px; }

.testimonial-text,
#offer-root .testimonial-text {
  font-family: 'Inter', var(--font-body);
  font-style: normal;
  font-size: 15px;
  color: #655D77;
  margin-bottom: 6px;
}

.testimonial-byline,
#offer-root .testimonial-byline { font-size: 12px; font-weight: 400; color: #B79AA3; margin-bottom: 0; }

.rating-line {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* Origin story : plus de règles ici, .origin-heading et les <p> de
   cette section héritent maintenant du système unifié #offer-root
   h2/h3/p ci-dessus, pour que rien ne jure entre les sections. */

/* ── Carte produit (mise en avant du guide) ───────────────────── */

.product-card {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 24px 20px;
  margin: 8px 0 24px;
}

#offer-root .product-card h2 { margin-top: 0; }
.product-card .photo-placeholder { margin-bottom: 18px; }

/* Variante sombre de .product-card (même dégradé que .price-section),
   utilisée sur up1 pour la carte de présentation de l'OTO. */
.product-card--violet {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(175deg, var(--deep-2) 0%, var(--deep) 100%);
  border: none;
  color: var(--on-deep);
  padding: 36px 28px 16px;
}
.product-card--violet .price-glyph-watermark--left { left: 18px; right: auto; }
.product-card--violet .price-glyph-watermark--right { right: 18px; left: auto; }
.product-card--violet h2 { color: var(--on-deep); text-align: center; margin-bottom: 8px; }
.product-card--violet p { color: var(--on-deep-soft); }
.product-card--violet .secret-list li { color: var(--on-deep); }
.product-card--violet .secret-list li::before { color: var(--on-deep); }

.product-card--violet .price-row { padding: 14px 0; }
.product-card--violet .price-row:first-child { padding-top: 0; }
.product-card--violet .price-desc { font-size: 14.5px; max-width: 100%; }
.product-card--violet .price-name { font-size: 15px; }
.product-card--violet .price-body { gap: 2px; }

#oto1-decline:hover { font-style: italic; }

/* ── Section bio (présentation experte d'Alma) ────────────────────
   Détachée du reste (fond blanc, plein-large, trait fin au-dessus)
   pour marquer une rupture de registre : on quitte la lettre pour
   une présentation plus institutionnelle. */

.bio-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 20px 48px;
  margin-top: 120px;
}

.bio-section-inner { max-width: 480px; margin: 0 auto; }

/* ── Section disclaimer (mentions légales Meta + avertissement) ───
   Plein-large comme .bio-section, mais le contenu fait 80% de la
   largeur RÉELLE de la page (pas du conteneur mobile .wrapper à
   480px) : sur desktop ça s'étale bien au-delà de 480px. */

.disclaimer-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--bg-card);
}

.disclaimer-inner {
  width: 80%;
  margin: 0 auto;
  padding: 100px 0 32px;
  text-align: center;
}

.bio-section h2 { margin-top: 0; text-align: center; }

.bio-card { text-align: center; }

.bio-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-soft) url('img/photo_alma.webp') center/cover no-repeat;
  margin: 0 auto 14px;
}

.bio-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 2px;
}

.bio-text { text-align: left; }

/* ── Conditions numérotées ────────────────────────────────────── */

.conditions-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.conditions-list li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.7;
}

.condition-number {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Secrets / value stack ────────────────────────────────────── */

.secret-list, .value-stack { list-style: none; padding: 0; margin: 16px 0; }

.secret-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.secret-list li::before { content: '›'; color: var(--accent); font-weight: 700; font-size: 17px; flex-shrink: 0; }

/* ── Value stack (section prix, carte sombre) ────────────────────
   Seule section de la page en fond sombre : casse délibérément avec
   le reste (cartes blanches à bordure fine) pour marquer le moment
   où on regarde le prix. */

.price-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(175deg, var(--deep-2) 0%, var(--deep) 100%);
  color: var(--on-deep);
  border-radius: 20px;
  border-top: 2px solid;
  border-image: linear-gradient(90deg, transparent, #E8C77E, transparent) 1;
  padding: 36px 34px 48px 28px;
  margin-top: 32px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35);
}

/* E — halo derrière le titre */
.price-section::before {
  content: '';
  position: absolute;
  top: -32%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(198, 150, 180, 0.35) 0%, rgba(198, 150, 180, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* B — sparkles à 4 branches éparpillées sur le fond */
.price-sparkle {
  position: absolute;
  fill: var(--on-deep);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.price-sparkle--1 { top: 8%;  left: 14%; width: 12px; height: 12px; opacity: 0.65; }
.price-sparkle--2 { top: 14%; left: 82%; width: 8px;  height: 8px;  opacity: 0.4; }
.price-sparkle--3 { top: 34%; left: 92%; width: 14px; height: 14px; opacity: 0.55; }
.price-sparkle--4 { top: 58%; left: 5%;  width: 9px;  height: 9px;  opacity: 0.45; }
.price-sparkle--5 { top: 72%; left: 88%; width: 11px; height: 11px; opacity: 0.5; }
.price-sparkle--6 { top: 90%; left: 30%; width: 8px;  height: 8px;  opacity: 0.4; }
.price-sparkle--7 { top: 4%;  left: 46%; width: 7px;  height: 7px;  opacity: 0.35; }

/* D — glyphe du signe en filigrane */
.price-glyph-watermark {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 130px;
  height: 130px;
  fill: var(--on-deep);
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

/* C — constellation, coin bas-gauche */
.price-constellation {
  position: absolute;
  bottom: 10px;
  left: 12px;
  width: 74px;
  height: 74px;
  color: var(--on-deep);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}

/* Étoile, coin bas-droit */
.price-moon {
  position: absolute;
  bottom: 18px;
  right: 20px;
  width: 26px;
  height: 26px;
  fill: var(--on-deep);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

.price-inner { position: relative; max-width: 480px; margin: 0 auto; }

.price-eyebrow {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-deep-soft);
  margin-bottom: 10px;
}

.price-heading {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.25;
  text-align: center;
  color: var(--on-deep);
  margin: 0 0 28px;
}

.price-row {
  display: flex;
  gap: 12px;
  padding: 18px 0;
}

.price-row:first-child { padding-top: 0; }

.price-check {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--on-deep);
  background: rgba(246, 233, 238, 0.12);
  border-radius: 50%;
  padding: 4px;
}

.price-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.price-top { display: flex; align-items: baseline; gap: 16px; }

.price-name { flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 700; color: var(--on-deep); }

.price-desc { flex: none; max-width: 84%; font-size: 12.5px; color: var(--on-deep-soft); line-height: 1.5; }
.price-value { flex: none; font-size: 14px; font-weight: 700; color: var(--on-deep); white-space: nowrap; }
.price-value--free { color: #D9A9F0; font-weight: 500; }
.price-name--free { font-weight: 500; }

.price-total { margin-top: 8px; padding-top: 26px; text-align: center; }
.price-final-label { font-size: 17px; line-height: 1.2; color: var(--on-deep-soft); margin: 0; }

.price-total--inline {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 14px;
  margin-top: 0;
  padding-top: 0;
}
.price-inline-struck {
  font-size: 18px;
  text-decoration: line-through;
  color: var(--on-deep-soft);
}
.price-inline-final {
  font-family: var(--font-title);
  font-size: 62px;
  font-weight: 700;
  color: var(--on-deep);
}

.price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 14px auto 0;
  min-height: 56px;
  padding: 12px 24px;
  background: #FFFFFF;
  color: var(--deep);
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 28px 4px rgba(198, 150, 180, 0.45);
  transition: transform 0.15s ease;
}

.price-cta:hover { transform: scale(1.02); }
.price-cta:hover .cta-arrow { transform: translateX(4px); }

.price-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--on-deep-soft);
  margin-top: 12px;
}

.price-shield { flex: none; width: 15px; height: 15px; }

.price-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.price-rating-stars { color: #F5A623; font-size: 14px; letter-spacing: 1px; }
.price-rating-value { font-size: 12.5px; font-weight: 700; color: var(--on-deep-soft); }

.price-reviews-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--on-deep-soft);
  text-decoration: underline;
  margin-top: 4px;
}

/* ── FAQ ──────────────────────────────────────────────────────── */

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: none;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-answer {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.faq-item.open .faq-answer { display: block; }

/* ── Formulaire de checkout ───────────────────────────────────── */

.checkout-field { margin-bottom: 14px; }

.checkout-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Badge décoratif au-dessus du titre de l'étape "dates de naissance"
   (popup OTO1, cf. up1.js) : reprend le sparkle utilisé dans le bloc
   prix, sur fond clair cette fois. */
.dob-icon-badge {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dob-icon-badge svg { width: 22px; height: 22px; fill: var(--accent); }

/* Confetti au chargement de up1 (cf. up1.js spawnConfetti), une seule
   fois, jamais en boucle : canvas plein écran, dessiné en JS (explosion
   centrale avec gravité), pas d'animation CSS ici. */
.confetti-burst {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 200;
}

.modal-dialog--oto { padding-left: 44px; padding-right: 44px; }
.modal-dialog--oto .cta-btn { max-width: 280px; }

.dob-field { margin-bottom: 18px; }
.dob-field label { font-size: 15px; }

.dob-select-row { display: flex; gap: 8px; }

.dob-select-row select {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 12px 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: 'Inter', var(--font-body);
  font-size: 15px;
  color: var(--ink);
  appearance: auto;
}

.dob-select-row select:focus { outline: none; border-color: var(--accent); }

.dob-select-row select:nth-child(2) { flex: 1.6 1 0; }

.dob-field-icon {
  width: 15px;
  height: 15px;
  fill: var(--accent);
  vertical-align: -3px;
  margin-right: 5px;
}

.checkout-field input,
#card-element {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: 'Inter', var(--font-body);
  font-size: 15px;
  color: var(--ink);
}

.checkout-field input:focus,
#card-element.focused {
  outline: none;
  border-color: var(--cta);
}

.field-error {
  color: var(--error);
  font-size: 12.5px;
  margin-top: 6px;
  display: none;
}

.field-error.visible { display: block; }

/* Formulaire de collecte prénom/email (quiz) : champs plus rapprochés
   et texte plus lisible que dans la modale de checkout, qu'on ne veut
   pas affecter en modifiant .checkout-field directement. */
.lead-form .checkout-field { margin-bottom: 0; }
.lead-form .checkout-field + .checkout-field { margin-top: -1px; }
.lead-form .checkout-field input { font-size: 17px; position: relative; }
.lead-form .checkout-field input:focus { z-index: 1; }

.lead-offer-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.lead-offer-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 10px;
}

.lead-offer-list { list-style: none; padding: 0; margin: 0; }

.lead-offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}

.lead-offer-list li:last-child { margin-bottom: 0; }
.lead-offer-list svg { flex: none; width: 16px; height: 16px; margin-left: 0; margin-top: 3px; color: var(--accent); }

/* ── Sticky CTA mobile (page offre) ──────────────────────────── */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px calc(env(safe-area-inset-bottom) + 16px);
  display: none;
  z-index: 30;
  pointer-events: none;
}

.sticky-cta.visible { display: block; }

.sticky-cta .cta-btn {
  width: 100%;
  margin: 0;
  font-size: 17px;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(43, 30, 36, 0.28);
}

/* ── Modale de checkout (déclenchée par les CTA) ──────────────── */

/* Le scroll vit sur le backdrop (donc la barre de défilement du
   navigateur se retrouve au bord de la page/fenêtre), pas sur
   `.modal-dialog` : évite à la fois la barre incrustée dans les coins
   arrondis de la modale, et le flexbug classique où `align-items:
   center` sur un conteneur scrollable coupe le haut du contenu qui
   déborde. `margin: auto` sur `.modal-dialog` (plutôt que `align-items:
   center` sur le parent) centre verticalement sans jamais rogner
   l'overflow. */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 31, 43, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 100;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.modal-backdrop::-webkit-scrollbar { width: 5px; }
.modal-backdrop::-webkit-scrollbar-track { background: transparent; }
.modal-backdrop::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }

.modal-backdrop.visible { display: flex; }

.modal-dialog {
  background: var(--bg-card);
  width: 100%;
  max-width: 480px;
  margin: 0;
  border-radius: 20px;
  padding: 20px 20px calc(env(safe-area-inset-bottom) + 24px);
  position: relative;
  animation: modal-slide-up 0.25s ease both;
}

@keyframes modal-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title { font-size: 19px; margin: 4px 40px 2px 0; }

.modal-subtitle { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 18px; }

/* Checkout : la modale n'a plus de padding (le formulaire Whop a déjà
   son propre padding interne via data-whop-checkout-style-container-
   padding-x), donc chaque bloc gère sa propre marge gauche/droite. */
.modal-dialog--checkout { padding: 0; }
.modal-dialog--checkout .modal-title { margin-top: 15px; margin-left: 20px; margin-right: 20px; }
.modal-dialog--checkout .checkout-recap { margin-left: 20px; margin-right: 20px; }

/* ── Colonnes de la popup checkout (récap à gauche, paiement à droite) ─
   `flex-wrap` plutôt qu'un breakpoint fixe : la colonne paiement a
   besoin d'au moins 330px pour que le formulaire de carte ne casse
   pas (champ carte + MM/YY + CVC), donc elle repasse à la ligne
   (empilement, comme le bottom-sheet mobile) dès que la popup n'a
   plus la place, quelle que soit la largeur d'écran exacte. */

.checkout-columns {
  display: flex;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 24px;
}

.checkout-recap {
  flex: 1 1 240px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(240, 222, 224, 0.5);
}

.checkout-embed-col { flex: 1 1 330px; min-width: 330px; }

.payment-methods-img { display: block; width: 100%; max-width: 180px; margin: 0 auto 10px; }

.checkout-recap-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 16px 0 10px;
}

.checkout-recap-list { list-style: none; padding: 0; margin: 0; }

.checkout-recap-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  padding: 2px 0;
}

.checkout-recap-check { flex: none; width: 15px; height: 15px; margin-top: 4px; color: var(--accent); }
.checkout-recap-name { flex: 1; }
.checkout-recap-name--free { font-weight: 400; }
.checkout-recap-list li span:last-child { flex: none; margin-top: 1px; font-size: 13px; font-weight: 400; color: #B7A3AC; white-space: nowrap; }
.checkout-recap-list li span.checkout-recap-free { color: var(--cta); font-weight: 500; }

.checkout-recap-total {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(240, 222, 224, 0.5);
}

.checkout-recap-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.checkout-recap-total-row span:first-child { font-weight: 700; }

.checkout-recap-total-row--final { font-size: 15px; font-weight: 600; color: var(--ink); }

.checkout-recap-struck { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.checkout-recap-final { font-size: 22px; font-weight: 700; color: var(--ink); }

.checkout-recap-microcopy { font-size: 12.5px; color: var(--ink-soft); margin: 0; }

.checkout-recap-total .cta-microcopy { justify-content: flex-start; text-align: left; margin-top: -5px; }

@media (min-width: 640px) {
  .modal-backdrop { padding: 40px 20px; }
  .modal-dialog { margin: auto 0; }
}

/* padding-left supplémentaire réservé au vrai layout 2 colonnes
   (cf. .checkout-columns) : à 640px la modale est juste "desktop-ish"
   mais reste souvent en 1 colonne, donc ce padding ne doit pas s'y
   appliquer, seulement une fois la place large. */
@media (min-width: 900px) {
  .modal-dialog--checkout { max-width: 820px; padding-left: 30px; }
}

/* ── Pages légales ─────────────────────────────────────────────── */

.legal-page { max-width: 620px; }
.legal-page h2 { font-size: 17px; margin-top: 1.8em; }
.legal-page p { font-size: 15px; color: var(--ink-soft); }
.legal-page a { color: var(--accent); }

/* ── Footer minimal ───────────────────────────────────────────── */

.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 32px 20px 24px;
}

.site-footer a { color: var(--ink-soft); text-decoration: underline; }

@media (min-width: 640px) {
  .wrapper { padding-top: 40px; }
  .score-value { font-size: 64px; }
}
