/* ============================================================
   FinCoach — Design System V3
   Direction : crème #FAF7F1, encre #111111, accents bleu/vert.
   Rythme d'espacement en multiples de 8px. Mobile-first.
   ============================================================ */

:root {
  --cream: #FAF7F1;
  --cream-2: #F2ECDF;
  --ink: #111111;
  --ink-soft: #2E2C28;
  --muted: #6F6A5E;
  --line: #E6DECD;
  --white: #FFFFFF;
  --blue: #1B5FD9;
  --blue-dark: #1348A8;
  --blue-soft: #E9F1FD;
  --green: #1FA968;
  --green-dark: #147A4B;
  --green-soft: #E7F6EC;
  --navy: #0A2540;
  --navy-2: #12325A;
  --red: #C0392B;
  --radius: 24px;
  --radius-lg: 32px;
  --shadow-soft: 0 10px 34px -14px rgba(17, 17, 17, 0.14);
  --shadow-card: 0 24px 60px -28px rgba(17, 17, 17, 0.18);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h1, h2 { text-wrap: balance; }
.h-accent { display: block; color: var(--blue); }
h1 { font-size: clamp(3rem, 6.5vw, 5.25rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--green); border-radius: 2px; }
.eyebrow.green { color: var(--green-dark); }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { font-size: 1.15rem; margin-top: 24px; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section.tight { padding: 80px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(17,17,17,.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--ink-soft); position: relative; padding: 8px 0; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green); border-radius: 2px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: 16px 32px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; line-height: 1; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(17,17,17,.45); background: #000; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(27,95,217,.55); background: var(--blue-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(31,169,104,.55); background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); padding: 14px 24px; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.4); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(250,247,241,.4); }
.btn-outline-light:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px;
}
.btn-sm { padding: 12px 24px; font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 104px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-sub { font-size: 1.2rem; margin: 28px 0 40px; max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }

.page-hero { padding: 168px 0 72px; text-align: center; }
.page-hero .container { max-width: 820px; }
.page-hero p { font-size: 1.2rem; margin-top: 24px; }

/* ---------- Bandeau confiance ---------- */
.trust-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 56px 0; }
.trust-item { display: flex; gap: 20px; align-items: flex-start; }
.trust-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.trust-ico.green { background: var(--green-soft); color: var(--green-dark); }
.trust-ico svg { width: 26px; height: 26px; }
.trust-item h3 { margin-bottom: 8px; }
.trust-item p { font-size: 0.98rem; color: var(--muted); }

/* ---------- Cartes ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px; }
.card-icon svg { width: 28px; height: 28px; }
.card-icon.green { background: var(--green-soft); color: var(--green-dark); }
.card-icon.blue { background: var(--blue-soft); color: var(--blue); }
.card-icon.navy { background: var(--navy); color: #fff; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 1rem; color: var(--muted); margin-bottom: 20px; }
.card-link { font-weight: 700; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Lignes fonctionnalité ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 72px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-text h2 { margin-bottom: 20px; }
.feature-text > p { font-size: 1.1rem; margin-bottom: 28px; }
.feature-list { list-style: none; margin-bottom: 36px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.feature-list svg { flex: none; width: 22px; height: 22px; color: var(--green-dark); margin-top: 3px; }
.feature-visual { display: flex; justify-content: center; }

/* ---------- Téléphone (maquette) ---------- */
.phone { width: 340px; flex: none; }
.phone-frame {
  background: #0d0d0f; border-radius: 56px; padding: 13px;
  box-shadow: 0 40px 80px -32px rgba(10, 37, 64, 0.45), 0 0 0 2px #2a2a2e, inset 0 0 0 2px #000;
  position: relative;
}
.phone-island {
  position: absolute; top: 25px; left: 50%; transform: translateX(-50%);
  width: 112px; height: 30px; background: #0d0d0f; border-radius: 20px; z-index: 5;
}
.phone-screen { background: #F6F8FB; border-radius: 44px; overflow: hidden; position: relative; }
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 30px 8px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ps-status .ps-icons { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.ps-status svg { width: 17px; height: 17px; }
.ps-body { padding: 10px 18px 14px; min-height: 470px; }
.ps-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ps-greet { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.ps-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.ps-bell { width: 36px; height: 36px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); }
.ps-bell svg { width: 18px; height: 18px; }
.ps-summary { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin-bottom: 12px; }
.ps-summary-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.ps-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.ps-summary-grid .lbl { font-size: 0.68rem; color: var(--muted); margin-bottom: 4px; }
.ps-summary-grid .val { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; }
.ps-summary-grid .val.green { color: var(--green-dark); }
.ps-summary-grid .val.red { color: var(--red); }
.ps-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.ps-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px; }
.ps-card .ps-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 10px; }
.ps-card .ps-ico svg { width: 18px; height: 18px; }
.ps-card .ps-ico.green { background: var(--green-soft); color: var(--green-dark); }
.ps-card .ps-ico.blue { background: var(--blue-soft); color: var(--blue); }
.ps-card .ps-lbl { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.ps-card .ps-val { font-size: 0.92rem; font-weight: 800; letter-spacing: -0.01em; }
.ps-chart-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.ps-chart-card .t { font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; }
.ps-chart-card svg { width: 100%; height: 84px; display: block; }
.ps-big { text-align: center; padding: 18px 8px 14px; }
.ps-big .lbl { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.ps-big .val { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0; }
.ps-big .conv { font-size: 0.8rem; color: var(--muted); }
.ps-list { display: grid; gap: 8px; }
.ps-list-title { font-size: 0.8rem; font-weight: 700; margin: 6px 2px 2px; }
.ps-row { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.ps-dot { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-dark); }
.ps-dot.blue { background: var(--blue-soft); color: var(--blue); }
.ps-dot svg { width: 20px; height: 20px; }
.ps-row-txt { flex: 1; min-width: 0; }
.ps-row-txt .t { font-size: 0.82rem; font-weight: 700; }
.ps-row-txt .s { font-size: 0.72rem; color: var(--muted); }
.ps-amt { font-size: 0.82rem; font-weight: 800; white-space: nowrap; }
.ps-pill { display: inline-block; font-size: 0.66rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.ps-pill.ok { background: var(--green-soft); color: var(--green-dark); }
.ps-pill.wait { background: #FDF3E3; color: #9A6B1F; }
.ps-goal { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.ps-goal-top { display: flex; justify-content: space-between; align-items: baseline; }
.ps-goal-top .t { font-size: 0.84rem; font-weight: 700; }
.ps-goal-top .a { font-size: 0.78rem; font-weight: 800; color: var(--ink); }
.ps-bar { height: 8px; border-radius: 99px; background: #ECE7D9; overflow: hidden; }
.ps-bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), #4CD68A); }
.ps-bar.blue > span { background: linear-gradient(90deg, var(--blue), #5B93F0); }
.ps-kv { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px 14px; }
.ps-kv-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.8rem; border-bottom: 1px solid #F1ECE0; }
.ps-kv-row:last-child { border-bottom: 0; }
.ps-kv-row .k { color: var(--muted); }
.ps-kv-row .v { font-weight: 700; }
.ps-kv-row .v.green { color: var(--green-dark); }
.ps-credit-card { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius: 20px; padding: 18px; color: #fff; margin-bottom: 12px; }
.ps-credit-card .lbl { font-size: 0.7rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; }
.ps-credit-card .big { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 12px; }
.ps-credit-card .row { display: flex; justify-content: space-between; font-size: 0.76rem; opacity: 0.92; padding: 3px 0; }
.ps-credit-card .row b { font-weight: 700; }
.ps-tabs { display: flex; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 10px 4px 18px; }
.ps-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.6rem; font-weight: 600; color: var(--muted); }
.ps-tab svg { width: 21px; height: 21px; }
.ps-tab.on { color: var(--blue); }

/* ---------- CTA final ---------- */
.cta-final { padding: 40px 0 112px; }
.cta-panel { background: var(--navy); border-radius: var(--radius-lg); padding: 88px 48px; text-align: center; color: var(--cream); position: relative; overflow: hidden; }
.cta-panel::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(27,95,217,.35), transparent 65%); top: -200px; right: -160px; }
.cta-panel::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(31,169,104,.28), transparent 65%); bottom: -180px; left: -120px; }
.cta-panel h2 { color: #fff; margin-bottom: 20px; position: relative; z-index: 1; }
.cta-panel p { color: rgba(250,247,241,.78); font-size: 1.15rem; margin-bottom: 40px; position: relative; z-index: 1; }
.cta-panel .hero-ctas { justify-content: center; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--cream); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-tag { color: var(--muted); font-size: 0.95rem; margin-top: 16px; max-width: 280px; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; color: var(--ink); }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { text-decoration: none; color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; }
.footer-bottom p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Boutons stores ---------- */
.stores { display: flex; gap: 16px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 14px 28px 14px 22px; border-radius: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -16px rgba(17,17,17,.5); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn .sb-t { display: block; font-size: 0.72rem; opacity: 0.7; font-weight: 500; }
.store-btn .sb-b { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.store-note { margin-top: 20px; font-size: 0.92rem; }

/* ---------- Simulateur ---------- */
.sim-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: start; margin-bottom: 72px; }
.sim-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-soft); }
.sim-field { margin-bottom: 40px; }
.sim-field:last-child { margin-bottom: 0; }
.sim-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.sim-label label { font-weight: 700; }
.sim-label output { font-weight: 800; color: var(--blue); font-size: 1.1rem; }
input[type="range"] { width: 100%; appearance: none; -webkit-appearance: none; height: 8px; border-radius: 99px;
  background: linear-gradient(to right, var(--blue) var(--fill, 50%), #E9E2D2 var(--fill, 50%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 12px rgba(17,17,17,.2); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); cursor: pointer; }
.sim-scale { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.sim-result { background: var(--navy); color: var(--cream); border-radius: var(--radius-lg); padding: 48px 40px; position: sticky; top: 100px; }
.sim-result h3 { color: #fff; margin-bottom: 28px; }
.sim-result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(250,247,241,.14); }
.sim-result-row .k { color: rgba(250,247,241,.72); font-size: 0.95rem; }
.sim-result-row .v { font-weight: 800; font-size: 1.05rem; }
.sim-result-row .v.big { font-size: 1.9rem; color: #fff; letter-spacing: -0.02em; }
.sim-result-row .v.green { color: #5BD68D; }
.sim-disclaimer { font-size: 0.82rem; color: rgba(250,247,241,.6); margin-top: 24px; }
.sim-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sim-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.sim-step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 20px; }
.sim-step h3 { margin-bottom: 10px; }
.sim-step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Formulaires ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px; box-shadow: var(--shadow-soft); max-width: 680px; margin: 0 auto; }
.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 18px; background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(27,95,217,.12); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); background: #FDF1EF; }
.field-error { display: none; color: var(--red); font-size: 0.85rem; margin-top: 8px; font-weight: 600; }
.field.invalid .field-error { display: block; }
.checkbox-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 28px; font-size: 0.95rem; color: var(--ink-soft); }
.checkbox-row input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.checkbox-row.invalid { color: var(--red); }
.checkbox-row .field-error { flex-basis: 100%; }
.form-success { display: none; background: var(--green-soft); border: 1px solid #BFE6CD; color: var(--green-dark); border-radius: 16px; padding: 20px 24px; font-weight: 600; margin-top: 24px; }
.form-success.show { display: flex; gap: 12px; align-items: flex-start; }
.form-success svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 76px; }
.auth-brand { background: var(--navy); color: var(--cream); padding: 80px 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-brand::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(27,95,217,.4), transparent 65%); top: -140px; right: -140px; }
.auth-brand .brand { color: #fff; position: relative; z-index: 1; }
.auth-brand blockquote { position: relative; z-index: 1; }
.auth-brand blockquote p { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 20px; }
.auth-brand blockquote cite { color: rgba(250,247,241,.65); font-style: normal; font-size: 0.95rem; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 64px 32px; }
.auth-card { width: min(460px, 100%); }
.auth-card h1 { font-size: 2.4rem; margin-bottom: 12px; }
.auth-card > p { color: var(--muted); margin-bottom: 36px; }
.auth-alt { margin-top: 28px; text-align: center; color: var(--muted); font-size: 0.95rem; }
.auth-alt a { color: var(--blue); font-weight: 700; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px; display: flex; gap: 20px; align-items: flex-start; }
.contact-card .card-icon { margin-bottom: 0; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card a.mail-link { color: var(--blue); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.contact-card a.mail-link:hover { text-decoration: underline; }

/* ---------- À propos ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 72px 64px; box-shadow: var(--shadow-soft); }
.mission-panel p.lead { font-size: 1.35rem; color: var(--ink); font-weight: 500; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { order: -1; }
  .phone { width: 320px; }
  .grid-3, .trust-inner, .sim-steps, .values-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { gap: 48px; }
  .sim-layout, .contact-grid { grid-template-columns: 1fr; }
  .sim-result { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 4%;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding: 136px 0 80px; }
  .grid-3, .trust-inner, .sim-steps, .values-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 48px; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .phone { width: 300px; }
  .form-card, .sim-panel, .mission-panel { padding: 36px 24px; }
  .cta-panel { padding: 64px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { padding: 40px 0; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Sélecteur de langue (v3.2) : menu déroulant ---------- */
.lang-menu { position: relative; display: inline-block; }
.lang-menu-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
  font-family: var(--font); font-weight: 700; font-size: .78rem; letter-spacing: .04em;
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.lang-menu-btn:hover { color: var(--ink); border-color: var(--ink); }
.lang-menu-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lang-globe { width: 16px; height: 16px; flex: 0 0 auto; }
.lang-chev { width: 12px; height: 12px; flex: 0 0 auto; transition: transform .18s ease; }
.lang-menu.open .lang-chev { transform: rotate(180deg); }
.lang-menu-list {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 198px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 6px; z-index: 200;
}
.lang-menu-list[hidden] { display: none; }
.lang-menu-list button {
  display: flex; align-items: center; gap: 8px; width: 100%;
  border: 0; background: transparent; font-family: var(--font);
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: left;
  transition: background .15s ease, color .15s ease;
}
.lang-menu-list button::before { content: ""; width: 15px; flex: 0 0 15px; text-align: center; font-weight: 800; }
.lang-menu-list button:hover { background: var(--cream-2); color: var(--ink); }
.lang-menu-list button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.lang-menu-list button .lang-tag { margin-left: auto; font-size: .68rem; font-weight: 800; letter-spacing: .05em; color: var(--muted); }
.lang-menu-list button.on { color: var(--ink); font-weight: 800; }
.lang-menu-list button.on::before { content: "✓"; color: var(--green); }
@media (max-width: 900px) {
  .lang-menu-btn { padding: 7px 10px; font-size: .72rem; }
  .lang-menu-list { min-width: 178px; }
}

/* ---------- Avant / Après FinCoach (v3.2) ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
.ba-panel { border-radius: var(--radius-lg); padding: 34px 30px; }
.ba-before { background: var(--white); border: 1px solid var(--line); }
.ba-after { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; box-shadow: var(--shadow-card); }
.ba-head { margin-bottom: 24px; }
.ba-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 15px; border-radius: 999px;
}
.ba-badge svg { width: 13px; height: 13px; }
.ba-badge-before { background: var(--cream-2); color: var(--muted); }
.ba-badge-after { background: var(--green); color: #fff; }
.ba-list { list-style: none; display: grid; gap: 17px; }
.ba-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; line-height: 1.5; }
.ba-before .ba-list li { color: var(--muted); }
.ba-after .ba-list li { color: #EAF1FB; }
.ba-ico { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.ba-ico svg { width: 11px; height: 11px; }
.ba-ico-x { background: #F7E9E7; color: var(--red); }
.ba-ico-check { background: var(--green); color: #fff; }
.ba-vs {
  position: relative; z-index: 2; justify-self: center; align-self: center;
  width: 54px; height: 54px; margin: -32px 0; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  display: grid; place-items: center; color: var(--ink);
}
.ba-vs svg { width: 22px; height: 22px; transform: rotate(90deg); }
@media (min-width: 920px) {
  .ba-grid { grid-template-columns: 1fr auto 1fr; gap: 0; }
  .ba-panel { padding: 46px 44px; }
  .ba-before { border-radius: var(--radius-lg) 0 0 var(--radius-lg); border-right: 0; padding-right: 58px; }
  .ba-after { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding-left: 58px; }
  .ba-vs { margin: 0 -27px; }
  .ba-vs svg { transform: none; }
}

/* ---------- Badges stores pro (v3.1) ---------- */
.dl-badges { display: inline-flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111111;
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 18px 10px 14px;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.store-badge:hover { background: #000000; transform: translateY(-2px); }
.store-badge:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.store-badge .badge-ico { width: 30px; height: 30px; flex: none; }
.store-badge .badge-txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-badge .badge-small { font-size: .68rem; font-weight: 500; letter-spacing: .02em; opacity: .85; }
.store-badge .badge-big {
  font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- CTA : conditions en liste + garantie (v3.2) ---------- */
.cta-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; max-width: 880px; margin: 0 auto 26px; position: relative; z-index: 1; }
.cta-points li { display: inline-flex; align-items: center; gap: 9px; color: var(--cream); font-weight: 600; font-size: 1rem; text-align: left; }
.cta-check { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.cta-check svg { width: 11px; height: 11px; }
.cta-guarantee { display: inline-block; background: rgba(31,169,104,.15); border: 1px solid rgba(31,169,104,.45); color: #D8F3E3 !important; border-radius: 999px; padding: 11px 24px; font-size: .98rem !important; margin-bottom: 42px !important; position: relative; z-index: 1; max-width: 760px; }

/* ---------- Contact (v3.2) ---------- */
.contact-stack { display: grid; gap: 24px; align-content: start; }
.topics-list { list-style: none; margin-top: 12px; display: grid; gap: 9px; }
.topics-list li { color: var(--muted); font-size: .95rem; display: flex; gap: 9px; align-items: baseline; }
.topics-list li::before { content: "→"; color: var(--blue); font-weight: 800; }
.form-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* ---------- Pages légales (v3.2) ---------- */
.legal-doc { max-width: 820px; }
.legal-meta { color: var(--muted); font-size: .92rem; margin-bottom: 36px; }
.legal-meta a { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal-doc h2 { font-size: 1.45rem; letter-spacing: -0.015em; margin: 38px 0 12px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p { margin-bottom: 14px; font-size: 1rem; }
.legal-doc ul { margin: 0 0 16px 22px; display: grid; gap: 7px; }
.legal-doc li { color: var(--ink-soft); font-size: 1rem; }
.legal-doc a { color: var(--blue); text-decoration: none; font-weight: 600; }
.legal-doc a:hover { text-decoration: underline; }
.legal-note { background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; font-size: .92rem !important; color: var(--muted); margin-top: 40px; }
