/* =========================================================
   Resellia — landing page
   Direction artistique : nuit profonde + éclipse solaire.
   Palette « coucher de soleil » : ambre → corail → rose → violet,
   avec une touche de bleu ciel pour le contraste.
   ========================================================= */

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #050308;
  --border: rgba(255, 240, 230, .10);
  --border-2: rgba(255, 240, 230, .18);
  --text: #F8F4EF;
  --text-2: #C6BDCB;
  --mute: #8F8697;

  --amber: #FFC56B;
  --coral: #FF6A4D;
  --rose: #FF4D8D;
  --violet: #8B6CFF;
  --sky: #4CC9F0;
  --danger: #FF7A8A;

  --sunset: linear-gradient(95deg, #FFC56B 0%, #FF7A4D 34%, #FF4D8D 66%, #9B7BFF 100%);

  --f-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* rayon du disque noir : recalculé en JS selon le contenu */
  --r: 390px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-behavior: smooth; scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(255, 106, 77, .4); color: #fff; }
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* Textes en dégradé */
.grad {
  background: linear-gradient(180deg, #fff 20%, #D8C7E4 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.grad-sun {
  background: var(--sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--f-body);
  padding: 16px 26px; border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .25s, background .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-white { background: #fff; color: #120A10; }
.btn-white:hover { background: #FFF4EC; }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { width: 100%; padding: 20px 28px; font-size: 17px; }

/* Anneau dégradé qui tourne autour des boutons principaux */
.btn-ring, .btn-glow {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--angle), #FFC56B, #FF6A4D, #FF4D8D, #8B6CFF, #4CC9F0, #FFC56B) border-box;
  animation: ring-spin 5s linear infinite;
}
.btn-ring:hover, .btn-glow:hover {
  background:
    linear-gradient(#FFF4EC, #FFF4EC) padding-box,
    conic-gradient(from var(--angle), #FFC56B, #FF6A4D, #FF4D8D, #8B6CFF, #4CC9F0, #FFC56B) border-box;
}
.btn-glow {
  box-shadow:
    0 14px 44px -10px rgba(255, 90, 110, .6),
    0 0 46px -8px rgba(139, 108, 255, .5);
}
.btn-glow:hover {
  box-shadow:
    0 18px 56px -10px rgba(255, 90, 110, .75),
    0 0 60px -6px rgba(139, 108, 255, .6);
}
@keyframes ring-spin { to { --angle: 360deg; } }

/* ---------- Navigation flottante ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 1080px; height: 60px; margin: 0 auto; padding: 0 9px 0 22px;
  display: flex; align-items: center; gap: 24px;
  border-radius: 999px;
  background: rgba(12, 8, 16, .6);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.logo {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--text); text-decoration: none;
  font: 700 14px/1 var(--f-head); letter-spacing: .34em;
}
.logo-mark { width: 30px; height: 30px; margin: -3px 0; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 720px) {
  .nav { height: 54px; padding-left: 18px; }
}
@media (max-width: 380px) {
  .nav { gap: 12px; padding-left: 16px; }
  .logo { letter-spacing: .2em; }
  .nav .btn-sm { padding: 10px 14px; }
}
@media (max-width: 340px) {
  .nav .logo span { display: none; }
}

/* ---------- Éclipse (accueil, page de compte, 404) ---------- */
.eclipse {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  background: var(--bg);
  /* position du reflet « bague de diamant » sur le bord du disque */
  --fx: 71%; --fy: 4.7%;
}
.eclipse--hero {
  min-height: max(100svh, calc(var(--r) * 2 + 120px));
  padding: 110px 16px 80px;
}
.eclipse-rays {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); z-index: -3;
  translate: -50% -50%;
  pointer-events: none;
  opacity: 0; transition: opacity 1.4s ease;
  animation: spin 480s linear infinite;
}
.eclipse-rays.is-ready { opacity: 1; }
@keyframes spin { to { rotate: 360deg; } }

.eclipse-disc {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); z-index: -2;
  width: calc(var(--r) * 2); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #170D1C 0%, #090510 52%, #040207 72%);
  box-shadow:
    0 0 0 1px rgba(255, 228, 210, .32),
    0 0 18px 1px rgba(255, 214, 190, .45),
    0 0 80px 14px rgba(255, 96, 120, .16),
    inset 0 0 70px rgba(255, 140, 160, .07);
}
/* Reflet « bague de diamant » : point de lumière + étoile */
.eclipse-disc::before,
.eclipse-disc::after {
  content: ""; position: absolute; left: var(--fx); top: var(--fy);
  translate: -50% -50%; pointer-events: none;
}
.eclipse-disc::after {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle,
    #fff 0 2px,
    rgba(255, 246, 232, .95) 4px,
    rgba(255, 197, 107, .55) 11px,
    rgba(255, 106, 77, .2) 34px,
    rgba(255, 77, 141, .06) 60px,
    transparent 72%);
  animation: twinkle 5s ease-in-out infinite;
}
.eclipse-disc::before {
  width: 260px; height: 260px; rotate: 18deg;
  background:
    linear-gradient(90deg, transparent, rgba(255, 240, 225, .85) 50%, transparent) center / 100% 1.5px no-repeat,
    linear-gradient(0deg, transparent, rgba(255, 240, 225, .7) 50%, transparent) center / 1.5px 70% no-repeat;
  animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .85; scale: 1; }
  50% { opacity: 1; scale: 1.12; }
}

/* vignette sombre dans les coins */
.eclipse::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 55%, rgba(5, 3, 8, .85) 100%);
}

.eclipse-content {
  position: relative; width: 100%; max-width: 680px; min-width: 0;
  display: grid; justify-items: center; text-align: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .04);
  font: 500 13px/1.2 var(--f-body); color: var(--text-2);
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 197, 107, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 197, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 197, 107, 0); }
}

h1 {
  margin-top: 24px;
  font: 700 clamp(32px, 5.6vw + 12px, 68px)/1.04 var(--f-head);
  letter-spacing: -0.035em;
}
.hero-sub { margin-top: 20px; max-width: 46ch; text-wrap: pretty; font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.55; color: var(--text-2); }
.fine { margin-top: 18px; font-size: 13px; color: var(--mute); }
.fine a { color: var(--text-2); }

/* Boutons d'action du hero */
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; width: 100%; }
.hero-ctas .btn-lg { width: auto; }
@media (max-width: 520px) { .hero-ctas .btn-lg { flex: 1 1 100%; } }

/* Champs de formulaire */
.field { position: relative; display: block; }
.field input {
  width: 100%; height: 60px; padding: 0 54px 0 22px;
  border-radius: 20px; border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, .035); color: var(--text);
  font: 16px var(--f-body);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder { color: #7D7484; }
.field input:focus { outline: none; border-color: rgba(255, 150, 120, .7); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(255, 106, 77, .14); }
.field input[aria-invalid="true"] { border-color: rgba(255, 122, 138, .85); }
.form-msg { font-size: 14px; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg[data-state="error"] { color: var(--danger); }
.form-msg[data-state="info"] {
  padding: 14px 18px; border-radius: 16px;
  background: rgba(139, 108, 255, .1); border: 1px solid rgba(139, 108, 255, .35);
  color: var(--text-2);
}

@media (max-width: 720px) {
  .eclipse--hero { padding: 96px 16px 64px; }
}

/* ---------- Page de compte (inscription / connexion) ---------- */
.eclipse--auth { padding: 56px 16px; }
.eclipse--auth .eclipse-content { max-width: 420px; }
.auth-logo { font-size: 15px; }
.auth-logo .logo-mark { width: 34px; height: 34px; }
.auth-title { margin-top: 26px; font: 700 clamp(34px, 4vw + 8px, 54px)/1.05 var(--f-head); letter-spacing: -0.035em; }

.auth-box { width: 100%; margin-top: 32px; display: grid; gap: 16px; }
.btn-google { gap: 12px; }
.btn-google svg { width: 22px; height: 22px; }
.btn-google:hover svg { transform: none; }
.divider { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--mute); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-form { display: grid; gap: 12px; }
.auth-form .field input { padding-right: 22px; }
.auth-form .field input[type="password"] { padding-right: 54px; }
.auth-form .btn-lg { margin-top: 8px; }

.field-btn {
  position: absolute; right: 10px; top: 50%; translate: 0 -50%;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 12px; background: none; color: #978E9F; cursor: pointer;
}
.field-btn:hover { color: var(--text); }
.field-btn svg { width: 20px; height: 20px; }
.field-btn .slash { display: none; }
.field-btn.is-on .slash { display: inline; }

.auth-switch { margin-top: 24px; font-size: 15.5px; color: var(--text-2); }
.auth-switch a { color: var(--text); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; text-underline-offset: 3px; }
.terms { max-width: 40ch; margin-top: 12px; line-height: 1.55; }
.terms a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Espace membre (espace.html) ---------- */
.app-page {
  background:
    radial-gradient(55% 460px at 88% -60px, rgba(139, 108, 255, .16), transparent 100%),
    radial-gradient(50% 420px at 30% -80px, rgba(255, 106, 77, .14), transparent 100%),
    var(--bg);
}
.app { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.app[hidden], .app [hidden] { display: none !important; }
.app svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app .panel, .app .card, .app .teaser { scroll-margin-top: 90px; }
.app button { font-family: inherit; }

/* Menu latéral */
.side {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 24px;
  padding: 26px 16px 16px;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
}
.side-logo { padding: 2px 10px 6px; }
.tabs { display: grid; gap: 4px; }
.tab {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 8px 12px 8px 8px; border: 1px solid transparent; border-radius: 16px;
  background: none; color: var(--text-2); text-align: left; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.tab-ico {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border);
  color: var(--text-2); transition: background .25s, color .25s, box-shadow .25s;
}
.tab-ico svg { width: 19px; height: 19px; }
.tab-txt { display: grid; gap: 3px; min-width: 0; }
.tab-txt b { font: 600 15px/1.2 var(--f-head); color: var(--text); }
.tab-txt small { font-size: 12.5px; line-height: 1.2; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-lock { display: inline-flex; align-items: center; gap: 4px; font: 500 11.5px/1 var(--f-mono); color: var(--mute); }
.tab-lock svg { width: 13px; height: 13px; }
.tab:hover { background: rgba(255, 255, 255, .04); }
.tab:hover .tab-ico { color: var(--text); }
.tab[aria-selected="true"] { background: rgba(255, 255, 255, .06); border-color: var(--border-2); }
.tab[aria-selected="true"] .tab-ico { background: var(--sunset); border-color: transparent; color: #1A0A12; box-shadow: 0 8px 24px -8px rgba(255, 106, 77, .7); }

.side-up {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: auto; display: grid; gap: 11px; padding: 18px;
  border-radius: 22px; border: 1px solid transparent;
  background:
    linear-gradient(160deg, #1F101D, #0E0812) padding-box,
    linear-gradient(140deg, rgba(255, 197, 107, .75), rgba(255, 77, 141, .3) 50%, rgba(139, 108, 255, .65)) border-box;
}
.side-up::before {
  content: ""; position: absolute; z-index: -1; top: -70px; right: -60px; width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(255, 106, 77, .35), transparent);
}
.side-up-k { font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--sunset); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.side-up-txt { font-size: 13.5px; color: var(--text-2); }
.side-up-txt b { color: var(--text); }
.side-up .btn { width: 100%; }
.side-up small { text-align: center; font-size: 12px; color: var(--mute); }

.side-user {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border);
}
.avatar {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--sunset); color: #1A0A12; font: 700 16px/1 var(--f-head);
}
.avatar--sm { width: 32px; height: 32px; font-size: 14px; }
.side-user-txt { min-width: 0; display: grid; gap: 3px; }
.side-user-txt b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user-txt small { font-size: 12px; color: var(--amber); }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center; flex: none;
  border-radius: 12px; border: 1px solid var(--border); background: none; color: var(--text-2); cursor: pointer;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }

/* Zone principale */
.app-main { min-width: 0; }
.app-top { display: none; }
.app-content { max-width: 1100px; margin: 0 auto; padding: 44px 44px 110px; }

.hello { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 11px; border-radius: 999px;
  background: rgba(255, 197, 107, .08); border: 1px solid rgba(255, 197, 107, .3);
  color: var(--amber); font: 600 12.5px/1 var(--f-body);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 197, 107, .18); }
.hello-title { margin-top: 18px; font: 700 clamp(32px, 4.4vw, 54px)/1.04 var(--f-head); letter-spacing: -0.038em; }
.hello-sub { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.hello-sub b { color: var(--text); }
.hello-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hello-chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-2); font-size: 13px; color: var(--text-2); }
.hello-goal {
  display: grid; justify-items: center; gap: 10px; padding: 20px 26px;
  border-radius: 26px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.hello-goal p { font-size: 13px; font-weight: 600; color: var(--text-2); }
.ring-wrap { position: relative; width: 116px; height: 116px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255, 255, 255, .08); }
.ring-fg { stroke: url(#g-sun); stroke-dasharray: 0 100; transition: stroke-dasharray .9s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-txt b { font: 700 28px/1 var(--f-head); letter-spacing: -0.02em; }
.ring-txt small { margin-top: 3px; font-size: 11.5px; color: var(--mute); }

.promo { display: none; }

/* Contenu d'un onglet */
.panel { margin-top: 52px; animation: panel-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.panel:focus { outline: none; }
.panel:focus-visible { outline: 2px solid var(--amber); outline-offset: 10px; border-radius: 24px; }
.panel-k { font: 500 12px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.panel-head h2 { margin-top: 14px; font: 700 clamp(28px, 3.4vw, 42px)/1.08 var(--f-head); letter-spacing: -0.032em; }
.panel-head p { margin-top: 10px; max-width: 60ch; color: var(--text-2); font-size: 16.5px; }

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.bento:empty { display: none; }
.card {
  position: relative; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 245, 240, .055), rgba(255, 245, 240, .018));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.card--wide { grid-column: 1 / -1; }
.card h3 { font: 600 20px/1.25 var(--f-head); letter-spacing: -0.018em; }
.card .card-big { font: 700 clamp(23px, 2.6vw, 30px)/1.14 var(--f-head); letter-spacing: -0.028em; }
.card p { color: var(--text-2); font-size: 15px; }
.card p b { color: var(--text); }
.card .card-fine { font-size: 12.5px; color: var(--mute); }
.card .note { width: 100%; font-size: 14px; }
.card-k { font: 500 11.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.card-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.card-ico {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  border-radius: 14px; border: 1px solid rgba(255, 197, 107, .3); background: rgba(255, 197, 107, .1); color: var(--amber);
}
.card-ico svg { width: 21px; height: 21px; }
.card-tag { padding: 6px 10px; border-radius: 999px; font: 600 12px/1 var(--f-body); white-space: nowrap; }
.card-tag.is-open { color: #7FE0A0; background: rgba(127, 224, 160, .1); border: 1px solid rgba(127, 224, 160, .35); }
.card-tag.is-soon { color: var(--text-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--border-2); }
.card-btn { margin-top: auto; }
.card-h4 { margin: 18px 0 12px; font: 600 16px/1.3 var(--f-head); }
.link-inline {
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--amber); font-size: 13.5px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.card--test { background: linear-gradient(135deg, rgba(255, 197, 107, .12), rgba(255, 77, 141, .06) 60%, rgba(139, 108, 255, .08)); border-color: rgba(255, 197, 107, .35); }

/* Plan de départ : étapes à cocher */
.steps { width: 100%; list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border);
  transition: border-color .25s, background .25s;
}
.step {
  width: 100%; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start;
  padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
}
.step-check {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 9px; border: 1.5px solid var(--border-2); color: transparent;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.step:hover .step-check { border-color: var(--amber); }
.step-check svg { width: 16px; height: 16px; stroke-width: 2.8; }
.step b { display: block; font: 600 15px/1.35 var(--f-head); }
.step small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.step[aria-pressed="true"] .step-check { background: #7FE0A0; border-color: #7FE0A0; color: #0B1A10; transform: scale(1.06); }
.step[aria-pressed="true"] b { color: var(--text-2); }
.steps li:has(.step[aria-pressed="true"]) { border-color: rgba(127, 224, 160, .4); background: rgba(127, 224, 160, .05); }
.steps .link-inline { margin: auto 0 0 40px; }
.bravo {
  width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; padding: 16px 18px;
  border-radius: 18px; background: linear-gradient(90deg, rgba(127, 224, 160, .12), rgba(255, 197, 107, .1));
  border: 1px solid rgba(127, 224, 160, .35);
}
.bravo > svg { width: 24px; height: 24px; color: #7FE0A0; flex: none; }
.bravo p { flex: 1 1 260px; font-size: 14.5px; }

/* Idées de la semaine */
.idea-slots { width: 100%; display: grid; gap: 8px; margin-top: auto; padding-top: 6px; }
.idea-slot {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  border-radius: 14px; border: 1px dashed var(--border-2); color: var(--mute); font: 500 13px/1 var(--f-mono);
}
.idea-slot svg { width: 16px; height: 16px; color: var(--amber); }

/* Calculateur avec jauge */
.calc-gauge { --c: 127, 224, 160; width: 100%; display: grid; justify-items: center; gap: 4px; padding-top: 4px; }
.calc-gauge[data-level="mid"] { --c: 255, 197, 107; }
.calc-gauge[data-level="low"] { --c: 255, 122, 138; }
.calc-gauge[data-level="none"] { --c: 198, 189, 203; }
.gauge-svg { width: min(100%, 250px); height: auto; overflow: visible; }
.gauge-track { stroke: url(#g-gauge); stroke-width: 14; }
.gauge-needle { transform-origin: 100px 100px; transform: rotate(-90deg); transition: transform .7s cubic-bezier(.3, 1.35, .5, 1); }
.gauge-needle line { stroke: #fff; stroke-width: 4; }
.gauge-needle circle { fill: #fff; stroke: #050308; stroke-width: 3; }
.gauge-val { margin-top: -6px; text-align: center; }
.gauge-val b { display: block; font: 700 36px/1.1 var(--f-head); letter-spacing: -0.035em; color: rgb(var(--c)); transition: color .25s; }
.gauge-val small { font-size: 12.5px; color: var(--mute); }
.card .calc-verdict { margin-top: 6px; text-align: center; font-size: 14px; }
.calc-verdict b { color: rgb(var(--c)); }
.calc { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.calc-field { min-width: 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.calc-input {
  display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 10px;
  border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border-2);
  transition: border-color .2s, background .2s;
}
.calc-input:focus-within { border-color: var(--amber); background: rgba(255, 197, 107, .05); }
.calc-input input { width: 100%; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: 600 16px/1 var(--f-body); outline: none; }
.calc-input em { font-style: normal; color: var(--mute); }
.calc-input select { border: 0; background: none; color: var(--text-2); font: 600 16px var(--f-body); cursor: pointer; }
.calc-input select option { background: #140B18; }
.calc-nums { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 2px 0 0; }
.calc-nums div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.calc-nums dt { font-size: 12px; color: var(--mute); }
.calc-nums dd { margin: 3px 0 0; font: 700 17px/1.2 var(--f-head); }

/* Guide, exemple chiffré, règles */
.guide-cols { width: 100%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li {
  position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 14px;
  padding-bottom: 14px; font-size: 15px; color: var(--text-2); counter-increment: step;
}
.timeline li::before {
  content: counter(step); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 197, 107, .12); border: 1px solid rgba(255, 197, 107, .4);
  color: var(--amber); font: 600 13px/1 var(--f-mono);
}
.timeline li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: linear-gradient(rgba(255, 197, 107, .35), transparent); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline span { padding-top: 4px; }
.timeline b { color: var(--text); }
.example {
  align-self: start; display: grid; justify-items: start; gap: 10px; padding: 22px;
  border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 180, 140, .28);
}
.card .example-lead { font: 600 17px/1.3 var(--f-head); color: var(--text); }
.example-rows { width: 100%; margin: 0; }
.example-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.example-rows dt { color: var(--text-2); }
.example-rows dd { margin: 0; font-weight: 600; white-space: nowrap; }
.example-rows .is-total { border-bottom: 0; }
.example-rows .is-total dt, .example-rows .is-total dd { color: #7FE0A0; font-weight: 700; }
.example .btn { white-space: normal; text-align: center; }
.place-cols { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.place-box { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.place-box b { display: flex; align-items: center; gap: 9px; font: 600 16px/1.3 var(--f-head); }
.place-box b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 12px var(--sky); }
.place-box--b b::before { background: var(--coral); box-shadow: 0 0 12px var(--coral); }
.card .place-box p { margin-top: 8px; font-size: 14.5px; }
.rules { width: 100%; list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; counter-reset: rule; }
.rules li {
  display: grid; gap: 6px; align-content: start; padding: 16px; counter-increment: rule;
  border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border);
  font-size: 13.5px; line-height: 1.5; color: var(--text-2);
}
.rules li::before { content: "0" counter(rule); font: 600 12px/1 var(--f-mono); color: var(--amber); }
.rules b { font: 600 15px/1.3 var(--f-head); color: var(--text); }

/* Aperçus des outils payants */
.teaser {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 36px; align-items: center;
  margin-top: 18px; padding: 36px;
  border-radius: 30px; border: 1px solid transparent;
  background:
    linear-gradient(160deg, #1B0E1B, #0C0710 62%) padding-box,
    linear-gradient(135deg, rgba(255, 197, 107, .75), rgba(255, 77, 141, .28) 45%, rgba(139, 108, 255, .65)) border-box;
  box-shadow: 0 50px 120px -60px rgba(255, 77, 141, .6);
}
.teaser::before { content: ""; position: absolute; z-index: -1; top: -180px; right: -140px; width: 560px; height: 440px; background: radial-gradient(closest-side, rgba(255, 106, 77, .26), transparent); }
.teaser::after { content: ""; position: absolute; z-index: -1; bottom: -220px; left: -140px; width: 520px; height: 400px; background: radial-gradient(closest-side, rgba(139, 108, 255, .2), transparent); }
.teaser-copy { display: grid; justify-items: start; gap: 16px; }
.teaser-copy h3 { font: 700 clamp(26px, 3vw, 38px)/1.08 var(--f-head); letter-spacing: -0.032em; }
.teaser-copy p { color: var(--text-2); font-size: 16px; }
.teaser-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.teaser-points li { display: flex; align-items: center; gap: 10px; }
.teaser-points svg { width: 18px; height: 18px; flex: none; color: #7FE0A0; stroke-width: 2.6; }
.teaser-copy .btn { margin-top: 4px; white-space: normal; text-align: center; }
.teaser-visual { position: relative; padding-top: 14px; }
.mock-tag {
  position: absolute; z-index: 2; top: 0; right: 14px; padding: 6px 10px; border-radius: 999px;
  background: rgba(10, 6, 13, .9); border: 1px solid var(--border-2);
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
}
.mock {
  padding: 16px; border-radius: 24px;
  background: rgba(9, 6, 12, .82); border: 1px solid var(--border-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) and (min-width: 900px) {
  .mock { transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); }
  .teaser:hover .mock { transform: perspective(1400px) rotateY(0) rotateX(0); }
}
.mock-lock {
  position: absolute; left: 50%; bottom: 24%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(12, 8, 16, .9); border: 1px solid rgba(255, 197, 107, .55);
  color: var(--amber); font: 600 13.5px/1 var(--f-body); white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
}
.mock-lock svg { width: 16px; height: 16px; }

.mock-ideas { display: grid; gap: 10px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; font-size: 13px; }
.mock-head b { font: 600 15px/1 var(--f-head); }
.mock-head span { color: #7FE0A0; font-weight: 600; }
.idea {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid var(--border);
}
.idea.is-blur { filter: blur(4px); opacity: .65; }
.idea-thumb { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; }
.idea-thumb svg { width: 28px; height: 28px; color: #fff; stroke-width: 1.6; }
.idea-thumb--a { background: linear-gradient(135deg, #FFC56B, #FF7A4D); }
.idea-thumb--b { background: linear-gradient(135deg, #8B6CFF, #4CC9F0); }
.idea-thumb--c { background: linear-gradient(135deg, #FF4D8D, #8B6CFF); }
.idea-txt { min-width: 0; display: grid; gap: 5px; }
.idea-txt b { font: 600 15px/1.2 var(--f-head); }
.idea-txt small { font-size: 12.5px; color: var(--mute); }
.idea-bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.idea-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FFC56B, #7FE0A0); }
.idea-side { display: grid; justify-items: end; gap: 7px; }
.idea-score { padding: 4px 8px; border-radius: 8px; background: rgba(127, 224, 160, .14); color: #7FE0A0; font: 700 13px/1 var(--f-mono); }
.idea-margin { font: 700 15px/1 var(--f-head); white-space: nowrap; }

.mock-chat { display: grid; gap: 10px; }
.msg { max-width: 88%; display: grid; gap: 6px; padding: 12px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.msg small { font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.msg--me { justify-self: end; background: rgba(255, 255, 255, .08); border-bottom-right-radius: 6px; }
.msg--cn { justify-self: end; background: linear-gradient(135deg, #FF7A4D, #FF4D8D); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 14px 30px -14px rgba(255, 77, 141, .8); }
.msg--cn small { color: rgba(255, 255, 255, .78); }
.msg [lang="zh"] { font-size: 17px; font-weight: 600; }
.msg-copy { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .22); font: 600 12px/1 var(--f-body); }
.msg-copy svg { width: 13px; height: 13px; }
.msg--them { justify-self: start; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.msg--them em { font-style: normal; font-size: 13.5px; color: var(--text-2); }

.mock-listing { display: grid; grid-template-columns: minmax(0, .8fr) auto minmax(0, 1.25fr); gap: 12px; align-items: center; }
.ml-photo {
  position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center;
  border-radius: 18px; background: linear-gradient(160deg, #F4E6D4, #D6BC9F); color: #8E6A49;
}
.ml-photo svg { width: 62%; height: auto; stroke-width: 1.1; }
.ml-photo svg { fill: rgba(255, 255, 255, .45); }
.ml-photo span { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 11px/1 var(--f-body); }
.ml-arrow { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sunset); color: #1A0A12; box-shadow: 0 10px 26px -8px rgba(255, 77, 141, .8); }
.ml-arrow svg { width: 19px; height: 19px; }
.ml-card { min-width: 0; display: grid; gap: 8px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-2); }
.ml-ai { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: rgba(139, 108, 255, .2); color: #CFC3FF; font: 600 11.5px/1 var(--f-body); }
.ml-ai svg { width: 13px; height: 13px; }
.ml-card b { font: 600 15.5px/1.3 var(--f-head); }
.ml-price { font: 700 22px/1 var(--f-head); }
.ml-card p { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.ml-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ml-tags span { padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 11.5px; color: var(--text-2); }

.mock-dash { display: grid; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis div { min-width: 0; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid var(--border); }
.kpis small { display: block; font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis b { display: block; margin: 5px 0 4px; font: 700 22px/1 var(--f-head); }
.kpis em { font: 600 11.5px/1 var(--f-body); font-style: normal; color: #7FE0A0; }
.kpis div:last-child em { color: var(--mute); }
.dash-chart { width: 100%; height: 110px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.dash-chart .area { fill: url(#g-area); stroke: none; }
.dash-chart .line { stroke: url(#g-line); stroke-width: 3; vector-effect: non-scaling-stroke; }
.dash-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dash-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .035); font-size: 13px; color: var(--text-2); }
.dash-rows span:first-child { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-rows b { color: #7FE0A0; }

.mock-ai { display: grid; gap: 14px; }
.ai-q { justify-self: end; max-width: 85%; padding: 12px 14px; border-radius: 18px 18px 6px 18px; background: rgba(255, 255, 255, .08); font-size: 14.5px; }
.ai-a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.ai-av { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--sunset); color: #1A0A12; }
.ai-av svg { width: 17px; height: 17px; }
.ai-a p {
  font-size: 14.5px; line-height: 1.6; color: var(--text-2);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}
.ai-input {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 7px 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-2);
  color: var(--mute); font-size: 14px;
}
.ai-send { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #120A10; }
.ai-send svg { width: 16px; height: 16px; }

/* Services à débloquer */
.locked { margin-top: 40px; }
.locked-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.locked-head h3 { font: 600 21px/1.2 var(--f-head); letter-spacing: -0.018em; }
.locked-head p { font-size: 13.5px; color: var(--mute); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; margin-top: 16px; }
.feat {
  --pc: 255, 197, 107; --pt: #FFC56B;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 20px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feat--croissance { --pc: 255, 77, 141; --pt: #FF8FB4; }
.feat--expert { --pc: 139, 108, 255; --pt: #B5A3FF; }
.feat::before {
  content: ""; position: absolute; z-index: -1; top: -80px; right: -70px; width: 210px; height: 170px;
  background: radial-gradient(closest-side, rgba(var(--pc), .24), transparent); opacity: .7; transition: opacity .25s;
}
.feat:hover { transform: translateY(-3px); border-color: rgba(var(--pc), .5); box-shadow: 0 22px 50px -26px rgba(var(--pc), .6); }
.feat:hover::before { opacity: 1; }
.feat-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feat-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(var(--pc), .12); border: 1px solid rgba(var(--pc), .32); color: var(--pt); }
.feat-ico svg { width: 20px; height: 20px; }
.feat h4 { margin: 4px 0 0; font: 600 16px/1.3 var(--f-head); }
.feat p { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.feat-cta {
  margin-top: auto; padding: 6px 0 0; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; color: var(--pt); font: 600 13.5px/1.2 var(--f-body);
}
.feat-cta::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.feat-cta svg { width: 15px; height: 15px; transition: transform .2s; }
.feat:hover .feat-cta svg { transform: translateX(3px); }
.feat-plan { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 600 11.5px/1 var(--f-body); white-space: nowrap; }
.feat-plan svg { width: 12px; height: 12px; stroke-width: 2.2; }
.feat-plan--lancement { color: var(--amber); background: rgba(255, 197, 107, .12); border: 1px solid rgba(255, 197, 107, .4); }
.feat-plan--croissance { color: #FF8FB4; background: rgba(255, 77, 141, .12); border: 1px solid rgba(255, 77, 141, .4); }
.feat-plan--expert { color: #B5A3FF; background: rgba(139, 108, 255, .14); border: 1px solid rgba(139, 108, 255, .45); }

/* Formules */
.offers { margin-top: 100px; scroll-margin-top: 40px; }
.offers-head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.offers-head h2 { font: 700 clamp(30px, 4vw, 48px)/1.06 var(--f-head); letter-spacing: -0.036em; }
.offers-head p { color: var(--text-2); }
.billing { display: inline-flex; gap: 4px; margin-top: 8px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.billing button {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px;
  background: none; color: var(--text-2); font: 600 14px/1 var(--f-body); cursor: pointer; transition: background .2s, color .2s;
}
.billing button[aria-pressed="true"] { background: #fff; color: #120A10; }
.billing-save { padding: 4px 8px; border-radius: 999px; background: rgba(127, 224, 160, .16); color: #7FE0A0; font-size: 11.5px; }
.billing button[aria-pressed="true"] .billing-save { background: #DDF7E6; color: #0E5A2B; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 40px; }
.offer {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 30px 24px 24px; border-radius: 28px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 245, 240, .05), rgba(255, 245, 240, .015));
  transition: box-shadow .35s, transform .35s;
}
.offer.is-reco {
  border: 1.5px solid transparent;
  background:
    linear-gradient(170deg, #1F101D, #0D0811) padding-box,
    conic-gradient(from var(--angle), #FFC56B, #FF4D8D, #8B6CFF, #4CC9F0, #FFC56B) border-box;
  animation: ring-spin 6s linear infinite;
  box-shadow: 0 50px 120px -50px rgba(255, 77, 141, .7);
}
.offer.is-flash { transform: scale(1.02); box-shadow: 0 0 0 4px rgba(255, 197, 107, .45), 0 50px 120px -50px rgba(255, 77, 141, .7); }
.offer-badge {
  display: none; position: absolute; top: -14px; left: 24px; padding: 8px 13px; border-radius: 999px;
  background: var(--sunset); color: #1A0A12; font: 700 12px/1 var(--f-body);
  box-shadow: 0 10px 26px -8px rgba(255, 106, 77, .8);
}
.offer.is-reco .offer-badge { display: inline-flex; }
.offer-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.offer-unlock { font: 500 12px/1 var(--f-mono); color: #7FE0A0; }
.offer-goal { font: 600 18px/1.3 var(--f-head); }
.offer-price { display: flex; align-items: baseline; gap: 8px; color: var(--text-2); font-size: 15px; }
.offer-price b { font: 700 42px/1 var(--f-head); letter-spacing: -0.045em; color: var(--text); }
.offer-price s { color: var(--mute); }
.offer-sub { margin-top: -4px; font-size: 13px; color: var(--mute); }
.offers .p-year, .offers[data-billing="year"] .p-month { display: none; }
.offers[data-billing="year"] .p-year { display: inline; }
.offer-list { list-style: none; margin: 8px 0 14px; padding: 16px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--text-2); }
.offer-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.offer-list svg { width: 18px; height: 18px; margin-top: 2px; color: #7FE0A0; stroke-width: 2.4; }
.offer-btn { width: 100%; margin-top: auto; }
.offers-fine { text-align: center; }

/* Tablette et téléphone : menu en bas, comme une appli */
@media (max-width: 1023px) {
  .app { display: block; }
  .side {
    position: fixed; z-index: 60; top: auto; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    height: auto; overflow: visible; padding: 6px; gap: 0;
    border: 1px solid var(--border-2); border-radius: 24px;
    background: rgba(14, 9, 18, .88); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .65);
  }
  .side-logo, .side-up, .side-user { display: none; }
  .tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; max-width: 560px; margin: 0 auto; width: 100%; }
  .tab { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 3px; padding: 5px 2px 7px; border-radius: 18px; text-align: center; }
  .tab-ico { width: 36px; height: 30px; border-radius: 10px; background: none; border-color: transparent; }
  .tab-txt b { font: 600 11.5px/1.2 var(--f-body); color: var(--text-2); white-space: nowrap; }
  .tab-txt small, .tab-lock { display: none; }
  .tab[aria-selected="true"] { background: rgba(255, 255, 255, .07); border-color: transparent; }
  .tab[aria-selected="true"] .tab-ico { box-shadow: none; }
  .tab[aria-selected="true"] .tab-txt b { color: var(--text); }

  .app-top {
    position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top));
    background: rgba(5, 3, 8, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .app-top-right { display: flex; align-items: center; gap: 10px; }
  .app-content { padding: 30px 20px 130px; }

  .promo {
    display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 12px 14px; text-decoration: none;
    border-radius: 20px; border: 1px solid transparent;
    background:
      linear-gradient(160deg, #1F101D, #0E0812) padding-box,
      linear-gradient(120deg, rgba(255, 197, 107, .7), rgba(255, 77, 141, .3) 50%, rgba(139, 108, 255, .6)) border-box;
  }
  .promo-ico { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border-radius: 12px; background: var(--sunset); color: #1A0A12; }
  .promo-ico svg { width: 18px; height: 18px; }
  .promo-txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
  .promo-txt b { font: 600 15px/1.2 var(--f-head); }
  .promo-txt small { font-size: 12.5px; color: var(--text-2); }
  .promo-arrow { width: 18px; height: 18px; color: var(--amber); }
}
@media (max-width: 860px) {
  .bento, .guide-cols { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .teaser { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 28px 22px; }
  .offer-grid { max-width: 520px; margin-inline: auto; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hello { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hello-goal { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 22px; }
  .ring-wrap { width: 76px; height: 76px; }
  .ring-txt b { font-size: 20px; }
  .ring-txt small { font-size: 10px; }
  .hello-goal p { font-size: 15px; }
  .panel { margin-top: 40px; }
  .card { padding: 20px; border-radius: 22px; }
  .place-cols { grid-template-columns: minmax(0, 1fr); }
  .mock { padding: 12px; }
  .mock-listing { grid-template-columns: 92px auto minmax(0, 1fr); gap: 8px; }
  .ml-arrow { width: 30px; height: 30px; }
  .ml-card { padding: 12px; }
  .kpis b { font-size: 18px; }
  .idea { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .idea-thumb { width: 44px; height: 44px; border-radius: 13px; }
  .offer-price b { font-size: 36px; }
  .billing button { padding: 10px 14px; }
}
@media (max-width: 380px) {
  .calc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-field:nth-child(3) { grid-column: 1 / -1; }
}

/* Ton potentiel : le chemin jusqu'à l'objectif */
.potential {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px 32px; align-items: center;
  margin-top: 30px; padding: 28px 30px;
  border-radius: 28px; border: 1px solid rgba(127, 224, 160, .32);
  background:
    radial-gradient(70% 140% at 0% 0%, rgba(127, 224, 160, .13), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  box-shadow: 0 40px 100px -60px rgba(127, 224, 160, .6);
}
.potential-big { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.potential-big b { font: 700 clamp(46px, 6vw, 70px)/1 var(--f-head); letter-spacing: -0.045em; color: #7FE0A0; text-shadow: 0 0 40px rgba(127, 224, 160, .35); font-variant-numeric: tabular-nums; }
.potential-big span { font-size: 17px; color: var(--text-2); }
.potential-sub { margin-top: 12px; font-size: 15px; color: var(--text-2); }
.potential-sub b { color: var(--text); }
.potential-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.potential-path li { position: relative; min-width: 0; display: grid; gap: 5px; padding: 16px; border-radius: 18px; background: rgba(0, 0, 0, .28); border: 1px solid var(--border); }
.potential-path li + li::before { content: ""; position: absolute; top: 50%; left: -12px; width: 12px; height: 2px; background: linear-gradient(90deg, rgba(127, 224, 160, .15), rgba(127, 224, 160, .8)); }
.potential-path small { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.potential-path b { font: 700 25px/1.1 var(--f-head); letter-spacing: -0.03em; white-space: nowrap; }
.potential-path em { font-style: normal; font-size: 12.5px; line-height: 1.3; color: var(--text-2); }
.potential-path .is-goal { border-color: rgba(127, 224, 160, .55); background: rgba(127, 224, 160, .1); box-shadow: 0 20px 50px -25px rgba(127, 224, 160, .7); }
.potential-path .is-goal b { color: #7FE0A0; }
.potential-fine { grid-column: 1 / -1; font-size: 12px; color: var(--mute); }

/* Calculateur : curseur de quantité et bénéfice total */
.calc-qty { grid-column: 1 / -1; display: grid; gap: 12px; margin-top: 8px; font-size: 14px; color: var(--text-2); }
.calc-qty b { color: var(--text); }
.calc-qty input[type="range"] {
  --p: 18%;
  width: 100%; height: 8px; margin: 0; border-radius: 99px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(90deg, #FFC56B, #7FE0A0) 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, .1);
}
.calc-qty input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; cursor: grab;
  box-shadow: 0 0 0 5px rgba(255, 197, 107, .3), 0 4px 14px rgba(0, 0, 0, .5);
}
.calc-qty input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; cursor: grab;
  box-shadow: 0 0 0 5px rgba(255, 197, 107, .3), 0 4px 14px rgba(0, 0, 0, .5);
}
.calc-qty input[type="range"]:focus-visible { outline: 2px solid var(--amber); outline-offset: 8px; }
.calc-total {
  width: 100%; display: grid; justify-items: center; gap: 4px; padding: 16px; text-align: center;
  border-radius: 18px; border: 1px solid rgba(127, 224, 160, .38);
  background: radial-gradient(90% 130% at 50% 0%, rgba(127, 224, 160, .18), rgba(127, 224, 160, .03));
  transition: border-color .25s, background .25s;
}
.calc-total small { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #7FE0A0; }
.calc-total b { font: 700 40px/1.1 var(--f-head); letter-spacing: -0.04em; color: #7FE0A0; text-shadow: 0 0 30px rgba(127, 224, 160, .4); font-variant-numeric: tabular-nums; }
.calc-total span { font-size: 13px; color: var(--text-2); }
.calc-total.is-neg { border-color: rgba(255, 122, 138, .38); background: rgba(255, 122, 138, .06); }
.calc-total.is-neg small, .calc-total.is-neg b { color: #FF7A8A; text-shadow: none; }

/* Formules : « remboursée dès… » */
.offer-roi {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: rgba(127, 224, 160, .1); border: 1px solid rgba(127, 224, 160, .32);
  color: #C9F2D6; font-size: 13.5px;
}
.offer-roi svg { width: 16px; height: 16px; flex: none; color: #7FE0A0; }
.offer-roi b { color: #7FE0A0; }

/* Accueil à la première visite */
.welcome {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px;
  background: rgba(5, 3, 8, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: welcome-fade .35s ease;
}
.welcome-box {
  position: relative; width: min(100%, 470px); max-height: calc(100dvh - 40px); overflow-y: auto;
  display: grid; justify-items: center; gap: 18px; padding: 34px 28px 24px; text-align: center;
  border-radius: 30px; border: 1.5px solid transparent;
  background:
    linear-gradient(170deg, #1F101D, #0D0811) padding-box,
    conic-gradient(from var(--angle), #FFC56B, #FF4D8D, #8B6CFF, #4CC9F0, #FFC56B) border-box;
  box-shadow: 0 60px 140px -40px rgba(255, 77, 141, .6);
  animation: ring-spin 6s linear infinite, welcome-pop .55s cubic-bezier(.2, 1.3, .4, 1);
}
.welcome-box h2 { font: 700 clamp(28px, 6vw, 36px)/1.08 var(--f-head); letter-spacing: -0.035em; }
.welcome-goal { width: 100%; display: grid; justify-items: center; gap: 4px; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.welcome-goal small { font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.welcome-goal b {
  font: 700 62px/1.05 var(--f-head); letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.welcome-goal span { font-size: 14px; color: var(--text-2); }
.welcome-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; font-size: 15px; }
.welcome-list li { display: flex; align-items: center; gap: 10px; }
/* Accueil : une préparation animée, étape par étape */
.welcome-status { gap: 9px; border-color: rgba(127, 224, 160, .4); background: rgba(127, 224, 160, .08); color: #7FE0A0; animation: ws-pill .35s ease 1.9s both; }
.welcome-status .dot { background: #7FE0A0; box-shadow: 0 0 0 4px rgba(127, 224, 160, .2); animation: ws-dot .35s ease 1.9s both, ws-blink .5s ease-in-out 0s 4 alternate; }
.ws-txt { display: grid; justify-items: center; }
.ws-txt > span { grid-area: 1 / 1; white-space: nowrap; }
.ws-prep { opacity: 0; animation: ws-out 1.95s linear both; }
.ws-ready { animation: ws-in .4s ease 1.9s both; }
@keyframes ws-pill { from { border-color: rgba(255, 197, 107, .3); background: rgba(255, 197, 107, .08); color: var(--amber); } }
@keyframes ws-dot { from { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 197, 107, .18); } }
@keyframes ws-blink { to { opacity: .35; } }
@keyframes ws-out { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ws-in { from { opacity: 0; transform: translateY(5px); } }

.welcome-goal { position: relative; isolation: isolate; overflow: hidden; padding: 20px 18px 34px; }
.welcome-goal::before {
  content: ""; position: absolute; z-index: -2; left: 10%; right: 10%; top: -30%; height: 170px;
  background: radial-gradient(closest-side, rgba(255, 106, 77, .22), transparent);
  animation: wg-breathe 4s ease-in-out infinite alternate;
}
.welcome-goal b {
  background:
    linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .9) 50%, transparent 58%) 160% 0 / 250% 100% no-repeat,
    var(--sunset);
  -webkit-background-clip: text; background-clip: text;
  animation: wg-glint 5s ease 1.9s infinite;
}
.welcome-curve { width: calc(100% + 36px); height: auto; margin: 6px -18px -34px; overflow: visible; }
.wc-area { fill: url(#g-area); stroke: none; animation: wc-fade 1.2s ease .7s both; }
.wc-line { fill: none; stroke: url(#g-line); stroke-width: 2.5; stroke-dasharray: 1; animation: wc-draw 1.5s cubic-bezier(.45, 0, .2, 1) .35s both; }
.wc-dot { fill: #7FE0A0; stroke: #120A12; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: wc-pop .45s cubic-bezier(.2, 1.6, .4, 1) 1.8s both; }
.wc-pulse { fill: none; stroke: #7FE0A0; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: wc-pulse 2.2s ease-out 2.1s infinite; }
@keyframes wg-breathe { to { opacity: .45; transform: scale(.9); } }
@keyframes wg-glint { 0% { background-position: 160% 0, 0 0; } 24%, 100% { background-position: -60% 0, 0 0; } }
@keyframes wc-fade { from { opacity: 0; } }
@keyframes wc-draw { from { stroke-dashoffset: 1; } }
@keyframes wc-pop { from { opacity: 0; transform: scale(0); } }
@keyframes wc-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }

.welcome-list li { --in: .45s; --t: 1s; animation: wl-in .45s ease var(--in) both, wl-lit .3s ease var(--t) both; }
.welcome-list li:nth-child(2) { --in: .6s; --t: 1.35s; }
.welcome-list li:nth-child(3) { --in: .75s; --t: 1.7s; }
.wl-ico {
  position: relative; width: 24px; height: 24px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: rgba(127, 224, 160, .16); color: #7FE0A0;
  animation: wl-bg .3s ease var(--t) both;
}
.wl-ico::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0;
  border: 2px solid rgba(255, 255, 255, .14); border-top-color: var(--amber);
  animation: wl-spin .7s linear infinite, wl-hide var(--t) linear both;
}
.wl-ico svg { width: 14px; height: 14px; stroke-width: 3; stroke-dasharray: 1; animation: wl-draw .35s ease var(--t) both; }
@keyframes wl-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes wl-lit { from { color: var(--mute); } }
@keyframes wl-bg { from { background: rgba(255, 255, 255, .05); } }
@keyframes wl-spin { to { transform: rotate(360deg); } }
@keyframes wl-hide { 0%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wl-draw { from { stroke-dashoffset: 1; } }

.welcome-cta { position: relative; overflow: hidden; animation: ring-spin 5s linear infinite, wcta-in .5s cubic-bezier(.2, .8, .2, 1) 2s both; }
.welcome-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 140, 100, .3) 50%, transparent 65%) -150% 0 / 60% 100% no-repeat;
  animation: wcta-shine 4.5s ease 2.7s infinite;
}
.welcome-cta svg { animation: wcta-nudge 1.8s ease-in-out 2.7s infinite; }
@keyframes wcta-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes wcta-shine { 0% { background-position: -150% 0; } 30%, 100% { background-position: 250% 0; } }
@keyframes wcta-nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(4px); } }
.welcome-box .btn-lg { margin-top: 4px; }
.welcome-fine { font-size: 12px; color: var(--mute); }
@keyframes welcome-fade { from { opacity: 0; } }
@keyframes welcome-pop { from { opacity: 0; transform: translateY(18px) scale(.94); } }
/* Réussites : halo vert à la place des confettis */
.step-check { position: relative; }
.step-check.is-pop { animation: pop-check .45s cubic-bezier(.2, 1.6, .4, 1); }
.step-check.is-pop::after {
  content: ""; position: absolute; inset: -2px; border-radius: 10px; pointer-events: none;
  border: 2px solid #7FE0A0; animation: pop-ring .7s ease-out both;
}
.steps li.is-pop, .hello-goal.is-pop { animation: soft-glow 1s ease-out; }
.calc-total.is-pop { animation: total-glow .9s ease-out; }
.calc-total.is-pop b { animation: total-bump .5s cubic-bezier(.2, 1.6, .4, 1); }
.bravo { animation: bravo-in .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop-check { 0% { transform: scale(.7); } 60% { transform: scale(1.18); } 100% { transform: scale(1.06); } }
@keyframes pop-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
@keyframes soft-glow {
  from { box-shadow: 0 0 0 0 rgba(127, 224, 160, .45), inset 0 0 40px rgba(127, 224, 160, .16); }
  to { box-shadow: 0 0 0 14px rgba(127, 224, 160, 0), inset 0 0 40px rgba(127, 224, 160, 0); }
}
@keyframes total-glow { from { box-shadow: 0 0 0 0 rgba(127, 224, 160, .55); } to { box-shadow: 0 0 0 18px rgba(127, 224, 160, 0); } }
@keyframes total-bump { 50% { transform: scale(1.08); } }
@keyframes bravo-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* Notification de progression */
.toast {
  position: fixed; z-index: 130; left: calc(50% + 136px); bottom: 28px;
  display: flex; align-items: center; gap: 12px; width: max-content; min-width: 280px; max-width: calc(100% - 32px);
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(16, 10, 20, .94); border: 1px solid rgba(127, 224, 160, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .75), 0 0 40px -12px rgba(127, 224, 160, .45);
  opacity: 0; transform: translate(-50%, 16px) scale(.97); pointer-events: none;
  transition: opacity .3s ease, transform .45s cubic-bezier(.2, 1.2, .4, 1);
}
.toast.is-in { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #7FE0A0; color: #0B1A10; }
.toast-ico svg { width: 18px; height: 18px; stroke-width: 2.8; }
.toast-txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.toast-txt b { font: 600 14.5px/1.25 var(--f-head); }
.toast-txt small { font-size: 12.5px; line-height: 1.35; color: var(--text-2); }
.toast-bar { display: block; height: 4px; margin-top: 5px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.toast-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FFC56B, #7FE0A0); transition: width .7s cubic-bezier(.2, .8, .2, 1) .15s; }
@media (max-width: 1023px) {
  .toast { left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 860px) {
  .potential { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; }
}
@media (max-width: 440px) {
  .potential-path { gap: 8px; }
  .potential-path li { padding: 12px 10px; }
  .potential-path li + li::before { left: -8px; width: 8px; }
  .potential-path b { font-size: 19px; }
  .calc-total b { font-size: 34px; }
  .welcome-goal b { font-size: 52px; }
}

/* ---------- En-têtes de page (test, FAQ) ---------- */
.head { display: grid; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto; }
.head p { margin-top: 16px; max-width: 56ch; font-size: 18px; color: var(--text-2); }
@media (max-width: 720px) { .head p { font-size: 16.5px; } }

/* Carte en verre fumé */
.glass {
  background: linear-gradient(180deg, rgba(255, 245, 240, .055), rgba(255, 245, 240, .018));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* Simulateur */
.sim {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1040px; margin: 56px auto 0;
  display: grid; grid-template-columns: 260px 1fr;
  border-radius: 28px; border: 1px solid transparent;
  background:
    linear-gradient(180deg, #120B16, #0A060D) padding-box,
    linear-gradient(140deg, rgba(255, 197, 107, .55), rgba(255, 77, 141, .22) 45%, rgba(139, 108, 255, .5)) border-box;
  box-shadow: 0 40px 120px -40px rgba(255, 77, 141, .35);
}
.sim::before, .sim::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 520px; aspect-ratio: 1; border-radius: 50%;
}
.sim::before { left: -180px; bottom: -260px; background: radial-gradient(circle, rgba(255, 106, 77, .16), transparent 62%); }
.sim::after { right: -200px; top: -260px; background: radial-gradient(circle, rgba(139, 108, 255, .2), transparent 62%); }

/* Panneau de progression */
.sim-side {
  display: flex; flex-direction: column; gap: 26px;
  padding: 34px 26px; border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}
.sim-side-title { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.sim-steps { list-style: none; margin: 0; padding: 0; }
.sim-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 26px; }
.sim-steps li:last-child { padding-bottom: 0; }
.sim-steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px;
  border-radius: 2px; background: var(--border); transition: background .3s;
}
.sim-steps li.is-done:not(:last-child)::before { background: linear-gradient(180deg, #FFC56B, #FF4D8D); }
.dot {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-2); background: #0E0912; color: var(--mute);
  font: 600 13px/1 var(--f-mono);
  transition: background .3s, color .3s, box-shadow .3s;
}
.sim-steps li.is-current .dot {
  color: #1A0A12; background: #fff; border-color: transparent;
  box-shadow: 0 0 0 4px rgba(255, 150, 110, .25), 0 0 26px rgba(255, 106, 77, .55);
}
.sim-steps li.is-done .dot { color: transparent; background: var(--sunset); border-color: transparent; position: relative; }
.sim-steps li.is-done .dot::after { content: "✓"; position: absolute; color: #1A0A12; font: 700 14px/1 var(--f-body); }
.sim-steps b { display: block; padding-top: 6px; font: 600 15px/1.2 var(--f-head); color: var(--mute); transition: color .3s; }
.sim-steps li.is-current b, .sim-steps li.is-done b { color: var(--text); }
.sim-steps small { display: block; margin-top: 4px; font-size: 13px; color: var(--mute); }
.sim-steps li.is-done small { color: var(--amber); }
.sim-side-note { margin-top: auto; font-size: 13px; line-height: 1.6; color: var(--mute); }

/* Zone de la question */
.sim-main { position: relative; min-width: 0; padding: 38px 40px 34px; }
.sim-top { display: none; align-items: center; gap: 16px; margin-bottom: 24px; }
.sim.is-done .sim-top { display: none; }
.sim-count { font: 500 13px/1 var(--f-mono); color: var(--text-2); white-space: nowrap; }
.sim-bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.sim-bar i { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--sunset); transition: width .35s ease; }
.sim-step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.sim-step.is-active { display: block; animation: step-in .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes step-in { from { opacity: 0; translate: 14px 0; } }
.sim-step legend { padding: 0; margin-bottom: 8px; font: 700 clamp(24px, 2.8vw, 32px)/1.15 var(--f-head); letter-spacing: -0.025em; }
.step-sub { margin-bottom: 24px; color: var(--text-2); }
.sim-step .form-msg { margin-top: 12px; }

/* Tuiles de choix */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tile { position: relative; min-width: 0; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile-in {
  position: relative; height: 100%; min-height: 112px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 16px 14px 14px; border-radius: 18px;
  border: 1.5px solid var(--border); background: rgba(255, 255, 255, .03);
  transition: transform .2s, background .2s, border-color .2s, box-shadow .25s;
}
.tile-in svg { width: 28px; height: 28px; flex: none; color: #A99FB2; transition: color .2s; }
.tile-in b { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.tile-in small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: var(--mute); }
.tile:hover .tile-in { background: rgba(255, 255, 255, .06); border-color: var(--border-2); transform: translateY(-2px); }
.tile input:checked + .tile-in {
  border-color: transparent;
  background:
    linear-gradient(160deg, #26131F, #160C1A) padding-box,
    var(--sunset) border-box;
  box-shadow: 0 16px 40px -16px rgba(255, 77, 141, .75);
}
.tile input:checked + .tile-in svg { color: var(--amber); stroke: url(#sun-stroke); }
.tile-in::after {
  content: "✓"; position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sunset); color: #1A0A12; font: 700 12px/1 var(--f-body);
  opacity: 0; scale: .4; transition: opacity .2s, scale .3s cubic-bezier(.3, 1.6, .6, 1);
}
.tile input:checked + .tile-in::after { opacity: 1; scale: 1; }
.tile input:focus-visible + .tile-in { outline: 2px solid var(--amber); outline-offset: 2px; }
.tiles--places { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .tiles--places { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

/* Curseurs */
.range output { display: block; font: 700 clamp(48px, 6vw, 68px)/1 var(--f-head); letter-spacing: -0.035em; }
.range input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 10px; margin: 28px 0 10px; border-radius: 99px; cursor: pointer;
  background:
    linear-gradient(90deg, #FFC56B, #FF6A4D, #FF4D8D) 0 / var(--p, 30%) 100% no-repeat,
    rgba(255, 255, 255, .1);
}
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 0;
  box-shadow: 0 0 0 5px rgba(255, 106, 77, .35), 0 6px 18px rgba(0, 0, 0, .45);
}
.range input[type="range"]::-moz-range-thumb {
  width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0;
  box-shadow: 0 0 0 5px rgba(255, 106, 77, .35), 0 6px 18px rgba(0, 0, 0, .45);
}
.range input[type="range"]:focus-visible { outline: 2px solid var(--amber); outline-offset: 8px; }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.quick button {
  padding: 10px 15px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03);
  color: var(--text-2); font: 600 13.5px/1 var(--f-body); cursor: pointer;
  transition: background .2s, color .2s;
}
.quick button:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.quick button.is-on { background: #fff; color: #120A10; border-color: transparent; }
.range-hint {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 13px 16px; border-radius: 14px;
  background: rgba(255, 197, 107, .07); border: 1px solid rgba(255, 197, 107, .22);
  color: #FFD9A3; font-size: 14.5px;
}
.range-hint::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.range-hint:empty { display: none; }

.sim-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

/* Résultat */
.note { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border); font: 12.5px/1.5 var(--f-body); color: var(--mute); }
.sim-result { animation: step-in .45s cubic-bezier(.2, .8, .2, 1); }
.sim-result:focus { outline: none; }
.result-top { display: flex; align-items: center; gap: 36px; }
.dial { flex: none; width: 250px; }
.dial svg { display: block; width: 100%; height: auto; overflow: visible; }
.dial-track, .dial-arc { fill: none; stroke-width: 14; stroke-linecap: round; }
.dial-track { stroke: rgba(255, 255, 255, .08); }
.dial-arc { stroke: url(#dial-grad); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1); }
.dial-needle { transform-origin: 100px 106px; transform: rotate(-90deg); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.dial-needle line { stroke: #fff; stroke-width: 3.5; stroke-linecap: round; }
.dial-needle circle { fill: #fff; }
.dial-scale { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font-size: 12px; color: var(--mute); }
.dial-scale b { font: 700 30px/1 var(--f-head); letter-spacing: -0.02em; color: var(--text); }
.dial-caption { margin-top: 6px; text-align: center; font-size: 12.5px; color: var(--mute); }

.verdict { --c: 127, 224, 160; display: grid; justify-items: start; gap: 12px; }
.verdict[data-level="mid"] { --c: 255, 197, 107; }
.verdict[data-level="low"] { --c: 255, 122, 138; }
.verdict-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(var(--c), .45); background: rgba(var(--c), .12); color: rgb(var(--c));
  font: 700 13px/1 var(--f-body); letter-spacing: .02em;
}
.verdict-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.verdict h3 { font: 700 clamp(24px, 3vw, 32px)/1.2 var(--f-head); letter-spacing: -0.02em; }
.verdict p { max-width: 52ch; color: var(--text-2); }

.plan-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 30px 0 0; }
.plan-nums div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.plan-nums div:nth-child(3) { border-color: rgba(255, 197, 107, .35); background: rgba(255, 197, 107, .06); }
.plan-nums dt { font-size: 13px; color: var(--mute); }
.plan-nums dd { margin: 8px 0 0; font: 700 22px/1.1 var(--f-head); }
.plan-nums div:nth-child(3) dd { color: var(--amber); }
.link-btn { margin-top: 20px; padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--text); }

/* ---------- Plan de lancement (résultat du test) ---------- */
.result-title { margin-bottom: 18px; font: 700 clamp(28px, 4vw, 40px)/1.08 var(--f-head); letter-spacing: -0.03em; }
.launch {
  position: relative; overflow: hidden; isolation: isolate;
  margin-bottom: 34px; border-radius: 22px;
  border: 1px solid rgba(255, 180, 140, .28);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  box-shadow: 0 34px 90px -46px rgba(255, 77, 141, .55);
}
.launch::before {
  content: ""; position: absolute; z-index: -1; top: -120px; right: -80px; width: 380px; height: 300px;
  background: radial-gradient(closest-side, rgba(255, 106, 77, .2), transparent);
  pointer-events: none;
}
.launch-head { padding: 26px 26px 22px; border-bottom: 1px solid var(--border); }
.launch-k { font: 500 12px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--amber); }
.launch-head h3 { margin-top: 14px; font: 700 clamp(25px, 3.3vw, 34px)/1.12 var(--f-head); letter-spacing: -0.03em; }
.launch-head p { margin-top: 8px; color: var(--text-2); }
.launch-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.launch-chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-2); font-size: 13px; color: var(--text-2); }

.launch-steps { list-style: none; margin: 0; padding: 0; }
.launch-step {
  position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start;
  padding: 20px 26px; border-bottom: 1px solid var(--border);
}
.launch-num {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--border-2);
  font: 500 14px/1 var(--f-mono); color: var(--text-2);
}
.launch-step h4 { margin: 7px 0 0; padding-right: 34px; font: 600 17.5px/1.3 var(--f-head); letter-spacing: -0.015em; }
.launch-step.is-free h4 { padding-right: 84px; }
.launch-step p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.launch-step:last-child { border-bottom: 0; }
.launch-step.is-locked p {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  filter: blur(5px); opacity: .8; user-select: none; -webkit-user-select: none;
}
.launch-step.is-locked { transition: background .2s; }
.launch-step.is-locked:hover { background: rgba(255, 255, 255, .035); }
.launch-unlock { position: absolute; inset: 0; border-radius: inherit; }
.launch-unlock:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.launch-unlock .launch-lock, .launch-tag { position: absolute; top: 26px; right: 26px; }
.launch-lock { width: 19px; height: 19px; color: var(--mute); transition: color .2s, transform .2s; }
.launch-step.is-locked:hover .launch-lock { color: var(--amber); transform: scale(1.12); }
.launch-step.is-free { background: linear-gradient(90deg, rgba(255, 197, 107, .09), transparent 75%); }
.launch-step.is-free .launch-num { border: 0; background: var(--sunset); color: #1A0A12; font-weight: 600; }
.launch-tag {
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(255, 197, 107, .45); background: rgba(255, 197, 107, .12);
  color: var(--amber); font: 600 12px/1 var(--f-body);
}

.launch-buy {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 26px 26px; border-bottom: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(255, 197, 107, .1), rgba(255, 77, 141, .08) 50%, rgba(139, 108, 255, .13));
}
.launch-lead { font-size: 14px; color: var(--text-2); }
.launch-amount { margin-top: 8px; color: var(--text-2); }
.launch-amount b { margin-right: 4px; font: 700 32px/1 var(--f-head); letter-spacing: -0.02em; color: var(--text); }
.launch-offer { margin-top: 8px; font-size: 13px; color: #FFD9A8; }
.launch-cta { flex: none; display: grid; justify-items: center; gap: 12px; }
.launch-free { font-size: 14px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.launch-free:hover { color: var(--text); }

.result-end { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Barre d'achat fixe en bas de l'écran */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(110%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s, visibility 0s .35s;
}
.buy-bar.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.buy-bar-in {
  pointer-events: auto; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(20, 11, 22, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 180, 140, .3);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .9), 0 0 44px -14px rgba(255, 77, 141, .5);
}
.buy-bar-in p { display: grid; gap: 3px; line-height: 1.15; font-size: 13px; color: var(--text-2); }
.buy-bar-in b { font-size: 15px; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .buy-bar { transition: none; } }

@media (max-width: 640px) {
  .launch-head { padding: 22px 18px 18px; }
  .launch-step { grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 18px; }
  .launch-unlock .launch-lock, .launch-tag { top: 21px; right: 18px; }
  .launch-num { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
  .launch-step h4 { margin-top: 5px; font-size: 16px; }
  .launch-step p { font-size: 14px; }
  .launch-buy { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 18px; }
  .launch-cta .btn, .result-end .btn { width: 100%; padding-inline: 16px; font-size: 15px; white-space: normal; text-align: center; }
}

@media (max-width: 900px) {
  .sim { grid-template-columns: 1fr; }
  .sim-side { display: none; }
  .sim-top { display: flex; }
  .sim-main { padding: 28px 24px; }
  .plan-nums { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sim { border-radius: 22px; }
  .sim-main { padding: 24px 16px 22px; }
  .tiles, .tiles--places { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile-in { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; min-height: 58px; padding: 12px 24px 12px 12px; }
  .tile-in svg { width: 22px; height: 22px; }
  .tile-in b { font-size: 14px; }
  .tile-in small { display: none; }
  .tile-in::after { top: 50%; right: 8px; translate: 0 -50%; width: 16px; height: 16px; font-size: 9px; right: 6px; }
  .tiles .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .range output { font-size: 48px; }
  .result-top { flex-direction: column; align-items: stretch; gap: 26px; }
  .dial { margin: 0 auto; width: min(100%, 260px); }
  .sim-nav .btn { flex: 1; padding-inline: 16px; }
  .plan-nums dd { font-size: 19px; }
}
/* Questions en lignes (expérience, motivation, frein) */
.tiles--rows { grid-template-columns: 1fr 1fr; }
.tiles--rows .tile-in { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 84px; padding: 16px 40px 16px 16px; }
.tiles--rows .tile-in svg { width: 26px; height: 26px; }
.tiles--rows .tile-in small { display: block; }
.tiles--rows .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Retour personnalisé au-dessus de la question */
.sim-step legend { float: left; width: 100%; }
.sim-step legend + * { clear: both; }
.step-insight {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 18px; padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(95deg, rgba(255, 197, 107, .12), rgba(255, 77, 141, .08));
  border: 1px solid rgba(255, 197, 107, .3);
  color: #FFE1B8; font-size: 14.5px; line-height: 1.45;
}
.step-insight::before { content: "✦"; color: var(--amber); }
.step-insight:empty { display: none; }

/* Point d'attention du résultat */
.profile-k { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.focus-card { margin-top: 22px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(155, 123, 255, .35); background: rgba(155, 123, 255, .08); }
.focus-card .profile-k { color: #B9A6FF; }
.focus-card p { margin-top: 8px; }
@media (max-width: 640px) {
  .tiles--rows { grid-template-columns: 1fr; }
  .tiles--rows .tile-in { min-height: 70px; }
}
/* Suggestions de questions (page FAQ) */
.chat-suggest button {
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03);
  color: var(--text-2); font: 500 14px/1.2 var(--f-body); cursor: pointer;
  transition: background .2s, color .2s;
}
.chat-suggest button:hover { background: rgba(255, 255, 255, .08); color: var(--text); }

/* Choix courts sur une grille (source) */
.tiles--compact { grid-template-columns: repeat(3, 1fr); }
.tiles--compact .tile-in { min-height: 64px; justify-content: center; padding: 14px 34px 14px 16px; }

@media (max-width: 640px) { .tiles--compact { grid-template-columns: 1fr 1fr; } }

/* ---------- Page du test ---------- */
.test-page {
  background:
    radial-gradient(70% 560px at 50% -140px, rgba(255, 106, 77, .16), transparent 100%),
    radial-gradient(50% 420px at 100% 100%, rgba(139, 108, 255, .1), transparent 100%),
    var(--bg);
}
.test-main { padding: 108px 0 80px; }
.test-section .head h1 { margin-top: 16px; font: 700 clamp(30px, 4vw, 46px)/1.08 var(--f-head); letter-spacing: -0.03em; }
.test-section .head p { margin-top: 12px; max-width: 56ch; font-size: 17px; color: var(--text-2); }
.test-section .sim { margin-top: 34px; }
@media (max-width: 560px) {
  .test-main { padding-top: 88px; }
  .test-section .head p { display: none; }
  .test-section .sim { margin-top: 22px; }
}

/* ---------- Page FAQ ---------- */
.faq-page { background: radial-gradient(70% 520px at 50% -120px, rgba(255, 106, 77, .16), transparent 100%), var(--bg); }
.faq-main { padding: 130px 0 90px; }
.faq-head h1 { margin-top: 18px; font: 700 clamp(34px, 5vw, 58px)/1.05 var(--f-head); letter-spacing: -0.035em; }
.faq-head p { margin-top: 14px; max-width: 56ch; font-size: 17.5px; color: var(--text-2); }

.chat {
  max-width: 780px; margin: 44px auto 0; padding: 22px;
  border-radius: 28px; border: 1px solid transparent;
  background:
    linear-gradient(180deg, #140B18, #0A060D) padding-box,
    linear-gradient(140deg, rgba(255, 197, 107, .55), rgba(255, 77, 141, .22) 45%, rgba(139, 108, 255, .5)) border-box;
  box-shadow: 0 40px 120px -40px rgba(255, 77, 141, .35);
}
.chat-log {
  display: flex; flex-direction: column; gap: 12px;
  min-height: 260px; max-height: min(56vh, 560px); overflow-y: auto;
  padding: 8px 6px 14px; scroll-behavior: smooth;
}
.msg { max-width: 86%; padding: 14px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.55; animation: step-in .35s ease; }
.msg p { white-space: pre-line; }
.msg--bot { align-self: flex-start; border-top-left-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); color: var(--text); }
.msg--user { align-self: flex-end; border-top-right-radius: 6px; background: #fff; color: #120A10; font-weight: 500; }
.msg-tag { display: block; margin-bottom: 6px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.msg-tag--faq { color: #B9A6FF; }
.msg--error { border-color: rgba(255, 122, 138, .4); }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .25; translate: 0 0; } 40% { opacity: 1; translate: 0 -3px; } }

.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 6px 16px; }
.chat-suggest[hidden] { display: none; }
.chat-form { display: flex; gap: 10px; align-items: center; }
.chat-form .field { flex: 1; }
.chat-form .field input { padding-right: 22px; }
.chat-send {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #120A10;
  transition: transform .15s, box-shadow .25s;
}
.chat-send svg { width: 22px; height: 22px; }
.chat-send:disabled { opacity: .5; cursor: wait; }
.chat-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--mute); }

.faq-static { max-width: 780px; margin: 80px auto 0; }
.faq-static h2 { text-align: center; font: 700 clamp(26px, 3.4vw, 36px)/1.1 var(--f-head); letter-spacing: -0.025em; }
.faq-static .faq { margin-top: 28px; }
.faq-cta { display: grid; justify-items: center; gap: 14px; margin-top: 64px; text-align: center; }
.faq-cta p { font: 600 20px/1.2 var(--f-head); }
.nav-links a[aria-current="page"] { color: var(--text); }
@media (max-width: 600px) {
  .faq-main { padding-top: 104px; }
  .chat { padding: 14px; border-radius: 22px; }
  .msg { max-width: 94%; }
  .chat-send { width: 54px; height: 54px; }
}
/* FAQ */
.faq { max-width: 780px; margin: 56px auto 0; display: grid; gap: 10px; }
.faq details { padding: 0 24px; border-radius: 18px; transition: border-color .25s; }
.faq details[open] { border-color: rgba(255, 150, 110, .35); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 21px 0; font: 600 17px/1.35 var(--f-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border-2);
  background:
    linear-gradient(var(--text), var(--text)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 11px no-repeat;
  transition: rotate .25s, background-color .25s, border-color .25s;
}
.faq details[open] summary::after {
  rotate: 45deg; border-color: transparent;
  background:
    linear-gradient(#1A0A12, #1A0A12) center / 11px 1.5px no-repeat,
    linear-gradient(#1A0A12, #1A0A12) center / 1.5px 11px no-repeat,
    var(--sunset);
}
.faq details p { padding: 0 0 22px; margin-top: -4px; color: var(--text-2); }
@media (max-width: 600px) { .faq details { padding: 0 18px; } .faq summary { font-size: 16px; } }

/* ---------- Pied de page ---------- */
.footer { position: relative; padding: 44px 0 40px; background: var(--bg); }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--sunset); opacity: .5;
}
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.footer nav a { color: var(--text-2); text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.disclaimer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--mute); }

/* ---------- Lien « aller au contenu » (clavier) ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; color: #120A10; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Page légale ---------- */
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 900px; margin: 0 auto; padding: 22px 20px; }
.legal { max-width: 900px; margin: 0 auto; padding: 24px 20px 80px; }
.legal-head { display: grid; justify-items: start; gap: 18px; margin-bottom: 28px; }
.legal-head h1 { font: 700 clamp(36px, 5vw, 56px)/1.05 var(--f-head); letter-spacing: -0.03em; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-toc a {
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03);
  color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none;
}
.legal-toc a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.legal-block {
  margin-top: 18px; padding: 32px; border-radius: 24px; scroll-margin-top: 24px;
  background: linear-gradient(180deg, rgba(255, 245, 240, .05), rgba(255, 245, 240, .015));
  border: 1px solid var(--border);
}
.legal-block h2 { margin-bottom: 8px; font: 700 26px/1.15 var(--f-head); letter-spacing: -0.02em; }
.legal-block h3 { margin: 24px 0 8px; font: 600 16.5px/1.3 var(--f-head); }
.legal-block p, .legal-block li { font-size: 15.5px; color: var(--text-2); }
.legal-block ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
mark.todo { padding: 1px 6px; border-radius: 6px; border: 1px dashed rgba(255, 197, 107, .55); background: rgba(255, 197, 107, .14); color: var(--amber); }
.legal-table { margin-top: 10px; overflow-x: auto; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.legal-table th { font-size: 13.5px; font-weight: 600; color: var(--text); }
.legal-table td { color: var(--text-2); }
.legal-back { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 600px) { .legal-block { padding: 24px 18px; } }

/* ---------- Accessibilité : moins d'animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
