/* ========================================================
   TELION — Editorial / Chic / Modern wealth management
   Palette: Deep Navy + Cream + Brass accent
   Fonts: Fraunces (display serif) + Manrope (body sans)
   ======================================================== */

:root {
  --navy:        #0B1D2E;
  --navy-2:      #122B42;
  --navy-soft:   #1C3B57;
  --cream:       #FBF8F3;
  --cream-2:     #F4EFE6;
  --ivory:       #FFFFFF;
  --brass:       #B08A47;
  --brass-deep:  #8E6C2E;
  --brass-soft:  #E6D4AD;
  --ink:         #0B1D2E;
  --ink-2:       #35485C;
  --muted:       #6B7A8B;
  --line:        #E7E1D4;
  --line-2:      #D9D2C1;
  --success:     #2F7D5B;
  --danger:      #B84A3B;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   22px;
  --radius-full: 999px;

  --shadow-sm:   0 1px 2px rgba(11,29,46,.05), 0 2px 8px rgba(11,29,46,.04);
  --shadow:      0 10px 30px -12px rgba(11,29,46,.18);
  --shadow-lg:   0 30px 80px -30px rgba(11,29,46,.28);

  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --container:   1180px;
  --container-narrow: 780px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

.section {
  padding: 70px 0;
  position: relative;
}
.section-light { background: var(--ivory); }
.section-cream { background: var(--cream-2); }
.section-dark  { background: var(--navy); color: var(--cream); }
.section-dark .lede { color: rgba(251,248,243,.75); }
.section-cta {
  padding: 56px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}
.eyebrow-light { color: var(--brass-soft); }
.eyebrow-light::before { background: var(--brass-soft); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 28px;
}
.display em {
  font-style: normal;
  font-weight: 400;
  color: var(--brass-deep);
}
.section-dark .display { color: var(--cream); }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.h2 em { font-style: normal; color: var(--brass-deep); font-weight: 400; }
.h2-light { color: var(--cream); }

.h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
}
.lede-light { color: rgba(251,248,243,.8); }

.sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--brass-deep);
  border-color: var(--brass);
}
.btn-ghost:hover {
  border-color: var(--brass-deep);
  background: rgba(176,138,71,.06);
  color: var(--brass-deep);
}
.section-dark .btn-ghost {
  color: var(--cream);
  border-color: rgba(251,248,243,.25);
}
.section-dark .btn-ghost:hover {
  background: rgba(251,248,243,.08);
  border-color: var(--brass-soft);
}
.btn-gold {
  background: var(--brass);
  color: var(--cream);
}
.btn-gold:hover { background: var(--brass-deep); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ========================================================
   NAVIGATION
   ======================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,248,243,.88);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251,248,243,.96);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 72px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width .25s ease, left .25s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
}
.nav-links a.active::after {
  width: 24px;
  left: calc(50% - 12px);
}
.nav-cta {
  padding: 11px 22px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--navy-soft); transform: translateY(-1px); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav-burger span {
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s ease;
}

/* ========================================================
   HERO — ACCUEIL
   ======================================================== */
.hero {
  position: relative;
  padding: 60px 0 80px;
  background:
    radial-gradient(1000px 600px at 85% 10%, rgba(176,138,71,.08), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(11,29,46,.04), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .35;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-copy { position: relative; }
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-trust i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
}

/* Hero visual cards */
.hero-visual {
  position: relative;
  min-height: 520px;
}
.hero-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.hero-card-main {
  position: absolute;
  top: 20px;
  right: 0;
  left: 30px;
}
.hc-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
  margin-bottom: 24px;
}
.hc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 6px;
}
.hc-row span:first-child { color: var(--ink-2); }
.hc-row span:last-child { font-family: var(--font-display); font-weight: 500; color: var(--navy); }
.hc-bar {
  height: 4px;
  background: var(--cream-2);
  border-radius: 4px;
  overflow: hidden;
}
.hc-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brass), var(--brass-deep));
  border-radius: 4px;
}
.hc-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hc-footer > div { display: flex; flex-direction: column; }
.hc-footer .lbl {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.hc-footer .val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 4px;
}
.hero-card-float {
  position: absolute;
  bottom: 10px;
  left: 0;
  padding: 22px 26px;
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  max-width: 240px;
}
.hcf-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
}
.hcf-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  margin: 6px 0 2px;
  color: var(--cream);
}
.hcf-sub { font-size: 12px; color: rgba(251,248,243,.65); }

/* ========================================================
   PILLARS
   ======================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  padding: 44px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  transition: background .25s ease;
}
.pillar:hover { background: var(--cream); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: normal;
  color: var(--brass);
  margin-bottom: 32px;
  font-weight: 400;
}
.pillar h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 14px;
}
.pillar p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ========================================================
   STORYTELLING / QUOTE
   ======================================================== */
.quote {
  position: relative;
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.3;
  color: var(--brass-soft);
  margin: 60px 0 50px;
  padding-left: 40px;
}
.q-mark {
  position: absolute;
  left: -10px;
  top: -30px;
  font-size: 110px;
  color: var(--brass);
  line-height: 1;
  font-family: var(--font-display);
  opacity: .6;
}

/* ========================================================
   FOUNDER
   ======================================================== */
.founder-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.career { margin: 32px 0 24px; }
.career li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.career li span { font-weight: 500; color: var(--navy); }
.career li i {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.experts-head {
  margin: 80px 0 36px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.experts-head .eyebrow { justify-content: center; margin-bottom: 16px; }
.experts-head .h3 { max-width: 640px; margin: 0 auto; }
.experts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.expert-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.expert-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.expert-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.expert-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 10px;
}
.expert-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 1040px) { .experts-grid { grid-template-columns: 1fr; } }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--ivory);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.founder-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.founder-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(230,212,173,.18);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}
.fc-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brass), var(--brass-deep));
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-weight: 500;
}
.fc-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--cream);
}
.fc-role {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-top: 6px;
  font-weight: 600;
}
.fc-divider {
  width: 40px;
  height: 1px;
  background: var(--brass);
  margin: 28px auto;
}
.fc-quote {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(251,248,243,.85);
}

/* ========================================================
   PAGE HERO (inner pages)
   ======================================================== */
.page-hero {
  padding: 60px 0 40px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 80% 20%, rgba(176,138,71,.06), transparent 60%);
  pointer-events: none;
}
.page-hero .display { font-size: clamp(36px, 5vw, 66px); }
.page-hero .lede { max-width: 640px; }

/* ========================================================
   ASSETS GRID
   ======================================================== */
.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.asset {
  padding: 40px 32px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.asset:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
  box-shadow: var(--shadow);
}
.ae {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brass);
}
.asset h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}
.asset p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

/* ========================================================
   FISCAL / ENVELOPES
   ======================================================== */
.fiscal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 60px;
}
.fiscal-point {
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.fp-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(176,138,71,.12);
  color: var(--brass-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 auto 20px;
}
.fiscal-point h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--brass-soft);
}
.fiscal-point p { color: rgba(251,248,243,.7); font-size: 15px; line-height: 1.6; }

.envelopes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.env {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all .25s ease;
}
.env:hover { border-color: var(--brass); transform: translateY(-2px); }
.env h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.env p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ========================================================
   FEES
   ======================================================== */
.fees-single { max-width: 900px; margin: 0 auto; }
.fees-hero-card {
  background: rgba(251,248,243,.06);
  border: 1px solid rgba(251,248,243,.1);
  color: var(--cream);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 32px;
}
.fees-big {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 80px);
  font-weight: 400;
  line-height: 1;
  color: var(--brass-soft);
  letter-spacing: -0.03em;
}
.fees-sub {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 20px;
}
.fees-punchline {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(251,248,243,.8);
  max-width: 560px;
  margin: 0 auto;
}
.fees-arguments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.fees-arg {
  /* cream cards on dark bg */
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 22px;
  background: rgba(251,248,243,.06);
  border: 1px solid rgba(251,248,243,.1);
  border-radius: var(--radius);
  transition: border-color .25s ease, transform .25s ease;
}
.fees-arg:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.fees-arg-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176,138,71,.1);
  border-radius: 10px;
  color: var(--brass-soft);
}
.fees-arg h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 4px;
}
.fees-arg p {
  font-size: 14px;
  color: rgba(251,248,243,.65);
  line-height: 1.55;
  margin: 0;
}
.fees-bottom {
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--brass-soft);
  padding: 16px 0;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .fees-arguments { grid-template-columns: 1fr; }
  .fees-hero-card { padding: 36px 24px; }
}

/* ========================================================
   STEPS
   ======================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step {
  padding: 36px 28px 36px 0;
  border-top: 1px solid rgba(230,212,173,.25);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 16px;
  color: var(--brass);
  margin-bottom: 20px;
  font-weight: 400;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.2;
}
.step p {
  font-size: 14px;
  color: rgba(251,248,243,.7);
  line-height: 1.65;
}

/* ========================================================
   SECURITY
   ======================================================== */
.badges-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.badge {
  padding: 14px 32px;
  background: rgba(251,248,243,.08);
  border: 1px solid rgba(251,248,243,.15);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brass-soft);
}
.security-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.sp {
  padding: 32px;
  background: rgba(251,248,243,.05);
  border: 1px solid rgba(251,248,243,.1);
  border-radius: var(--radius);
}
.sp h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.3;
}
.sp p { font-size: 15px; color: rgba(251,248,243,.65); line-height: 1.65; }

/* ========================================================
   PLAN DE VIE
   ======================================================== */
.plan-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
  padding: 48px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
}
.plan-summary:empty { display: none; margin: 0; padding: 0; }
.plan-summary .ps-item .lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
}
.plan-summary .ps-item .val {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  margin-top: 8px;
  color: var(--cream);
  display: block;
}
.plan-projects {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}
.plan-project {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 36px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s ease;
  cursor: pointer;
}
.plan-project:hover {
  border-color: var(--brass);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.pp-emoji {
  font-size: 44px;
  line-height: 1;
}
.pp-info h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}
.pp-info .pp-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.pp-progress {
  height: 3px;
  background: var(--cream-2);
  border-radius: 2px;
  overflow: hidden;
  max-width: 280px;
}
.pp-progress i {
  display: block;
  height: 100%;
  background: var(--brass);
}
.pp-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  text-align: right;
}
.pp-value .pp-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.plan-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--ivory);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
}
.pe-icon {
  font-size: 48px;
  color: var(--brass);
  margin-bottom: 24px;
  font-family: var(--font-display);
}
.plan-empty h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
}
.plan-empty p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 32px;
  font-size: 15px;
}
.plan-chart-wrap {
  margin-top: 40px;
  padding: 40px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan-chart-wrap h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--navy);
}
.plan-chart-wrap canvas {
  max-height: 340px;
  height: 340px !important;
  width: 100% !important;
}
.plan-quote {
  margin: 80px auto 0;
  max-width: 700px;
  text-align: center;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 22px;
  line-height: 1.5;
  color: var(--brass-deep);
  padding: 0 20px;
}

/* ========================================================
   TEMPLATES GRID (create project)
   ======================================================== */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.template {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.template::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.template:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.template:hover::before { transform: scaleY(1); }
.template-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.template-emoji { font-size: 44px; line-height: 1; }
.template-cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
}
.template h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.template-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 22px;
}
.template-cost {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}
.template-cost-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.template-note {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 15px;
  color: var(--brass-deep);
  line-height: 1.5;
}

/* ========================================================
   MODAL / WIZARD
   ======================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: fadeIn .25s ease;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,29,46,.55);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 56px 48px;
  box-shadow: var(--shadow-lg);
  animation: slideUp .35s cubic-bezier(.22,1,.36,1);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.modal-close:hover { background: var(--cream-2); }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Wizard */
.wizard-head { margin-bottom: 32px; }
.wizard-head .emoji-big {
  font-size: 54px;
  margin-bottom: 16px;
  display: block;
}
.wizard-head h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.wizard-head p { color: var(--muted); font-size: 15px; }
.wizard-note {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--brass-deep);
  padding: 16px 20px;
  background: rgba(176,138,71,.08);
  border-left: 3px solid var(--brass);
  border-radius: 4px;
  margin: 20px 0;
  font-size: 15px;
}

.breakdown {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.breakdown h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--navy);
}
.breakdown .br-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.breakdown .br-row:last-child { border: 0; font-weight: 600; padding-top: 14px; }
.breakdown .br-row span:last-child { color: var(--navy); font-family: var(--font-display); font-size: 16px; }

.slider-block {
  margin: 24px 0;
}
.slider-block .sb-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.slider-block .sb-label span:first-child {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.slider-block .sb-label span:last-child {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
}
.slider-block input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: var(--line-2);
  border-radius: 2px;
  outline: none;
}
.slider-block input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--navy);
  cursor: pointer;
  transition: transform .15s ease;
}
.slider-block input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-block input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--navy);
  cursor: pointer;
}

.result-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  margin: 32px 0 20px;
  text-align: center;
}
.result-card .rc-lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
}
.result-card .rc-val {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  margin: 8px 0 6px;
  color: var(--cream);
}
.result-card .rc-sub { color: rgba(251,248,243,.65); font-size: 13px; }
.result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(230,212,173,.2);
}
.result-row .rr {
  text-align: left;
}
.result-row .rr .lbl {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
}
.result-row .rr .val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  margin-top: 4px;
  display: block;
}

.warning-box {
  background: rgba(184,74,59,.08);
  border-left: 3px solid var(--danger);
  color: var(--danger);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  margin: 16px 0;
  line-height: 1.5;
}
.info-box {
  background: rgba(47,125,91,.08);
  border-left: 3px solid var(--success);
  color: #1e5a40;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  margin: 16px 0;
  line-height: 1.5;
}

.wizard-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.wizard-actions .btn { flex: 1; }

/* ========================================================
   ADVISOR / FORM
   ======================================================== */
.advisor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.check-list {
  margin: 20px 0 36px;
}
.check-list li {
  padding: 16px 0 16px 36px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.advisor-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.advisor-trust > div {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.advisor-trust b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
}
.advisor-trust span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

.form-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow);
}
.form-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.form-card input,
.form-card textarea {
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  transition: border-color .2s ease, background .2s ease;
  font-family: var(--font-body);
  letter-spacing: normal;
  text-transform: none;
}
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--ivory);
}
.form-card textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row label { grid-column: auto; }
.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
}
.success-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--brass-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  font-family: var(--font-display);
}
.success-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
}
.success-card p { color: var(--ink-2); margin-bottom: 14px; line-height: 1.6; }
.success-card p.small { font-size: 13px; color: var(--muted); }

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(230,212,173,.15);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 18px;
}
.footer-logo {
  height: 36px;
  margin-bottom: 20px;
  opacity: 0.9;
  mix-blend-mode: screen;
}
.footer-tag {
  font-size: 14px;
  color: rgba(251,248,243,.6);
  line-height: 1.6;
  max-width: 320px;
}
.footer h5 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.footer a,
.footer p {
  display: block;
  font-size: 14px;
  color: rgba(251,248,243,.7);
  padding: 6px 0;
  transition: color .2s ease;
}
.footer a:hover { color: var(--brass-soft); }
.footer-address { color: rgba(251,248,243,.5) !important; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 12px;
  color: rgba(251,248,243,.5);
  letter-spacing: 0.05em;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1040px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .assets-grid { grid-template-columns: repeat(3, 1fr); }
  .envelopes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .security-points { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 440px; }
  .founder-row { grid-template-columns: 1fr; gap: 50px; }
  .advisor-grid { grid-template-columns: 1fr; gap: 50px; }
  .templates-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
/* ========================================================
   WIZARD — mobile-app-faithful components
   ======================================================== */

.wiz-hero {
  text-align: center;
  padding: 32px 20px 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.wiz-hero::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(230, 212, 173, 0.2);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}
.wiz-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(251, 248, 243, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 14px;
  border: 1px solid rgba(230, 212, 173, 0.25);
}
.wiz-hero-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.wiz-hero-sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
}

.wiz-hero-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(251,248,243,0.82);
  margin: 12px auto 0;
  max-width: 480px;
  text-align: center;
  font-weight: 400;
}

.wiz-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin: 32px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.wiz-field { margin: 22px 0; }

.wiz-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.wiz-helper {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
  font-style: normal;
}

.wiz-text-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wiz-text-input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--ivory);
}

.wiz-slider-row {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px 20px;
}
.wiz-slider-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.wiz-num-input {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line-2);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  padding: 4px 4px 6px;
  width: 140px;
  outline: none;
  transition: border-color 0.2s ease;
}
.wiz-num-input:focus {
  border-bottom-color: var(--brass);
}
.wiz-suffix {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.wiz-slider-row input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: var(--line-2);
  border-radius: 2px;
  outline: none;
}
.wiz-slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brass);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 1px var(--brass), 0 2px 6px rgba(11, 29, 46, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.wiz-slider-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.wiz-slider-row input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brass);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 1px var(--brass), 0 2px 6px rgba(11, 29, 46, 0.15);
  cursor: pointer;
}

/* Icon grid (custom project) */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.icon-cell {
  aspect-ratio: 1;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.icon-cell:hover {
  background: var(--cream-2);
  transform: translateY(-1px);
}
.icon-cell.is-active {
  background: var(--navy);
  border-color: var(--brass);
  transform: scale(1.05);
}

/* Benefits chips */
.benefits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}
.benefit-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(176, 138, 71, 0.1);
  color: var(--brass-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Calc card */
.calc-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 28px 0 24px;
}
.calc-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 16px;
}
.calc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.calc-item {
  flex: 1;
  min-width: 100px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 8px;
  text-align: center;
}
.calc-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.calc-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
}
.calc-value.calc-infl { color: var(--brass-deep); }
.calc-value.calc-tax  { color: var(--danger); }
.calc-sign {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--muted);
  font-weight: 400;
}
.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.calc-result span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.calc-result b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--navy);
}
.calc-note {
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
  margin-top: 10px;
}

/* Required monthly card */
.required-monthly {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  margin: 24px 0;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}
.required-monthly::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(230, 212, 173, 0.2);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}
.rm-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
  margin-bottom: 10px;
}
.rm-value {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 8px;
}
.rm-value span {
  font-size: 18px;
  color: var(--brass-soft);
  font-family: var(--font-body);
  font-weight: 500;
}
.rm-note {
  font-size: 13px;
  color: rgba(251, 248, 243, 0.6);
}

/* Per-parent card */
.per-parent {
  background: linear-gradient(135deg, rgba(176, 138, 71, 0.08), rgba(176, 138, 71, 0.03));
  border: 1px solid rgba(176, 138, 71, 0.25);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 20px 0;
}
.pp-head {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--brass-deep);
  margin-bottom: 8px;
}
.pp-intro {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 20px;
  line-height: 1.55;
}
.pp-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.pp-item {
  flex: 1;
  text-align: center;
}
.pp-sep {
  width: 1px;
  height: 64px;
  background: rgba(176, 138, 71, 0.25);
}
.pp-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.pp-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--brass-deep);
  line-height: 1;
}
.pp-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.pp-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(176, 138, 71, 0.15);
  font-style: normal;
  font-size: 13px;
  color: var(--brass-deep);
  text-align: center;
}

/* Tax optim block */
.tax-optim {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.to-head {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--brass-deep);
  margin-bottom: 12px;
}
.to-row {
  font-size: 14px;
  color: var(--ink-2);
  margin: 8px 0;
  line-height: 1.55;
}
.to-row b {
  color: var(--navy);
  font-weight: 600;
}
.to-footer {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Strategy card (progressive return) */
.strategy-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 24px 0;
}
.sc-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 4px;
}
.sc-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
  font-style: normal;
}
.sc-curve {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.sc-item {
  flex: 1;
  padding: 16px 12px;
  background: var(--cream);
  border-radius: 8px;
  text-align: center;
  position: relative;
}
.sc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 auto 10px;
}
.sc-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sc-rate {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}
.sc-blended {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--cream-2);
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.sc-blended-val {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brass-deep);
  font-weight: 500;
}
.sc-blended-val b { font-weight: 500; }

/* Phase card (rente only) */
.phase-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.phase {
  flex: 1;
  text-align: center;
  padding: 18px 16px;
  background: var(--cream);
  border-radius: 10px;
}
.phase-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.phase-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.phase-val span {
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
}
.phase-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  font-style: normal;
}
.phase-arrow {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brass);
  font-weight: 400;
}
.phase-explanation {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 16px;
}
.phase-explanation.phase-explanation-top {
  /* When at the top, ensure no border on top, only on bottom */
  padding-top: 0;
  border-top: none;
}

/* Result card */
.result-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  margin: 24px 0;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}
.result-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(230, 212, 173, 0.2);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}
.rc-lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
}
.rc-val {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 400;
  margin: 10px 0 6px;
  color: var(--cream);
  line-height: 1;
}
.rc-sub {
  font-size: 13px;
  color: rgba(251, 248, 243, 0.65);
}

/* Projection chart wrap */
.proj-chart-wrap {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 24px 0;
}
.proj-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 16px;
}
.proj-chart-wrap canvas {
  max-height: 220px;
  height: 220px !important;
  width: 100% !important;
}
.proj-legend {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.proj-legend div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.proj-legend b {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  font-size: 15px;
}
.pl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Cost of waiting */
.wait-section {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 24px 0;
}
.wait-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 18px;
}
.delay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.delay-label {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.delay-sel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.delay-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--line-2);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.delay-btn:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.delay-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  min-width: 60px;
  text-align: center;
}
.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.comp-card {
  padding: 18px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}
.comp-card.comp-now { border-color: rgba(47, 125, 91, 0.3); }
.comp-card.comp-later { border-color: rgba(184, 74, 59, 0.3); }
.comp-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.comp-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.comp-later .comp-val { color: var(--danger); }
.wait-cost {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 20px;
  background: rgba(184, 74, 59, 0.06);
  border-radius: 8px;
  border-left: 3px solid var(--danger);
}
.wait-cost-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--danger);
  font-weight: 600;
}
.wait-cost-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--danger);
}

/* Projection table (rente) */
.proj-table-wrap {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 24px 0;
}
.ptw-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ptw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(47, 125, 91, 0.1);
  color: var(--success);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.ptw-badge.is-warn {
  background: rgba(184, 74, 59, 0.1);
  color: var(--danger);
}
.ptw-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  font-style: normal;
  line-height: 1.5;
}
.proj-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.proj-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--cream);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.proj-table th:nth-child(2),
.proj-table th:nth-child(3),
.proj-table th:nth-child(4) { text-align: right; }
.proj-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.proj-table td:first-child {
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 13px;
}
.proj-table td:nth-child(2),
.proj-table td:nth-child(3),
.proj-table td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.proj-table tr.t-sep td {
  color: var(--muted);
  font-style: normal;
  text-align: center;
  padding: 6px 12px;
}
.proj-table tr.t-final td {
  background: var(--cream-2);
  font-weight: 600;
}
.proj-table tr.t-final td:first-child { color: var(--navy); }
.proj-table .t-pos { color: var(--success); font-weight: 600; }
.proj-table .t-neg { color: var(--danger); font-weight: 600; }

.rente-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rs-item {
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 8px;
}
.rs-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.rs-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
}
.rs-val.rs-tax { color: var(--danger); }

.perpetual-note {
  background: rgba(47, 125, 91, 0.08);
  border-left: 3px solid var(--success);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
}
.perpetual-note b {
  color: var(--success);
  font-weight: 600;
}

/* Breakdown positive/negative + total */
.br-row .br-pos { color: var(--success); font-weight: 600; }
.br-row .br-neg { color: var(--danger); font-weight: 600; }
.br-row.br-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  border-bottom: 0;
  font-weight: 600;
}
.br-row.br-total span:last-child {
  color: var(--brass-deep);
  font-size: 20px;
}

/* Custom template card highlight */
.template.template-custom {
  background: linear-gradient(135deg, rgba(176, 138, 71, 0.06), rgba(176, 138, 71, 0.02));
  border-style: dashed;
  border-color: var(--brass);
}
.template.template-custom:hover {
  border-style: solid;
}

/* Responsive wizard */
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .section { padding: 48px 0; }
  .icon-grid { grid-template-columns: repeat(6, 1fr); }
  .calc-row { flex-direction: column; }
  .calc-sign { transform: rotate(90deg); }
  .phase-row { flex-direction: column; }
  .phase-arrow { transform: rotate(90deg); }
  .sc-curve { flex-direction: column; gap: 10px; }
  .sc-item { display: flex; align-items: center; gap: 14px; text-align: left; }
  .sc-dot { margin: 0; }
  .sc-rate { margin-left: auto; }
  .comp-row { grid-template-columns: 1fr; }
  .rente-summary { grid-template-columns: 1fr; }
  .proj-table { font-size: 12px; }
  .proj-table th, .proj-table td { padding: 8px 6px; }
  .rm-value { font-size: 40px; }
  .rc-val { font-size: 42px; }
  .wiz-num-input { font-size: 22px; width: 110px; }
  .pp-row { flex-direction: column; }
  .pp-sep { width: 64px; height: 1px; }
  .nav-inner { padding: 14px 22px; gap: 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2) { opacity: 0; }
  .nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav.is-menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .hero { padding: 50px 0 70px; }
  .pillars { grid-template-columns: 1fr; }
  .assets-grid { grid-template-columns: 1fr 1fr; }
  .envelopes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plan-summary { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .plan-summary .ps-item .val { font-size: 34px; }
  .plan-project { grid-template-columns: 1fr; gap: 14px; text-align: left; padding: 24px; }
  .pp-value { text-align: left; }
  .fiscal-grid { grid-template-columns: 1fr; }
  .modal-panel { padding: 40px 28px 32px; }
  .wizard-head h2 { font-size: 28px; }
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .fees-card { padding: 36px 24px; }
  .wizard-actions { flex-direction: column; }
}

/* ============================================================
   AUTH MODALS, RDV MODAL, TOAST, NAV ACCOUNT
   ============================================================ */

.nav-account {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav-account .btn-login {
  background: transparent;
  color: var(--brass-deep);
  padding: 10px 18px;
  border: 1px solid var(--brass);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.nav-account .btn-login:hover { background: rgba(176,138,71,.06); border-color: var(--brass-deep); }
.nav-account .btn-cta {
  background: var(--navy);
  color: var(--cream);
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s ease;
}
.nav-account .btn-cta:hover { background: #15314b; }

.nav-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 14px;
  color: var(--navy);
}
.nav-user:hover { border-color: var(--brass); }
.nav-user-avatar {
  width: 28px; height: 28px;
  background: var(--brass);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 12px;
}
.nav-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 8px;
  z-index: 150;
}
.nav-user-menu a, .nav-user-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}
.nav-user-menu a:hover, .nav-user-menu button:hover { background: var(--line-soft); }
.nav-user-menu .nm-logout { color: #a54040; }

/* AUTH MODAL */
.auth-modal {
  position: fixed; inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal[hidden] { display: none !important; }
.auth-backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 29, 46, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.auth-panel {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: authRise .25s ease;
}
.auth-panel-wide { max-width: 560px; }
@keyframes authRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.auth-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  border-radius: 50%;
  transition: background .2s ease;
}
.auth-close:hover { background: var(--line-soft); color: var(--navy); }
.auth-head { margin-bottom: 28px; }
.auth-head .h2 { font-size: 32px; margin: 10px 0 8px; }
.auth-head .sub { font-size: 14px; color: var(--muted); margin: 0; }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}
.auth-form input,
.auth-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--navy);
  background: var(--ivory);
  transition: border-color .2s ease;
  box-sizing: border-box;
}
.auth-form input:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.auth-form .form-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.auth-form .form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 0;
  text-transform: none;
  letter-spacing: 0;
}
.auth-form h3.h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  margin: 10px 0 2px;
  font-weight: 500;
}
.auth-error {
  padding: 10px 14px;
  background: rgba(165, 64, 64, 0.08);
  border: 1px solid rgba(165, 64, 64, 0.25);
  border-radius: 6px;
  color: #a54040;
  font-size: 13px;
}
.auth-switch {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.auth-switch a {
  color: var(--brass-deep);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.btn-block { width: 100%; margin-top: 6px; }

.rdv-success {
  text-align: center;
  padding: 20px;
}
.rdv-success .success-icon {
  font-size: 36px;
  color: var(--brass);
  margin-bottom: 10px;
}
.rdv-success h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 22px;
  margin: 0 0 10px;
}
.rdv-success p {
  color: var(--muted);
  font-size: 14px;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  font-size: 14px;
  z-index: 400;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  max-width: 400px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast-action {
  margin-left: 14px;
  color: var(--brass-soft);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

@media (max-width: 640px) {
  .auth-panel { padding: 30px 22px; }
  .auth-form .form-row { grid-template-columns: 1fr; }
  .nav-account .btn-login { display: none; }
}

.field-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #a54040;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.rdv-countdown {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* B2B Section */
.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.b2b-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}
.b2b-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.b2b-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--brass);
}
.b2b-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 10px;
}
.b2b-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 720px) { .b2b-grid { grid-template-columns: 1fr; } }

/* Feasibility check */
.feasibility {
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.6;
}
.feasibility-ok { background: rgba(47,125,91,0.08); border: 1px solid rgba(47,125,91,0.25); }
.feasibility-warn { background: rgba(176,138,71,0.1); border: 1px solid rgba(176,138,71,0.3); }
.feasibility-blocked { background: rgba(184,74,59,0.08); border: 1px solid rgba(184,74,59,0.25); }
.feas-title { font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 8px; }
.feas-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.feas-issue { margin: 6px 0; color: var(--ink-2); }
.feas-issue em { color: var(--brass-deep); font-style: normal; font-weight: 600; }
.feas-issue a { color: var(--brass-deep); text-decoration: underline; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.wait-cta {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(176,138,71,0.1);
  border-left: 3px solid var(--brass);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ========================================================
   ENTREPRISES PAGE
   ======================================================== */
.page-hero-dark {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 0 70px;
}
.page-hero-dark .eyebrow { color: var(--brass-soft); }
.display-light { color: var(--cream); }
.display-light em { color: var(--brass-soft); }
.lede-light { color: rgba(251,248,243,.7); }

/* Problématique */
.ent-problems { max-width: 700px; margin: 0 auto; }
.ent-problem p { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin: 0 0 14px; }
.ent-problem-highlight {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.7;
}
.ent-problem-highlight p { margin: 0; }

/* Approche cards */
.ent-approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ent-approach-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}
.ent-approach-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.eac-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--brass);
  margin-bottom: 12px;
  font-weight: 600;
}
.ent-approach-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 8px;
}
.ent-approach-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Piliers */
.ent-pillars { display: flex; flex-direction: column; gap: 0; }
.ent-pillar {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.ent-pillar:last-child { border-bottom: none; }
.ep-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  border-radius: var(--radius);
  color: var(--brass);
}
.ep-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 8px;
}
.ep-content p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Méthodologie */
.ent-method {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.em-step {
  background: rgba(251,248,243,.06);
  border: 1px solid rgba(251,248,243,.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.em-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--brass-soft);
  font-weight: 600;
  margin-bottom: 14px;
}
.em-step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 10px;
}
.em-step p {
  font-size: 15px;
  color: rgba(251,248,243,.65);
  line-height: 1.65;
  margin: 0;
}

/* Tableau comparatif */
.ent-diff { margin-top: 10px; }
.ed-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 2px;
}
.ed-header { margin-bottom: 4px; }
.ed-cell {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  background: var(--ivory);
  color: var(--muted);
}
.ed-header .ed-cell {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: transparent;
  padding-bottom: 10px;
}
.ed-label {
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
}
.ed-them {
  color: var(--muted);
}
.ed-us {
  background: var(--navy);
  color: var(--cream);
  font-weight: 500;
}
.ed-header .ed-us {
  color: var(--brass);
  background: transparent;
}
.ed-header .ed-them {
  background: transparent;
}
.ed-row:first-child .ed-cell:first-child { border-radius: var(--radius-sm) 0 0 0; }
.ed-row:first-child .ed-cell:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.ed-row:last-child .ed-cell:first-child { border-radius: 0 0 0 var(--radius-sm); }
.ed-row:last-child .ed-cell:last-child { border-radius: 0 0 var(--radius-sm) 0; }

.cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .ent-approach-grid { grid-template-columns: 1fr; }
  .ent-method { grid-template-columns: 1fr; }
  .ent-pillar { flex-direction: column; gap: 14px; }
  .ed-row { grid-template-columns: 1fr; }
  .ed-header { display: none; }
  .ed-cell::before { content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
}

/* Team compact layout */
.team-compact { margin-bottom: 36px; }
.founder-compact {
  display: flex;
  gap: 32px;
  align-items: center;
}
.founder-compact .founder-card {
  flex-shrink: 0;
  width: 260px;
}
.founder-meta {
  flex: 1;
}
.founder-meta p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 14px;
}
@media (max-width: 720px) {
  .founder-compact { flex-direction: column; align-items: stretch; }
  .founder-compact .founder-card { width: 100%; }
}

/* Founder quote */
.founder-quote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.6;
  color: var(--navy);
  font-weight: 400;
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
}
.founder-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--brass);
  line-height: 0;
  position: relative;
  top: 18px;
  margin-right: 4px;
}
.fc-bio {
  font-size: 13px;
  color: rgba(251,248,243,.65);
  line-height: 1.6;
  margin-top: 10px;
  text-align: center;
}

/* Team elegant layout */
.team-elegant { margin-bottom: 0; }
.te-founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.te-founder-inner {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.te-avatar {
  width: 72px; height: 72px;
  background: var(--brass);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 18px;
  letter-spacing: 0.05em;
}
.te-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.te-credentials {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(251,248,243,.6);
  margin-bottom: 16px;
}
.te-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(251,248,243,.08);
  border: 1px solid rgba(251,248,243,.15);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--brass-soft);
  font-weight: 500;
}
.te-quote {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.6;
  color: var(--navy);
  font-weight: 400;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--brass);
  border-right: none;
  border-top: none;
  border-bottom: none;
}

/* Experts row — horizontal cards */
.te-experts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.te-expert {
  text-align: center;
  padding: 28px 20px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s ease, transform .25s ease;
}
.te-expert:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.te-expert-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--brass);
}
.te-expert-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
}
.te-expert-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1040px) {
  .te-experts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .te-founder { grid-template-columns: 1fr; gap: 28px; }
  .te-experts { grid-template-columns: 1fr; }
  .te-quote { padding-left: 18px; font-size: 18px; }
}

/* Approach phases: You → Telion */
.approach-phase { margin-bottom: 0; }
.ap-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.ap-label-you {
  background: var(--line);
  color: var(--ink-2);
}
.ap-label-telion {
  background: var(--brass);
  color: var(--cream);
}
.ap-cards {
  display: grid;
  gap: 16px;
}
.ap-cards-single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.ap-cards-you { grid-template-columns: 1fr 1fr; }
.ap-cards-telion { grid-template-columns: 1fr 1fr 1fr; }
.ap-card {
  padding: 28px 24px;
  border: 1px solid rgba(251,248,243,.1);
  border-radius: var(--radius);
  background: rgba(251,248,243,.04);
  text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}
.ap-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.ap-card .ap-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
}
.ap-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--cream);
  margin: 0;
}
.ap-card p {
  font-size: 14px;
  color: rgba(251,248,243,.7);
  line-height: 1.6;
  margin: 0;
}
.ap-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--brass-soft);
  font-weight: 600;
  flex-shrink: 0;
}
/* Vous card — cream tinted, larger */
.ap-card.ap-card-light {
  background: rgba(251,248,243,.08);
  border-color: rgba(251,248,243,.18);
  padding: 32px 36px;
}
.ap-card.ap-card-light h3 { color: var(--cream); }
.ap-card.ap-card-light p { color: rgba(251,248,243,.78); font-size: 15px; }
/* Telion cards — brass tinted */
.ap-card.ap-card-dark {
  background: rgba(176,138,71,.1);
  border-color: rgba(176,138,71,.25);
}
.ap-card.ap-card-dark:hover { border-color: var(--brass); }
.ap-card.ap-card-dark h3 { color: var(--brass-soft); }
.ap-card.ap-card-dark p { color: rgba(251,248,243,.72); }
.ap-card.ap-card-dark .ap-num { color: var(--brass-soft); }
.approach-divider {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  color: var(--brass);
}
.approach-trust {
  margin-top: 28px;
  padding: 16px 24px;
  background: rgba(176,138,71,0.06);
  border: 1px solid rgba(176,138,71,0.15);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.at-icon {
  flex-shrink: 0;
  color: var(--brass);
}
@media (max-width: 720px) {
  .ap-cards-you, .ap-cards-telion { grid-template-columns: 1fr; }
}

/* Keyword highlights */
.hl { color: var(--brass-deep); font-weight: 600; }
.section-dark .hl, .ap-card-dark .hl { color: var(--brass-soft); }

/* CTA spacing fixes */
.section-cta .lede { margin-bottom: 28px; }
.section-cta .btn { margin-top: 8px; }

/* Entreprises hero button spacing */
.page-hero-dark .btn { margin-top: 24px; }

/* CTA section perfect centering */
.section-cta { text-align: center; }
.section-cta .container { display: flex; flex-direction: column; align-items: center; }
.section-cta .h2 { text-align: center; width: 100%; }
.section-cta .lede { text-align: center; width: 100%; margin-bottom: 24px; }
.section-cta .btn { margin: 0 auto; }

/* Button loading state */
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.auth-error[hidden] { display: none; }
.auth-error:not([hidden]) { display: block; }

/* Fees hybrid model */
.fees-hybrid { max-width: 960px; margin: 0 auto; }
.fees-how {
  margin-bottom: 32px;
}
.fh-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--brass-soft);
  margin-bottom: 24px;
  text-align: center;
}
.fh-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fh-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(251,248,243,.08);
}
.fh-step:last-child { border-bottom: none; }
.fh-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(176,138,71,.12);
  color: var(--brass-soft);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}
.fh-step h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 6px;
}
.fh-step p {
  font-size: 14px;
  color: rgba(251,248,243,.65);
  line-height: 1.6;
  margin: 0;
}
.fees-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.fr-card {
  background: rgba(251,248,243,.06);
  border: 1px solid rgba(251,248,243,.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.fr-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--brass-soft);
  background: rgba(176,138,71,.1);
  border-radius: 12px;
}
.fr-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 6px;
}
.fr-card p {
  font-size: 13px;
  color: rgba(251,248,243,.6);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 720px) {
  .fees-result { grid-template-columns: 1fr; }
  .fh-step { flex-direction: column; gap: 12px; }
}

/* ========================================================
   MERGED APPROCHE & MODÈLE
   ======================================================== */
.merge-block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(251,248,243,.08);
}
.merge-block:first-of-type { border-top: none; padding-top: 0; }
.mb-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-soft);
  padding: 5px 14px;
  background: rgba(176,138,71,.12);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.mb-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 32px;
  line-height: 1.25;
}

/* Service grid (Bloc 1) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: rgba(251,248,243,.05);
  border: 1px solid rgba(251,248,243,.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}
.service-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
}
.sc-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  background: rgba(176,138,71,.1);
  border-radius: 12px;
  color: var(--brass-soft);
}
.service-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 8px;
}
.service-card p {
  font-size: 14px;
  color: rgba(251,248,243,.65);
  line-height: 1.6;
  margin: 0;
}

/* Method flow (Bloc 2) */
.method-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.mf-step {
  background: rgba(176,138,71,.08);
  border: 1px solid rgba(176,138,71,.2);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mf-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.mf-step h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--brass-soft);
  margin: 0 0 6px;
}
.mf-step p {
  font-size: 13px;
  color: rgba(251,248,243,.65);
  line-height: 1.5;
  margin: 0;
}
.mf-arrow {
  display: flex;
  align-items: center;
  color: var(--brass-soft);
  opacity: 0.5;
}

/* Model intro (Bloc 3) */
.model-intro {
  background: rgba(176,138,71,.08);
  border-left: 3px solid var(--brass);
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Comparison schema */
.model-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.mc-side {
  border-radius: var(--radius);
  padding: 24px 22px;
}
.mc-them {
  background: rgba(255,80,80,.04);
  border: 1px solid rgba(255,80,80,.15);
}
.mc-us {
  background: rgba(176,138,71,.1);
  border: 1px solid rgba(176,138,71,.3);
}
.mc-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.mc-them .mc-label { color: rgba(255,180,180,.85); }
.mc-us .mc-label { color: var(--brass-soft); }
.mc-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.mc-pill {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.mc-pill-bad {
  background: rgba(255,120,120,.12);
  color: rgba(255,200,200,.95);
}
.mc-pill-good {
  background: rgba(176,138,71,.2);
  color: var(--brass-soft);
}
.mc-arrow {
  color: rgba(251,248,243,.4);
  font-size: 14px;
}
.mc-result {
  font-size: 13px;
  line-height: 1.5;
  font-style: italic;
}
.mc-result-bad { color: rgba(255,180,180,.7); }
.mc-result-good { color: var(--cream); font-style: normal; font-weight: 500; }

/* Hybrid detail equation */
.hybrid-detail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 36px;
}
.hd-card {
  background: rgba(251,248,243,.05);
  border: 1px solid rgba(251,248,243,.12);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.hd-result {
  background: rgba(176,138,71,.12);
  border-color: rgba(176,138,71,.35);
}
.hd-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(176,138,71,.18);
  color: var(--brass-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin: 0 auto 12px;
}
.hd-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 6px;
}
.hd-card p {
  font-size: 12.5px;
  color: rgba(251,248,243,.65);
  line-height: 1.55;
  margin: 0;
}
.hd-plus, .hd-equals {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--brass);
}

/* Win-win */
.winwin {
  background: rgba(176,138,71,.06);
  border: 1px solid rgba(176,138,71,.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.ww-title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--brass-soft);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.ww-loop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ww-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(251,248,243,.06);
  border: 1px solid rgba(251,248,243,.12);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--cream);
  font-weight: 500;
}
.ww-icon {
  flex-shrink: 0;
  color: var(--brass-soft);
}
.ww-arrow {
  color: var(--brass);
  font-size: 18px;
}
.ww-note {
  font-size: 13.5px;
  color: rgba(251,248,243,.7);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}
.ww-note em { font-style: italic; color: var(--brass-soft); }

@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr; }
  .method-flow { grid-template-columns: 1fr; }
  .mf-arrow { transform: rotate(90deg); justify-self: center; padding: 4px 0; }
  .model-compare { grid-template-columns: 1fr; }
  .hybrid-detail { grid-template-columns: 1fr; }
  .hd-plus, .hd-equals { justify-content: center; padding: 4px 0; }
  .ww-loop { flex-direction: column; }
  .ww-arrow { transform: rotate(90deg); }
}

/* Circle diagram */
.circle-diagram {
  max-width: 1100px;
  width: 100%;
  margin: 16px auto 32px;
  padding: 0;
}
.cd-svg {
  width: 100%;
  height: auto;
  display: block;
}
.cd-node circle {
  transition: stroke-width .25s ease;
}
.cd-node:hover circle {
  stroke-width: 3;
}
@media (max-width: 720px) {
  .circle-diagram { max-width: 100%; }
}

.ww-subtitle {
  text-align: center;
  font-size: 15px;
  color: rgba(251,248,243,.75);
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 640px;
}

/* ============================================
   MODEL — EDITORIAL PREMIUM DESIGN
   ============================================ */

/* Manifesto */
.manifesto {
  position: relative;
  text-align: center;
  padding: 48px 40px 56px;
  margin: 0 0 56px;
  border-top: 1px solid rgba(176,138,71,0.2);
  border-bottom: 1px solid rgba(176,138,71,0.2);
}
.mf-quote {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--brass);
  position: absolute;
  top: 8px;
  left: 24px;
  opacity: 0.5;
}
.mf-quote-end {
  left: auto;
  right: 24px;
  top: auto;
  bottom: -24px;
}
.mf-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  font-weight: 400;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.01em;
}
.mf-strike {
  position: relative;
  color: rgba(251,248,243,0.45);
}
.mf-strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 1.5px;
  background: rgba(255,150,150,0.6);
  transform: rotate(-3deg);
}
.mf-emph {
  color: var(--brass-soft);
  font-style: italic;
}

/* VS Split */
.vs-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 64px;
}
.vs-col {
  padding: 32px 36px;
}
.vs-col-them {
  text-align: right;
}
.vs-col-us {
  text-align: left;
  background: linear-gradient(135deg, rgba(176,138,71,0.06) 0%, rgba(176,138,71,0.02) 100%);
  border-radius: 16px;
}
.vs-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,180,180,0.7);
  padding: 7px 16px;
  border: 1px solid rgba(255,180,180,0.25);
  border-radius: 999px;
  margin-bottom: 16px;
}
.vs-tag-us {
  color: var(--brass-soft);
  border-color: rgba(176,138,71,0.4);
  background: rgba(176,138,71,0.1);
}
.vs-headline {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 24px;
}
.vs-em {
  display: inline-block;
  position: relative;
  color: rgba(255,180,180,0.95);
  font-style: italic;
}
.vs-em-us { color: var(--brass-soft); }

.vs-chain {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  counter-reset: vc;
}
.vs-chain li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(251,248,243,0.06);
  font-size: 15px;
  color: rgba(251,248,243,0.78);
  line-height: 1.5;
}
.vs-chain li:last-child { border-bottom: 1px solid rgba(251,248,243,0.06); }
.vs-chain-them li { flex-direction: row-reverse; text-align: right; }
.vc-num {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 24px;
}
.vs-chain-them .vc-num { color: rgba(255,180,180,0.5); }
.vs-chain-us .vc-num { color: var(--brass-soft); }
.vc-text { flex: 1; }

.vs-result {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.vs-result-them {
  background: rgba(255,120,120,0.1);
  color: rgba(255,200,200,0.95);
  border: 1px solid rgba(255,120,120,0.2);
}
.vs-result-us {
  background: rgba(176,138,71,0.18);
  color: var(--brass-soft);
  border: 1px solid rgba(176,138,71,0.4);
}
.vr-icon {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

/* VS Axis */
.vs-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  gap: 14px;
}
.vs-axis-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(176,138,71,0.4) 50%, transparent 100%);
  min-height: 60px;
}
.vs-axis-vs {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--brass-soft);
  padding: 10px 22px;
  border: 1px solid rgba(176,138,71,0.4);
  border-radius: 999px;
  background: rgba(11,29,46,0.95);
}

/* Ledger — institutional balance sheet */
.ledger {
  background: linear-gradient(180deg, rgba(251,248,243,0.04) 0%, rgba(251,248,243,0.015) 100%);
  border: 1px solid rgba(176,138,71,0.18);
  border-radius: 18px;
  padding: 36px 40px;
  margin-bottom: 56px;
}
.ledger-head {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(251,248,243,0.08);
}
.lh-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-soft);
  margin-bottom: 10px;
}
.lh-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--cream);
  margin: 0;
  line-height: 1.3;
}

.ledger-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ledger-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(251,248,243,0.06);
  transition: background .25s ease;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row:hover { background: rgba(176,138,71,0.04); }

.lr-marker {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(176,138,71,0.12);
  color: var(--brass-soft);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid rgba(176,138,71,0.3);
}
.lr-marker-total {
  background: var(--brass);
  color: var(--cream);
  border-color: var(--brass);
}
.lr-body {
  min-width: 0;
}
.lr-label {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 4px;
}
.lr-detail {
  font-size: 13.5px;
  color: rgba(251,248,243,0.65);
  line-height: 1.55;
}
.lr-strong { color: var(--brass-soft); font-weight: 500; }

.lr-amount {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--brass-soft);
  text-align: right;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.ledger-total {
  background: rgba(176,138,71,0.06);
  border-top: 1px solid rgba(176,138,71,0.3);
  border-bottom: none !important;
  margin-top: 4px;
  border-radius: 12px;
  padding-left: 16px;
  padding-right: 16px;
}
.lr-label-total { color: var(--brass-soft); }
.lr-amount-total {
  font-size: 28px;
  color: var(--brass-soft);
  line-height: 1;
}
.lra-sub {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(230,212,173,0.7);
  margin-top: 4px;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .vs-split { grid-template-columns: 1fr; }
  .vs-col-them, .vs-col-us { text-align: left; padding: 24px; }
  .vs-chain-them li { flex-direction: row; text-align: left; }
  .vs-axis { flex-direction: row; padding: 16px 0; }
  .vs-axis-line { width: auto; height: 1px; min-height: 0; min-width: 60px; flex: 1; background: linear-gradient(90deg, transparent 0%, rgba(176,138,71,0.4) 50%, transparent 100%); }
  .ledger { padding: 24px 20px; }
  .ledger-row { grid-template-columns: 40px 1fr; gap: 14px; }
  .lr-amount { grid-column: 2; text-align: left; font-size: 20px; padding-top: 8px; }
  .lr-marker { width: 36px; height: 36px; font-size: 15px; }
  .manifesto { padding: 32px 24px 40px; }
  .mf-quote { font-size: 56px; }
}

/* ============================================
   CONVERGENCE — Two extremes → Telion synthesis
   ============================================ */
.convergence {
  margin-bottom: 56px;
}
.conv-row-extremes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
}
/* Mirror right column so labels appear on inside */
.vs-col-right {
  text-align: left !important;
}
.vs-col-right .vs-chain-us li {
  flex-direction: row !important;
  text-align: left !important;
}
.vs-col-right .conv-section-label { text-align: left; }

/* Pros / Cons sections inside columns */
.conv-section + .conv-section { margin-top: 18px; }
.conv-section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(176,138,71,0.7);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(176,138,71,0.15);
}
.conv-section-label-warn {
  color: rgba(255,180,180,0.55);
  border-bottom-color: rgba(255,180,180,0.15);
}
.conv-chain { margin-bottom: 0 !important; }
.conv-chain li {
  padding: 8px 0 !important;
  font-size: 14.5px !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Convergence merge SVG */
.conv-merge {
  height: 100px;
  margin: 0 auto;
  max-width: 900px;
}
.conv-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Synthesis result */
.conv-result {
  position: relative;
  background: linear-gradient(180deg, rgba(176,138,71,0.1) 0%, rgba(176,138,71,0.04) 100%);
  border: 1px solid rgba(176,138,71,0.35);
  border-radius: 22px;
  padding: 44px 48px 36px;
  text-align: center;
  overflow: hidden;
}
.conv-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(176,138,71,0.4) 0%, rgba(176,138,71,0) 60%);
  filter: blur(20px);
  pointer-events: none;
}
.conv-result-tag {
  position: relative;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-soft);
  padding: 5px 14px;
  border: 1px solid rgba(176,138,71,0.45);
  border-radius: 999px;
  margin-bottom: 18px;
  background: rgba(11,29,46,0.7);
}
.conv-result-title {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 400;
  color: var(--cream);
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.conv-result-lede {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(251,248,243,0.8);
  margin: 0 auto 36px;
  max-width: 520px;
  line-height: 1.5;
}

/* Two pillars A + B inside synthesis */
.conv-pillars {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: 32px;
  text-align: left;
}
.conv-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 26px;
}
.conv-pillar-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(176,138,71,0.35) 50%, transparent 100%);
}
.cp-symbol {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(176,138,71,0.15);
  color: var(--brass-soft);
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(176,138,71,0.4);
}
.cp-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 4px;
  line-height: 1.35;
}
.cp-text {
  font-size: 14px;
  color: rgba(251,248,243,0.65);
  line-height: 1.6;
  margin: 0;
}

/* Outcomes */
.conv-outcomes {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(176,138,71,0.18);
}
.conv-outcome {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--brass-soft);
  font-weight: 500;
}
.co-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 10px rgba(176,138,71,0.6);
}
.conv-outcome-sep {
  width: 24px;
  height: 1px;
  background: rgba(176,138,71,0.3);
}

/* Mobile */
@media (max-width: 900px) {
  .conv-row-extremes { grid-template-columns: 1fr; }
  .vs-col-right { padding-top: 0; }
  .conv-merge { display: none; }
  .conv-result { padding: 32px 22px 28px; }
  .conv-pillars { grid-template-columns: 1fr; gap: 8px; }
  .conv-pillar-divider { width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(176,138,71,0.3), transparent); }
  .conv-pillar { padding: 16px 0; }
  .conv-outcomes { flex-direction: column; gap: 10px; }
  .conv-outcome-sep { width: 1px; height: 12px; }
}

/* ============================================
   APPROCHE SECTION — plain darker navy
   ============================================ */
.section-approche {
  background: #0F2538;
}

/* Brighten cards within Notre approche */
.section-approche .service-card {
  background: rgba(251,248,243,0.07);
  border-color: rgba(251,248,243,0.13);
}
.section-approche .service-card:hover {
  background: rgba(251,248,243,0.09);
}
.section-approche .service-card p {
  color: rgba(251,248,243,0.78);
}
.section-approche .sc-icon {
  background: rgba(176,138,71,0.18);
}

/* Brighten method-flow steps */
.section-approche .mf-step {
  background: rgba(176,138,71,0.12);
  border-color: rgba(176,138,71,0.3);
}
.section-approche .mf-step p {
  color: rgba(251,248,243,0.78);
}

/* mb-tag a touch brighter */
.section-approche .mb-tag {
  background: rgba(176,138,71,0.18);
}

/* Subtitle slightly brighter */
.section-approche .sub {
  color: rgba(251,248,243,0.78) !important;
}

/* ============================================
   NOTRE MODÈLE SECTION — light bg between dark approche & cream équipe
   ============================================ */
.section-modele {
  background: var(--cream);
  position: relative;
}

/* Convergence columns (extremes) on light bg */
.section-modele .vs-col-them {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.section-modele .vs-headline {
  color: var(--navy);
}
.section-modele .vs-em {
  color: var(--brass-deep);
}
.section-modele .vs-tag {
  color: var(--brass-deep);
  background: rgba(176,138,71,0.08);
  border-color: rgba(176,138,71,0.3);
}
.section-modele .conv-section-label {
  color: var(--brass-deep);
  border-bottom-color: rgba(176,138,71,0.2);
}
.section-modele .conv-section-label-warn {
  color: rgba(180,80,80,0.8);
  border-bottom-color: rgba(180,80,80,0.2);
}
.section-modele .vs-chain li {
  color: var(--ink-2);
  border-color: rgba(11,29,46,0.06);
}
.section-modele .vs-chain-them .vc-num,
.section-modele .vs-chain-us .vc-num {
  color: var(--brass);
}
.section-modele .vs-axis-line {
  background: linear-gradient(180deg, transparent 0%, rgba(176,138,71,0.4) 50%, transparent 100%);
}
.section-modele .vs-axis-vs {
  color: var(--brass-deep);
  border-color: rgba(176,138,71,0.4);
  background: var(--cream);
}

/* Synthesis result on light bg — prominent navy/brass card */
.section-modele .conv-result {
  background:
    radial-gradient(ellipse 400px 220px at 50% 0%, rgba(176,138,71,0.25) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, #0F2538 100%);
  border: 1px solid rgba(176,138,71,0.35);
  color: var(--cream);
}
.section-modele .conv-result-tag {
  color: var(--brass-soft);
  border-color: rgba(176,138,71,0.45);
  background: rgba(11,29,46,0.7);
}
.section-modele .conv-result-title {
  color: var(--cream);
}
.section-modele .conv-result-lede {
  color: rgba(251,248,243,0.85);
}
.section-modele .cp-symbol {
  background: rgba(176,138,71,0.18);
  color: var(--brass-soft);
  border-color: rgba(176,138,71,0.45);
}
.section-modele .cp-title {
  color: var(--cream);
}
.section-modele .cp-text {
  color: rgba(251,248,243,0.75);
}
.section-modele .lr-strong {
  color: var(--brass-soft);
}
.section-modele .conv-pillar-divider {
  background: linear-gradient(180deg, transparent 0%, rgba(176,138,71,0.3) 50%, transparent 100%);
}
.section-modele .conv-outcomes {
  border-top-color: rgba(176,138,71,0.2);
}
.section-modele .conv-outcome {
  color: var(--brass-soft);
}
.section-modele .conv-outcome-sep {
  background: rgba(176,138,71,0.4);
}

/* Convergence merge curves — adapt to light bg */
.section-modele .conv-svg path {
  /* keep brass gradients defined inline, they work on cream too */
}

/* V/X icons in convergence chains */
.vc-check, .vc-cross {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.vc-check {
  background: rgba(176,138,71,0.15);
  color: var(--brass-deep);
  border: 1px solid rgba(176,138,71,0.4);
}
.vc-cross {
  background: rgba(180,80,80,0.1);
  color: rgba(180,80,80,0.85);
  border: 1px solid rgba(180,80,80,0.3);
}
/* On dark synthesis bloc (just in case) */
.section-modele .vc-check {
  color: var(--brass-deep);
}

/* Remove gradient from synthesis bloc — solid navy */
.section-modele .conv-result {
  background: var(--navy);
}
.section-modele .conv-glow { display: none; }

/* ============================================
   PLAN DE VIE — updated layouts
   ============================================ */

/* New summary cells (Patrimoine / Capacité restante) */
.ps-item.ps-item-cap {
  background: rgba(176,138,71,0.08);
  border-left: 3px solid var(--brass);
}
.ps-item .sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* Project row — actions */
.plan-project {
  position: relative;
  cursor: pointer;
}
.pp-actions {
  display: flex;
  gap: 6px;
  margin-left: 12px;
  flex-shrink: 0;
}
.pp-actions button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: all .2s ease;
}
.pp-actions button:hover {
  border-color: var(--brass);
  color: var(--brass-deep);
  background: rgba(176,138,71,0.06);
}
.pp-actions .pp-delete:hover {
  border-color: rgba(180,80,80,0.5);
  color: rgba(180,80,80,0.95);
  background: rgba(180,80,80,0.05);
}
.plan-project:hover {
  border-color: var(--brass);
  box-shadow: 0 4px 16px rgba(11,29,46,0.06);
  transform: translateY(-1px);
}

/* ============================================
   WIZARD — compact inputs + euros today notice
   ============================================ */

.wiz-today-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(176,138,71,0.07);
  border: 1px solid rgba(176,138,71,0.25);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0 20px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
}
.wiz-today-note svg {
  color: var(--brass-deep);
  flex-shrink: 0;
  margin-top: 2px;
}
.wiz-today-note b {
  color: var(--brass-deep);
  font-weight: 600;
}

.wiz-inputs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.wiz-inputs-row-2 { grid-template-columns: 1fr; }

.wiz-compact-field {
  background: var(--cream-2, #F4EFE6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .2s ease, background .2s ease;
}
.wiz-compact-field:hover {
  border-color: var(--brass);
  background: rgba(176,138,71,0.04);
}
.wiz-compact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.wiz-compact-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 4px;
  transition: border-color .2s ease;
}
.wiz-compact-field:focus-within .wiz-compact-row {
  border-bottom-color: var(--brass-deep);
  border-bottom-width: 2px;
}
.wiz-compact-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 4px 0;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  outline: none;
  width: 100%;
}
.wiz-compact-suffix {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .wiz-inputs-row { grid-template-columns: 1fr; }
}

/* ============================================
   CAPITAL + EFFORT row
   ============================================ */
.cap-effort-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.ce-cell {
  border-radius: 14px;
  padding: 20px 22px;
  text-align: center;
}
.ce-capital {
  background: var(--cream-2, #F4EFE6);
  border: 1px solid var(--line);
}
.ce-effort {
  background: linear-gradient(180deg, rgba(176,138,71,0.18) 0%, rgba(176,138,71,0.08) 100%);
  border: 1.5px solid var(--brass);
}
.ce-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.ce-effort .ce-label {
  color: var(--brass-deep);
}
.ce-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}
.ce-value b {
  font-weight: 500;
}
.ce-value span {
  font-size: 14px;
  color: var(--muted);
  margin-left: 2px;
  font-family: Manrope, sans-serif;
}
.ce-effort .ce-value {
  color: var(--brass-deep);
  font-weight: 600;
  font-size: 32px;
}
.ce-effort .ce-value b { font-weight: 600; }
.ce-effort .ce-value span { color: var(--brass); }
.ce-note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.ce-effort .ce-note {
  color: var(--brass-deep);
  opacity: 0.75;
}

@media (max-width: 720px) {
  .cap-effort-row { grid-template-columns: 1fr; }
}

/* ============================================
   CALC CARD updates
   ============================================ */
.calc-future-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-deep);
  background: rgba(176,138,71,0.1);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ============================================
   RENTE — detailed projection table
   ============================================ */
.proj-table-detailed {
  font-size: 13px;
}
.proj-table-detailed th,
.proj-table-detailed td {
  padding: 10px 8px;
  text-align: right;
}
.proj-table-detailed th:first-child,
.proj-table-detailed td:first-child {
  text-align: left;
}
.proj-table .t-tax {
  color: rgba(180,80,80,0.8);
}
.proj-table .t-sep td {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  padding: 6px 0;
  background: rgba(0,0,0,0.015);
}

/* Hero benefit chips inside the navy card */
.wiz-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.hero-benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brass-soft);
  background: rgba(176,138,71,0.15);
  border: 1px solid rgba(176,138,71,0.35);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.hero-benefit-chip svg {
  color: var(--brass);
  flex-shrink: 0;
}
