/* ============================================================
   TrendSaaS — feuille de style
   Direction : salle de contrôle. Nuit profonde, veines d'or,
   panneaux produit avec profondeur.
   Typo : Bricolage Grotesque (display) / Instrument Sans (texte)
          / Spline Sans Mono (données).
   Parti pris assumé : interface sombre unique, peinte explicitement,
   pour que la page tienne quel que soit le fond de l'hôte.
   ============================================================ */

:root {
  /* Fonds : graphite froid. Jamais de noir pur, jamais de teinte chaude. */
  --bg: #0a0a0d;
  --bg-1: #0f1013;
  --bg-2: #15161b;
  --bg-3: #1d1e25;

  /* Traits */
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.24);

  /* Texte : neutres très légèrement bleutés */
  --text: #eef0f3;
  --text-2: #9ba1ad;
  --text-3: #6a707c;

  /* Accent unique : acier pâle. Assez présent pour guider l'œil, assez
     désaturé pour ne jamais claquer comme un accent de gabarit. */
  --accent: #aeb9cc;
  --accent-2: #d6dde8;
  --accent-3: #78828f;
  --accent-glow: rgba(174, 185, 204, 0.26);
  --accent-film: rgba(174, 185, 204, 0.09);

  /* Action principale : blanc franc sur graphite. */
  --action: #ffffff;
  --action-texte: #0a0a0d;

  --r-s: 8px;
  --r: 14px;
  --r-l: 20px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  --edge: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Halo d'ambiance, fixe, derrière tout le reste */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(174, 185, 204, 0.10), transparent 62%),
    radial-gradient(760px 480px at 92% 4%, rgba(90, 120, 200, 0.08), transparent 60%);
}

/* Grain, très discret */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #0a0b0f; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
em { font-style: normal; color: var(--accent); }
a { color: inherit; text-decoration: none; }
strong { color: var(--text); font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: var(--r-s);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--edge);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, opacity .16s;
}
.btn:hover { background: var(--bg-3); border-color: var(--line-3); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--action);
  color: var(--action-texte);
  border-color: transparent;
  box-shadow: 0 10px 34px -12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  background: #e9edf3;
  box-shadow: 0 16px 42px -12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-lg { font-size: 16px; padding: 16px 28px; border-radius: 10px; }
.btn-arrow { transition: transform .16s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  background: none;
  border: none;
  font: inherit;
  font-size: 14.5px;
  color: var(--text-3);
  cursor: pointer;
  padding: 8px 2px;
  transition: color .15s;
}
.btn-ghost:hover { color: var(--text); }

/* ---------- En-tête ---------- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(8, 9, 13, 0.92), rgba(8, 9, 13, 0.55));
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
}
.brand svg { display: block; color: var(--accent); }
.head-nav { display: flex; align-items: center; gap: 6px; }
.head-nav a {
  font-size: 14.5px;
  color: var(--text-2);
  padding: 9px 14px;
  border-radius: var(--r-s);
  transition: color .15s, background .15s;
}
.head-nav a:hover { color: var(--text); background: var(--bg-2); }
.head-cta {
  margin-left: 8px;
  background: var(--action);
  color: var(--action-texte) !important;
  font-weight: 600;
  box-shadow: 0 8px 26px -12px var(--accent-glow);
}
.head-cta:hover { background: #e9edf3 !important; color: var(--action-texte) !important; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 104px 0 48px; }
#veins {
  position: absolute;
  inset: -60px 0 auto 0;
  width: 100%;
  height: 700px;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.hero-grid {
  display: grid;
  /* Le téléphone garde une largeur lisible : c'est la colonne de texte qui
     absorbe le manque de place, jamais l'écran du téléphone. En dessous de
     720 px il passe sous le texte plutôt que de se comprimer. */
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
}
.hero-texte { max-width: none; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 5.2vw, 68px);
  letter-spacing: -0.038em;
  max-width: 15ch;
}
.hero-lede {
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 52ch;
}
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-hint {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-3);
}
.hero-hint b { color: var(--text-2); font-weight: 500; }
.hero-hint span { display: inline-flex; align-items: center; gap: 7px; }
.hero-hint span::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(174, 185, 204, .55);
}

/* ---------- Bandeau de chiffres ---------- */

.strip {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip div { padding: 26px 22px; border-right: 1px solid var(--line); }
.strip div:last-child { border-right: none; }
.strip b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}
.strip span { font-size: 13.5px; color: var(--text-3); }

/* ---------- Outillage ---------- */

.outillage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 0 4px;
}
.outillage-mot {
  font-size: 14px;
  color: var(--text-3);
  max-width: 44ch;
}
.logos {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.logos li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-2);
  opacity: 0.62;
  transition: opacity .2s, color .2s;
}
.logos li:hover { opacity: 1; color: var(--text); }
.logos svg { width: 19px; height: 19px; flex: none; }

/* ---------- Sections ---------- */

.section { padding: 104px 0; }
.section-head { max-width: 62ch; }
.section h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.6vw, 46px);
}
.section-lede { margin-top: 16px; font-size: 17.5px; color: var(--text-2); }

/* Bento */
.bento {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--edge);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { font-size: 20px; margin: 14px 0 9px; letter-spacing: -0.02em; }
.card p { font-size: 14.8px; color: var(--text-2); }
.card-wide { grid-column: span 4; }
.card-half { grid-column: span 3; }
.card-third { grid-column: span 2; }
.card-ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(174, 185, 204, 0.3);
  background: var(--accent-film);
  color: var(--accent);
}
.card-num {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

/* Aperçu du prompt dans le bento */
.mini-code {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #05060a;
  padding: 16px 18px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 12px;
  line-height: 1.85;
  color: var(--text-2);
  overflow: hidden;
  position: relative;
}
.mini-code::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 58px;
  background: linear-gradient(180deg, transparent, #05060a);
}
.mini-code b { color: var(--accent); font-weight: 500; }
.mini-code i { color: var(--text-3); font-style: normal; }

/* Étapes */
.steps { margin-top: 52px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step {
  background: var(--bg-1);
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 180px;
  gap: 28px;
  align-items: center;
  padding: 32px 30px;
  transition: background .2s;
}
.step:hover { background: var(--bg-2); }
.step-num {
  font-family: "Spline Sans Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(174, 185, 204, 0.28);
  background: var(--accent-film);
  border-radius: 999px;
  padding: 7px 0;
  text-align: center;
}
.step h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { font-size: 15px; color: var(--text-2); max-width: 62ch; }
.step-tag {
  justify-self: end;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
}

/* Tarif */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; margin-top: 48px; align-items: start; }
.price-card {
  border: 1px solid rgba(174, 185, 204, 0.3);
  border-radius: var(--r-l);
  background:
    radial-gradient(520px 240px at 50% -30%, var(--accent-film), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow), var(--edge);
  padding: 32px 30px;
  position: sticky;
  top: 96px;
}
.price-badge {
  display: inline-block;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(174, 185, 204, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
}
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 4px; }
.price-big {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-old { font-size: 20px; color: var(--text-3); text-decoration: line-through; }
.price-sub { font-size: 14px; color: var(--text-2); }
.price-card .btn { width: 100%; margin-top: 22px; }
.price-list { margin-top: 22px; display: grid; gap: 11px; list-style: none; }
.price-list li { font-size: 14.5px; color: var(--text-2); padding-left: 26px; position: relative; }
.price-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }

/* FAQ */
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color .15s;
}
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--text-3);
  border-bottom: 1.6px solid var(--text-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq-list details p { padding-bottom: 26px; color: var(--text-2); max-width: 78ch; font-size: 15.5px; }

/* CTA final */
.final {
  position: relative;
  text-align: center;
  padding: 112px 28px;
  border-top: 1px solid var(--line);
  background: radial-gradient(760px 380px at 50% 0%, rgba(174, 185, 204, 0.12), transparent 68%);
}
.final h2 { font-size: clamp(34px, 4.6vw, 58px); max-width: 20ch; margin: 18px auto 0; }
.final p { margin: 20px auto 34px; max-width: 52ch; color: var(--text-2); font-size: 17px; }

/* ---------- Téléphone en lévitation ---------- */

.scene-tel { position: relative; display: flex; flex-direction: column; align-items: center; }

.tel {
  position: relative;
  width: min(280px, 100%);
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2a2f3b, #111419 40%, #0a0c11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: levitation 6s ease-in-out infinite;
  will-change: transform;
}
.tel-encoche {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #05060a;
  z-index: 2;
}
.tel-ecran {
  border-radius: 30px;
  background:
    radial-gradient(320px 200px at 50% 0%, rgba(174, 185, 204, 0.16), transparent 70%),
    linear-gradient(180deg, #0d1017, #070910);
  padding: 44px 12px 20px;
  min-height: 420px;
}
.tel-heure {
  text-align: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0.92;
  margin-bottom: 18px;
}

.notifs { display: grid; gap: 9px; }
.notif {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  animation: notif-entre 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
}
.notif:nth-child(1) { animation-delay: 0.25s; }
.notif:nth-child(2) { animation-delay: 0.45s; }
.notif:nth-child(3) { animation-delay: 0.65s; }
.notif:nth-child(3) { opacity: 0.72; }

.notif-ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  /* Violet Stripe, en aplat : un repère visuel, pas le logo de la marque. */
  background: #635bff;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17px;
  font-weight: 700;
}
.notif-txt { min-width: 0; }
.notif-tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  margin-bottom: 2px;
}
.notif-tete span { font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.notif-tete em { font-style: normal; color: rgba(255, 255, 255, 0.5); font-size: 10.5px; white-space: nowrap; }
.notif-corps {
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}
.notif-corps strong { color: #fff; font-weight: 700; }

/* L'ombre respire à contretemps du téléphone : c'est ce qui fait « il vole ». */
.tel-ombre {
  display: block;
  width: 190px;
  height: 22px;
  margin-top: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent);
  filter: blur(9px);
  animation: ombre 6s ease-in-out infinite;
}

.tel-legende {
  margin-top: 16px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}

@keyframes levitation {
  0%, 100% { transform: translateY(-12px) rotate(-1.4deg); }
  50%      { transform: translateY(12px) rotate(1.4deg); }
}
@keyframes ombre {
  0%, 100% { transform: scale(0.86); opacity: 0.5; }
  50%      { transform: scale(1.06); opacity: 0.8; }
}
@keyframes notif-entre {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
}

/* Pied */
.site-foot {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-3);
}

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   APP
   ============================================================ */

.app-main { min-height: calc(100vh - 190px); padding: 20px 0 100px; }

[data-reveal] { opacity: 0; transform: translateY(14px); }
[data-reveal].in { animation: rise .5s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.progress { display: flex; align-items: center; gap: 16px; margin: 30px 0 6px; }
.progress-track { flex: 1; height: 4px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-3), var(--accent));
  box-shadow: 0 0 14px var(--accent-glow);
  transition: width .45s cubic-bezier(.2,.7,.3,1);
}
.progress-label {
  font-family: "Spline Sans Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.stage { padding: 44px 0 20px; max-width: 760px; }
.stage-center { text-align: center; margin: 0 auto; padding-top: 110px; }
.stage-kicker {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.stage-title { font-size: clamp(32px, 4.6vw, 52px); }
.stage-title-q { font-size: clamp(27px, 3.6vw, 40px); }
.stage-lede { margin-top: 16px; font-size: 17px; color: var(--text-2); max-width: 60ch; }
.stage-footnote { margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
.stage .btn { margin-top: 30px; }

/* Choix */
.options { margin-top: 34px; display: grid; gap: 10px; max-width: 640px; }
.options-compact { grid-template-columns: 1fr 1fr; }
.option {
  position: relative;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: var(--edge);
  transition: border-color .16s, background .16s, transform .16s, box-shadow .16s;
}
.option:hover { border-color: var(--line-3); transform: translateY(-1px); }
.option.selected {
  border-color: rgba(174, 185, 204, 0.55);
  background: linear-gradient(180deg, rgba(174, 185, 204, 0.14), rgba(174, 185, 204, 0.05));
  box-shadow: 0 0 0 1px rgba(174, 185, 204, 0.2), 0 16px 40px -22px var(--accent-glow);
}
.option-label { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.option-detail { font-size: 13.8px; color: var(--text-3); }
.option.selected .option-detail { color: rgba(255, 226, 168, 0.72); }

.option-check { padding-left: 54px; }
.option-tick {
  position: absolute;
  left: 19px; top: 19px;
  width: 19px; height: 19px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  transition: background .15s, border-color .15s;
}
.option-check.selected .option-tick { background: var(--accent); border-color: var(--accent); }
.option-check.selected .option-tick::after {
  content: "";
  position: absolute;
  left: 5px; top: 4px;
  width: 7px; height: 11px;
  border-right: 2px solid var(--action-texte);
  border-bottom: 2px solid var(--action-texte);
  transform: rotate(42deg);
}
.options + .btn { margin-top: 26px; }

/* ---------- Question illustrée ---------- */

.option-illu { padding-top: 20px; }
.illu {
  width: 52px;
  height: 36px;
  margin-bottom: 8px;
  color: var(--text-3);
  transition: color .16s, transform .16s;
}
.option-illu:hover .illu { color: var(--text-2); transform: translateY(-2px); }
.option-illu.selected .illu { color: var(--accent); }

/* ---------- Échelle d'accord illustrée ---------- */

.echelle {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 620px;
}
.cran {
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  color: var(--text-3);
  cursor: pointer;
  box-shadow: var(--edge);
  transition: border-color .16s, color .16s, transform .16s, background .16s;
}
.cran:hover { border-color: var(--line-3); color: var(--text-2); transform: translateY(-2px); }
.cran.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: linear-gradient(180deg, var(--accent-film), transparent);
  box-shadow: 0 0 0 1px var(--accent-film), 0 16px 40px -24px var(--accent-glow);
}
.visage { width: 42px; height: 42px; display: block; }
.cran-label {
  font-size: 12.5px;
  line-height: 1.25;
  text-align: center;
  color: var(--text-3);
}
.cran.selected .cran-label { color: var(--text); }

@media (max-width: 620px) {
  .echelle { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .cran { padding: 12px 4px 10px; }
  .visage { width: 32px; height: 32px; }
  .cran-label { font-size: 10.5px; }
}

/* ---------- Écrans de présentation illustrés ---------- */

.message-illu { text-align: center; max-width: 560px; margin: 0 auto; padding-top: 56px; }
.message-illu .stage-lede { margin-left: auto; margin-right: auto; }
.illu-grande {
  width: 128px;
  height: 128px;
  margin: 0 auto 34px;
  color: var(--accent);
  filter: drop-shadow(0 18px 44px var(--accent-glow));
  animation: flotte 6s ease-in-out infinite;
}
.illu-grande svg { width: 100%; height: 100%; }
@keyframes flotte {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}

/* ---------- Tableau de bord projeté ---------- */

.futur { max-width: 680px; }
.tdb {
  margin-top: 30px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow), var(--edge);
  overflow: hidden;
}
.tdb-barre {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.tdb-point { width: 8px; height: 8px; border-radius: 50%; background: var(--line-3); }
.tdb-nom {
  margin-left: 8px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  color: var(--text-3);
}
.tdb-chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.tdb-chiffres > div { background: var(--bg-1); padding: 20px 18px; display: flex; flex-direction: column; gap: 3px; }
.tdb-valeur {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tdb-libelle {
  font-family: "Spline Sans Mono", monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.tdb-detail { font-size: 11.5px; color: var(--text-3); }
.tdb-courbe { width: 100%; height: 90px; display: block; }

/* ---------- Résultats de membres ---------- */

.rail-resultats {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.fiche-resultat {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  padding: 22px 22px 18px;
}
.fiche-nom { font-weight: 700; font-size: 16px; }
.fiche-contexte { margin-top: 4px; font-size: 13.5px; color: var(--text-3); }
.fiche-avant-apres { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.fiche-avant-apres div { display: flex; flex-direction: column; gap: 3px; }
.fiche-avant-apres span {
  font-family: "Spline Sans Mono", monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.fiche-avant-apres strong { font-size: 17px; }
.fiche-fleche { color: var(--accent); font-size: 18px; }
.fiche-duree { margin-top: 14px; font-size: 12.5px; color: var(--text-3); }

/* ---------- Formules ---------- */

.formules { max-width: 560px; }
.plans { margin-top: 30px; display: grid; gap: 14px; }
.plan {
  position: relative;
  font: inherit;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  cursor: pointer;
  text-align: left;
  transition: border-color .16s, transform .16s;
}
.plan:hover { border-color: var(--line-3); transform: translateY(-1px); }
.plan.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-film); }
.plan-populaire { margin-top: 12px; }
.plan-ruban {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--action-texte);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-radio {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  position: relative;
}
.plan.selected .plan-radio { background: var(--accent); border-color: var(--accent); }
.plan.selected .plan-radio::after {
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--action-texte);
  border-bottom: 2px solid var(--action-texte);
  transform: rotate(42deg);
}
.plan-gauche { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.plan-duree { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.plan-remise {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--action-texte);
  background: var(--accent);
  border-radius: 5px;
  padding: 2px 7px;
}
.plan-prix { font-size: 14.5px; color: var(--text-2); }
.plan-prix s { color: var(--text-3); margin-right: 6px; }
.plan-jour { text-align: right; display: flex; flex-direction: column; }
.plan-jour strong { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; letter-spacing: -0.03em; }
.plan-jour em { font-style: normal; font-size: 11.5px; color: var(--text-3); }

.plan-mention { margin-top: 20px; font-size: 12.5px; color: var(--text-3); line-height: 1.55; }
.formules .btn { margin-top: 22px; width: 100%; }
.plan-securite {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
}
.plan-securite::before { content: "🔒 "; }
.moyens {
  list-style: none;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.moyens li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-3);
}
.moyens svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.plan-demo { margin-top: 16px; text-align: center; font-size: 11.5px; color: var(--text-3); }

@media (max-width: 620px) {
  .tdb-chiffres { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Calcul avec questions en surimpression ---------- */

.calcul { padding-top: 96px; }
.chargement-large { max-width: 520px; margin-left: auto; margin-right: auto; height: 5px; }
.calcul-etat {
  margin-top: 16px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 13px;
  color: var(--text-3);
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 6, 9, 0.72);
  backdrop-filter: blur(6px);
  animation: fondu .25s ease;
}
.popup[hidden] { display: none; }
@keyframes fondu { from { opacity: 0; } }

.popup-carte {
  width: min(440px, 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow), var(--edge);
  padding: 30px 30px 26px;
  text-align: left;
  animation: monte .3s cubic-bezier(.2,.8,.3,1);
}
@keyframes monte { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.popup-question {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.popup-detail { margin-top: 10px; font-size: 14.5px; color: var(--text-2); }
.popup-actions { margin-top: 24px; display: flex; gap: 10px; }
.popup-actions .btn { flex: 1; }

/* ---------- Tableau de projection ---------- */

.projection { max-width: 680px; }
.proj-carte {
  margin-top: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: radial-gradient(520px 220px at 20% -30%, var(--accent-film), transparent 70%),
              linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow), var(--edge);
  padding: 26px 28px;
}
.proj-titre {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.proj-montant {
  margin-top: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(34px, 5.4vw, 50px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.proj-barre { margin-top: 20px; display: flex; gap: 4px; height: 30px; }
.seg { border-radius: 6px; }
.seg-0 { background: var(--accent); }
.seg-1 { background: color-mix(in srgb, var(--accent) 55%, var(--bg-3)); }
.seg-2 { background: color-mix(in srgb, var(--accent) 28%, var(--bg-3)); }

.proj-legende { list-style: none; margin-top: 12px; display: flex; gap: 18px; flex-wrap: wrap; }
.proj-legende li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.pastille { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.pastille-0 { background: var(--accent); }
.pastille-1 { background: color-mix(in srgb, var(--accent) 55%, var(--bg-3)); }
.pastille-2 { background: color-mix(in srgb, var(--accent) 28%, var(--bg-3)); }

.proj-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-3);
}

.proj-h2 { margin-top: 34px; font-size: 22px; letter-spacing: -0.02em; }
.proj-sous { margin-top: 5px; font-size: 14px; color: var(--text-3); }

.proj-lignes { margin-top: 16px; display: grid; gap: 10px; }
.proj-ligne {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-1);
  overflow: hidden;
}
.proj-ligne summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
}
.proj-ligne summary::-webkit-details-marker { display: none; }
.proj-ligne summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--text-3);
  border-bottom: 1.6px solid var(--text-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.proj-ligne[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.proj-nom { flex: 1; font-weight: 600; font-size: 16px; }
.proj-plage {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.proj-ligne p { padding: 0 20px 18px; font-size: 14.5px; color: var(--text-2); }
.projection .hypothese { margin-top: 22px; }
.projection .btn { margin-top: 26px; }

/* ---------- Adresse du site ---------- */

.url-champ {
  display: flex;
  align-items: center;
  margin-top: 30px;
  max-width: 520px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--bg-1);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.url-champ:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-film); }
.url-prefixe {
  padding: 13px 0 13px 15px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 15px;
  color: var(--text-3);
}
.url-champ input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 13px 15px 13px 4px;
  color: var(--text);
  background: none;
  border: none;
  outline: none;
}
.url-champ input::placeholder { color: var(--text-3); }

/* ---------- Écran d'analyse ---------- */

.checklist { list-style: none; margin-top: 34px; display: grid; gap: 14px; max-width: 460px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-3);
  transition: color .3s;
}
.checklist li.faite { color: var(--text); }
.check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
  transition: background .3s, border-color .3s;
}
.checklist li.faite .check { background: var(--accent); border-color: var(--accent); }
.checklist li.faite .check::after {
  content: "";
  position: absolute;
  left: 7px; top: 4px;
  width: 6px; height: 11px;
  border-right: 2px solid var(--action-texte);
  border-bottom: 2px solid var(--action-texte);
  transform: rotate(42deg);
}

.chargement {
  margin-top: 26px;
  max-width: 460px;
  height: 4px;
  border-radius: 3px;
  background: var(--bg-3);
  overflow: hidden;
}
.chargement i { display: block; width: 0; height: 100%; background: var(--accent); border-radius: 3px; transition: width 1.2s cubic-bezier(.3,.7,.3,1); }

.avis-bande { margin-top: 28px; display: grid; gap: 12px; max-width: 460px; }
.avis {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-1);
  padding: 16px 18px;
}
.avis blockquote { font-size: 15.5px; color: var(--text); }
.avis figcaption {
  margin-top: 7px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11.5px;
  color: var(--text-3);
}

.resultat { margin-top: 34px; display: grid; gap: 14px; max-width: 620px; }
.bilan {
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  padding: 20px 22px;
  animation: note-entre .4s cubic-bezier(.2,.8,.3,1) backwards;
}
.bilan-faible { border-left-color: var(--text-3); animation-delay: .12s; }
.bilan-titre {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.bilan p:not(.bilan-titre) { font-size: 15.5px; color: var(--text); }
.bilan-source { font-size: 13px; color: var(--text-3); }
.resultat .btn { justify-self: start; margin-top: 8px; }

/* Tracé animé, réutilisé par le tableau de bord projeté. */
.trace { animation: tracer 1.5s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes tracer { to { stroke-dashoffset: 0; } }

/* ---------- La barrière ---------- */

.barriere .stage-title { font-size: clamp(38px, 5.4vw, 64px); }
.recap {
  margin-top: 34px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  max-width: 620px;
}
.recap div { background: var(--bg-1); padding: 16px 20px; display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.recap span {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.recap strong { font-size: 15.5px; text-align: right; }

/* ---------- Preuve sociale ---------- */

.preuve { max-width: 640px; padding-top: 88px; }
.preuve-avant { font-size: 17px; color: var(--text-2); }
.compteur {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(64px, 12vw, 104px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 10px 0 6px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preuve-apres { font-size: 19px; color: var(--text); max-width: 30ch; margin: 0 auto; }

.citation {
  margin: 40px auto 0;
  max-width: 40ch;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.citation blockquote {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.citation figcaption {
  margin-top: 12px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

/* Réponse de l'app à un choix : se glisse sous la case retenue. */
.note-choix {
  margin: -2px 0 4px;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--accent);
  border-radius: 0 11px 11px 0;
  background: var(--accent-film);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  animation: note-entre 0.35s cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
}
@keyframes note-entre {
  from { opacity: 0; transform: translateY(-6px); }
}

/* ---------- Réponse écrite par l'utilisateur ---------- */

/* Les listes fermées ne couvrent pas toutes les vies : sur les questions
   qualitatives, on laisse écrire sa propre réponse. */
.option-autre { border-style: dashed; }
.option-autre.selected { border-style: solid; }

.libre {
  margin-top: 12px;
  border: 1px solid rgba(174, 185, 204, 0.4);
  border-radius: 11px;
  background: rgba(174, 185, 204, 0.06);
  padding: 16px 18px;
  max-width: 640px;
}
.libre-input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  transition: border-color .15s, box-shadow .15s;
}
.libre-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(174, 185, 204, 0.16);
}
.libre-input::placeholder { color: var(--text-3); }
.libre-actions { margin-top: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Curseur de revenu visé ---------- */

.curseur {
  margin-top: 34px;
  max-width: 640px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--edge);
  padding: 26px 28px;
}
.curseur-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.curseur-montant {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.curseur-palier {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(174, 185, 204, 0.35);
  background: var(--accent-film);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

/* Le rail se remplit à gauche du curseur : la variable --part porte la position. */
.curseur-rail {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 22px 0 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--part, 0%),
    var(--bg-3) var(--part, 0%),
    var(--bg-3) 100%
  );
  cursor: grab;
}
.curseur-rail:active { cursor: grabbing; }
.curseur-rail::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--action);
  border: 3px solid var(--bg);
  box-shadow: 0 6px 20px -6px var(--accent-glow);
}
.curseur-rail::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
}

.curseur-bornes {
  display: flex;
  justify-content: space-between;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  color: var(--text-3);
}
.curseur-bornes span { display: flex; flex-direction: column; gap: 3px; }
.curseur-bornes span:last-child { text-align: right; }
.curseur-bornes em {
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  opacity: 0.75;
}

.curseur-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-2);
}
.curseur-calcul { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.curseur-calcul strong { color: var(--text); }

/* ---------- Machine à écrire ---------- */

/* Curseur affiché pendant la frappe du titre, retiré à la dernière lettre. */
.machine.ecrit::after {
  content: "";
  display: inline-block;
  width: 0.06em;
  min-width: 2px;
  height: 0.82em;
  margin-left: 0.06em;
  vertical-align: -0.06em;
  background: var(--accent);
  animation: curseur 0.7s steps(1) infinite;
}
@keyframes curseur { 50% { opacity: 0; } }

/* Ouverture d'acte */
.act { padding-top: 86px; }
.act-num {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.act .stage-title { font-size: clamp(40px, 5.6vw, 66px); }

/* Compte */
/* Un écran, une demande : le formulaire seul, sans colonne latérale. */
.account { padding: 44px 0 20px; }
.account .stage-title { font-size: clamp(32px, 4.4vw, 50px); }
.account-form { margin-top: 30px; display: grid; gap: 16px; max-width: 420px; }
.field { display: grid; gap: 7px; }
.field span {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.field input {
  font: inherit;
  font-size: 16px;
  padding: 13px 15px;
  color: var(--text);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(174, 185, 204, 0.16);
}
.field input::placeholder { color: var(--text-3); }
.account-form .btn { margin-top: 6px; }
.form-error {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
}
.form-note { font-size: 12.8px; color: var(--text-3); line-height: 1.55; max-width: 46ch; }

/* Champ libre */
.free-text {
  display: block;
  width: 100%;
  max-width: 640px;
  margin-top: 28px;
  font: inherit;
  font-size: 16.5px;
  line-height: 1.6;
  padding: 18px 20px;
  color: var(--text);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.free-text:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(174, 185, 204, 0.16); }
.free-text::placeholder { color: var(--text-3); }
.text-actions { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.text-actions .btn { margin-top: 0; }

/* Miroirs */
.mirror-card {
  margin-top: 28px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--accent);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--edge);
  padding: 26px 28px;
  max-width: 680px;
}
.mirror-card p { color: var(--text-2); font-size: 15.5px; }
.mirror-line {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text) !important;
  margin-bottom: 12px;
}
.mirror-line-gold { color: var(--accent) !important; }
.mirror-note { margin-top: 20px; font-size: 14.5px; color: var(--text-3); }

/* Calcul */
.dig-anim { width: 116px; margin: 0 auto 24px; color: var(--accent); filter: drop-shadow(0 0 22px var(--accent-glow)); }
.dig-ring { animation: ring 4.4s ease forwards; transform: rotate(-90deg); transform-origin: center; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.dig-nugget { animation: pulse .9s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .35; } to { opacity: 1; } }
.dig-line { font-family: "Spline Sans Mono", monospace; font-size: 15px; color: var(--text-2); letter-spacing: 0.02em; }

/* Résultats */
.results { padding: 36px 0 4px; max-width: 760px; }
.ideas { display: grid; gap: 20px; margin-top: 30px; }
.idea-card {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow), var(--edge);
  padding: 32px 34px;
  position: relative;
  overflow: hidden;
}
.idea-card-first { border-color: rgba(174, 185, 204, 0.32); }
.idea-card-first::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 200px at 20% -20%, var(--accent-film), transparent 70%);
}
.idea-head { display: flex; justify-content: space-between; gap: 22px; align-items: start; }
.idea-rank {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.idea-name { font-size: 30px; letter-spacing: -0.03em; }
.idea-pitch { font-size: 16.5px; color: var(--text-2); margin-top: 5px; }
.idea-score {
  flex: none;
  text-align: center;
  min-width: 88px;
  padding: 13px 10px 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  line-height: 1;
}
.idea-score-num { font-family: "Bricolage Grotesque", sans-serif; font-size: 28px; font-weight: 600; color: var(--accent); }
.idea-score-pct { font-family: "Bricolage Grotesque", sans-serif; font-size: 15px; color: var(--accent); }
.idea-score-label {
  display: block;
  font-family: "Spline Sans Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 7px;
}
.idea-why {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 14.5px;
  color: var(--text-2);
}
.idea-why strong { color: var(--accent); font-weight: 600; }
.idea-facts { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; }
.idea-facts dt {
  font-family: "Spline Sans Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}
.idea-facts dd { font-size: 14.8px; color: var(--text-2); }
.idea-mvp { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.idea-mvp h3 { font-size: 17px; margin-bottom: 12px; letter-spacing: -0.02em; }
.idea-mvp ul { list-style: none; display: grid; gap: 8px; }
.idea-mvp li { font-size: 14.8px; color: var(--text-2); padding-left: 22px; position: relative; }
.idea-mvp li::before {
  content: "";
  position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .8;
}
.idea-delai {
  margin-top: 16px;
  display: inline-block;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.idea-card .btn { margin-top: 24px; }
.results-redo { margin-top: 32px; display: flex; gap: 20px; flex-wrap: wrap; }

.cap-quote {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 20px;
  font-size: 17px;
  color: var(--text);
  max-width: 64ch;
}
.cap-quote span {
  display: block;
  font-family: "Spline Sans Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 9px;
}

/* Paywall */
.paywall-intro { padding-bottom: 6px; }
.teaser { display: grid; gap: 14px; margin-top: 10px; }
.teaser-open {
  border: 1px solid rgba(174, 185, 204, 0.32);
  border-radius: var(--r-l);
  background:
    radial-gradient(520px 200px at 20% -20%, var(--accent-film), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow), var(--edge);
  padding: 28px 32px;
}
.teaser-open .idea-head { margin-top: 8px; }
.teaser-locked {
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.014);
  padding: 22px 32px;
}
.locked-lines { display: grid; gap: 10px; margin: 14px 0 16px; }
.locked-lines span {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}
.locked-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.locked-tag::before {
  content: "";
  width: 11px; height: 9px;
  border: 1.4px solid var(--text-3);
  border-radius: 2px;
  box-shadow: 0 -4px 0 -1.4px transparent, inset 0 0 0 0 transparent;
  position: relative;
}

.offer {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow), var(--edge);
  overflow: hidden;
}
.offer-body { padding: 32px 34px; }
.offer-body h2 { font-size: 23px; margin-bottom: 18px; letter-spacing: -0.02em; }
.offer-list { list-style: none; display: grid; gap: 12px; }
.offer-list li { font-size: 15px; color: var(--text-2); padding-left: 26px; position: relative; line-height: 1.55; }
.offer-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.offer-garantie {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-3);
}
.offer-price {
  border-left: 1px solid var(--line);
  background: radial-gradient(420px 260px at 50% 0%, var(--accent-film), transparent 70%);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-barre { font-size: 17px; color: var(--text-3); text-decoration: line-through; }
.price-now {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 58px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 4px;
}
.price-now span { font-size: 26px; margin-left: 3px; color: var(--accent); }
.price-mention { font-size: 13.5px; color: var(--text-2); margin: 12px 0 18px; }
.offer-price .btn { width: 100%; }
.price-demo { font-size: 11.8px; color: var(--text-3); margin-top: 14px; line-height: 1.5; }

/* Dossier */
.dossier-tabs {
  display: inline-flex;
  margin-top: 30px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-1);
  gap: 4px;
}
.tab {
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.tab:hover { color: var(--text-2); }
.tab.active { background: var(--bg-3); color: var(--text); box-shadow: var(--edge); }

.panel { display: none; margin-top: 28px; }
.panel.active { display: block; }
.panel-note {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 20px;
  font-size: 14.8px;
  color: var(--text-2);
  max-width: 78ch;
}

.prompt-box {
  margin-top: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prompt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.prompt-len { font-family: "Spline Sans Mono", monospace; font-size: 11.5px; color: var(--text-3); letter-spacing: 0.04em; }
.btn-copy {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border: none;
  border-radius: 8px;
  background: var(--action);
  color: var(--action-texte);
  cursor: pointer;
  box-shadow: 0 8px 24px -12px var(--accent-glow);
  transition: filter .15s;
}
.btn-copy:hover { filter: brightness(1.08); }
.prompt-pre {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.7;
  padding: 24px 26px;
  white-space: pre-wrap;
  background: #05060a;
  color: var(--text-2);
  max-height: 560px;
  overflow: auto;
}
.prompt-pre::-webkit-scrollbar { width: 10px; }
.prompt-pre::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 6px; }

/* Marketing */
.mk-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.mk-h { font-size: 26px; margin-bottom: 6px; letter-spacing: -0.02em; }
.mk-week { border-top: 1px solid var(--line); padding: 22px 0; }
.mk-week h3 { font-size: 17px; margin-bottom: 12px; color: var(--accent); letter-spacing: -0.01em; }
.mk-week ul { list-style: none; display: grid; gap: 10px; }
.mk-week li { font-size: 14.8px; color: var(--text-2); padding-left: 22px; position: relative; }
.mk-week li::before {
  content: "";
  position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--line-3);
}
.mk-aside { display: grid; gap: 14px; }
.mk-block {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--edge);
  padding: 20px 22px;
}
.mk-block h3 { font-size: 15.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.mk-block p, .mk-block li { font-size: 14px; color: var(--text-2); }
.mk-sub { margin-top: 8px; color: var(--text-3) !important; }
.mk-block-gold {
  border-color: rgba(174, 185, 204, 0.32);
  background: radial-gradient(400px 180px at 30% -30%, var(--accent-film), transparent 70%), linear-gradient(180deg, var(--bg-2), var(--bg-1));
}
.mk-block-gold h3 { color: var(--accent); }
.mk-canaux { list-style: none; display: grid; gap: 10px; }
.mk-canaux strong { color: var(--text); }
.mk-hooks { list-style: none; display: grid; gap: 12px; }
.mk-hooks li {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  color: var(--text) !important;
  font-size: 14.5px;
}

/* ---------- Responsive ---------- */

/* Le hero ne passe en colonne unique que quand la place manque vraiment. */
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 72px 0 40px; }
}



@media (max-width: 980px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(2) { border-right: none; }
  .strip div:nth-child(1), .strip div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .card-wide, .card-half, .card-third { grid-column: auto; }
  .step { grid-template-columns: 60px 1fr; gap: 18px; padding: 26px 22px; }
  .step-tag { display: none; }
  .pricing { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .offer { grid-template-columns: 1fr; }
  .offer-price { border-left: none; border-top: 1px solid var(--line); }
  .mk-grid { grid-template-columns: 1fr; }
  .options-compact { grid-template-columns: 1fr; }
  .idea-head { flex-direction: column; }
  .idea-facts { grid-template-columns: 1fr; }
  .idea-card, .teaser-open { padding: 24px 22px; }
  .teaser-locked { padding: 20px 22px; }
  .head-nav a:not(.head-cta) { display: none; }
  .section { padding: 76px 0; }
  .wrap { padding: 0 20px; }
  .dossier-tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 11px 8px; }
}

/* Checkout Whop intégré : l'iframe est servie par Whop mais s'affiche dans la page. */
.whop-checkout {
  width: 100%;
  min-height: 520px;
  margin: 22px 0 6px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface, #101015);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}
.whop-checkout iframe { width: 100%; border: 0; display: block; }
