/* ============================================================
   Cercle X Finance — site vitrine
   Mêmes couleurs et même police que l'app.
   ============================================================ */
:root {
  --emerald-900: #043d2d;
  --emerald-800: #065f46;
  --emerald-700: #0a7a58;
  --primary: #0e9f6e;
  --primary-light: #34d399;
  --primary-soft: #e6f6ef;
  --gold: #f5b301;
  --gold-light: #fbbf24;
  --gold-soft: #fff6da;
  --danger: #e02424;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e8eaee;
  --bg: #f7f8fa;
  --card: #ffffff;
  --radius-card: 20px;
  --radius-btn: 16px;
  --shadow-sm: 0 2px 8px rgba(11, 15, 20, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 15, 20, 0.08);
  --shadow-lg: 0 30px 80px rgba(4, 61, 45, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1160px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-btn); border: 0;
  font-weight: 700; font-size: 16px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: #1f1500; box-shadow: 0 10px 30px rgba(245, 179, 1, .35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245, 179, 1, .45); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 30px rgba(14, 159, 110, .3); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.18); }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 16px;
  border-radius: 16px; background: #0b0f14; color: #fff; border: 1px solid rgba(255,255,255,.15);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; }
.store-btn strong { display: block; font-size: 17px; line-height: 1.2; }
.store-btn.is-soon { cursor: default; opacity: .9; }
.store-btn.is-soon:hover { transform: none; box-shadow: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(4, 61, 45, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 4px 24px rgba(0,0,0,.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--gold); }
.nav-links { display: none; gap: 28px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: #fff; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, #0e8a61 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #0a7a58 0%, transparent 60%),
              var(--emerald-900);
  padding: 120px 0 80px;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } .hero { padding: 140px 0 110px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(245, 179, 1, .14); color: var(--gold-light); font-weight: 700; font-size: 13px; letter-spacing: .02em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(245,179,1,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,179,1,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(245,179,1,0); } }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; letter-spacing: -.035em; margin: 20px 0 18px; font-weight: 800; }
.hero h1 .gold { color: var(--gold); position: relative; white-space: nowrap; }
.hero h1 .gold svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 14px; }
.hero h1 .gold path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-lead { font-size: clamp(17px, 2.2vw, 20px); color: rgba(255,255,255,.82); max-width: 560px; margin: 0 0 30px; }
.hero-lead strong { color: #fff; }
.hero-note { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; color: rgba(255,255,255,.75); font-size: 14px; font-weight: 600; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--primary-light); }

/* Anneaux dorés qui respirent (comme l'écran d'accueil de l'app) */
.halo { position: absolute; border-radius: 50%; border: 2px solid rgba(245,179,1,.35); pointer-events: none; animation: breathe 6s ease-out infinite; }
.halo:nth-child(2) { animation-delay: 2s; }
.halo:nth-child(3) { animation-delay: 4s; }
@keyframes breathe { 0% { transform: scale(.55); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.hero-halos { position: absolute; width: 560px; height: 560px; right: -120px; top: 60px; }
.hero-halos .halo { inset: 0; }

/* ---------- Téléphone (maquette de l'app) ---------- */
.phone-stage { position: relative; width: max-content; margin: 0 auto; }
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #1d252f, #0b0f14); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #0b0f14; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); color: var(--ink); font-size: 12px; }
.screen-body { padding: 52px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.s-head { display: flex; justify-content: space-between; align-items: center; }
.s-head small { color: var(--muted); font-weight: 600; font-size: 10px; display: block; }
.s-head b { font-size: 16px; font-weight: 800; }
.s-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-weight: 800; color: #1f1500; }
.s-hero { background: var(--emerald-800); color: #fff; border-radius: 18px; padding: 14px; position: relative; overflow: hidden; }
.s-hero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; border: 14px solid rgba(245,179,1,.2); }
.s-hero small { opacity: .75; font-weight: 600; font-size: 10px; }
.s-amount { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.s-perday { font-size: 10px; opacity: .8; font-weight: 600; }
.s-io { display: flex; gap: 6px; margin-top: 10px; }
.s-io div { flex: 1; background: rgba(255,255,255,.1); border-radius: 12px; padding: 7px 8px; }
.s-io small { font-size: 9px; }
.s-io b { display: block; font-size: 12px; }
.s-card { background: var(--card); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); }
.s-score { display: flex; align-items: center; gap: 12px; }
.ring { width: 58px; height: 58px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .track { stroke: #eef0f3; }
.ring .bar { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 157; stroke-dashoffset: 157; transition: stroke-dashoffset 1.6s var(--ease); }
.s-score b { font-size: 13px; }
.s-score small { color: var(--muted); display: block; font-size: 10px; }
.s-tx { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.s-tx + .s-tx { border-top: 1px solid #f1f3f6; }
.s-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; flex: none; }
.s-tx > span:not(.s-ico) { flex: 1; min-width: 0; font-weight: 700; font-size: 11px; }
.s-tx > span:not(.s-ico) small { display: block; color: var(--muted); font-weight: 500; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-tx b { font-size: 11px; }
.s-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: #fff; display: flex; justify-content: space-around; align-items: center; box-shadow: 0 -4px 16px rgba(0,0,0,.05); }
.s-tabbar i { width: 18px; height: 18px; border-radius: 6px; background: #e5e7eb; display: block; }
.s-tabbar i.on { background: var(--primary); }
.s-plus { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); margin-top: -26px; border: 4px solid #fff; display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 700; box-shadow: 0 8px 18px rgba(14,159,110,.4); }
.tx-new { animation: txIn .6s var(--ease) both; }
@keyframes txIn { from { opacity: 0; transform: translateY(-10px) scale(.96); background: var(--primary-soft); } to { opacity: 1; transform: none; } }

/* Bulles flottantes autour du téléphone */
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-md); font-weight: 700; font-size: 13px; white-space: nowrap;
  animation: float 6s ease-in-out infinite; z-index: 4;
}
.chip small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.chip .c-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; }
.chip-1 { left: -158px; top: 118px; }
.chip-2 { right: -128px; top: 330px; animation-delay: -2s; }
.chip-3 { left: -150px; bottom: 120px; animation-delay: -4s; }
/* Écran moyen : pas la place à côté du téléphone, les bulles se rapprochent. */
@media (min-width: 641px) and (max-width: 1100px) {
  .chip-1 { left: -70px; top: 64px; }
  .chip-2 { right: -60px; top: 470px; }
  .chip-3 { display: none; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
/* Petits écrans : une seule bulle, posée sur la liste des opérations pour ne rien masquer d'important. */
@media (max-width: 640px) {
  .chip-2, .chip-3 { display: none; }
  .chip-1 { left: auto; right: 6px; top: auto; bottom: -30px; }
}

/* ---------- Bande « moyens de paiement » ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding: 22px 20px; }
.trust p { margin: 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.pay { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.pay i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 10px; color: #fff; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.kicker { color: var(--primary); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.1; letter-spacing: -.03em; margin: 10px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Révélation au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Le problème ---------- */
.problem { background: #fff; }
.problem-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
.problem h2 { text-align: left; }
.problem-text p { color: var(--muted); font-size: 18px; }
.leak { background: var(--bg); border-radius: 28px; padding: 28px; }
.leak-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed #dfe3e8; opacity: .25; transition: opacity .5s var(--ease), transform .5s var(--ease); transform: translateX(-8px); }
.leak-row.is-on { opacity: 1; transform: none; }
.leak-row span { flex: 1; font-weight: 700; }
.leak-row b { font-weight: 800; }
.leak-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; }
.leak-total > span { font-weight: 700; color: var(--muted); }
.leak-total b { font-size: 40px; font-weight: 800; color: var(--danger); letter-spacing: -.02em; }

/* ---------- Piliers ---------- */
.pillars { display: grid; gap: 22px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar h3 { font-size: 22px; margin: 18px 0 8px; letter-spacing: -.02em; }
.pillar p { color: var(--muted); margin: 0; }
.demo { height: 236px; border-radius: 20px; background: var(--bg); position: relative; overflow: hidden; display: grid; place-items: center; }

/* Démo 1 : pavé numérique */
.keypad-demo { width: 190px; }
.kd-amount { text-align: center; font-size: 30px; font-weight: 800; color: var(--danger); margin-bottom: 8px; min-height: 40px; }
.kd-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kd-keys span { height: 26px; border-radius: 9px; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm); transition: background .15s, transform .15s; }
.kd-keys span.is-pressed { background: var(--primary); color: #fff; transform: scale(.92); }
.kd-cat { margin-top: 8px; display: flex; gap: 6px; justify-content: center; }
.kd-cat i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 16px; background: #fff; transition: transform .25s var(--ease), background .25s; }
.kd-cat i.is-on { background: #3b82f6; transform: scale(1.12); }

/* Démo 2 : objectif qui se remplit */
.goal-demo { text-align: center; }
.goal-ring { width: 130px; height: 130px; transform: rotate(-90deg); }
.goal-ring circle { fill: none; stroke-width: 12; }
.goal-ring .track { stroke: #eceff3; }
.goal-ring .bar { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 339; stroke-dashoffset: 339; transition: stroke-dashoffset 2s var(--ease); }
.goal-center { position: absolute; inset: 0; display: grid; place-items: center; }
.goal-center b { font-size: 26px; font-weight: 800; }
.goal-demo p { margin: 8px 0 0; font-weight: 700; font-size: 13px; }
.goal-demo small { color: var(--primary); font-weight: 700; }

/* Démo 3 : conversation avec le coach */
.chat-demo { width: 100%; padding: 16px; display: flex; flex-direction: column; gap: 8px; align-self: start; }
.bubble { max-width: 85%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.bubble.is-in { opacity: 1; transform: none; }
.bubble.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 5px; }
.bubble.bot { align-self: flex-start; background: #fff; box-shadow: var(--shadow-sm); border-bottom-left-radius: 5px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Parcours 5 niveaux ---------- */
.journey { background: var(--emerald-900); color: #fff; overflow: hidden; }
.journey .section-head p { color: rgba(255,255,255,.75); }
.journey .kicker { color: var(--gold); }
.levels { position: relative; display: grid; gap: 16px; }
@media (min-width: 900px) { .levels { grid-template-columns: repeat(5, 1fr); } }
.levels-line { display: none; }
@media (min-width: 900px) {
  .levels-line { display: block; position: absolute; left: 10%; right: 10%; top: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
  .levels-line i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--primary-light), var(--gold)); transition: width 2.4s var(--ease); }
  .levels.is-in .levels-line i { width: 100%; }
}
.level { position: relative; text-align: center; padding: 0 8px; }
.level .num { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 24px; background: var(--emerald-800); border: 3px solid rgba(255,255,255,.15); position: relative; z-index: 1; transition: background .5s, border-color .5s, transform .5s var(--ease); transition-delay: var(--d, 0s); }
.levels.is-in .level .num { background: var(--gold); color: #1f1500; border-color: var(--gold); transform: scale(1.05); }
.level h3 { margin: 0 0 4px; font-size: 19px; }
.level p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
@media (max-width: 899px) {
  .level { display: grid; grid-template-columns: 68px 1fr; gap: 16px; text-align: left; align-items: center; }
  .level .num { margin: 0; }
}

/* ---------- Pensé pour ta réalité ---------- */
.reality { display: grid; gap: 18px; }
@media (min-width: 700px) { .reality { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reality { grid-template-columns: repeat(3, 1fr); } }
.r-card { background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start; transition: transform .35s var(--ease); }
.r-card:hover { transform: translateY(-4px); }
.r-ico { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; font-size: 22px; }
.r-card h3 { margin: 0 0 4px; font-size: 18px; }
.r-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Galerie des écrans ---------- */
.screens { background: #fff; overflow: hidden; }
.screens-row { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
.screens-row .phone { width: 250px; height: 520px; border-radius: 40px; }
.screens-row .phone .screen { border-radius: 30px; }
.screens-row .shot:nth-child(2) .phone { transform: translateY(-24px) scale(1.04); z-index: 2; }
.screen-caption { text-align: center; margin-top: 14px; font-weight: 700; }
.screen-caption small { display: block; color: var(--muted); font-weight: 500; }
.shot { display: flex; flex-direction: column; align-items: center; }
@media (max-width: 860px) { .screens-row { gap: 40px; } .screens-row .shot:nth-child(2) .phone { transform: none; } }

/* Écran « ajout rapide » */
.quick { position: absolute; inset: auto 0 0 0; height: 78%; background: #fff; border-radius: 24px 24px 0 0; padding: 12px 14px; box-shadow: 0 -10px 30px rgba(0,0,0,.12); }
.quick-dim { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.q-seg { display: flex; background: #f1f3f6; border-radius: 12px; padding: 3px; font-size: 10px; font-weight: 700; }
.q-seg span { flex: 1; text-align: center; padding: 5px; border-radius: 9px; color: var(--muted); }
.q-seg span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.q-amount { text-align: center; font-size: 26px; font-weight: 800; color: var(--danger); margin: 8px 0; }
.q-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.q-keys span { height: 30px; border-radius: 9px; background: #f1f3f6; display: grid; place-items: center; font-weight: 700; }
.q-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 8px 0; }
.q-cats div { display: grid; justify-items: center; gap: 2px; font-size: 8px; color: var(--muted); font-weight: 600; }
.q-cats i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.q-cta { background: var(--primary); color: #fff; border-radius: 12px; text-align: center; padding: 9px; font-weight: 800; }

/* Écran « coach » */
.c-level { background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--shadow-sm); }
.c-level-row { display: flex; gap: 5px; margin-top: 6px; }
.c-level-row i { flex: 1; height: 26px; border-radius: 8px; background: #f1f3f6; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 10px; color: var(--muted); }
.c-level-row i.on { background: var(--gold); color: #1f1500; }
.c-bubble { padding: 8px 10px; border-radius: 13px; font-size: 10px; line-height: 1.45; max-width: 88%; }
.c-bubble.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.c-bubble.bot { background: #fff; box-shadow: var(--shadow-sm); border-bottom-left-radius: 4px; }

/* ---------- Prix ---------- */
.pricing { display: grid; gap: 22px; max-width: 1140px; margin: 0 auto; }
@media (min-width: 800px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan.essentiel { box-shadow: 0 0 0 2px var(--primary), var(--shadow-sm); }
.plan { background: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.premium { background: var(--emerald-900); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.plan.premium::before { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 28px solid rgba(245,179,1,.14); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 0; }
.plan .price small { font-size: 16px; font-weight: 600; opacity: .7; }
.plan .alt { margin: 4px 0 0; font-weight: 700; color: var(--gold-light); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--primary); }
.plan.premium li svg { color: var(--gold); }
.plan .badge { position: absolute; top: 24px; right: 24px; background: var(--gold); color: #1f1500; font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 22px; font-weight: 600; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* ---------- Appel final ---------- */
.final { background: var(--emerald-900); color: #fff; overflow: hidden; text-align: center; }
.final .halo { width: 700px; height: 700px; left: 50%; top: 50%; margin: -350px 0 0 -350px; }
.final h2 { max-width: 760px; margin: 0 auto 16px; }
.final p.lead { color: rgba(255,255,255,.8); font-size: 19px; max-width: 560px; margin: 0 auto 32px; }
.final .store-buttons { justify-content: center; }
.qr-wrap { display: none; margin: 36px auto 0; width: max-content; background: #fff; border-radius: 22px; padding: 16px; color: var(--ink); }
.qr-wrap p { margin: 10px 0 0; font-weight: 700; font-size: 14px; }
@media (min-width: 900px) { .qr-wrap.has-qr { display: block; } }
#qr svg, #qr canvas, #qr img { width: 150px; height: 150px; margin: 0 auto; }

/* ---------- Pied de page ---------- */
.footer { background: #031f17; color: rgba(255,255,255,.7); padding: 48px 0 32px; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: #fff; }
.footer .legal { margin-top: 24px; font-size: 12px; opacity: .7; }

/* ---------- Pages légales ---------- */
.doc-hero { background: var(--emerald-900); color: #fff; padding: 120px 0 48px; }
.doc-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 8px; letter-spacing: -.03em; }
.doc-hero p { margin: 0; color: rgba(255,255,255,.75); }
.doc { max-width: 780px; margin: 0 auto; padding: 48px 20px 80px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #374151; }
.doc .callout { background: var(--primary-soft); border-radius: 18px; padding: 18px 20px; margin: 20px 0; color: var(--emerald-800); font-weight: 600; }
.doc ol li, .doc ul li { margin-bottom: 8px; }

/* ---------- Accessibilité : moins de mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
