/* comparemaprime.ch — feuille de style principale
   Mise en page : colonne centrée de 1200 px, sections pleine largeur qui alternent
   blanc, glacier et bleu nuit ; Primo, le Saint-Bernard, sert de fil conducteur. */

:root {
  --navy: #0B1F3A;
  --navy-2: #13305A;
  --navy-3: #2A4A78;
  --alpine: #1E4C8F;
  --glacier: #F2F6FC;
  --snow: #F7F9FD;
  --white: #FFFFFF;
  --line: #DCE4F0;
  --line-2: #C5D1E3;
  --ink: #0B1F3A;
  --muted: #4A5B75;
  --on-navy: #C9D6EA;
  --on-navy-2: #DCE6F5;
  --accent: #E9A93B;
  --accent-hover: #F2B94F;
  --accent-ink: #C27A0E;
  --accent-tint: #FFF6E5;
  --accent-line: #F3D9A6;
  --accent-text: #3A2A08;
  --warn: #8A5A00;
  --footer: #071528;
  --footer-line: #1E355A;
  --footer-muted: #A9B8CF;
  --error: #B42318;

  --font-display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 24px;
  --shadow: 0 24px 60px rgba(3, 10, 25, 0.35);
  --shadow-soft: 0 12px 30px rgba(3, 10, 25, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
a { color: var(--alpine); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--navy); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Animations de Primo ---------- */
@keyframes primo-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes primo-wave { 0%, 100% { transform: rotate(0deg); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(6deg); } 45% { transform: rotate(-12deg); } 60% { transform: rotate(4deg); } 75% { transform: rotate(0deg); } }
@keyframes primo-ring { 0%, 60%, 100% { transform: rotate(0deg); } 65% { transform: rotate(-3deg); } 70% { transform: rotate(3deg); } 75% { transform: rotate(-3deg); } 80% { transform: rotate(3deg); } 85% { transform: rotate(0deg); } }
@keyframes primo-sniff { 0%, 100% { transform: translateX(0) rotate(0deg); } 50% { transform: translateX(10px) rotate(2deg); } }
@keyframes primo-jump { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-18px); } 50% { transform: translateY(0); } 62% { transform: translateY(-6px); } 74% { transform: translateY(0); } }
.primo-bob { animation: primo-bob 4s ease-in-out infinite; }
.primo-wave { animation: primo-wave 2.6s ease-in-out infinite; transform-origin: 69.4% 79.4%; }
.primo-ring { animation: primo-ring 3s ease-in-out infinite; transform-origin: 50% 100%; }
.primo-sniff { animation: primo-sniff 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
.primo-jump { animation: primo-jump 2.6s ease-in-out infinite; }
.primo-layered { position: relative; width: 100%; }
.primo-layered .paw { position: absolute; top: 0; left: 0; width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primo-bob, .primo-wave, .primo-ring, .primo-sniff, .primo-jump { animation: none; }
  .btn, .link-card { transition: none; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; border: 2px solid transparent; font: 700 16px/1.1 var(--font-body); text-align: center; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-hover); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { background: var(--white); border-color: var(--line-2); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- Bandeau saisonnier ---------- */
.season-bar { background: var(--navy-2); color: var(--white); }
.season-bar .container { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: center; padding-block: 10px; text-align: center; font: 500 14px/1.4 var(--font-body); }
.season-bar a { color: var(--white); font-weight: 700; }
.season-bar .short { display: none; }
@media (max-width: 700px) { .season-bar .long { display: none; } .season-bar .short { display: inline; } }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { max-width: 1280px; }
.main-nav a, .header-cta { white-space: nowrap; }
.header-inner { position: relative; display: flex; align-items: center; gap: 12px 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.brand img { width: 52px; }
.wordmark { font: 800 24px/1 var(--font-display); letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; }
.wordmark .ma { color: var(--accent-ink); }
.wordmark .tld { font-weight: 600; font-size: 0.72em; color: var(--muted); }
.wordmark--light { color: var(--white); }
.wordmark--light .ma { color: var(--accent); }
.wordmark--light .tld { color: var(--footer-muted); }
.main-nav { flex: 1 1 auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 0 18px; }
.main-nav li a { display: block; padding: 14px 0; font: 600 15px/1 var(--font-body); color: var(--navy); text-decoration: none; }
.main-nav li a:hover { color: var(--alpine); }
.main-nav li a[aria-current="page"] { color: var(--alpine); box-shadow: inset 0 -3px 0 var(--accent); }
.main-nav .nav-cta { display: none; }
.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }
@media (max-width: 1280px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 4px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(11, 31, 58, 0.12); max-height: calc(100vh - 90px); overflow-y: auto; }
  .site-header.is-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav li a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 14px; }
  .main-nav .nav-cta { display: flex; margin-top: 20px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 66px; }
  .brand img { width: 42px; }
  .wordmark { font-size: 20px; }
  .main-nav { padding-inline: 16px; }
}

/* ---------- Barre d'action mobile ---------- */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(11, 31, 58, 0.12); }
  .has-mobile-cta { padding-bottom: 84px; }
  .mobile-cta { transition: transform 0.25s ease, visibility 0s linear 0s; }
  .mobile-cta.is-hidden { transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { .mobile-cta, .mobile-cta.is-hidden { transition: none; } }

/* ---------- Sections communes ---------- */
.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section--glacier { background: var(--glacier); }
.section--navy { background: var(--navy); color: var(--white); }
@media (max-width: 700px) { .section { padding-block: 64px; } }
.section-head { max-width: 760px; }
.eyebrow { font: 700 13px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--alpine); }
.section--navy .eyebrow { color: var(--accent); }
.h2 { margin-top: 12px; font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.lead { margin-top: 18px; max-width: 62ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
.section--navy .lead { color: var(--on-navy); }
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.split > * { flex: 1 1 380px; min-width: 0; }

/* ---------- Héros de l'accueil ---------- */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: center; padding-block: 64px 16px; }
.hero-copy { flex: 1 1 540px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--navy-3); font: 600 14px/1.2 var(--font-body); color: var(--on-navy-2); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 22px; font-weight: 800; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 em, .accent-text { font-style: normal; color: var(--accent); }
.hero-lead { margin-top: 22px; max-width: 570px; font-size: 19px; color: var(--on-navy); }
.start-card { position: relative; margin-top: 32px; max-width: 600px; padding: 24px; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.start-card .label { font: 700 16px/1.2 var(--font-body); }
.start-card .btn { margin-top: 18px; }
.start-card .peek { display: none; }
.microcopy { margin-top: 12px; text-align: center; font: 500 13px/1.4 var(--font-body); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--white); color: var(--navy); font: 600 15px/1.1 var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.hero-visual { flex: 1 1 360px; min-width: 0; position: relative; display: flex; justify-content: center; padding-top: 60px; }
.hero-visual .primo-layered { max-width: 440px; }
.bubble { position: absolute; top: 0; left: 0; z-index: 1; max-width: 270px; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: var(--white); color: var(--ink); font: 600 16px/1.35 var(--font-body); box-shadow: var(--shadow-soft); }
.bubble--navy { left: auto; right: 0; background: var(--navy); color: var(--white); border-radius: 18px 18px 4px 18px; box-shadow: none; }
.float-card { position: absolute; right: 0; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); font: 600 14px/1.3 var(--font-body); }
.float-card strong { display: block; font-size: 16px; }
.float-card span span { color: var(--muted); }
.icon-tile { display: inline-flex; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--accent); align-items: center; justify-content: center; }
.trust { list-style: none; margin: 0; padding-block: 20px 36px; padding-inline: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; font: 600 15px/1.3 var(--font-body); color: var(--on-navy-2); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { color: var(--accent); }
.mountains { display: block; width: 100%; height: 110px; }
@media (max-width: 760px) {
  .hero-inner { padding-block: 40px 8px; }
  .hero-visual { display: none; }
  .start-card { margin-top: 112px; }
  .start-card .peek { display: block; position: absolute; right: 10px; top: -112px; width: 118px; }
  .trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 14px; }
  .mountains { height: 60px; }
}

/* ---------- Le check-up ---------- */
.duo { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; align-items: stretch; }
.duo-visual { flex: 1 1 300px; min-width: 0; display: flex; align-items: flex-end; justify-content: center; padding-top: 24px; border-radius: var(--radius-l); background: var(--glacier); overflow: hidden; }
.duo-visual img { width: 100%; max-width: 300px; }
.duo-cards { flex: 2 1 620px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); }
.tag { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: var(--navy); color: var(--white); font: 700 12px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }
.tag--accent { background: var(--accent); color: var(--navy); }
.panel h3 { margin-top: 16px; font-weight: 700; font-size: 24px; line-height: 1.2; }
.panel > p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; font-weight: 500; font-size: 16px; line-height: 1.45; }
.checklist li { display: flex; gap: 10px; }
.checklist svg { margin-top: 2px; color: var(--alpine); }

/* ---------- Quiz « Le flair de Primo » ---------- */
.quiz-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.quiz-intro { flex: 1 1 380px; min-width: 0; }
.quiz-list { flex: 1 1 580px; min-width: 0; display: grid; gap: 14px; }
.q { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); }
.q-row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.q-text { flex: 1 1 300px; font-weight: 600; font-size: 18px; line-height: 1.4; }
.q-actions { display: flex; gap: 8px; }
.q-actions .chip { min-width: 72px; }
.q-tip { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--accent-tint); border: 1px solid var(--accent-line); }
.q-tip p { flex: 1 1 280px; font-size: 15px; line-height: 1.55; color: var(--accent-text); }
.lever { flex: none; padding: 7px 11px; border-radius: 999px; background: var(--navy); color: var(--white); font: 700 12px/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; }
.q-ok { margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--muted); }
.result-card { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); overflow: hidden; }
.result-head { display: flex; align-items: center; gap: 16px; }
.result-head img { width: 110px; flex: none; }
.result-count { font: 600 13px/1.2 var(--font-body); color: var(--muted); }
.result-title { margin-top: 6px; font: 700 21px/1.25 var(--font-display); }
.result-text { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.result-card .btn { margin-top: 18px; }

/* ---------- Complémentaires : les six trous de l'assurance de base ---------- */
.gaps { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
@media (max-width: 400px) { .gaps { grid-template-columns: 1fr; } }
.gap-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--navy-3); }
.gap-head { display: flex; align-items: center; gap: 12px; }
.gap-icon { flex: none; display: inline-flex; width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--accent); align-items: center; justify-content: center; }
.gap-card h3 { font: 700 21px/1.25 var(--font-display); color: var(--white); }
.gap-badge { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--navy); font: 700 12px/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; }
.gap-row { padding-top: 12px; border-top: 1px solid var(--navy-3); }
.gap-label { font: 700 12px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-navy); }
.gap-row p + p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--on-navy); }
.gap-row--plus .gap-label { color: var(--accent); }
.gap-row--plus p + p { color: var(--white); }
.lifestyle { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: 20px; border: 1px solid var(--navy-3); }
.lifestyle-copy { flex: 1 1 280px; min-width: 0; }
.lifestyle h3 { font: 700 21px/1.25 var(--font-display); color: var(--white); }
.lifestyle p { margin-top: 6px; font-size: 15px; color: var(--on-navy); }
.tags { flex: 2 1 460px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 9px 14px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--navy-3); color: var(--on-navy-2); font: 600 14px/1.2 var(--font-body); }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.btn-ghost-light { background: transparent; border-color: var(--navy-3); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn-ghost-light svg { width: 20px; height: 20px; color: var(--accent); }
.fine { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--on-navy); }
@media (max-width: 600px) { .cta-row .btn { width: 100%; } .lifestyle { padding: 20px; } }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 24px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num { flex: none; display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--white); align-items: center; justify-content: center; font: 800 22px/1 var(--font-display); }
.step-num--accent { background: var(--accent); color: var(--navy); }
.step h3 { margin-top: 2px; font-weight: 700; font-size: 21px; line-height: 1.25; }
.step p { margin-top: 6px; font-size: 16px; color: var(--muted); }
.note { margin-top: 32px; display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--glacier); font-weight: 600; font-size: 16px; line-height: 1.45; }
.note svg { color: var(--alpine); }
.visual-tel { position: relative; display: flex; justify-content: center; padding-top: 56px; }
.visual-tel img { width: 100%; max-width: 380px; }

/* ---------- Cartes de situation ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 44px; }
@media (max-width: 400px) { .cards { grid-template-columns: 1fr; } }
.link-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.link-card:hover { border-color: var(--navy); color: var(--ink); transform: translateY(-2px); }
.icon-soft { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--glacier); color: var(--navy); align-items: center; justify-content: center; }
.section--glacier .icon-soft { background: var(--glacier); }
.link-card .title { font: 700 21px/1.25 var(--font-display); letter-spacing: -0.01em; }
.link-card .desc { font-size: 16px; line-height: 1.55; color: var(--muted); }
.link-card .more { margin-top: auto; padding-top: 6px; font: 700 15px/1.2 var(--font-body); color: var(--alpine); }
.aside-line { margin-top: 24px; display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; color: var(--muted); }
.aside-line svg { color: var(--alpine); }

/* ---------- Pourquoi ---------- */
.why-visual { display: flex; justify-content: center; }
.why-visual .disc { width: 100%; max-width: 400px; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--navy-2); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.why-visual .disc img { width: 88%; }
.features { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px 32px; }
.feature svg { color: var(--accent); }
.feature h3 { margin-top: 12px; font: 700 19px/1.3 var(--font-body); letter-spacing: 0; color: var(--white); }
.feature p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--on-navy); }

/* ---------- FAQ ---------- */
.faq-layout { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.faq-intro { flex: 1 1 320px; min-width: 0; }
.faq-intro .primo-layered { margin-top: 24px; max-width: 200px; }
.faq-list { flex: 1 1 600px; min-width: 0; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font: 700 18px/1.4 var(--font-body); color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; display: inline-flex; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); align-items: center; justify-content: center; transition: transform 0.2s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item .answer { padding-bottom: 22px; max-width: 68ch; font-size: 16px; line-height: 1.65; color: var(--muted); }
.faq-item .answer p + p, .faq-item .answer p + ul, .faq-item .answer ul + p { margin-top: 10px; }
.faq-item .answer ul { margin: 0; padding-left: 20px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { margin-bottom: 8px; font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); }
.faq-more { margin-top: 24px; }

/* ---------- Bandeau final ---------- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding: 48px 48px 0; border-radius: 28px; background: var(--navy); color: var(--white); overflow: hidden; }
.cta-copy { flex: 1 1 520px; min-width: 0; padding-bottom: 48px; }
.cta-band h2 { font-weight: 800; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; }
.cta-band p { margin-top: 16px; max-width: 520px; font-size: 18px; color: var(--on-navy); }
.cta-band .btn { margin-top: 26px; }
.cta-visual { flex: 0 1 300px; min-width: 0; align-self: flex-end; display: flex; justify-content: center; }
.cta-visual img { width: 100%; max-width: 300px; }
@media (max-width: 600px) { .cta-band { padding: 32px 22px 0; } .cta-copy { padding-bottom: 8px; } .cta-visual img { max-width: 200px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer); color: var(--on-navy-2); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-block: 64px 0; }
.footer-brand { flex: 1 1 300px; min-width: 0; }
.footer-brand .brand img { width: 52px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 15px; color: var(--footer-muted); }
.footer-contact { margin-top: 16px; font-size: 15px; font-weight: 600; line-height: 1.8; }
.footer-contact a { color: var(--white); }
.footer-contact span { color: var(--footer-muted); font-weight: 500; }
.footer-col { flex: 1 1 160px; min-width: 0; }
.footer-col h2 { font: 700 14px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.footer-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--on-navy); font-size: 15px; text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { margin-top: 48px; padding-block: 24px 32px; border-top: 1px solid var(--footer-line); font-size: 13px; line-height: 1.65; color: var(--footer-muted); }
.footer-legal p { max-width: 900px; }
.footer-legal strong { color: var(--white); }
.footer-legal a { color: var(--white); }
.footer-bottom { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom nav a { color: var(--on-navy); }

/* ---------- Pages intérieures ---------- */
.page-hero { background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; padding-top: 44px; }
.page-hero-copy { flex: 1 1 560px; min-width: 0; padding-bottom: 52px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--on-navy); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: 0.7; }
.breadcrumb a { color: var(--on-navy-2); }
.page-hero h1 { margin-top: 18px; font-weight: 800; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.03em; }
.page-hero .lead { color: var(--on-navy); }
.page-hero .btn { margin-top: 26px; }
.page-hero-visual { flex: 0 1 300px; min-width: 0; display: flex; justify-content: center; }
.page-hero-visual img, .page-hero-visual .primo-layered { width: 100%; max-width: 280px; }
@media (max-width: 760px) { .page-hero-visual { display: none; } .page-hero-copy { padding-bottom: 40px; } }

.article-layout { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; padding-block: 64px 96px; }
.article { flex: 1 1 640px; min-width: 0; }
.toc { flex: 0 1 280px; min-width: 0; position: sticky; top: 100px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--snow); }
.toc h2 { font: 700 13px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--alpine); }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.4; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc .btn { margin-top: 20px; }
@media (max-width: 1000px) { .toc { position: static; flex-basis: 100%; order: -1; } }

.prose { font-size: 17px; line-height: 1.7; }
.prose > h2 { margin-top: 56px; font-weight: 800; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-weight: 700; font-size: 21px; line-height: 1.3; }
.prose p { margin-top: 14px; max-width: 68ch; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; max-width: 68ch; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--navy); }
.table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.table-wrap table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--glacier); font-weight: 700; color: var(--navy); }
.table-wrap tr:last-child td { border-bottom: 0; }
.callout { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--glacier); }
.callout svg { margin-top: 3px; color: var(--alpine); }
.callout p { margin: 0; max-width: none; }
.callout--warn { background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent-text); }
.callout--warn svg { color: var(--warn); }
.callout--warn strong { color: var(--accent-text); }
.inline-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 24px 26px; border-radius: 20px; background: var(--navy); color: var(--white); }
.inline-cta p { margin: 0; max-width: 46ch; font: 700 20px/1.3 var(--font-display); letter-spacing: -0.01em; }
.updated { margin-top: 40px; font-size: 14px; color: var(--muted); }
.prose .updated { max-width: none; }
.placeholder { padding: 1px 6px; border-radius: 6px; background: var(--accent-tint); color: var(--accent-text); font-weight: 600; }

/* ---------- Formulaires ---------- */
.fields { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font: 600 15px/1.25 var(--font-body); color: var(--navy); }
.field--wide { flex-basis: 100%; }
.field .hint { font-weight: 500; font-size: 14px; color: var(--muted); }
.input { width: 100%; height: 54px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); background: var(--white); color: var(--navy); font: 500 17px/1.2 var(--font-body); }
textarea.input { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select.input { padding-right: 36px; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(233, 169, 59, 0.5); }
.field.has-error .input { border-color: var(--error); }
.field-error { font: 600 13px/1.3 var(--font-body); color: var(--error); }
.consent { margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--glacier); font-size: 15px; line-height: 1.5; color: var(--navy); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }
.consent.has-error { box-shadow: 0 0 0 2px var(--error); }
.form-alert { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: var(--error); font-weight: 600; font-size: 15px; }
.form-note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Comparateur ---------- */
.cmp-body { background: var(--glacier); }
.cmp-header { background: var(--white); border-bottom: 1px solid var(--line); }
.cmp-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; min-height: 72px; padding-block: 8px; }
.cmp-meta { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.3 var(--font-body); color: var(--muted); }
.cmp-meta svg { color: var(--alpine); }
.progress-head { padding-top: 32px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.progress-label { font: 700 14px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--alpine); }
.progress-head a { font: 600 14px/1.2 var(--font-body); color: var(--muted); }
.progress { margin-top: 12px; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 999px; background: var(--navy); transition: width 0.3s ease; }
.cmp-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-block: 28px 72px; }
.cmp-card { flex: 1 1 620px; min-width: 0; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); }
@media (max-width: 600px) { .cmp-card { padding: 24px 18px; } }
.cmp-card h1 { font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.cmp-card h2 { font-weight: 700; font-size: 22px; line-height: 1.25; }
.cmp-sub { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.options { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
@media (max-width: 400px) { .options { grid-template-columns: 1fr; } }
.option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; padding: 16px 20px; border: 2px solid var(--line-2); border-radius: 16px; background: var(--white); color: var(--navy); text-align: left; cursor: pointer; }
.option:hover { border-color: var(--navy); }
.option[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.option .o-label { display: block; font: 700 18px/1.3 var(--font-body); }
.option .o-sub { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; opacity: 0.8; }
.npa-status { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--alpine); }
.npa-status:empty { display: none; }
#npa-choices { margin-top: 10px; }
.cmp-hint { margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--muted); }
.group-label { margin-top: 24px; font: 700 16px/1.3 var(--font-body); color: var(--navy); }
.cmp-nav { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.cmp-nav .spacer { flex: 1; }
.profile-head { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.profile-head img { width: 120px; flex: none; }
.profile-head > div { flex: 1 1 300px; min-width: 0; }
.points { margin: 20px 0 0; padding: 18px 20px; list-style: none; display: grid; gap: 12px; border-radius: 16px; background: var(--accent-tint); border: 1px solid var(--accent-line); }
.points li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--accent-text); }
.points svg { margin-top: 2px; color: var(--warn); }
.points strong { color: var(--navy); }
.success { text-align: center; }
.success img { width: 220px; margin-inline: auto; }
.success h1 { margin-top: 20px; }
.success .cmp-sub { margin-inline: auto; max-width: 540px; }
.success-box { margin-top: 28px; padding: 22px 24px; border-radius: 18px; background: var(--glacier); text-align: left; }
.success-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.demo-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.cmp-aside { flex: 1 1 320px; min-width: 0; display: grid; gap: 20px; }
.tip-card { padding: 24px 24px 0; border-radius: var(--radius-l); background: var(--navy); color: var(--white); overflow: hidden; }
.tip-card .eyebrow { color: var(--accent); }
.tip-card p { margin-top: 12px; font-weight: 500; font-size: 17px; line-height: 1.5; }
.tip-card .primo { width: 230px; max-width: 100%; margin: 12px auto 0; }
.assure { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.assure .checklist { margin-top: 0; font-size: 15px; }
@media (max-width: 700px) { .tip-card .primo { width: 150px; } }

/* ---------- Pages simples (merci, 404, contact) ---------- */
.center-page { padding-block: 80px 96px; text-align: center; }
.center-page img { width: 240px; margin-inline: auto; }
.center-page h1 { margin-top: 24px; font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.center-page .lead { margin-inline: auto; }
.center-page .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; padding-block: 64px 96px; }
.contact-info { flex: 1 1 320px; min-width: 0; display: grid; gap: 16px; }
.contact-form { flex: 2 1 520px; min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); }
@media (max-width: 600px) { .contact-form { padding: 22px 18px; } }
.info-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--snow); }
.info-card h2 { font: 700 13px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--alpine); }
.info-card p { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--navy); }
.info-card p span { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }

/* ---------- Bouton d'apparence lien (réglage des cookies) ---------- */
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-bottom .link-btn, .lp-footer .link-btn { color: var(--on-navy); }

/* ---------- Bandeau de consentement (pixel Meta) ---------- */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(420px, calc(100% - 32px)); padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 0 20px 50px rgba(11, 31, 58, 0.25); font-size: 15px; line-height: 1.5; }
.cookie-title { font: 700 17px/1.3 var(--font-display); color: var(--navy); }
.cookie-banner p + p { margin-top: 6px; color: var(--muted); }
.cookie-actions { margin-top: 14px; display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1 1 0; min-height: 46px; padding: 0 16px; font-size: 15px; }
@media (max-width: 700px) {
  .cookie-banner { left: 8px; bottom: 8px; width: calc(100% - 16px); padding: 14px 16px; font-size: 13px; line-height: 1.45; }
  .cookie-title { font-size: 15px; }
  .cookie-actions { margin-top: 10px; }
  .cookie-actions .btn { min-height: 42px; }
}

/* ---------- Pages d'atterrissage (publicités) ---------- */
.lp-header .brand { cursor: default; }
.lp-header .brand img { width: 50px; }
@media (max-width: 600px) {
  .lp-header .container { min-height: 60px; }
  .lp-header .brand img { width: 40px; }
  .lp-header .wordmark { font-size: 20px; }
  .lp-header .cmp-meta { display: none; }
}
@media (max-width: 760px) {
  .lp-body .hero-inner { padding-top: 28px; }
  .lp-body .hero h1 { margin-top: 16px; font-size: clamp(31px, 8.6vw, 38px); }
  .lp-body .hero-lead { margin-top: 14px; font-size: 17px; line-height: 1.5; }
  .lp-body .start-card { margin-top: 96px; padding: 20px 16px; }
  .lp-body .start-card .peek { top: -98px; width: 100px; }
}
.who-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.who-grid .option { min-height: 72px; padding: 12px 16px; text-decoration: none; transition: border-color 0.15s ease, background-color 0.15s ease; }
.who-grid .option:hover { border-color: var(--navy); background: var(--glacier); color: var(--navy); }
.who-grid .option .o-label { font-size: 17px; }
.who-grid .option svg { color: var(--alpine); }
@media (max-width: 480px) {
  .who-grid .option { min-height: 60px; padding: 10px 12px; }
  .who-grid .option .o-label { font-size: 16px; }
  .who-grid .option .o-sub { display: none; }
}
.lp-footer { background: var(--footer); color: var(--footer-muted); font-size: 13px; line-height: 1.65; }
.lp-footer .container { padding-block: 28px 32px; }
.lp-footer p { max-width: 900px; }
.lp-footer strong { color: var(--white); }
.lp-footer nav { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lp-footer nav a { color: var(--on-navy); }
