/* simulateur.css — Landing comparateur Mutuelle santé (thème AXA)
   Palette AXA : bleu nuit #00008F + accent rouge #FF1721 + vert santé #0E9F6E + typo Source Sans 3.
   Les anciens tokens --orange* sont remappés sur l'accent AXA (rouge) pour conserver la structure. */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #00008F;          /* AXA bleu nuit (primaire) */
  --navy-hover: #1A1AC0;
  --orange: #FF1721;        /* AXA rouge (accent, à doser) */
  --orange-dark: #D40F18;
  --orange-bg: #FFF4F4;
  --orange-border: #F5C2C4;
  --positive: #0E9F6E;      /* vert santé : montants économisés */
  --positive-bg: #E2F3EC;
  --text: #1A1A40;
  --text-muted: #5A5A66;
  --text-light: #888894;
  --page-bg: #F8F8FA;
  --card-bg: #FFFFFF;
  --border: #E5E5EA;
  --border-strong: #D4D4DC;
  --info-bg: #E8EAF7;
  --bar-passive: #D7D7DC;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--navy-hover); }

/* ── Topbar (fond blanc, ligne sobre en bas) ──────────────────────────── */
.topbar {
  background: #fff;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
}
.brand-icon { font-size: 22px; }
.brand-logo { width: 32px; height: 32px; display: block; flex-shrink: 0; }

/* ───────── Bandeau défilant (marquee) ─────────────────────────── */
.marquee {
  background: #EBEBF7;
  border-top: 1px solid #C9C9EA;
  border-bottom: 1px solid #C9C9EA;
  overflow: hidden;
  width: 100%;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
  padding: 14px 0;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}
.marquee-item {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.marquee-region { font-weight: 700; }
.marquee-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ───────── Témoignages (entre simulateur et FAQ) ────────────────── */
.temoignages {
  max-width: 1100px;
  margin: 56px auto 16px;
  padding: 0 24px;
}
.temoignages-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.temoignages-sub {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 28px;
}
.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.temoignage-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 26, 112, 0.07);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.temoignage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 26, 112, 0.12);
}
.temoignage-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1A1AC0 0%, #00008F 100%);
  overflow: hidden;
}
.temoignage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.temoignage-caption {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.temoignage-caption strong {
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.1px;
}
.temoignage-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
.temoignage-meta strong { color: var(--text); font-weight: 600; }
.temoignage-result {
  font-size: 14.5px;
  color: var(--positive);
  font-weight: 700;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 720px) {
  .temoignages-grid { grid-template-columns: 1fr; gap: 14px; }
  .temoignages-title { font-size: 19px; }
  .temoignages-sub { font-size: 14px; margin-bottom: 22px; }
}

/* ───────── FAQ ────────────────────────────────────────────────── */
.faq-section {
  max-width: 900px;
  margin: 48px auto 24px;
  padding: 0 8px;
}
.faq-title {
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.faq-subtitle {
  color: var(--text);
  font-size: 17px;
  margin: 0 0 24px;
}
.faq-item {
  border-bottom: 1px solid var(--orange-border);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--orange-bg); }
.faq-question {
  font-weight: 700;
  font-size: 15.5px;
  color: #1a1a22;
}
.faq-caret {
  display: inline-flex;
  color: var(--orange);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-caret { transform: rotate(180deg); }
.faq-item[open] > summary {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
  background: #fff;
}
.faq-content {
  padding: 4px 12px 18px;
  color: #3a3a44;
  font-size: 15px;
  line-height: 1.65;
}
.faq-content p { margin: 0 0 14px; }
.faq-content p:last-child { margin-bottom: 0; }
.faq-content strong { color: #1a1a22; }
@media (max-width: 640px) {
  .faq-section { margin: 32px auto 16px; }
  .faq-title { font-size: 18px; }
  .faq-subtitle { font-size: 15px; margin-bottom: 18px; }
  .faq-question { font-size: 14.5px; }
  .faq-item summary { padding: 14px 8px; }
}
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-free, .badge-time {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.badge-free { font-weight: 600; }

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* ── Intro ─────────────────────────────────────────────────────────────── */
.intro-section { margin-bottom: 28px; }
.intro-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.35;
  color: #1c1c2e;
  margin: 0 0 28px;
  max-width: 920px;
}
.intro-title strong { font-weight: 700; }

.how-it-works h2 {
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 1.2px;
  margin: 0 0 8px;
  font-weight: 700;
}
.how-it-works p { margin: 0 0 8px; color: #3a3a3a; font-size: 15px; }
.how-it-works ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #3a3a3a;
  font-size: 15px;
}
.how-it-works li { margin-bottom: 4px; }

.disclaimer-box {
  background: #eef2ff;
  border-radius: 6px;
  padding: 14px 20px;
  font-size: 14px;
  color: #2a2a55;
  margin: 22px 0 28px;
  line-height: 1.5;
}

/* ── Simulateur wrapper + Overlay Gate ─────────────────────────────────── */
.simulator-wrap {
  position: relative;
  background: #fff;
  border: 1px solid #e3e3e8;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  min-height: 600px;
  overflow: hidden;
}

.gate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 246, 248, 0.55);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.35s ease;
}

/* ── Mobile : la gate devient un overlay FULLSCREEN fixed (impossible à rater) ── */
@media (max-width: 768px) {
  .gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(248, 248, 250, 0.97);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 20px;
  }
  body.gate-active {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
  }
}
.gate-overlay.gate-hidden {
  opacity: 0;
  pointer-events: none;
}

.gate-modal {
  max-width: 520px;
  background: #fff;
  border: 1px solid #e3e3e8;
  border-radius: 10px;
  box-shadow: 0 10px 36px rgba(0, 0, 70, 0.18);
  padding: 32px 30px;
  text-align: center;
}
.gate-title {
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 700;
  color: #161618;
}
.gate-sub {
  font-size: 14.5px;
  color: #5a5a6a;
  margin: 0 0 24px;
  line-height: 1.55;
}
.gate-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gate-btn {
  display: block;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  transition: all 0.15s ease;
  width: 100%;
}
.gate-btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.gate-btn-primary:hover { background: var(--navy-hover); }
.gate-btn-secondary {
  background: #fff;
  color: #5a5a6a;
  border-color: #d4d4dc;
}
.gate-btn-secondary:hover { background: #f5f5fa; border-color: #aab; }

/* ── Simulateur (contenu derrière le gate, légèrement estompé) ────────── */
.simulator {
  filter: blur(0.8px) grayscale(0.05);
  opacity: 0.6;
  transition: filter 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  user-select: none;
}
.simulator.unlocked {
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

/* ── Simulateur : header (counter +/-) ─────────────────────────────────── */
.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid #eaeaef;
  margin-bottom: 22px;
}
.sim-header-text { font-style: italic; color: #555; font-size: 14px; max-width: 480px; }
.sim-label-sub { color: #777; font-size: 13.5px; margin-top: 4px; }

.sim-counter {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #d4d4dc;
  border-radius: 999px;
  padding: 4px 6px;
  gap: 4px;
}
.counter-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #d4d4dc;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.counter-btn:hover { background: #f0f4ff; border-color: var(--navy); }
.counter-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.counter-value {
  font-weight: 700;
  color: #1c1c2e;
  min-width: 56px;
  text-align: center;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

/* ── Simulateur body : 2 colonnes ──────────────────────────────────────── */
.sim-body {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 36px;
  align-items: start;
}

/* ── Tabs ──────────────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tabs-installation { margin-bottom: 20px; }
.tabs-installation .tab {
  flex: 1;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 14px;
}
.tabs-duree { margin-bottom: 22px; }
.tabs-duree .tab {
  padding: 8px 14px;
  font-size: 13.5px;
  min-width: 58px;
  text-align: center;
}
.tab {
  background: #fff;
  color: #1c1c2e;
  border: 1.5px solid #d4d4dc;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.tab:hover { border-color: var(--navy); background: #f8f8ff; }
.tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ── Section label ─────────────────────────────────────────────────────── */
.sim-section-label {
  font-weight: 600;
  font-size: 14px;
  color: #1c1c2e;
  margin: 0 0 10px;
}

/* ── Économies card ────────────────────────────────────────────────────── */
.economies-card {
  border: 2px solid var(--positive);
  border-radius: 8px;
  padding: 26px 20px;
  text-align: center;
  font-size: 44px;
  font-weight: 700;
  color: var(--positive);
  letter-spacing: -0.5px;
  margin: 0 0 28px;
  background: var(--positive-bg);
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease;
}
.economies-card.bump {
  transform: scale(1.04);
}

/* ── Facture grid ──────────────────────────────────────────────────────── */
.facture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.facture-item {
  border: 1.5px solid #d4d4dc;
  border-radius: 6px;
  padding: 14px 14px;
  background: #fff;
}
.facture-item.facture-avec {
  border-color: var(--navy);
  background: var(--info-bg);
}
.facture-label {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c2e;
  margin-bottom: 8px;
}
.facture-reduc {
  display: inline-block;
  background: var(--positive);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.facture-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #1c1c2e;
  font-variant-numeric: tabular-nums;
}
.facture-avec .facture-value { color: var(--navy); }
.facture-icon { font-size: 18px; opacity: 0.75; }

/* ── Colonne droite : chart ─────────────────────────────────────────────── */
.chart-title {
  font-size: 14.5px;
  color: #3a3a3a;
  margin: 0 0 6px;
  line-height: 1.45;
}
.chart-subtitle {
  font-size: 15px;
  color: #1c1c2e;
  margin: 0 0 18px;
}
.chart-container {
  position: relative;
  height: 360px;
  margin-bottom: 14px;
}
.chart-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: #1c1c2e;
  justify-content: center;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.legend-sans { background: var(--bar-passive); }
.legend-avec { background: var(--navy); }

/* ── Note légale ───────────────────────────────────────────────────────── */
.legal-note {
  font-size: 12.5px;
  color: #777;
  margin: 24px 0 0;
  line-height: 1.6;
  font-style: italic;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: #fff;
  color: var(--text-light);
  padding: 22px 0 26px;
  font-size: 12.5px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer a { color: var(--text-light); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer-sep { margin: 0 8px; opacity: 0.45; }
.footer-copy { margin-top: 8px; opacity: 0.65; font-size: 12px; }

/* ── Bandeau CTA "Personnaliser" (sous le simulateur) ──────────────────── */
.perso-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, #EFEFFA 0%, #FFFFFF 75%);
  border: 1px solid #C9C9EA;
  border-radius: 16px;
  padding: 22px 26px;
  margin: 28px 0 0;
  box-shadow: 0 2px 14px rgba(0, 0, 143, 0.08);
}
.perso-banner-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.perso-banner-body {
  flex: 1;
  min-width: 0;
}
.perso-banner-title {
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.1px;
  line-height: 1.3;
}
.perso-banner-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.perso-banner-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 26, 112, 0.18);
  transition: all 0.16s ease;
}
.perso-banner-btn:hover {
  background: var(--navy-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 26, 112, 0.26);
}
/* État verrouillé tant que le gate n'a pas été validé */
.perso-banner.is-locked {
  background: linear-gradient(135deg, #F5F5F8 0%, #FAFAFC 75%);
  border-color: var(--border);
  box-shadow: none;
}
.perso-banner.is-locked .perso-banner-icon {
  opacity: 0.45;
  filter: grayscale(0.6);
}
.perso-banner.is-locked .perso-banner-title,
.perso-banner.is-locked .perso-banner-sub {
  color: var(--text-light);
}
.perso-banner.is-locked .perso-accent { color: var(--text-light); }
.perso-banner.is-locked .perso-banner-btn {
  background: #B5B5C0;
  border-color: #B5B5C0;
  cursor: not-allowed;
  box-shadow: none;
}
.perso-banner.is-locked .perso-banner-btn:hover {
  background: #B5B5C0;
  transform: none;
  box-shadow: none;
}
/* Animation shake sur la gate modal quand on clique le bandeau verrouillé */
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-7px); }
  40%, 80% { transform: translateX(7px); }
}
.gate-modal.is-shake { animation: gateShake 0.45s ease; }

@media (max-width: 760px) {
  .perso-banner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 22px 20px;
  }
  .perso-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Modal "Personnaliser ma simulation" (10s after gate-yes) ──────────── */
.perso-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 38, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.32s ease;
}
.perso-overlay.perso-show { opacity: 1; }
.perso-overlay[hidden] { display: none; }
.perso-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 36px 32px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 70px rgba(0, 26, 112, 0.28), 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.32s ease;
}
.perso-overlay.perso-show .perso-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.perso-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 0;
  color: #888894;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.perso-close:hover { color: var(--text); background: var(--page-bg); }
.perso-icon-wrap {
  margin: 0 auto 18px;
  display: flex;
  justify-content: center;
}
.perso-icon { display: block; }
.perso-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.perso-accent { color: var(--navy); }
.perso-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 22px;
}
.perso-sub strong { color: var(--text); font-weight: 600; }
.perso-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.perso-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
}
.perso-features svg { flex-shrink: 0; }
.perso-features strong { font-weight: 700; }
.perso-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.perso-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.16s ease;
  line-height: 1;
}
.perso-btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(0, 26, 112, 0.18);
}
.perso-btn-primary:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 26, 112, 0.25);
}
.perso-btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  font-weight: 500;
  font-size: 14px;
}
.perso-btn-secondary:hover {
  color: var(--text);
  background: var(--page-bg);
}
@media (max-width: 480px) {
  .perso-modal { padding: 30px 22px 22px; border-radius: 14px; }
  .perso-title { font-size: 19px; }
  .perso-sub { font-size: 14px; }
  .perso-features li { font-size: 13.5px; }
  .perso-icon { width: 52px; height: 52px; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sim-body { grid-template-columns: 1fr; gap: 28px; }
  .chart-container { height: 280px; }
  .economies-card { font-size: 36px; padding: 20px 16px; }
}
@media (max-width: 600px) {
  .container { padding: 22px 14px 50px; }
  .simulator-wrap { padding: 18px; border-radius: 8px; }
  .intro-title { font-size: 20px; }
  .sim-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .gate-modal { padding: 24px 20px; }
  .gate-title { font-size: 19px; }
  .tabs-duree .tab { flex: 1; min-width: 0; }
  .tabs-installation .tab { font-size: 13px; padding: 12px 10px; }
  .economies-card { font-size: 32px; }
  .facture-grid { grid-template-columns: 1fr; }
}

/* ── Vitrine des marques comparées ───────────────────────────────────────── */
.brands-section{max-width:1000px;margin:6px auto 0;padding:26px 20px 6px;text-align:center}
.brands-title{font-size:1.3rem;font-weight:800;color:var(--navy);margin:0 0 8px}
.brands-sub{color:#6a6a7a;font-size:.96rem;line-height:1.5;margin:0 auto 22px;max-width:640px}
.brands-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.brand-tile{position:relative;height:66px;background:#fff;border:1px solid #e9e9f0;border-radius:12px;
  display:flex;align-items:center;justify-content:center;padding:10px;box-shadow:0 1px 3px rgba(0,0,0,.05);
  transition:box-shadow .15s ease,transform .15s ease}
.brand-tile:hover{box-shadow:0 4px 14px rgba(0,0,140,.10);transform:translateY(-2px)}
.brand-wordmark{font-weight:800;color:#3a3a52;font-size:.92rem;letter-spacing:.2px;text-align:center;line-height:1.15}
.brand-tile-logo{position:absolute;inset:9px;width:calc(100% - 18px);height:calc(100% - 18px);object-fit:contain}
.brands-note{margin:18px auto 0;color:#9a9aae;font-size:.82rem}
@media(max-width:820px){.brands-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.brands-grid{grid-template-columns:repeat(2,1fr)}.brand-tile{height:58px}}
