/* =========================================================
   Carport Solaire Gratuit — Design system
   Inspiré de centredegestionhandicap.fr
   Palette : marine #031B69 / bleu accent #343FE3 / rouge alerte
   ========================================================= */

:root {
  --navy: #031B69;
  --navy-700: #0a2a8a;
  --navy-900: #02103f;
  --blue: #343FE3;
  --blue-600: #2b34c4;
  --red: #C9201F;
  --red-bg: #FDF1F1;
  --amber-bg: #FFF7E6;
  --amber-border: #E0A900;
  --green: #1a7f4b;

  --ink: #131313;
  --ink-soft: #3a3f4a;
  --muted: #5b6270;
  --line: #e3e6ee;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --card: #ffffff;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(3, 27, 105, .06), 0 1px 3px rgba(3, 27, 105, .08);
  --shadow-md: 0 6px 24px rgba(3, 27, 105, .10);
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.1;
  padding: .85rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: all .15s ease; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn-accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-accent:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { filter: brightness(.93); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #eef1fb; border-color: #eef1fb; }
.btn-sm { padding: .55rem .95rem; font-size: .9rem; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Utility top bar ---------- */
.topbar { background: var(--navy-900); color: #cdd4f0; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #cdd4f0; }
.topbar .tb-right { display: flex; gap: 1.2rem; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: 14px 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .55rem; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #ffd23f; font-size: 1.3rem; flex: none; }
.logo strong { color: var(--blue); }
.logo-tag { font-size: .8rem; color: var(--muted); font-weight: 500; line-height: 1.2; max-width: 280px; }
.header-spacer { flex: 1; }
.logo-light { color: #fff; }
.logo-light strong { color: #9fb0ff; }

/* ---------- Main nav ---------- */
.main-nav { background: #fff; border-bottom: 3px solid var(--navy); }
.main-nav .container { display: flex; gap: .25rem; flex-wrap: wrap; align-items: stretch; }
.main-nav a { color: var(--navy); font-weight: 700; font-size: .95rem; padding: .9rem 1rem; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.main-nav a:hover { text-decoration: none; border-bottom-color: var(--blue); color: var(--blue); }

/* ---------- Quick access bar ---------- */
.quickbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .85rem; }
.quickbar .container { display: flex; gap: 1.2rem; align-items: center; min-height: 40px; flex-wrap: wrap; }
.quickbar .qa-label { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; }
.quickbar a { color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.accent-bar { height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue)); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 0 2.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.lead { font-size: 1.1rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.badge-eco { display: inline-flex; align-items: center; gap: .4rem; background: #e7f3ec; color: var(--green); font-weight: 700; font-size: .85rem; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .hl { color: var(--blue); }
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 1.3rem; }
.hero-points { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.hero-points li { font-size: 1.02rem; }
.hero-cta { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.hero-cta-note { font-size: .85rem; color: var(--muted); }
.trust-row { margin-top: 1.4rem; display: flex; gap: .4rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- Reassurance strip ---------- */
.strip { background: var(--navy); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 26px 20px; text-align: center; }
.strip-item strong { display: block; font-size: 1.25rem; color: #fff; }
.strip-item span { font-size: .85rem; color: #c4ccf0; }

/* ---------- Card grid (raccourcis) ---------- */
.cards-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qcard { display: flex; flex-direction: column; gap: .6rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; color: var(--navy); transition: all .15s ease; position: relative; }
.qcard:hover { text-decoration: none; border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.qcard .qc-ico { width: 44px; height: 44px; border-radius: 10px; background: #eef1fb; display: grid; place-items: center; font-size: 1.4rem; }
.qcard h3 { font-size: 1.05rem; }
.qcard .qc-arrow { position: absolute; right: 1.1rem; bottom: 1.1rem; color: var(--blue); font-weight: 800; }
.qcard p { color: var(--muted); font-size: .9rem; }

/* ---------- Generic 3-col cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.feature-ico { width: 52px; height: 52px; border-radius: 12px; background: #eef1fb; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1rem; }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); }
.cta-band .cb-ico { font-size: 1.8rem; color: var(--navy); }
.cta-band .cb-text { flex: 1; min-width: 240px; }
.cta-band .cb-text strong { color: var(--navy); font-size: 1.1rem; display: block; }
.cta-band .cb-text span { color: var(--muted); font-size: .92rem; }

/* ---------- Alert band (anti-arnaque) ---------- */
.alert-band { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--red-bg); border-left: 6px solid var(--red); border-radius: var(--radius-lg); padding: 1.2rem 1.5rem; margin-top: 1rem; }
.alert-band .ab-ico { color: var(--red); font-size: 1.6rem; }
.alert-band .ab-text { flex: 1; min-width: 240px; }
.alert-band .ab-text strong { color: var(--red); display: block; font-size: 1.05rem; }
.alert-band .ab-text span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 2rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; position: relative; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; margin-bottom: .8rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Aides ---------- */
.aides-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.aides-list { list-style: none; display: grid; gap: .8rem; margin: 1.2rem 0 1.6rem; }
.aides-list li { padding-left: 1.8rem; position: relative; color: var(--ink-soft); }
.aides-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.aides-highlight { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.aides-amount-label { font-size: .9rem; color: #c4ccf0; }
.aides-amount-value { display: block; font-size: 2.6rem; font-weight: 800; color: #fff; margin: .2rem 0; }
.aides-amount-note { font-size: .75rem; color: #aab4e6; }
.aides-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.4rem; }
.aides-mini strong { display: block; font-size: 1.25rem; color: #ffd23f; }
.aides-mini span { font-size: .78rem; color: #c4ccf0; }

/* ---------- Testimonials ---------- */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.testi .stars { margin-bottom: .6rem; }
.testi p { color: var(--ink-soft); font-style: italic; margin-bottom: .8rem; }
.testi footer { color: var(--navy); font-weight: 700; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; font-size: 1.3rem; color: var(--blue); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */
.cta-final { background: var(--navy); color: #fff; padding: 64px 0; text-align: center; }
.cta-final h2 { color: #fff; margin-bottom: .6rem; }
.cta-final p { color: #c4ccf0; margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4ccf0; padding: 48px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; padding-bottom: 36px; }
.footer-brand p { font-size: .9rem; margin-top: .8rem; color: #aab4e6; }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .9rem; }
.footer-col a { display: block; color: #c4ccf0; font-size: .9rem; padding: .25rem 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0; font-size: .82rem; color: #aab4e6; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: #c4ccf0; }

/* ---------- Simulateur / Quiz ---------- */
.quiz-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.6rem; position: sticky; top: 16px; }
.quiz-header { margin-bottom: 1.2rem; }
.quiz-progress { height: 8px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; margin-bottom: .5rem; }
.quiz-progress-bar { height: 100%; width: 16.66%; background: linear-gradient(90deg, var(--navy), var(--blue)); transition: width .3s ease; }
.quiz-step-label { font-size: .8rem; color: var(--muted); font-weight: 700; }
.quiz-step { display: none; border: 0; }
.quiz-step.is-active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quiz-step legend { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.step-intro { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 58px; padding: .7rem .9rem; border: 2px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; transition: all .12s ease; height: 100%; }
.choice:hover span { border-color: var(--blue); }
.choice input:checked + span { border-color: var(--navy); background: #eef1fb; color: var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.field { margin-bottom: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.field label { display: block; font-weight: 700; font-size: .85rem; color: var(--navy); margin-bottom: .3rem; }
.field input { width: 100%; padding: .75rem .9rem; border: 2px solid var(--line); border-radius: var(--radius); font-family: inherit; font-size: 1rem; }
.field input:focus { outline: none; border-color: var(--blue); }
.field-error { display: block; color: var(--red); font-size: .8rem; margin-top: .25rem; min-height: 1em; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); margin-top: .4rem; }
.consent input { margin-top: .2rem; flex: none; }

.quiz-nav { display: flex; gap: .7rem; margin-top: 1.3rem; }
.quiz-nav .btn-block { flex: 1; }
.form-reassurance { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .9rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.quiz-success { text-align: center; padding: 1.5rem 0; }
.success-icon { font-size: 3rem; margin-bottom: .6rem; }
.quiz-success h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.quiz-success p { color: var(--ink-soft); margin-bottom: .6rem; }
.success-sub { font-size: .9rem; color: var(--muted); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 16, 63, .55); }
.modal-box { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 640px; width: 100%; max-height: 85vh; overflow: auto; padding: 2rem; box-shadow: var(--shadow-md); }
.modal-close { position: absolute; top: .8rem; right: 1rem; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-box h3 { margin-bottom: .8rem; }
.modal-box h4 { margin: 1rem 0 .4rem; }
.modal-box p { color: var(--ink-soft); font-size: .92rem; margin-bottom: .6rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 48px 0; }
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { color: #c4ccf0; max-width: 640px; }
.breadcrumb { font-size: .82rem; color: #aab4e6; margin-bottom: 1rem; }
.breadcrumb a { color: #c4ccf0; }
.prose h2 { margin: 1.8rem 0 .8rem; }
.prose h3 { margin: 1.2rem 0 .5rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose ul { margin: 0 0 1rem 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: .4rem; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quiz-card { position: static; }
  .aides-grid { grid-template-columns: 1fr; }
  .cards-3, .cards-quick, .steps { grid-template-columns: 1fr 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .main-nav .container { overflow-x: auto; flex-wrap: nowrap; }
  .logo-tag { display: none; }
}
@media (max-width: 580px) {
  .section { padding: 44px 0; }
  .cards-3, .cards-quick, .steps, .choice-grid, .field-row { grid-template-columns: 1fr; }
  .strip-inner, .footer-top { grid-template-columns: 1fr; }
  .quickbar { display: none; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: var(--navy); color: #fff; text-align: center; padding: .9rem; border-radius: var(--radius); font-weight: 700; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
  .sticky-cta:hover { text-decoration: none; }
  body { padding-bottom: 70px; }
}

/* =========================================================
   Icônes SVG (style sobre, institutionnel — sans émoji)
   ========================================================= */
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-star { fill: #E0A900; stroke: #E0A900; stroke-width: 1; }
.rating { display: inline-flex; gap: 2px; color: #E0A900; }
.rating .icon { width: 1.05em; height: 1.05em; }

/* Cartes raccourcis : style CDG (icône trait fin sans fond + liseré marine) */
.qcard { border-bottom: 3px solid var(--navy); }
.qcard .qc-ico { background: none; width: auto; height: auto; color: var(--blue); margin-bottom: .2rem; }
.qcard .qc-ico .icon { width: 30px; height: 30px; stroke-width: 1.6; }

/* Cartes avantages : icône trait fin marine sans fond */
.feature-ico { background: none; width: auto; height: auto; color: var(--navy); margin-bottom: .7rem; }
.feature-ico .icon { width: 40px; height: 40px; stroke-width: 1.5; }

/* Logo : soleil trait fin ambre dans le rond marine */
.logo-mark .icon { width: 22px; height: 22px; stroke: #ffd23f; stroke-width: 1.8; }

/* Bandeaux / boutons */
.cta-band .cb-ico .icon, .alert-band .ab-ico .icon { width: 30px; height: 30px; }
.badge-eco .icon { width: 1em; height: 1em; }
.btn .icon { width: 1.1em; height: 1.1em; }
.hero-points .icon { color: var(--navy); width: 1.2em; height: 1.2em; margin-right: .2rem; }
.form-reassurance .icon, .quickbar .icon { width: 1em; height: 1em; }

/* Fiches installateurs (annuaire) */
.installer .meta .icon { color: var(--muted); width: 1em; height: 1em; margin-right: .3rem; }
.rge-badge .icon { width: .95em; height: .95em; stroke-width: 2.2; vertical-align: -.1em; }

/* Réglages icônes complémentaires */
.success-icon { color: var(--green); }
.success-icon .icon { width: 3rem; height: 3rem; stroke-width: 1.5; }
.testi .stars .icon, .trust-row .icon { width: 1.05em; height: 1.05em; }
.badge-eco .icon { color: var(--green); }
.cta-band .cb-ico, .alert-band .ab-ico { display: flex; }

/* ---------- Listes signaux (page vérité/arnaque) ---------- */
.callout { border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; margin: 1.4rem 0; }
.callout-red { background: var(--red-bg); border-left: 6px solid var(--red); }
.callout-green { background: #e7f3ec; border-left: 6px solid var(--green); }
.callout h3 { margin-bottom: .6rem; }
.callout-red h3 { color: var(--red); }
.callout-green h3 { color: var(--green); }
.signal-list { list-style: none; display: grid; gap: .7rem; margin: 0; }
.signal-list li { padding-left: 2rem; position: relative; color: var(--ink-soft); }
.signal-list li .icon { position: absolute; left: 0; top: .15rem; width: 1.2em; height: 1.2em; }
.signal-list.flags li .icon { color: var(--red); }
.signal-list.trust li .icon { color: var(--green); }
.verite-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.4rem 0; }
@media (max-width: 700px){ .verite-cards { grid-template-columns: 1fr; } }

/* =========================================================
   REFONTE DESIGN — alignement fidèle sur centredegestionhandicap.fr
   (barre haut claire, header titre+sous-titre, moins de bleu, footer clair)
   ========================================================= */

/* Barre utilitaire : fond blanc, texte gris, filet bas */
.topbar { background: #fff; color: #6b6f78; border-bottom: 1px solid var(--line); }
.topbar a { color: #5b6270; }
.topbar a:hover { color: var(--navy); }

/* Header : plus aéré + bloc titre/sous-titre comme CDG */
.header-inner { padding: 16px 20px; align-items: center; }
.header-title { display: flex; flex-direction: column; line-height: 1.3; max-width: 430px; }
.header-title .ht-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.header-title .ht-sub { font-size: .82rem; font-weight: 400; color: #5f5e5a; }

/* Filet d'accent sous le menu : navy plein (comme CDG) */
.accent-bar { background: var(--navy); height: 3px; }

/* Bandeau réassurance : clair au lieu de navy */
.strip { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-item strong { color: var(--navy); }
.strip-item span { color: var(--muted); }

/* Encadré "reste à charge" : clair au lieu de navy */
.aides-highlight { background: #eef1fb; border: 1px solid #d9e0f5; color: var(--ink); }
.aides-amount-label { color: var(--muted); }
.aides-amount-value { color: var(--navy); }
.aides-amount-note { color: var(--muted); }
.aides-mini { border-top: 1px solid #d9e0f5; }
.aides-mini strong { color: var(--navy); }
.aides-mini span { color: var(--muted); }

/* CTA final : clair au lieu de navy */
.cta-final { background: var(--bg-alt); border-top: 1px solid var(--line); }
.cta-final h2 { color: var(--navy); }
.cta-final p { color: var(--ink-soft); }

/* Hero des pages internes : clair au lieu de navy (moins de bleu) */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--navy); }
.page-hero p { color: var(--ink-soft); }
.breadcrumb { color: var(--muted); }
.breadcrumb a { color: var(--blue); }

/* Footer : clair (#F4F5F7) + texte foncé + filet navy en haut (comme CDG) */
.site-footer { background: #f4f5f7; color: var(--ink); border-top: 3px solid var(--navy); }
.footer-brand p { color: var(--muted); }
.footer-col h4 { color: var(--navy); }
.footer-col a { color: #5b6270; }
.footer-col a:hover { color: var(--navy); }
.footer-bottom { border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom a { color: #5b6270; }
.footer-bottom a:hover { color: var(--navy); }
/* le logo dans le footer repasse en navy (footer clair) */
.logo-light { color: var(--navy); }
.logo-light strong { color: var(--blue); }

@media (max-width: 920px) { .header-title { display: none; } }

/* =========================================================
   LARGEUR DU SITE + MENU MOBILE (alignement CDG)
   ========================================================= */
/* Conteneur quasi pleine largeur comme CDG (bridé à 1560, marges 24px) */
:root { --container: 1560px; }
.container { padding: 0 24px; }

/* Bouton hamburger (caché en desktop) */
.nav-toggle-cb { display: none; }
.nav-burger { display: none; align-items: center; justify-content: center; width: 48px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); cursor: pointer; }
.nav-burger:hover { border-color: var(--navy); }

@media (max-width: 920px) {
  /* barre utilitaire masquée sur mobile (comme CDG) */
  .topbar { display: none; }
  /* header : logo + hamburger seulement */
  .header-title { display: none; }
  .header-inner .btn-primary { display: none; }
  .nav-burger { display: inline-flex; }
  /* menu en colonne, déplié par défaut, ouvert via le hamburger */
  .main-nav .container { flex-direction: column; display: none; padding: 0; gap: 0; }
  #nav-toggle:checked ~ .main-nav .container { display: flex; }
  .main-nav a { width: 100%; padding: .9rem 24px; margin: 0; border-bottom: 1px solid var(--line); border-bottom-width: 1px; }
  .main-nav a:hover { background: var(--bg-alt); border-bottom-color: var(--line); color: var(--navy); }
  /* CTA sticky visible dès 920 pour garder un bouton de conversion */
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: var(--navy); color: #fff; text-align: center; padding: .9rem; border-radius: var(--radius); font-weight: 700; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
  .sticky-cta:hover { text-decoration: none; }
  body { padding-bottom: 72px; }
}

/* =========================================================
   POLICE EXACTE CDG + H1 EN NOIR (gouvernemental) + FIL D'ARIANE
   ========================================================= */
:root { --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

/* H1 en noir façon site gouvernemental (H2/H3 restent navy) */
h1 { color: #131313; }
.hero h1 .hl { color: inherit; }
.page-hero h1 { color: #131313; }

/* Fil d'Ariane façon CDG : 14px, texte foncé, liens navy, icône maison */
.breadcrumb { color: #131313; font-size: 14px; margin-bottom: 1rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .bc-home { width: 1em; height: 1em; vertical-align: -.15em; color: var(--navy); }

/* Correctif débordement mobile : boutons qui peuvent passer à la ligne */
@media (max-width: 920px) {
  .btn { white-space: normal; }
  .hero-cta { width: 100%; }
  .hero-cta .btn-lg { width: 100%; }
}

/* Correctif débordement grille (hero) sur mobile + garde-fou global */
html { overflow-x: hidden; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .hero-form { min-width: 0; }
}

/* Fix : l'attribut hidden doit masquer les boutons (sinon .btn display l'écrase) */
.btn[hidden] { display: none !important; }

/* =========================================================
   BANDEAU VIGILANCE (alerte démarchage, façon CDG)
   ========================================================= */
.vigilance-bar { background: var(--amber-bg); border-bottom: 1px solid #efe1bb; border-left: 4px solid var(--amber-border); }
.vigilance { display: flex; align-items: center; gap: .7rem; padding: .7rem 24px; color: #6b5512; font-size: .9rem; text-decoration: none; line-height: 1.35; }
.vigilance:hover { text-decoration: none; background: #fcefcd; }
.vigilance .vig-ico { color: #b8860b; width: 1.35em; height: 1.35em; flex: none; stroke-width: 2; }
.vigilance strong { color: #5c4a10; }
.vigilance .vig-link { color: var(--navy); font-weight: 700; white-space: nowrap; }
@media (max-width: 580px){ .vigilance .vig-link { display: block; } }
