/* =====================================================================
   Facture2027.fr — thème « Confiance » (14/10/2026)
   Feuille unique pour toutes les pages. Sobre, lisible, sans effets.
   ===================================================================== */
:root {
  --navy: #0F2A4A;
  --navy-2: #173A63;
  --brand: #1F5FAE;
  --brand-2: #174C8D;
  --brand-soft: #EAF1FA;
  --ink: #0F1F33;
  --text: #334155;
  --muted: #5B6B7F;
  --line: #E3E8EF;
  --line-2: #D2DAE5;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --ok: #157A47;
  --ok-2: #1E9E5A;
  --ok-soft: #EAF6EF;
  --ok-line: #CDE8D8;
  --amber-soft: #FFF7E8;
  --amber-line: #F2DDB4;
  --shadow: 0 1px 2px rgba(15,31,51,.05), 0 8px 24px rgba(15,31,51,.07);
  --shadow-lg: 0 2px 4px rgba(15,31,51,.04), 0 18px 46px rgba(15,31,51,.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  /* compatibilité avec les anciennes variables des pages */
  --encre: var(--ink); --texte: var(--text); --fond: var(--bg); --papier: #fff; --ligne: var(--line); --cuivre: var(--brand); --vert: var(--ok);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 17px; line-height: 1.62; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
strong, b { color: var(--ink); font-weight: 650; }
em { font-style: italic; }
sup { font-size: .62em; line-height: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; }
::selection { background: var(--brand); color: #fff; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.ic { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: middle; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(31,95,174,.45); outline-offset: 2px; }

/* ---------- Bandeau d'information ---------- */
.notice { background: var(--navy); color: #D5E0EE; font-size: .78rem; line-height: 1.45; padding: 7px 14px; text-align: center; letter-spacing: .01em; }
.notice .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; padding: 0; }
.notice b { color: #fff; font-weight: 600; }
.notice .sep { opacity: .45; }

/* ---------- En-tête ---------- */
header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
@supports (backdrop-filter: blur(6px)) { header { background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); } }
header.scrolled { box-shadow: 0 6px 20px rgba(15,31,51,.08); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo .lt { display: flex; flex-direction: column; line-height: 1.1; }
.logo .nom { font-weight: 800; font-size: 1.24rem; letter-spacing: -.02em; color: var(--ink); }
.logo .nom em { font-style: normal; color: var(--brand); }
.logo small { font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 550; }
nav a:hover { color: var(--brand); }
nav .tel { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; padding-left: 18px; border-left: 1px solid var(--line); }
nav .tel .ic { width: 18px; height: 18px; color: var(--brand); }
nav .tel span { display: flex; flex-direction: column; line-height: 1.15; }
nav .tel b { font-size: .98rem; font-weight: 750; letter-spacing: .01em; }
nav .tel small { font-size: .72rem; color: var(--muted); font-weight: 500; }
nav .tel-m { display: none; }

/* ---------- Boutons ---------- */
.btn, .btn-p, .btn-nav, .btn-payer, .cta a.b, button[type="submit"], .carte .btn, #v3-sticky a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: var(--brand); color: #fff !important; border: 1px solid var(--brand); border-radius: 10px;
  padding: 15px 24px; font-family: inherit; font-weight: 650; font-size: 1.02rem; line-height: 1.25; text-decoration: none;
  cursor: pointer; box-shadow: 0 1px 2px rgba(15,31,51,.14); transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover, .btn-p:hover, .btn-nav:hover, .btn-payer:hover, .cta a.b:hover, button[type="submit"]:hover, .carte .btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; box-shadow: 0 4px 14px rgba(31,95,174,.28); }
button[type="submit"]:disabled { opacity: .7; cursor: default; }
.btn { padding: 11px 18px; font-size: .95rem; }
.btn-s { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 15px 22px; font-weight: 650; font-size: 1.02rem; line-height: 1.25; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.btn-s:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-s .ic, .btn-p .ic { width: 19px; height: 19px; }

/* ---------- Titres de section ---------- */
section { padding: 84px 0; }
.titre-section { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
section h2, .h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; max-width: 780px; }
.lead { font-size: 1.07rem; color: var(--muted); max-width: 720px; margin-bottom: 34px; }
.centre { text-align: center; }
.centre h2, .centre .lead { margin-left: auto; margin-right: auto; }
.bg-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- HERO (pages de vente) ---------- */
.hero { background: linear-gradient(180deg, #F1F6FC 0%, #F8FAFD 55%, #FFFFFF 100%); border-bottom: 1px solid var(--line); padding: 58px 0 66px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: 48px; align-items: start; }
.hero.solo .wrap { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.hero-txt { display: flex; flex-direction: column; }
.badge { align-self: flex-start; display: inline-block; font-size: .86rem; font-weight: 650; line-height: 1.4; color: var(--navy); background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 6px 14px 6px 12px; box-shadow: 0 1px 2px rgba(15,31,51,.05); }
.badge i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-2); box-shadow: 0 0 0 3px rgba(30,158,90,.18); margin-right: 9px; vertical-align: 1px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.12; margin: 20px 0 18px; }
.hero h1 .accent { color: var(--brand); }
.hero .sub { font-size: 1.13rem; color: var(--text); max-width: 610px; }
.hero .sub strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tel-line { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .98rem; color: var(--muted); }
.tel-line .ic { color: var(--brand); width: 18px; height: 18px; }
.tel-line a { color: var(--ink); font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.tel-line a:hover { color: var(--brand); border-color: var(--brand); }
.trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.trust li .ic { color: var(--ok); width: 20px; height: 20px; margin-top: 0; }

/* Carte « On vous rappelle » */
.rappel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 26px 26px 22px; position: relative; }
.rappel .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--ok); }
.rappel .kicker .ic { width: 17px; height: 17px; }
.rappel h3 { font-size: 1.17rem; font-weight: 750; line-height: 1.38; margin: 8px 0 18px; }
.rappel form { display: grid; gap: 12px; }
.rappel .btn-p { width: 100%; margin-top: 2px; }
.rappel .note { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.rappel .note a { font-weight: 650; }
.honey, input[name="_honey"] { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Carte récapitulative (pages métier) */
.recap { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.recap-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #F7FAFE, #fff); }
.recap-head .intitule { font-size: .78rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.recap-head .prix { font-size: 2.6rem; font-weight: 850; color: var(--ink); letter-spacing: -.03em; line-height: 1.05; margin-top: 6px; }
.recap-head .prix small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.recap ul { list-style: none; padding: 18px 24px 6px; display: grid; gap: 10px; }
.recap li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.recap li .ic { color: var(--ok); width: 19px; height: 19px; margin-top: 1px; }
.recap .pied { padding: 14px 24px 22px; }
.recap .pied .btn-p { width: 100%; }
.recap .pied p { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Champs de formulaire ---------- */
label.f { display: block; font-size: .86rem; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
label.f small { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; line-height: 1.35;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
select { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235B6B7F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>'); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8A97A8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,95,174,.16); }
.rgpd { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ---------- Bandeau d'engagements ---------- */
.engagements { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0; }
.engagements .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.eng { display: flex; gap: 14px; align-items: flex-start; }
.eng .pic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.eng .pic .ic { width: 23px; height: 23px; }
.eng b { display: block; font-size: 1.32rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.eng span { display: block; font-size: .87rem; color: var(--muted); line-height: 1.42; margin-top: 4px; }

/* ---------- Dates ---------- */
.dates { padding: 64px 0; }
.dates .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.date-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; position: relative; }
.date-card .etiquette { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.date-card .etiquette i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.date-card.actuelle { border-color: var(--ok-line); background: linear-gradient(180deg, #F6FBF8, #fff); }
.date-card.actuelle .etiquette { color: var(--ok); }
.date-card .quand { font-size: 1.55rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 8px 0 8px; }
.date-card p { font-size: .98rem; }
.source { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-top: 16px; }
.source .ic { width: 16px; height: 16px; }

/* ---------- Mini-test ---------- */
.test { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.test .wrap { max-width: 880px; }
.test-intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.test-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 30px 32px; }
.test-prog { display: flex; gap: 8px; margin-bottom: 24px; }
.test-prog i { flex: 1; height: 6px; border-radius: 6px; background: var(--line); transition: background .3s; }
.test-prog i.on { background: var(--brand); }
.test-step { display: none; }
.test-step.on { display: block; }
.test-q { font-size: 1.28rem; font-weight: 750; color: var(--ink); margin-bottom: 16px; line-height: 1.3; }
.test-opts { display: grid; gap: 10px; }
.test-opts button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; font-family: inherit; font-size: 1.02rem; font-weight: 650; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 15px 18px 15px 50px; cursor: pointer; transition: border-color .15s, background .15s; }
.test-opts button::before { content: ""; position: absolute; left: 18px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; transition: border-color .15s; }
.test-opts button:hover, .test-opts button:focus-visible { border-color: var(--brand); background: var(--brand-soft); outline: none; }
.test-opts button:hover::before { border-color: var(--brand); }
.test-opts button small { font-weight: 450; font-size: .88rem; color: var(--muted); }
.test-res .verdict { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--amber-soft); color: #8A5A00; border: 1px solid var(--amber-line); margin-bottom: 14px; }
.test-res .verdict.ok { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-line); }
.test-res .verdict.non { background: #F1F4F8; color: var(--muted); border-color: var(--line-2); }
.test-res h3 { font-size: 1.42rem; font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.test-res p { margin-bottom: 10px; }
#test-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
#test-form label { display: block; font-weight: 650; color: var(--ink); margin-bottom: 10px; }
.test-row { display: flex; gap: 10px; }
.test-row input { flex: 1; }
.test-row .btn-p { white-space: nowrap; }
#test-form .rgpd { margin-top: 8px; }
.test-cta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.test-again { margin-top: 16px; background: none; border: none; color: var(--muted); font-family: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.test-again:hover { color: var(--brand); }

/* ---------- Cartes ---------- */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.col { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 24px; }
.col .pic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.col .pic .ic { width: 23px; height: 23px; }
.col h3 { font-size: 1.14rem; font-weight: 750; line-height: 1.32; margin-bottom: 8px; }
.col p { font-size: .98rem; }
.bg-soft .col { box-shadow: 0 1px 2px rgba(15,31,51,.04); }

/* Encadré « À savoir » */
.franchise { margin-top: 26px; background: var(--ok-soft); border: 1px solid var(--ok-line); border-radius: 14px; padding: 24px 28px; }
.franchise h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 750; margin-bottom: 10px; color: var(--ink); }
.franchise h3 .ic { color: var(--ok); }
.franchise p { margin-bottom: 10px; }
.franchise p:last-child { margin-bottom: 0; }

/* Étapes */
.etapes .cols { counter-reset: etape; }
.etapes .col { position: relative; }
.num { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 0 0 5px var(--brand-soft); }
.aide-box { margin-top: 26px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: .98rem; }
.aide-box a { font-weight: 650; }

/* ---------- Offre ---------- */
.offre .entete { text-align: center; }
.offre .entete h2, .offre .entete .lead { margin-left: auto; margin-right: auto; }
.offre-box { max-width: 840px; margin: 10px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.offre-head { text-align: center; padding: 28px 32px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #F6F9FD, #fff); }
.offre-head .intitule { font-size: .82rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.offre-head .prix { font-size: 3.7rem; font-weight: 850; color: var(--ink); letter-spacing: -.035em; line-height: 1; margin: 12px 0 10px; }
.offre-head .precis { font-size: .93rem; color: var(--muted); }
.offre-body { padding: 26px 32px 30px; }
.offre-body ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-bottom: 26px; }
.offre-body li { position: relative; padding-left: 31px; font-size: .97rem; line-height: 1.5; }
.offre-body li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--ok-soft) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23157A47" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12.5l4.2 4.2L19 7"/></svg>') center / 12px no-repeat; border: 1px solid var(--ok-line); }
.offre-body .btn-p { display: flex; width: 100%; font-size: 1.08rem; padding: 17px 22px; }
.secure-line { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: .87rem; color: var(--muted); margin-top: 12px; text-align: center; }
.secure-line .ic { width: 16px; height: 16px; color: var(--ok); }
.garantie { display: flex; gap: 14px; align-items: flex-start; background: var(--ok-soft); border: 1px solid var(--ok-line); border-radius: 12px; padding: 16px 18px; margin-top: 20px; font-size: .94rem; }
.garantie .ic { width: 26px; height: 26px; color: var(--ok); }
.offre-body .mention { font-size: .86rem; color: var(--muted); margin-top: 14px; line-height: 1.55; }
.offre-body .mention strong { color: var(--text); }

/* Qui s'en occupe */
.qui { max-width: 840px; margin: 22px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.qui .avatar { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.qui .avatar .ic { width: 28px; height: 28px; }
.qui .qt { font-size: .97rem; }
.qui .qt > strong:first-child { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.qui .ids { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qui .ids span, .qui .ids a { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; text-decoration: none; }
.qui .ids a:hover { border-color: var(--brand); color: var(--brand); }
.qui .ids .ic { width: 15px; height: 15px; color: var(--brand); }

/* ---------- FAQ ---------- */
.faq .wrap { max-width: 880px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; transition: border-color .15s; }
details[open] { border-color: var(--line-2); box-shadow: 0 1px 2px rgba(15,31,51,.05); }
summary { list-style: none; cursor: pointer; position: relative; padding: 18px 58px 18px 22px; font-weight: 700; font-size: 1.04rem; color: var(--ink); line-height: 1.4; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; line-height: 1; }
details[open] summary::after { content: "\2212"; }
summary:hover { color: var(--brand); }
details p { padding: 0 22px 12px; }
details p:last-child { padding-bottom: 20px; }

/* ---------- Contact ---------- */
.contact .grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.coord { list-style: none; display: grid; gap: 16px; margin-top: 22px; }
.coord li { display: flex; gap: 14px; align-items: flex-start; }
.coord .pic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.coord .pic .ic { width: 20px; height: 20px; }
.coord b { display: block; font-size: .98rem; }
.coord span { font-size: .9rem; color: var(--muted); }
.coord a { color: var(--ink); font-weight: 700; text-decoration: none; }
.coord a:hover { color: var(--brand); }
.contact form { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 26px; display: grid; gap: 14px; }
.contact form .btn-p { width: 100%; }

/* ---------- Pied de page ---------- */
footer { background: var(--navy); color: #C5D3E4; font-size: .92rem; padding: 50px 0 26px; }
footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 32px; }
footer strong { display: block; color: #fff; font-size: .95rem; margin-bottom: 12px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer p { margin-bottom: 8px; line-height: 1.55; }
footer .logo .nom, footer .logo .nom em { color: #fff; }
footer .logo small { color: #A9BCD3; }
footer .logo { margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 7px; }
footer .bas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 10px; padding-top: 18px; font-size: .82rem; color: #9FB3CB; }
footer.mini { padding: 30px 0 26px; }
footer.mini .wrap { display: block; text-align: center; }
footer.mini p { margin: 0 0 6px; }
footer.mini .liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 8px; }

/* ---------- Barre d'action mobile ---------- */
.sticky-cta, #v3-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15,31,51,.1); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.on, #v3-sticky.on { transform: none; }
.sticky-cta .row { display: flex; gap: 10px; }
.sticky-cta .btn-p { flex: 1; padding: 14px 12px; font-size: 1rem; }
.sticky-cta .btn-tel { flex: none; width: 54px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); text-decoration: none; }
.sticky-cta .btn-tel .ic { width: 22px; height: 22px; color: var(--brand); }
#v3-sticky a { display: flex; width: 100%; }

/* ---------- Bandeau cookies ---------- */
#bandeau-cookies { position: fixed !important; left: 12px !important; right: 12px !important; bottom: 12px !important; z-index: 9999 !important; max-width: 920px; margin: 0 auto; background: #fff !important; color: var(--text) !important; border: 1px solid var(--line) !important; border-radius: 14px !important; box-shadow: 0 12px 40px rgba(15,31,51,.2) !important; padding: 14px 16px !important; font-size: .88rem !important; line-height: 1.5 !important; }
#bandeau-cookies > div { max-width: none !important; gap: 12px !important; }
#bandeau-cookies a { color: var(--brand) !important; }
#bandeau-cookies button { width: auto !important; background: var(--navy) !important; color: #fff !important; border: 1px solid var(--navy) !important; border-radius: 9px !important; padding: 9px 18px !important; font-size: .9rem !important; font-weight: 650 !important; font-family: inherit !important; cursor: pointer; box-shadow: none !important; }
#bandeau-cookies button:hover { background: var(--navy-2) !important; }

/* =====================================================================
   Pages secondaires (questionnaire, merci, mentions, CGV, articles)
   ===================================================================== */
.sec main { padding: 56px 0 72px; }
.p-doc main .wrap, .p-article main .wrap { max-width: 800px; }
.p-form main .wrap, .p-form .intro .wrap { max-width: 780px; }
.p-merci main .wrap { max-width: 700px; }
.sec main h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 16px; }
.sec main h2 { font-size: 1.32rem; font-weight: 750; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); line-height: 1.3; }
.sec main h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 8px; }
.sec main p { margin-bottom: 14px; }
.sec main ul, .sec main ol { margin: 0 0 16px 24px; }
.sec main li { margin-bottom: 7px; }
.sec main table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0; background: #fff; font-size: .95rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sec main th, .sec main td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.sec main th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.sec main tr:last-child td { border-bottom: none; }
.sec .surtitre { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sec .chapo { font-size: 1.14rem; color: var(--muted); margin-bottom: 12px; }
.sec .date-maj, .sec .maj { font-size: .85rem; color: var(--muted); margin-bottom: 34px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.sec .encart { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 16px 20px; margin: 20px 0; font-size: .97rem; }
.sec .encart.vert { background: var(--ok-soft); border-color: var(--ok-line); border-left-color: var(--ok); }
.sec .encart.orange { background: var(--amber-soft); border-color: var(--amber-line); border-left-color: #C98A1B; }
.sec .encart p:last-child { margin-bottom: 0; }
.sec .cta { background: var(--navy); border-radius: 16px; padding: 32px 34px; margin: 48px 0 0; text-align: center; color: #fff; }
.sec .cta p.t { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -.01em; }
.sec .cta p.s { color: #C9D7E8; font-size: .97rem; margin-bottom: 20px; }
.sec .cta a.b { background: #fff; color: var(--navy) !important; border-color: #fff; }
.sec .cta a.b:hover { background: var(--brand-soft); color: var(--navy) !important; }
.sec .autres { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .93rem; }
.sec .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 2px solid var(--brand-soft); }
.sec .back:hover { border-color: var(--brand); color: var(--brand); }

/* Bandeau titre (questionnaire) */
.sec .intro { background: linear-gradient(180deg, #F1F6FC, #fff); border-bottom: 1px solid var(--line); padding: 46px 0 38px; color: var(--text); }
.sec .intro .surtitre { margin-bottom: 12px; }
.sec .intro h1 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 12px; }
.sec .intro p { color: var(--muted); font-size: 1.02rem; max-width: 640px; }
#paid-banner { border-radius: 12px !important; border-color: var(--ok-line) !important; background: var(--ok-soft) !important; color: var(--ok) !important; }

/* Questionnaire */
.p-form main { padding-top: 36px !important; }
.sec fieldset { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px 28px; margin-bottom: 22px; box-shadow: 0 1px 2px rgba(15,31,51,.04); }
.sec legend { font-weight: 800; color: var(--ink); font-size: 1.12rem; padding: 0 10px; margin-left: -10px; }
.sec label.q { display: block; font-weight: 650; margin: 22px 0 8px; color: var(--ink); font-size: .97rem; }
.sec label.q:first-of-type { margin-top: 6px; }
.sec .aide { font-weight: 400; color: var(--muted); font-size: .86rem; display: block; margin-top: 3px; }
.sec .choix label { display: flex; align-items: baseline; gap: 11px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 10px; margin-bottom: 8px; cursor: pointer; font-size: .96rem; background: #fff; transition: border-color .15s, background .15s; }
.sec .choix label:hover { border-color: var(--brand); background: var(--brand-soft); }
.sec .choix label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.sec .choix input { accent-color: var(--brand); flex-shrink: 0; position: relative; top: 2px; width: 18px; height: 18px; margin: 0; }
.sec label.q input[type="checkbox"] { accent-color: var(--brand); width: 18px; height: 18px; }
.p-form button[type="submit"] { width: 100%; padding: 18px; font-size: 1.06rem; }
.p-form .rgpd { margin-top: 14px; text-align: center; }

/* Pages de remerciement */
.p-merci main { text-align: center; padding: 60px 0 76px !important; }
.p-merci .coche { width: 66px; height: 66px; border-radius: 50%; background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--ok); font-size: 1.8rem; font-weight: 800; line-height: 64px; margin: 0 auto 22px; }
.p-merci main h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.p-merci .carte { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 28px 30px; margin: 26px 0; text-align: left; }
.p-merci .carte.action { border-color: var(--ok-line); box-shadow: inset 4px 0 0 var(--ok), var(--shadow); }
.p-merci .carte .etape { font-size: .78rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.p-merci .carte:has(.prix) { text-align: center; }
.p-merci .prix { font-size: 3rem; font-weight: 850; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin: 8px 0 16px; }
.p-merci .btn-payer { font-size: 1.06rem; padding: 17px 34px; }
.p-merci .secure { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.p-merci .alt { font-size: .93rem; color: var(--muted); margin-top: 22px; }
.p-merci .petit { font-size: .88rem; color: var(--muted); margin-top: 16px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1060px) {
  nav { gap: 16px; }
  nav .nl { display: none; }
}
@media (max-width: 960px) {
  .hero .wrap, .hero.solo .wrap { grid-template-columns: 1fr; gap: 34px; }
  .engagements .wrap { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
  .contact .grille { grid-template-columns: 1fr; gap: 26px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .sticky-cta, #v3-sticky { display: block; }
  body.has-sticky { padding-bottom: 78px; }
  nav .tel { display: none; }
  nav .tel-m { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
  nav .tel-m .ic { width: 17px; height: 17px; color: var(--brand); }
  nav .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  section { padding: 56px 0; }
  .notice { font-size: .74rem; padding: 6px 10px; }
  .notice .hm { display: none; }
  header .wrap { min-height: 62px; gap: 10px; }
  .logo svg { width: 34px; height: 34px; }
  .logo .nom { font-size: 1.12rem; }
  .logo small { display: none; }
  .hero { padding: 26px 0 40px; }
  .hero h1 { font-size: 1.9rem; margin: 16px 0 14px; }
  .hero .sub { font-size: 1.04rem; }
  .hero-txt .cta-row { order: 2; margin-top: 4px; }
  .hero-txt .tel-line { order: 3; }
  .hero-txt .sub { order: 4; margin-top: 20px; }
  .hero-txt .trust { order: 5; }
  .cta-row .btn-p, .cta-row .btn-s { width: 100%; }
  .trust { grid-template-columns: 1fr; gap: 10px; }
  .rappel { padding: 22px 18px 18px; }
  .engagements { padding: 24px 0; }
  .engagements .wrap { gap: 18px 14px; }
  .eng { flex-direction: column; gap: 10px; }
  .eng b { font-size: 1.2rem; }
  .dates { padding: 48px 0; }
  .dates .grille { grid-template-columns: 1fr; }
  .test-box { padding: 22px 18px; }
  .test-q { font-size: 1.15rem; }
  .test-row { flex-direction: column; }
  .test-row .btn-p { width: 100%; }
  .franchise { padding: 20px 20px; }
  .offre-head { padding: 24px 20px 18px; }
  .offre-head .prix { font-size: 3.1rem; }
  .offre-body { padding: 22px 20px 24px; }
  .offre-body ul { grid-template-columns: 1fr; }
  .qui { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .contact form { padding: 20px 18px; }
  footer .wrap { grid-template-columns: 1fr; gap: 24px; }
  .sec main { padding: 40px 0 56px; }
  .sec fieldset { padding: 20px 18px 22px; }
  .p-merci .carte { padding: 22px 20px; }
  .sec .cta { padding: 26px 20px; }
  #bandeau-cookies { left: 8px !important; right: 8px !important; bottom: 8px !important; padding: 12px 14px !important; font-size: .8rem !important; }
  #bandeau-cookies > div > span:first-child { flex: 1 1 100% !important; }
  #bandeau-cookies button { padding: 8px 16px !important; font-size: .85rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
