* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; margin: 0; color: #24303f; background: #f6f8fb; line-height: 1.6; }
a { color: #0047ab; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 48px 0; }
.page-hero { background: linear-gradient(150deg, #0047ab 0%, #103b78 75%); color: #fff; padding: 48px 20px 38px; text-align: center; }
.page-hero.compact { padding: 34px 20px 38px; }
.page-hero .logo { height: 88px; max-width: 90%; border-radius: 10px; margin-bottom: 12px; }
.page-hero .badge { display: inline-block; background: rgba(255,209,102,.18); border: 1px solid rgba(255,209,102,.6); color: #ffd166; border-radius: 999px; padding: 4px 14px; font-size: .8rem; margin-bottom: 18px; }
.page-hero h1 { font-size: 2rem; margin: 0 auto 12px; line-height: 1.3; max-width: 840px; }
.page-hero p { font-size: 1.08rem; opacity: .93; max-width: 700px; margin: 0 auto 14px; }
.page-hero .promesse { color: #ffd166; font-weight: 700; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.btn { display: inline-block; background: #0047ab; color: #fff; text-decoration: none; padding: 12px 26px; border-radius: 8px; font-weight: 600; border: 0; font-size: 1rem; cursor: pointer; }
.btn:hover { background: #103b78; }
.btn.ghost { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); }
.btn.big { font-size: 1.08rem; padding: 14px 32px; }
.btn[disabled] { background: #b9c4d4; cursor: not-allowed; }
/* Hero foncé : CTA principal en bleu clair (il ressort sur le dégradé marine au lieu
   de s'y fondre — il portait le même #0047ab que le fond), bouton secondaire à bordure
   claire renforcée. Ciblé au hero seul : le `.btn` global reste inchangé partout
   ailleurs (topbar, formulaires). Retour Pierre 2026-08-31. */
.hero-actions .btn:not(.ghost) { background: #dbeafd; color: #08213f; }
.hero-actions .btn:not(.ghost):hover { background: #c3ddfb; }
.hero-actions .btn.ghost { border-color: rgba(255,255,255,.8); }
.topbar { position: sticky; top: 0; z-index: 100; background: linear-gradient(90deg, #0047ab 0%, #103b78 100%); box-shadow: 0 2px 14px rgba(10,30,70,.30); }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 16px; min-height: 66px; }
.topbar-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.topbar-logo img { height: 40px; display: block; }
.topbar-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link { color: rgba(255,255,255,.9); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 10px 11px; border-radius: 8px; position: relative; white-space: nowrap; }
.nav-link:hover { background: rgba(255,255,255,.15); color: #fff; }
.nav-link.actif { color: #fff; font-weight: 700; }
.nav-link.actif::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 3px; border-radius: 3px; background: #ffd166; }
.topbar-actions { display: flex; align-items: center; margin-left: auto; }
.topbar-login { color: #fff; text-decoration: none; font-weight: 600; font-size: .88rem; padding: 10px 13px; border-radius: 8px; border: 1px solid rgba(255,255,255,.55); white-space: nowrap; }
.topbar-login:hover { background: rgba(255,255,255,.16); }
.topbar-burger { display: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 1.4rem; width: 44px; height: 44px; border-radius: 8px; cursor: pointer; margin-left: auto; }
.topbar a:focus-visible, .topbar-burger:focus-visible { outline: 2px solid #ffd166; outline-offset: 2px; }
.section-title { text-align: center; color: #103b78; font-size: 1.45rem; margin: 0 0 28px; }
.intro { text-align: center; max-width: 720px; margin: -14px auto 30px; color: #4a5a70; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step, .card { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 3px 14px rgba(20,40,80,.08); }
.step .n { display: inline-block; background: #0047ab; color: #fff; border-radius: 50%; width: 32px; height: 32px; text-align: center; line-height: 32px; font-weight: 700; }
.step h2, .step h3 { margin: 12px 0 6px; color: #103b78; font-size: 1.02rem; }
.step p { margin: 0; font-size: .92rem; color: #4a5a70; }
.context-links { background: #edf2fb; border-radius: 12px; padding: 22px 26px; margin-top: 28px; }
.context-links h2 { color: #103b78; font-size: 1.1rem; margin: 0 0 8px; }
.context-links p { margin: 0; }
.faq details { background: #fff; border-radius: 10px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(20,40,80,.06); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: #103b78; font-size: .95rem; }
.faq details p { margin: 0; padding: 0 18px 14px; font-size: .9rem; color: #4a5a70; }
.process-row { display: flex; gap: 26px; align-items: center; margin: 0 0 34px; flex-wrap: wrap; }
.process-row .shot { flex: 1 1 340px; min-width: 280px; }
.process-row .txt { flex: 1 1 300px; min-width: 240px; }
.process-row.reverse { flex-direction: row-reverse; }
.process-row img { width: 100%; border-radius: 10px; border: 1px solid #d5dee9; box-shadow: 0 6px 22px rgba(16,59,120,.14); cursor: zoom-in; }
.shot-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.process-row img:hover { box-shadow: 0 10px 30px rgba(16,59,120,.24); }
.process-row .k { display: inline-block; background: #edf2fb; color: #0047ab; font-size: .74rem; font-weight: 700; border-radius: 999px; padding: 3px 12px; margin-bottom: 8px; }
.process-row h2, .process-row h3 { margin: 0 0 8px; color: #103b78; font-size: 1.12rem; }
.process-row p { margin: 0; color: #40506a; font-size: .96rem; }
.zoom-hint { text-align: center; font-size: .82rem; color: #7c8a9c; margin: -10px 0 30px; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 180; background: rgba(6,14,28,.86); align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.ouvert { display: flex; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .fermer { position: absolute; top: 18px; right: 24px; color: #fff; font-size: 2rem; background: none; border: 0; cursor: pointer; }
.offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.prix { background: #fff; border: 1px solid #d5dee9; border-radius: 14px; padding: 26px 26px 30px; text-align: center; display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(16,59,120,.08); position: relative; }
.prix.vedette { border: 2px solid #0047ab; box-shadow: 0 8px 28px rgba(16,59,120,.16); }
.prix .reco { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #0047ab; color: #fff; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 3px 16px; white-space: nowrap; }
.prix h2 { margin: 4px 0 2px; color: #103b78; font-size: 1.15rem; }
.prix .cible { min-height: 50px; color: #4a5a70; font-size: .9rem; }
.prix .montant { font-size: 2.2rem; font-weight: 800; color: #103b78; }
.prix .montant small { font-size: .95rem; font-weight: 500; color: #6b7a90; }
.prix ul { list-style: none; padding: 0; margin: 14px 0 20px; text-align: left; font-size: .9rem; flex: 1; }
.prix li { padding: 5px 0 5px 26px; position: relative; }
.prix li::before { content: "✔"; position: absolute; left: 2px; color: #1a7d3c; }
.prix li.non { color: #7d8999; }
.prix li.non::before { content: "—"; color: #7d8999; }
.prix .note { font-size: .78rem; color: #6c7888; }
.comparatif { width: 100%; border-collapse: collapse; background: #fff; }
.comparatif th, .comparatif td { border: 1px solid #d7deea; padding: 10px 12px; text-align: left; }
.comparatif th { background: #eef3fb; color: #103b78; }
.societe-card, .contact-card, .legal-card, .article-card { background: #fff; border-radius: 12px; padding: 30px 34px; box-shadow: 0 4px 18px rgba(20,40,80,.08); max-width: 760px; margin: 0 auto; }
.societe-card p { color: #37465c; }
.contact-card { max-width: 560px; }
.contact-card label { display: block; font-size: .82rem; color: #40506a; margin: 12px 0 4px; }
.contact-card input, .contact-card textarea, .contact-card select { width: 100%; padding: 10px 12px; border: 1px solid #ccd6e4; border-radius: 7px; font-size: .95rem; font-family: inherit; }
.contact-card textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -6000px; top: -6000px; }
.msg-ok { background: #e9f7ee; color: #1a7d3c; border-radius: 8px; padding: 12px 16px; margin-bottom: 14px; }
.msg-err { background: #fdecec; color: #b03030; border-radius: 8px; padding: 12px 16px; margin-bottom: 14px; }
.oblig { color: #c0392b; font-weight: 700; }
.modal-fond { display: none; position: fixed; inset: 0; z-index: 150; background: rgba(16,29,48,.55); align-items: center; justify-content: center; }
.modal-fond.ouverte { display: flex; }
.modal { background: #fff; border-radius: 12px; padding: 24px 28px; max-width: 420px; width: calc(100% - 40px); box-shadow: 0 12px 40px rgba(10,25,50,.35); }
.modal h2, .modal h3 { margin: 0 0 10px; color: #b03030; font-size: 1.02rem; }
.modal ul { margin: 0 0 6px; padding-left: 20px; font-size: .9rem; color: #40506a; }
.modal .ok { display: block; margin: 14px 0 0 auto; background: #0047ab; color: #fff; border: 0; padding: 9px 22px; border-radius: 7px; font-size: .92rem; font-weight: 600; cursor: pointer; }
/* Fil d'Ariane : pill clair centré, posé APRÈS le hero (ou en tête des pages légales),
   sur le fond clair du contenu — jamais intercalé entre deux blocs bleus. */
.breadcrumbs { width: fit-content; max-width: calc(100% - 32px); margin: 18px auto 2px; padding: 7px 16px; background: #eef3fb; border: 1px solid #dde6f3; border-radius: 999px; font-size: .8rem; color: #5f6f88; text-align: center; line-height: 1.3; }
.breadcrumbs a { color: #0047ab; text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: #103b78; text-decoration: underline; }
.breadcrumbs a:focus-visible { outline: 2px solid #0047ab; outline-offset: 2px; border-radius: 4px; }
.legal-wrap { max-width: 820px; margin: 32px auto 48px; padding: 0 18px; }
.legal-card h1 { color: #103b78; font-size: 1.4rem; line-height: 1.3; }
.legal-card h2 { color: #103b78; font-size: 1.05rem; margin-top: 24px; }
.legal-card table { border-collapse: collapse; width: 100%; margin-top: 10px; font-size: .88rem; }
/* PLAN 26 recette 360 px : un tableau de donnees ne doit jamais elargir la page.
   Il defile dans son propre conteneur, comme le comparatif de /tarifs. */
.table-scroll { overflow-x: auto; }
.legal-card th, .legal-card td { border: 1px solid #d7deea; padding: 6px 8px; text-align: left; vertical-align: top; }
.legal-card th { background: #eef3fb; color: #103b78; }
.muted, .note { color: #6f7d90; font-size: .85rem; }
.bandeau { border-radius: 8px; padding: 13px 16px; font-size: .95rem; margin-bottom: 16px; }
.bandeau.ok { background: #e9f7ee; color: #1a7d3c; }
.bandeau.moyen { background: #fff6e0; color: #7a5b00; }
.bandeau.ko { background: #edf2fb; color: #103b78; }
table.lu { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.lu td { padding: 8px 10px; border-bottom: 1px solid #eef2f7; }
table.lu td:first-child { color: #666; width: 45%; }
table.lu td:last-child { font-weight: 600; }
table.lu tr.bonus td:first-child { color: #0047ab; }
.manque { color: #9a6900; font-weight: 600; }
.suite { background: #edf2fb; border-radius: 10px; padding: 16px 18px; font-size: .9rem; margin-top: 18px; }
.suite b { color: #103b78; }
.rgpd { font-size: .78rem; color: #768398; text-align: center; margin-top: 12px; }
.article-wrap { max-width: 800px; margin: -20px auto 44px; padding: 0 18px; }
/* Quand le fil d'Ariane précède l'article, annuler la remontée (-20px) qui, sinon,
   ferait chevaucher la carte sur le fil d'Ariane. */
.breadcrumbs + .article-wrap { margin-top: 12px; }
.article-card h2 { color: #103b78; font-size: 1.25rem; margin: 26px 0 10px; }
.article-card h2:first-child { margin-top: 0; }
.dates { list-style: none; padding: 0; }
.dates li { padding: 12px 0; border-bottom: 1px solid #eef2f7; }
.public-footer { text-align: center; padding: 28px 14px 34px; font-size: .82rem; color: #5f6b7a; border-top: 1px solid #e1e6ee; background: #fff; }
.footer-inner { max-width: 1050px; margin: 0 auto; }
.public-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; }
.public-footer a { color: #526174; }
.footer-partner { margin: 14px 0 0; opacity: .9; }
@media (max-width: 980px) {
  .topbar-burger { display: inline-flex; align-items: center; justify-content: center; }
  .topbar-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 3px; background: #103b78; padding: 12px 16px 18px; box-shadow: 0 14px 26px rgba(0,0,0,.32); }
  .topbar-nav.ouvert { display: flex; }
  .nav-link { padding: 12px 14px; font-size: 1rem; }
  .nav-link.actif::after { display: none; }
  .nav-link.actif { background: rgba(255,255,255,.16); }
  .topbar-actions { margin-left: 0; margin-top: 12px; }
  .topbar-login { display: block; text-align: center; padding: 13px 17px; }
}
@media (max-width: 560px) {
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero .logo { height: auto; width: 230px; max-width: 78%; }
  .process-row, .process-row.reverse { flex-direction: column; }
  .societe-card, .contact-card, .legal-card, .article-card { padding: 24px 20px; }
  .comparatif { font-size: .82rem; }
}
