/* HT Portage — feuille de style commune
   Charte Harington : marine, rose, prune · Open Sans */

:root {
  --navy-900: #21324E;
  --navy-700: #304870;
  --navy-500: #3A5480;
  --rose: #C187A1;
  --rose-50: #F3E6EC;
  --plum: #784E61;
  --slate: #435B7B;
  --ink: #1B1C1C;
  --muted: #4A5468;
  --muted-2: #5B6478;
  --bg: #F1F4F7;
  --tint: #E4E9F0;
  --line: #D7D7D7;
  --on-dark: #D9E0EA;
  --on-dark-2: #A7B3C6;
  --white: #FFFFFF;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--plum); }
a:hover { color: var(--navy-900); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-900); color: var(--white); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typo */
.eyebrow {
  margin: 0 0 16px;
  font-size: 14px; font-weight: 600; font-style: italic;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--plum);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--rose); }
.h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.03; letter-spacing: -0.03em; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; line-height: 1.08; max-width: 820px; }
.h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.1; }
.lead { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.section--dark .lead, .hero .lead { color: var(--on-dark); }
.small { font-size: 13px; line-height: 1.55; color: var(--muted-2); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--rose { background: var(--rose); color: var(--ink); }
.btn--rose:hover { background: #CC97AE; color: var(--ink); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost-light { border-color: var(--on-dark-2); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); color: var(--white); }
.btn--ghost-dark { border-color: var(--navy-900); color: var(--navy-900); }
.btn--ghost-dark:hover { background: rgba(33,50,78,.06); color: var(--navy-900); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { font-weight: 600; font-size: 17px; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* En-tête */
.site-header { background: var(--navy-900); color: var(--white); position: relative; z-index: 10; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand__mark { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--white); color: var(--navy-900); font-weight: 800; font-size: 16px; border-radius: 2px; }
.brand__word { font-weight: 700; font-size: 15px; letter-spacing: 0.28em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--white); text-decoration: none; }
.nav a:hover { color: var(--rose); }
.nav a[aria-current="page"] { color: var(--rose); font-weight: 600; }
.nav .btn { padding: 11px 20px; min-height: 44px; font-size: 15px; }
.nav .btn:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--on-dark-2); color: var(--white); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle svg { display: block; margin: auto; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-900); padding: 8px 24px 24px; border-top: 1px solid var(--navy-500); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--navy-500); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* Hero */
.hero { background: var(--navy-900); color: var(--white); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero__text { flex: 999 1 520px; min-width: 0; }
.hero__aside { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.hero .lead { font-size: 20px; max-width: 600px; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.stat-card { background: var(--navy-700); border-radius: var(--radius); padding: 26px 28px; display: flex; align-items: baseline; gap: 18px; }
.stat-card__value { font-weight: 700; font-size: clamp(36px, 3.3vw, 46px); line-height: 1; color: var(--rose); min-width: 140px; white-space: nowrap; }
.stat-card__label { font-size: 16px; line-height: 1.4; color: var(--on-dark); }

/* Page intro (pages internes) */
.page-intro { padding: 72px 0 40px; }
.page-intro .h1 { font-size: clamp(36px, 5vw, 60px); max-width: 860px; }

/* Grilles et cartes */
.grid { display: grid; gap: 20px; margin-top: 56px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card--flat { border: 0; }
.card--dark { background: var(--navy-900); color: var(--white); border: 0; }
.card h3 { margin: 20px 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card--dark p { color: var(--on-dark); }
.icon { width: 40px; height: 40px; stroke: var(--plum); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--line); }
.pillar { padding: 40px 32px 40px 0; }
.pillar__num { font-size: 18px; font-weight: 600; color: var(--plum); }
.pillar h3 { margin: 16px 0 12px; font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
.pillar p { font-size: 17px; line-height: 1.6; color: var(--muted); }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.panel__main { flex: 999 1 420px; min-width: 0; }
.panel__side { flex: 1 1 360px; display: flex; flex-direction: column; gap: 28px; }
.checklist { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 17px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 2px; width: 22px; height: 22px; stroke: var(--plum); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.bar-row__head { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; font-weight: 600; }
.bar-row__head strong { font-size: 20px; }
.bar { height: 18px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 999px; background: var(--navy-700); }
.bar--muted span { background: #B4B4B4; }

.feature-list h3 { margin: 0 0 24px; font-size: 24px; font-weight: 600; }
.feature-list dt { font-weight: 600; font-size: 16px; }
.feature-list dd { margin: 4px 0 20px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.feature-list dd:last-child { margin-bottom: 0; }

.amount { font-weight: 700; font-size: 44px; line-height: 1.05; color: var(--rose); }
.amount span { display: block; margin-top: 8px; line-height: 1.3; }
.card--dark .amount + p { margin-top: 12px; }

.steps { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.steps li { border-top: 2px solid var(--navy-900); padding-top: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-weight: 700; font-size: 20px; color: var(--plum); }
.steps h3 { margin: 10px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: 0; }
.steps p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.cta-band { background: var(--rose); }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-top: 88px; padding-bottom: 88px; }
.cta-band h2 { flex: 1 1 520px; font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.08; color: var(--ink); }

.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* Formulaires */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted-2); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1.5px solid #B4B4B4; border-radius: 12px;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy-700); outline: 3px solid rgba(193,135,161,.45); outline-offset: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy-700); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; font-weight: 600; min-height: 1.5em; }
.form-status.is-ok { color: #2F6B3A; }
.form-status.is-error { color: #A12C3B; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }

/* Simulateur */
.sim { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.sim__controls, .sim__result { flex: 1 1 440px; min-width: 0; border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.sim__controls { background: var(--white); border: 1px solid var(--line); gap: 40px; }
.sim__result { background: var(--navy-900); color: var(--white); gap: 28px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-head label { font-weight: 600; font-size: 17px; }
.range-head output { font-weight: 700; font-size: 32px; }
input[type=range] { width: 100%; height: 28px; margin-top: 16px; accent-color: var(--navy-700); }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
.segmented { display: inline-flex; gap: 6px; background: var(--tint); border-radius: 999px; padding: 6px; }
.segmented button { border: 0; border-radius: 999px; padding: 10px 22px; min-height: 44px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; background: transparent; color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--navy-900); color: var(--white); }
.sim__net-label { font-size: 15px; color: var(--on-dark-2); }
.sim__net { margin-top: 8px; font-weight: 700; font-size: clamp(48px, 7vw, 72px); line-height: 1; letter-spacing: -0.03em; color: var(--rose); }
.stack-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; }
.stack-bar span:nth-child(1) { width: 67%; background: var(--rose); }
.stack-bar span:nth-child(2) { width: 28%; background: var(--on-dark-2); }
.stack-bar span:nth-child(3) { width: 5%; background: var(--white); }
.breakdown { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--navy-500); }
.breakdown div:last-child { border-bottom: 0; padding-bottom: 0; }
.breakdown dt { display: flex; align-items: center; gap: 10px; color: var(--on-dark-2); }
.breakdown dd { margin: 0; font-weight: 600; white-space: nowrap; }
.breakdown .total dt { color: var(--white); font-weight: 600; }
.breakdown .total dd { color: var(--rose); font-weight: 700; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.gain { background: var(--navy-700); border-radius: 16px; padding: 22px; }
.gain p { font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.gain strong { display: block; margin-top: 8px; font-size: 30px; font-weight: 700; }

/* Missions */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1.5px solid #B4B4B4; background: var(--white); color: var(--ink); border-radius: 999px; padding: 10px 18px; min-height: 44px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); font-weight: 600; }
.mission { display: flex; flex-direction: column; gap: 14px; }
.mission__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { background: var(--rose-50); color: var(--plum); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.mission h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.25; }
.mission__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink); padding-top: 6px; }
.mission__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--tint); }
.mission__tjm { font-weight: 700; font-size: 17px; }
.mission .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* FAQ */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq details { background: var(--white); border-radius: 16px; padding: 22px 28px; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; }
.faq details p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Pied de page */
.site-footer { background: var(--navy-900); color: var(--on-dark); font-size: 15px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--white); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer__brand { flex: 1 1 320px; }
.footer__logo { display: flex; align-items: center; gap: 12px; }
.footer__logo span { font-weight: 700; font-size: 22px; color: var(--white); }
.footer__brand p { margin-top: 14px; line-height: 1.6; max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col p { font-weight: 600; color: var(--white); margin-bottom: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--navy-500); font-size: 13px; color: var(--on-dark-2); }
.footer__bottom a { color: var(--on-dark-2); }

/* Pages légales */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.legal ul { padding-left: 20px; }
.todo { background: var(--rose-50); color: var(--plum); padding: 1px 6px; border-radius: 4px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Vérification anti-robot (Cloudflare Turnstile) : n'occupe de place que si une interaction est demandée */
.captcha:empty { display: none; }
.captcha { min-height: 0; }

/* ---------- Simulateur v2 : frais, détail du calcul, fenêtre d'aide ---------- */
.label-aide { display: inline-flex; align-items: center; gap: 8px; }
.label-aide label { font-weight: 600; font-size: 17px; }
.aide { width: 26px; height: 26px; border-radius: 999px; border: 1.5px solid var(--navy-700); background: var(--white); color: var(--navy-900); font: inherit; font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.aide:hover { background: var(--navy-900); color: var(--white); }
.aide:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.range-head .hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.sim__plus { margin-top: 10px; font-size: 15px; color: var(--on-dark); }
.stack-bar span { transition: width .2s ease; }
.stack-bar span:nth-child(1) { width: 52%; background: var(--rose); }
.stack-bar span:nth-child(2) { width: 0; background: #7FB3A0; }
.stack-bar span:nth-child(3) { width: 43%; background: var(--on-dark-2); }
.stack-bar span:nth-child(4) { width: 5%; background: var(--white); }
.calcul { border-top: 1px solid var(--navy-500); padding-top: 16px; }
.calcul summary { cursor: pointer; font-weight: 600; color: var(--white); list-style: none; display: flex; align-items: center; gap: 10px; }
.calcul summary::-webkit-details-marker { display: none; }
.calcul summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(-45deg); transition: transform .15s; }
.calcul[open] summary::before { transform: rotate(45deg); }
.calcul summary:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; border-radius: 6px; }
.breakdown--detail { margin-top: 16px; font-size: 15px; gap: 10px; }
.breakdown--detail div { padding-bottom: 10px; }
.calcul__note { margin-top: 14px; font-size: 14px; background: rgba(255,255,255,.08); border-left: 3px solid var(--rose); padding: 12px 14px; border-radius: 8px; color: var(--on-dark); }
.popup { border: 0; padding: 0; border-radius: 20px; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); color: var(--ink); background: var(--white); box-shadow: 0 30px 80px rgba(17,26,43,.35); }
.popup::backdrop { background: rgba(17,26,43,.55); }
.popup__inner { padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.55; }
.popup__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.popup__head h2 { margin: 0; font-size: 22px; color: var(--navy-900); }
.popup h3 { margin: 8px 0 0; font-size: 16px; color: var(--navy-900); }
.popup__fermer { border: 0; background: var(--tint); color: var(--navy-900); width: 40px; height: 40px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.popup__fermer:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.popup__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.popup__table th, .popup__table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.popup__table th { font-weight: 400; color: var(--muted); padding-right: 16px; width: 58%; }
.popup__table td { font-weight: 600; white-space: nowrap; }
.popup__encart { background: var(--tint); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.popup__actions { display: flex; justify-content: flex-end; }
@media (max-width: 560px) { .popup__table td { white-space: normal; } }
.breakdown--detail .sous dt { padding-left: 16px; font-size: 14px; }
.breakdown--detail .sous dd { font-weight: 400; color: var(--on-dark-2); font-size: 14px; }
.compte-exemple { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 12px; font-size: 16px; }
.compte-exemple div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.compte-exemple dt { color: var(--muted); }
.compte-exemple dd { margin: 0; font-weight: 600; white-space: nowrap; }
.compte-exemple .total { border-bottom: 0; padding-bottom: 0; }
.compte-exemple .total dt { color: var(--ink); font-weight: 600; }
.compte-exemple .total dd { color: var(--navy-900); font-size: 22px; font-weight: 700; }

/* Description des offres (listes, intertitres, repli) */
.mission__desc { font-size: 15px; line-height: 1.55; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.mission__desc p { margin: 0; }
.mission__desc ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.mission__desc ul ul { margin-top: 4px; list-style: circle; }
.mission__point { color: var(--muted); }
.mission__desc li:has(> ul) > .mission__point, .mission__intertitre { font-weight: 700; color: var(--ink); }
.mission__desc li.sans-puce { list-style: none; }
.mission__intertitre { margin-top: 6px !important; }
.mission__desc.is-repliee { max-height: 7.8em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.mission__plus { align-self: flex-start; margin-top: 6px; font-size: 15px; }
.mission__repli { display: flex; flex-direction: column; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--plum, #784E61); text-decoration: underline; cursor: pointer; }

/* ---------- Guides et pages éditoriales ---------- */
.hero--guide .container { padding-top: 48px; padding-bottom: 56px; }
.fil { font-size: 14px; color: var(--on-dark-2); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.fil a { color: var(--on-dark); text-decoration: none; }
.fil a:hover { color: var(--white); text-decoration: underline; }
.guide-titre { font-size: clamp(32px, 4.6vw, 54px); max-width: 900px; }
.guide-meta { margin-top: 18px; color: var(--on-dark-2); font-size: 15px; }
.guide { padding: 64px 0 88px; }
.guide__grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.article h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; margin: 48px 0 14px; scroll-margin-top: 90px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article strong { font-weight: 600; }
.article .faq { margin-top: 8px; }
.en-bref { background: var(--white); border-left: 4px solid var(--rose); border-radius: 0 16px 16px 0; padding: 22px 26px; margin-bottom: 28px; }
.en-bref__titre { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); margin-bottom: 8px !important; }
.en-bref p:last-child { margin: 0; }
.sommaire { background: var(--tint); border-radius: 16px; padding: 18px 24px; margin-bottom: 8px; font-size: 15px; }
.sommaire > p { font-weight: 700; margin: 0 0 8px; }
.sommaire ol { margin: 0; }
.sommaire a { color: var(--navy-700); text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.tableau { overflow-x: auto; margin: 8px 0 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.tableau table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.tableau caption { text-align: left; padding: 14px 16px 4px; font-size: 13px; color: var(--muted-2); }
.tableau th, .tableau td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tableau thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg); }
.tableau tbody th { font-weight: 600; }
.tableau tr:last-child td, .tableau tr:last-child th { border-bottom: 0; }
.cta-guide { background: var(--navy-900); color: var(--white); border-radius: 20px; padding: 28px; margin: 40px 0 8px; }
.cta-guide p { margin: 0; }
.cta-guide__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px !important; }
.cta-guide .btn--dark { background: var(--rose); color: var(--ink); }
.cta-guide .btn--ghost-dark { border-color: var(--on-dark-2); color: var(--white); }
.article > .cta-guide:only-of-type .cta-guide__btns { margin-top: 0 !important; }
.sources { font-size: 15px; }
.glossaire dt { font-weight: 700; margin-top: 18px; scroll-margin-top: 90px; }
.glossaire dd { margin: 4px 0 0; color: var(--muted); }
.guide__aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.aside-carte, .aside-liens { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.aside-carte__titre { font-weight: 700; margin-bottom: 10px; }
.aside-carte ul { margin: 0 0 18px; padding-left: 18px; font-size: 15px; color: var(--muted); display: grid; gap: 6px; }
.aside-carte .btn { width: 100%; justify-content: center; }
.guide-lien { display: block; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.guide-lien span { display: block; font-size: 12px; font-weight: 600; color: var(--plum); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.guide-lien:hover { color: var(--plum); }
.guides-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.guide-carte { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.guide-carte:hover { border-color: var(--rose); transform: translateY(-2px); color: var(--ink); }
.guide-carte h2 { font-size: 21px; font-weight: 700; line-height: 1.25; }
.guide-carte p { font-size: 15px; color: var(--muted); line-height: 1.55; flex: 1; }
.guide-carte span { font-weight: 600; color: var(--plum); font-size: 15px; }
@media (max-width: 960px) {
  .guide__grille { grid-template-columns: 1fr; gap: 32px; }
  .guide__aside { position: static; }
  .article { font-size: 16px; }
}

/* Simulateur : composition du montant versé */
.sim__compo { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.sim__compo li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-dark); }
.sim__compo li b { margin-left: auto; font-weight: 600; font-size: 17px; color: var(--white); font-variant-numeric: tabular-nums; }
.sim__compo .swatch { flex: none; }
.sim__plus { font-size: 13px; color: var(--on-dark-2); }
.sim__compo li[hidden], .sim__plus[hidden] { display: none; }
.breakdown > div[hidden] { display: none; }
