/* ============================================
   JS PRIVATE — V6
   Dark mode + bleu nuit + sobre + dense
   ============================================ */

:root {
  --bg: #07080A;
  --bg-soft: #0C0D10;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-elevated: #131419;

  --text: #F4F4F6;
  --text-soft: rgba(244, 244, 246, 0.70);
  --text-mute: rgba(244, 244, 246, 0.45);
  --text-faint: rgba(244, 244, 246, 0.25);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent: #3A5BB8;
  --accent-bright: #6B8AE5;
  --accent-soft: rgba(58, 91, 184, 0.12);
  --accent-line: rgba(107, 138, 229, 0.4);

  --green: #62D899;
  --green-soft: rgba(98, 216, 153, 0.10);

  --max-width: 1080px;
  --max-content: 720px;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 8, 10, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(7, 8, 10, 0.88); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.nav-brand strong { font-weight: 600; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font-size: 13.5px;
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: var(--bg-card); }
.nav-link.active { color: var(--text); }
.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: -0.005em;
}
.nav-cta:hover { background: white; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,255,255,0.08); }
@media (max-width: 768px) { .nav-links { display: none; } }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 90px 32px; position: relative; }
.container { max-width: var(--max-width); margin: 0 auto; }
.container-narrow { max-width: var(--max-content); margin: 0 auto; }

.bg-soft { background: var(--bg-soft); }

/* ============================================
   HERO (LANDING ONLY)
   ============================================ */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 70% 30%, rgba(58, 91, 184, 0.08), transparent 65%);
}
.hero-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

.scarcity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.scarcity-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  box-shadow: 0 0 10px var(--green);
}
.scarcity-badge .pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(2); opacity: 0; }
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 880px;
}
.hero-title em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.04em;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 22px;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  font-weight: 400;
}
.hero-tagline {
  font-size: 14px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
}

.hero-punchlines {
  list-style: none;
  margin: 32px 0;
  max-width: 480px;
}
.hero-punchlines li {
  font-size: 15px;
  line-height: 2;
  color: var(--text-soft);
  padding-left: 22px;
  position: relative;
}
.hero-punchlines li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 6px var(--accent-line);
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================
   PAGE HEADERS (PAGES INTERNES — SOBRE)
   ============================================ */
.page-header {
  padding: 140px 32px 60px;
  position: relative;
}
.page-header .container { max-width: var(--max-width); }
.page-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.page-title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 780px;
}
.page-intro {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 600px;
  line-height: 1.5;
}
.page-tension {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 580px;
  margin-top: 12px;
  letter-spacing: -0.005em;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

/* ============================================
   SECTION HEADERS (DANS LES PAGES)
   ============================================ */
.section-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  margin-bottom: 12px;
  display: block;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: var(--text);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}
.btn-secondary {
  color: var(--text);
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: var(--border-strong); }
.btn-large { padding: 18px 36px; font-size: 16px; }

/* ============================================
   SCHEMA CARD
   ============================================ */
.schema-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.schema-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
.schema-top {
  background: linear-gradient(135deg, var(--accent), #4A6CC9);
  color: white;
  padding: 12px 22px;
  border-radius: 7px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  display: block;
  width: fit-content;
  margin: 0 auto 12px;
  box-shadow: 0 4px 20px rgba(58, 91, 184, 0.35);
}
.schema-arrow {
  text-align: center;
  color: var(--text-mute);
  font-size: 16px;
  margin: 6px 0;
}
.schema-mid {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 14px 22px;
  text-align: center;
  margin: 0 auto;
  width: fit-content;
}
.schema-mid .pct {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}
.schema-mid .lbl { font-size: 11px; color: var(--text-soft); }
.schema-bottom {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}
.schema-bottom-box {
  flex: 1;
  max-width: 130px;
  padding: 14px 12px;
  border-radius: 7px;
  text-align: center;
  color: white;
}
.schema-bottom-box.toi {
  background: linear-gradient(135deg, var(--accent), #4A6CC9);
  box-shadow: 0 4px 18px rgba(58, 91, 184, 0.3);
}
.schema-bottom-box.moi {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
}
.schema-bottom-box .pct {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}
.schema-bottom-box .lbl { font-size: 11px; opacity: 0.85; }
.schema-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 14px;
}

.schema-line-text {
  text-align: center;
  font-size: 16px;
  color: var(--text-soft);
  margin-top: 24px;
  line-height: 1.5;
}
.schema-line-text strong { color: var(--text); }

/* ============================================
   CONCRETEMENT BLOCK (signature)
   ============================================ */
.concretement {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 40px 0;
  position: relative;
}
.concretement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  pointer-events: none;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.concretement-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
  position: relative;
}
.concretement-list {
  list-style: none;
  position: relative;
}
.concretement-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  margin-bottom: 4px;
}
.concretement-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-bright);
  font-weight: 600;
}

/* ============================================
   STEPS (page Methode)
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
}
.step {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.18em;
  min-width: 50px;
  padding-top: 4px;
}
.step-content { flex: 1; }
.step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.step-desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ============================================
   FORMULA TOGGLE & DISPLAY
   ============================================ */
.formula-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 36px;
}
.formula-toggle button {
  background: transparent;
  border: none;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.formula-toggle button.active {
  background: var(--text);
  color: var(--bg);
}
.formula-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .formula-display { grid-template-columns: 1fr; gap: 32px; }
}
.formula-info h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--text);
}
.formula-info p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}
.formula-tagline {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-bright);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
}

/* ============================================
   KEY PHRASE (signature blocks)
   ============================================ */
.key-phrase {
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  margin: 48px auto;
  max-width: 720px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.key-phrase strong {
  font-weight: 600;
  color: var(--accent-bright);
}

/* ============================================
   QUI GERE (signature section)
   ============================================ */
.qui-gere {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.qui-gere-intro {
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.qui-gere-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}
@media (max-width: 600px) { .qui-gere-stats { grid-template-columns: 1fr; } }
.qui-gere-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
}
.qui-gere-stat-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}
.qui-gere-stat-label {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.qui-gere-outro {
  font-size: 17px;
  color: var(--accent-bright);
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  margin-top: 32px;
  letter-spacing: -0.01em;
}

/* ============================================
   POURQUOI ÇA TIENT (concrete block)
   ============================================ */
.pourquoi-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}
.pourquoi-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.pourquoi-item:last-child { border-bottom: 1px solid var(--border); }
.pourquoi-item-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.18em;
  min-width: 50px;
  padding-top: 6px;
}
.pourquoi-item-content { flex: 1; }
.pourquoi-item-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.pourquoi-item-text {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ============================================
   BILAN TABLE
   ============================================ */
.bilan-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.bilan-tab {
  background: transparent;
  border: none;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  cursor: pointer;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-bottom: -1px;
}
.bilan-tab.active { color: var(--text); border-bottom-color: var(--accent); }
.bilan-tab:hover { color: var(--text); }

.bilan-table-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 20px;
}
.bilan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.bilan-table th {
  background: var(--bg-elevated);
  color: var(--text-soft);
  padding: 14px 16px;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}
.bilan-table th.right { text-align: right; }
.bilan-table th.center { text-align: center; }
.bilan-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}
.bilan-table td.right { text-align: right; }
.bilan-table td.center { text-align: center; }
.bilan-table tr.drawdown td { color: var(--text-mute); font-style: italic; }
.bilan-table tr:last-child td { border-bottom: none; }
.bilan-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

/* ============================================
   CHARTS
   ============================================ */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 40px 0;
}
.chart-block {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}
.chart-header-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.chart-stat { text-align: right; }
.chart-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 3px;
}
.chart-stat-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.02em;
}
svg.chart-svg { width: 100%; height: auto; display: block; }

/* ============================================
   KPIs
   ============================================ */
.kpis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 768px) { .kpis-grid { grid-template-columns: 1fr; } }
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.kpi-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.kpi-card-value {
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}
.kpi-card-sub { font-size: 12.5px; color: var(--text-soft); }

/* ============================================
   SCENARIOS
   ============================================ */
.scenarios-legend {
  display: flex;
  gap: 22px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.scenarios-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
}
.scenarios-legend-item.featured { color: var(--text); font-weight: 500; }
.scenarios-legend-swatch { width: 12px; height: 12px; border-radius: 3px; }

.scenarios-table-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow-x: auto;
}
.scenarios-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.scenarios-table th {
  padding: 14px 16px;
  font-weight: 500;
  text-align: right;
  background: var(--bg-elevated);
  color: var(--text-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scenarios-table th.first { text-align: left; }
.scenarios-table th.featured {
  background: linear-gradient(135deg, var(--accent), #4A6CC9);
  color: white;
}
.scenarios-table td {
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}
.scenarios-table td.first { text-align: left; font-weight: 500; color: var(--text); }
.scenarios-table td.pess { color: var(--text-mute); }
.scenarios-table td.featured {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
  border-left: 1px solid rgba(58, 91, 184, 0.3);
  border-right: 1px solid rgba(58, 91, 184, 0.3);
}
.scenarios-table td.opti { color: var(--text-soft); font-weight: 500; }
.scenarios-table tr:last-child td { border-bottom: none; }

/* ============================================
   PILIERS (cadre page)
   ============================================ */
.piliers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0;
}
@media (max-width: 768px) { .piliers-grid { grid-template-columns: 1fr; } }
.pilier-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.pilier-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.pilier-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.pilier-desc {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ============================================
   POUVOIR / NE PAS POUVOIR (cadre)
   ============================================ */
.pouvoir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 768px) { .pouvoir-grid { grid-template-columns: 1fr; } }
.pouvoir-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.pouvoir-block.peux { border-left: 2px solid var(--green); }
.pouvoir-block.pas {
  border-left: 2px solid var(--accent);
  background: linear-gradient(135deg, var(--accent-soft), transparent);
}
.pouvoir-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.pouvoir-block.peux .pouvoir-label { color: var(--green); }
.pouvoir-block.pas .pouvoir-label { color: var(--accent-bright); }
.pouvoir-list { list-style: none; }
.pouvoir-list li {
  font-size: 15px;
  color: var(--text);
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid var(--border);
}
.pouvoir-list li:first-child { border-top: none; }
.pouvoir-list .icon {
  display: inline-block;
  width: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.pouvoir-block.peux .pouvoir-list .icon { color: var(--green); }
.pouvoir-block.pas .pouvoir-list .icon { color: var(--accent-bright); }

/* ============================================
   FAQ
   ============================================ */
.faq-list { margin-top: 36px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item { border-top: 1px solid var(--border); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  letter-spacing: -0.01em;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent-bright);
  transition: transform 0.3s;
  margin-left: 16px;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ============================================
   FORMULAIRE
   ============================================ */
.candidature-intro {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.candidature-intro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
.time-estimate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-bright);
  margin-bottom: 18px;
}
.candidature-intro h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.candidature-intro p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 10px;
}
.candidature-intro p:last-child { margin-bottom: 0; }
.candidature-intro strong { color: var(--text); }
.candidature-intro a { color: var(--accent-bright); }

.form-section { margin-bottom: 36px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.form-label .num { color: var(--accent-bright); margin-right: 8px; }
.form-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.form-option { position: relative; }
.form-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.form-option label {
  display: block;
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-soft);
  transition: all 0.2s;
  text-align: center;
}
.form-option label:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.form-option input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-weight: 500;
}
.form-textarea {
  width: 100%;
  min-height: 130px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text);
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s;
}
.form-textarea:focus { outline: none; border-color: var(--accent); }
.form-textarea::placeholder { color: var(--text-mute); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-input {
  width: 100%;
  padding: 13px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); }
.form-input::placeholder { color: var(--text-mute); }
.form-helper { font-size: 12.5px; color: var(--text-mute); margin-top: 8px; }
.form-submit-row {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.form-submit-note { margin-bottom: 20px; font-size: 13px; color: var(--text-mute); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 110px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-line), transparent 60%);
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.25;
}
.cta-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 20px;
  position: relative;
}
.cta-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
}
.cta-title em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.04em;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
}
.cta-sub {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 36px;
  position: relative;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  padding: 16px 32px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  letter-spacing: -0.01em;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}
.cta-button-arrow { transition: transform 0.3s; position: relative; z-index: 1; }
.cta-button:hover .cta-button-arrow { transform: translateX(4px); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 32px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.footer-text {
  font-size: 12px;
  color: var(--text-mute);
}
.footer-text a { color: var(--text-soft); text-decoration: underline; }

/* ============================================
   STICKY CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 50;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}
.sticky-cta.visible { opacity: 1; transform: translateY(0); }
.sticky-cta:hover { transform: translateY(-2px); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   MERCI PAGE
   ============================================ */
.merci-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 32px 60px;
}
.merci-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #4A6CC9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 26px;
  color: white;
  box-shadow: 0 0 32px var(--accent-line);
}
.merci-title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}
.merci-title em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--accent-bright);
}
.merci-text {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.merci-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-soft);
}

/* ============================================
   V7 — ONE-PAGER ULTRA EPURE
   ============================================ */

/* Lignes hero one-pager (4 lignes) */
.hero-onepager {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-onepager .container { position: relative; z-index: 2; }

.hero-brand {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-mainline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 920px;
}
.hero-mainline em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.04em;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
}

.hero-secondline {
  font-size: 22px;
  color: var(--text-soft);
  letter-spacing: -0.01em;
  font-weight: 400;
  margin-bottom: 48px;
  line-height: 1.35;
}

/* Sections one-pager — beaucoup de blanc */
.section-onepager {
  padding: 140px 32px;
}
.section-onepager .container {
  max-width: 800px;
}

/* Eyebrow petit en haut de chaque section */
.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.20em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}

/* Titre principal de section */
.section-headline {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 48px;
  max-width: 700px;
}
.section-headline em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.04em;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
}

/* Liste 4 lignes (Mécanique, Projection, etc) */
.line-list {
  list-style: none;
  margin: 32px 0;
}
.line-list li {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--text);
  padding: 18px 0;
  border-top: 1px solid var(--border);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 16px;
}
.line-list li:last-child { border-bottom: 1px solid var(--border); }
.line-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--accent-bright);
  flex-shrink: 0;
}

/* Phrase clé qui flotte (Aucun gain = aucun frais, etc) */
.section-keyline {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--text);
  margin: 48px 0 0 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.section-keyline em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.06em;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
}

/* Filtre / CTA gigantesque */
.section-filter {
  padding: 180px 32px;
  text-align: left;
  position: relative;
}
.section-filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.filter-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 40px;
  max-width: 720px;
}
.filter-title em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.04em;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
}

/* Petit séparateur entre sections (filet bleu) */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  max-width: 800px;
  margin: 0 auto;
}

/* Anchor smooth offset for fixed nav */
.anchor-target {
  scroll-margin-top: 100px;
}

/* ============================================
   V8 — One-pager equilibre (formules, HWM, projection)
   ============================================ */

/* Formules toggle dans one-pager */
.formules-onepager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .formules-onepager { grid-template-columns: 1fr; gap: 16px; } }

.formule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.formule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
.formule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.formule-card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.formule-card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-bright);
  padding: 5px 10px;
  border-radius: 6px;
}
.formule-card-desc {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Schema simplifie pour les 2 cards cote a cote */
.formule-schema {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.formule-schema-step {
  background: linear-gradient(135deg, var(--accent), #4A6CC9);
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  width: fit-content;
}
.formule-schema-mid {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 16px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-soft);
  width: fit-content;
}
.formule-schema-mid strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.formule-schema-arrow {
  color: var(--text-mute);
  font-size: 14px;
}
.formule-schema-row {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}
.formule-schema-box {
  flex: 1;
  padding: 12px 8px;
  border-radius: 6px;
  text-align: center;
}
.formule-schema-box.you {
  background: linear-gradient(135deg, var(--accent), #4A6CC9);
  color: white;
  box-shadow: 0 4px 16px rgba(58, 91, 184, 0.25);
}
.formule-schema-box.gest {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
}
.formule-schema-box .pct {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.formule-schema-box .lbl {
  font-size: 10.5px;
  opacity: 0.85;
}

/* HWM bloc dedicated */
.hwm-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin-top: 40px;
  max-width: 760px;
  position: relative;
  overflow: hidden;
}
.hwm-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  pointer-events: none;
}
.hwm-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
  position: relative;
}
.hwm-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  letter-spacing: -0.01em;
  position: relative;
}
.hwm-text strong {
  font-weight: 600;
}

/* Projection bloc */
.projection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .projection-grid { grid-template-columns: 1fr; } }

.projection-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.projection-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}
.projection-card-value {
  font-size: 36px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.projection-card-value em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.04em;
  color: var(--accent-bright);
}
.projection-card-sub {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}
.projection-disclaimer {
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--text-mute);
  font-style: italic;
  text-align: left;
}

/* ============================================
   V9 — Scenarios 3 cards + key phrase
   ============================================ */
.scenarios-3cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0 32px;
}
@media (max-width: 768px) { .scenarios-3cards { grid-template-columns: 1fr; } }

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.scenario-card.featured {
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border-color: rgba(58, 91, 184, 0.4);
}
.scenario-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}
.scenario-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.scenario-card.featured .scenario-card-label {
  color: var(--accent-bright);
}
.scenario-card-perf {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.scenario-card-value {
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.scenario-card.featured .scenario-card-value {
  color: var(--green);
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 36px;
}
.scenario-card.pess .scenario-card-value { color: var(--text-mute); }

/* ============================================
   V17 — LIGHT MODE
   ============================================ */
[data-theme="light"] {
  --bg: #FAFAF8;
  --bg-soft: #F1F0EC;
  --bg-card: rgba(26, 37, 64, 0.025);
  --bg-elevated: #FFFFFF;

  --text: #1A2540;
  --text-soft: rgba(26, 37, 64, 0.70);
  --text-mute: rgba(26, 37, 64, 0.50);
  --text-faint: rgba(26, 37, 64, 0.30);

  --border: rgba(26, 37, 64, 0.10);
  --border-strong: rgba(26, 37, 64, 0.20);

  --accent: #2D4A8E;
  --accent-bright: #3A5BB8;
  --accent-soft: rgba(45, 74, 142, 0.06);
  --accent-line: rgba(58, 91, 184, 0.30);

  --green: #2D9560;
  --green-soft: rgba(45, 149, 96, 0.10);
}

/* Transitions douces entre modes (apres premier load pour eviter FOUC) */
html.theme-loaded body,
html.theme-loaded .nav,
html.theme-loaded section,
html.theme-loaded .formule-card,
html.theme-loaded .scenario-card,
html.theme-loaded .projection-card,
html.theme-loaded .pouvoir-block,
html.theme-loaded .hwm-block,
html.theme-loaded .schema-card,
html.theme-loaded .concretement,
html.theme-loaded .candidature-intro,
html.theme-loaded .scarcity-badge,
html.theme-loaded .merci-meta,
html.theme-loaded .form-input,
html.theme-loaded .form-textarea,
html.theme-loaded .form-option label,
html.theme-loaded .nav-link,
html.theme-loaded .nav-cta,
html.theme-loaded .nav-brand,
html.theme-loaded .btn-primary,
html.theme-loaded .btn-secondary,
html.theme-loaded .sticky-cta,
html.theme-loaded .footer,
html.theme-loaded .formule-card-tag,
html.theme-loaded .schema-bottom-box.moi,
html.theme-loaded .formule-schema-box.gest,
html.theme-loaded .formule-schema-mid,
html.theme-loaded .schema-mid {
  transition:
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

/* Theme toggle button */
.theme-toggle {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: color 0.15s, background 0.15s;
  padding: 0;
  margin-right: 4px;
}
.theme-toggle:hover {
  color: var(--text);
  background: var(--bg-card);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Toggle masque l'icone non active */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ====== AJUSTEMENTS LIGHT MODE — patterns / shadows / boxes ====== */

/* Hero grid pattern - inverse pour light */
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(26, 37, 64, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 37, 64, 0.03) 1px, transparent 1px);
}

/* Nav background blur en light */
[data-theme="light"] .nav {
  background: rgba(250, 250, 248, 0.75);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(250, 250, 248, 0.92);
}

/* Box shadow CTA primary plus douce en light */
[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(26, 37, 64, 0.12);
}
[data-theme="light"] .nav-cta:hover {
  box-shadow: 0 4px 16px rgba(26, 37, 64, 0.10);
}
[data-theme="light"] .cta-button:hover {
  box-shadow: 0 12px 40px rgba(26, 37, 64, 0.15);
}

/* Sticky CTA shadow douce en light */
[data-theme="light"] .sticky-cta {
  box-shadow: 0 8px 32px rgba(26, 37, 64, 0.18);
}

/* Schemas - box "Gestionnaire" / "moi" / "gest" en light : fond gris au lieu de blanc transparent */
[data-theme="light"] .schema-bottom-box.moi {
  background: rgba(26, 37, 64, 0.04);
  border-color: var(--border);
  color: var(--text);
}
[data-theme="light"] .formule-schema-box.gest {
  background: rgba(26, 37, 64, 0.04);
  border-color: var(--border);
}
[data-theme="light"] .formule-schema-mid,
[data-theme="light"] .schema-mid {
  background: rgba(26, 37, 64, 0.03);
}

/* Box "Performance du mois" reste avec gradient bleu - shadow plus douce */
[data-theme="light"] .schema-top,
[data-theme="light"] .formule-schema-step {
  box-shadow: 0 4px 16px rgba(45, 74, 142, 0.20);
}
[data-theme="light"] .schema-bottom-box.toi,
[data-theme="light"] .formule-schema-box.you {
  box-shadow: 0 4px 14px rgba(45, 74, 142, 0.18);
}

/* CTA section glow plus subtil en light */
[data-theme="light"] .cta-section::before {
  opacity: 0.10;
}
[data-theme="light"] .section-filter::before {
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* Bilan table headers en light */
[data-theme="light"] .bilan-table th,
[data-theme="light"] .scenarios-table th {
  background: rgba(26, 37, 64, 0.04);
}

/* Form options selected state plus visible en light */
[data-theme="light"] .form-option input[type="radio"]:checked + label {
  background: rgba(45, 74, 142, 0.08);
  color: var(--accent);
}

/* Merci icon shadow plus douce */
[data-theme="light"] .merci-icon {
  box-shadow: 0 0 24px rgba(58, 91, 184, 0.30);
}

/* Pulse green badge plus visible en light */
[data-theme="light"] .scarcity-badge .pulse,
[data-theme="light"] .merci-meta span:first-child {
  box-shadow: 0 0 8px rgba(45, 149, 96, 0.50);
}

/* ============================================
   LANGUAGE SWITCHER (V20)
   ============================================ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 4px;
  user-select: none;
}
.lang-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  text-decoration: none;
  padding: 6px 7px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
}
.lang-link:hover {
  color: var(--text);
  background: var(--bg-card);
}
.lang-link.active {
  color: var(--text);
  font-weight: 600;
}
.lang-sep {
  font-size: 11px;
  color: var(--text-mute);
  opacity: 0.4;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 480px) {
  .lang-link { padding: 5px 5px; font-size: 11.5px; }
  .lang-switcher { margin-right: 2px; }
}

/* Smooth color transition with theme */
html.theme-loaded .lang-link,
html.theme-loaded .lang-sep {
  transition:
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease;
}

/* ============================================
   PROJECTION GRAPH (V20.2)
   ============================================ */
.projection-graph-wrap {
  margin-top: 56px;
  margin-bottom: 8px;
  max-width: 800px;
}
.projection-graph {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.projection-graph-line {
  fill: none;
  stroke: var(--accent-bright);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.projection-graph-dot {
  fill: var(--bg);
  stroke: var(--accent-bright);
  stroke-width: 1.5;
  transition: r 0.2s ease;
}
.projection-graph-dot-down {
  fill: #C46060;
  stroke: var(--bg);
  stroke-width: 1.8;
}
.projection-graph-dot-final {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 2;
}
.projection-graph-baseline {
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.5;
}
.projection-graph-label {
  fill: var(--text-mute);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.projection-graph-caption {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-soft);
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  max-width: 600px;
  line-height: 1.5;
}

/* Light theme : drawdown dot un peu plus chaud */
[data-theme="light"] .projection-graph-dot-down {
  fill: #B85252;
}

/* Mobile */
@media (max-width: 600px) {
  .projection-graph-wrap { margin-top: 40px; }
  .projection-graph-label { font-size: 11px; }
  .projection-graph-caption { font-size: 15px; }
}

/* ============================================
   PROJECTION CONTROLS (V20.3) — formule + montant toggles
   ============================================ */
.projection-controls {
  margin-top: 36px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* Onglets formule (tabs) */
.formule-tabs {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
}
.formule-tab {
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.formule-tab:hover { color: var(--text); }
.formule-tab.active {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(58, 91, 184, 0.25);
}
[data-theme="light"] .formule-tab.active {
  color: #FFFFFF;
}

/* Toggles montant (pills) */
.montant-toggles {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
.montant-toggle {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-mute);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.montant-toggle:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.montant-toggle.active {
  color: var(--accent-bright);
  background: var(--accent-soft);
  border-color: var(--accent-bright);
}
[data-theme="light"] .montant-toggle.active {
  color: var(--accent);
}

/* Animation transition des values */
.scenario-card-value {
  transition: opacity 0.15s ease;
}
.scenario-card-value.fading {
  opacity: 0.25;
}

/* Mobile */
@media (max-width: 600px) {
  .projection-controls { gap: 14px; margin-top: 28px; margin-bottom: 36px; }
  .formule-tab { padding: 9px 14px; font-size: 12.5px; }
  .montant-toggle { padding: 7px 14px; font-size: 12.5px; }
}

/* Scenario card meta sub-label (V20.4) */
.scenario-card-meta {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 8px;
  font-weight: 500;
  transition: opacity 0.15s ease;
}
.scenario-card-meta.fading {
  opacity: 0.25;
}

/* Scenario card extra — 2nd ligne info (V20.5) */
.scenario-card-extra {
  margin-top: 12px;
  font-size: 15px;
  color: var(--accent-bright);
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  min-height: 1em;
  transition: opacity 0.15s ease;
  letter-spacing: -0.005em;
}
.scenario-card-extra:empty {
  margin-top: 0;
  min-height: 0;
}
.scenario-card-extra.fading {
  opacity: 0.25;
}
[data-theme="light"] .scenario-card-extra {
  color: var(--accent);
}

/* ============================================
   LANGUAGE SWITCHER DROPDOWN (V20.8)
   Replaces inline FR · EN · ES
   ============================================ */
.lang-switcher {
  position: relative;
  display: inline-flex;
  margin-right: 4px;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  transition: color 0.15s, background 0.15s;
}
.lang-current:hover {
  color: var(--text);
  background: var(--bg-card);
}
.lang-current:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
.lang-chevron {
  width: 9px;
  height: 9px;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 5px;
  display: none;
  z-index: 100;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.lang-switcher.open .lang-menu {
  display: block;
  animation: lang-menu-in 0.15s ease forwards;
}
@keyframes lang-menu-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-menu-item {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.005em;
  transition: color 0.15s, background 0.15s;
}
.lang-menu-item:hover {
  background: var(--bg-card);
  color: var(--text);
}
.lang-menu-item.active {
  color: var(--accent-bright);
  font-weight: 600;
}
[data-theme="light"] .lang-menu-item.active {
  color: var(--accent);
}

@media (max-width: 480px) {
  .lang-current { padding: 7px 8px; }
  .lang-menu { min-width: 120px; }
}

/* nav-tools wrapper (V20.9) — colle lang-switcher + theme-toggle */
.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.nav-tools .lang-switcher {
  margin-right: 0;
}
.nav-tools .theme-toggle {
  margin-right: 0;
}

/* ============================================
   LEGAL PAGE (V20.11) — Mentions légales
   ============================================ */
.page-header {
  padding: 120px 32px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
  margin: 12px 0 16px;
}
.page-subtitle {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 600px;
  font-weight: 400;
}

.legal-section {
  padding: 40px 32px 120px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}
.legal-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  font-style: italic;
  padding: 24px 28px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  margin-bottom: 56px;
}
.legal-article {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-article:last-of-type {
  border-bottom: none;
}
.legal-h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 18px;
  line-height: 1.3;
}
.legal-h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 28px 0 10px;
  line-height: 1.4;
}
.legal-content p {
  margin: 0 0 14px;
}
.legal-content a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: rgba(107, 138, 229, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
[data-theme="light"] .legal-content a {
  color: var(--accent);
  text-decoration-color: rgba(58, 91, 184, 0.3);
}
.legal-content a:hover {
  text-decoration-color: currentColor;
}
.legal-block {
  background: var(--bg-card);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 14px 0 18px;
  font-size: 15px;
  line-height: 1.7;
}
.legal-list {
  margin: 6px 0 18px;
  padding-left: 22px;
}
.legal-list li {
  margin-bottom: 6px;
  line-height: 1.7;
}
.legal-update {
  text-align: center;
  margin-top: 56px;
  color: var(--text-mute);
  font-size: 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}

@media (max-width: 600px) {
  .page-header { padding: 90px 20px 40px; }
  .legal-section { padding: 30px 20px 80px; }
  .legal-content { font-size: 14.5px; }
  .legal-intro { padding: 18px 20px; }
  .legal-h2 { font-size: 20px; }
}
