/* ProspectsBTP · système « Institutionnel »
   Fond blanc, bleu nuit, brique en simple signature. Une seule famille : Instrument Sans. */

@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-tint: #EEF2F7;
  --ink: #0B1F33;
  --ink-2: #33445A;
  --muted: #5B6B7F;
  --line: #E3E8EF;
  --line-strong: #C9D2DD;
  --navy: #0B1F33;
  --navy-hover: #173656;
  --accent: #B04A1E;
  --ok: #1F7A4D;

  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 4px 16px rgba(11, 31, 51, .04);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---- Typographie ---- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; margin: 0 0 20px; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 0 0 16px; }
h3, .h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; font-weight: 600; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 68%, #DCE6F2 68%); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }
.prose { max-width: 44em; }
.label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 16px; }
.label::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---- Mise en page ---- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); padding: var(--section) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--navy); color: #fff; padding: var(--section) 0; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink h2 em { color: #fff; background: linear-gradient(transparent 68%, rgba(255,255,255,.18) 68%); }
.section--ink .label { color: #A9B7C8; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { margin: 0; }

/* ---- Boutons et liens ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--navy); color: #fff;
  border: 1px solid var(--navy); border-radius: var(--radius-sm); padding: 13px 20px; font: 600 16px/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { background: var(--line-strong); border-color: var(--line-strong); cursor: not-allowed; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--bg-soft); color: var(--navy); border-color: var(--navy); }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.link { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; color: var(--navy); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration: underline; }
.link .icon { width: 18px; height: 18px; transition: transform .15s var(--ease); }
.link:hover .icon { transform: translateX(2px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ---- En-tête ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { height: 28px; width: auto; color: var(--ink); }
.brand { display: inline-flex; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav .btn { padding: 10px 16px; font-size: 15px; color: #fff; }
.nav .btn--ghost { color: var(--navy); }
.nav .btn:hover { color: #fff; }
.nav .btn--ghost:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; }

/* ---- Hero ---- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(#fff 55%, var(--bg-soft)); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 13fr 11fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 14em; }
.hero .lead { margin-bottom: 28px; }
.hero-proof { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof .icon { width: 16px; height: 16px; color: var(--ok); }
.maps { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; grid-template-columns: 3fr 1.4fr; gap: 18px; align-items: end; }
.map-block { display: grid; gap: 8px; }
.map-block .map-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); }
.map-block .map-head strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.dot-map { width: 100%; height: auto; fill: var(--navy); }
.dot-map circle.hl { fill: var(--accent); }

/* ---- Bandeau de confiance ---- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 20px 20px 20px 0; font-size: 14px; color: var(--ink-2); }
.trust-item + .trust-item { padding-left: 20px; border-left: 1px solid var(--line); }
.trust-item .icon { color: var(--navy); margin-top: 1px; }
.trust-item strong { display: block; color: var(--ink); font-weight: 600; }

/* ---- Chiffres ---- */
.figures { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.figure .num { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; display: block; margin-bottom: 6px; }
.figure span:last-child { font-size: 14px; color: var(--muted); }

/* ---- Cartes ---- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.photo { position: relative; overflow: hidden; background: var(--bg-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Pour qui ---- */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.persona:hover { border-color: var(--line-strong); box-shadow: 0 6px 24px rgba(11, 31, 51, .08); color: inherit; }
.persona .photo { aspect-ratio: 16 / 9; }
.persona-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.persona-body .tag { align-self: flex-start; }
.persona-body p { margin: 0; color: var(--ink-2); font-size: 15px; }
.persona-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.persona-foot strong { color: var(--ink); }
.persona-foot .icon { color: var(--navy); width: 18px; height: 18px; }

/* ---- Anatomie d'une fiche ---- */
.anatomy { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.record { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; }
.record-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.record-head strong { font-size: 20px; font-weight: 600; }
.record dl { margin: 0; }
.record-row { display: grid; grid-template-columns: 9em 1fr auto; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.record-row:last-child { border-bottom: 0; }
.record-row dt { color: var(--muted); }
.record-row dd { margin: 0; overflow-wrap: anywhere; }
.record-row dd.fill { font-size: 13px; color: var(--muted); white-space: nowrap; }
.fill-bars { display: grid; gap: 14px; margin: 20px 0 24px; }
.fill-bar { display: grid; grid-template-columns: 10em 1fr 3.5em; gap: 14px; align-items: center; font-size: 15px; }
.fill-bar .track { height: 8px; background: var(--bg-tint); border-radius: 4px; position: relative; overflow: hidden; }
.fill-bar .track i { position: absolute; inset: 0 auto 0 0; background: var(--navy); border-radius: 4px; }
.fill-bar b { font-weight: 600; text-align: right; }

/* ---- Tableaux ---- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; font-weight: 600; font-size: 13px; color: var(--muted); padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data td small { display: block; color: var(--muted); font-size: 13px; }
table.data .mono { white-space: nowrap; }
table.data .right { text-align: right; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--bg-tint); color: var(--ink-2); white-space: nowrap; }
.tag--ok { background: #E3F2EA; color: var(--ok); }

/* ---- Configurateur ---- */
.config { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.config-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 28px; }
.config-form fieldset { border: 0; padding: 24px 0; margin: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.config-form fieldset:last-of-type { border-bottom: 0; }
.config-form fieldset.step-head { border-bottom: 0; padding-bottom: 0; }
.config-form fieldset.step-body { padding-top: 0; }
.config-form legend { font-size: 18px; font-weight: 600; padding: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.config-form legend .step { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; display: inline-grid; place-items: center; }
.config-form .hint { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 18px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: -4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; background: #fff; transition: border-color .15s, background-color .15s; }
.chip small { color: var(--muted); font-size: 12px; }
.chip input:hover + span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:checked + span small { color: #A9B7C8; }
.chip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 24px; }
.check { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.check input { accent-color: var(--navy); width: 16px; height: 16px; flex: none; transform: translateY(2px); }
.check small { margin-left: auto; color: var(--muted); font-size: 13px; }
details.deps { margin-top: 16px; }
details.deps summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--navy); }
.dep-search { width: 100%; margin: 12px 0 4px; font: 400 15px var(--sans); padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
details.deps .region-list { margin-top: 8px; max-height: 300px; overflow: auto; }
.toggle { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.toggle input { accent-color: var(--navy); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.toggle strong { display: block; font-weight: 600; }
.toggle span span { color: var(--muted); font-size: 15px; }
.summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.summary .count { font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; display: block; margin: 6px 0 4px; transition: opacity .2s; }
.summary .count.is-loading { opacity: .35; }
.summary .sel { font-size: 14px; color: var(--muted); margin: 8px 0 16px; min-height: 2.6em; }
.summary dl { margin: 0 0 18px; border-top: 1px solid var(--line); }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary .total dd { font-size: 22px; }
.summary .btn { margin-bottom: 12px; }
.summary .link { width: 100%; justify-content: space-between; text-align: left; }
.summary .guarantee { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); background: var(--bg-soft); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 14px; }
.summary .guarantee .icon { color: var(--ok); width: 18px; height: 18px; }
.summary .fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.pricebar { display: none; }

/* ---- Tarifs ---- */
.pricing .price { font-size: 19px; font-weight: 600; white-space: nowrap; }
.pricing tr.featured td { background: #F7FAFD; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--muted); background: #fff; }
.tier strong { display: block; font-size: 18px; color: var(--ink); }

/* ---- Méthode ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ---- Qui sommes-nous ---- */
.about { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.about-card { padding: 24px; }
.about-card .person { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 18px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); margin-top: 6px; flex: none; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 48em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---- Encadrés ---- */
.note { border-left: 3px solid var(--navy); background: var(--bg-soft); padding: 14px 18px; margin: 24px 0; color: var(--ink-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 15px; }
.note strong { color: var(--ink); }

/* ---- Appel final ---- */
.closing { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.closing h2 { color: #fff; max-width: 14em; }
.closing p { color: #C9D3DF; }
.closing .contact-list { display: grid; gap: 10px; }
.closing .contact-list a { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 16px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); }
.closing .contact-list a:hover { background: rgba(255,255,255,.06); }

/* ---- Pied de page ---- */
.site-footer { padding: 56px 0 32px; background: var(--bg-soft); border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 2fr 2fr; gap: 32px; margin-bottom: 40px; }
.footer-title { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--ink-2); }
.footer-grid a:hover { color: var(--navy); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }

/* ---- Fil d'Ariane ---- */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---- Pages de texte ---- */
.doc { padding: clamp(32px, 5vw, 64px) 0 var(--section); }
.doc .wrap { display: grid; grid-template-columns: 3fr 8fr 1fr; gap: 48px; }
.doc aside { font-size: 14px; color: var(--muted); }
.doc aside nav { position: sticky; top: 100px; display: grid; gap: 8px; }
.doc aside a { text-decoration: none; }
.doc aside a:hover { color: var(--navy); }
.doc h1 { font-size: clamp(32px, 4vw, 48px); }
.doc h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 48px; }
.doc h3 { font-size: 19px; margin-top: 28px; }
.doc .prose { font-size: 17px; }
.doc .prose li { margin-bottom: .4em; }
.doc .meta-line { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.doc .cover { aspect-ratio: 16 / 7; margin: 0 0 40px; border-radius: var(--radius); }

/* ---- Listes de liens et cartes ---- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.link-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; font-size: 15px; }
.link-grid a:hover { border-color: var(--navy); }
.link-grid a small { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card-link { text-decoration: none; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-link:hover { border-color: var(--line-strong); box-shadow: 0 6px 24px rgba(11, 31, 51, .08); color: inherit; }
.card-link .photo { aspect-ratio: 16 / 9; }
.card-link .card-body { padding: 20px; display: grid; gap: 8px; }
.card-link .h3 { margin: 0; }
.card-link p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---- Pages SEO : deux colonnes ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

/* ---- Formulaires ---- */
.form { display: grid; gap: 18px; max-width: 560px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.field .error { color: #B42318; font-size: 14px; margin-top: 6px; }
.field [aria-invalid="true"] { border-color: #B42318; }
.field small { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-left: 3px solid var(--ok); background: #EEF7F2; margin-bottom: 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.alert--error { border-left-color: #B42318; background: #FDF1F0; }

/* ---- Panneau latéral ---- */
dialog.panel { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(460px, 100vw); max-width: 100vw; border: 0; padding: 0; background: #fff; color: var(--ink); }
dialog.panel::backdrop { background: rgba(11, 31, 51, .45); }
dialog.panel[open] { animation: panel-in .25s var(--ease); }
@keyframes panel-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.panel-inner { padding: 28px; display: grid; gap: 18px; }
.panel-close { justify-self: end; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.panel h2 { font-size: 26px; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .figures { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .doc .wrap { grid-template-columns: 1fr; }
  .doc aside { display: none; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .tiers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 12px; padding: 14px; }
  .nav-toggle { display: block; }
  .hero .wrap, .anatomy, .config, .about, .closing, .split { grid-template-columns: 1fr; }
  .personas { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
  body.show-pricebar .pricebar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(11, 31, 51, .08); padding: 10px var(--gutter); gap: 12px; align-items: center; justify-content: space-between;
  }
  .pricebar strong { display: block; font-size: 17px; }
  .pricebar span { font-size: 13px; color: var(--muted); }
  .pricebar .btn { padding: 11px 16px; }
  body.show-pricebar { padding-bottom: 72px; }
  .record-row { grid-template-columns: 1fr auto; }
  .record-row dd:not(.fill) { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .personas, .steps { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fill-bar { grid-template-columns: 7.5em 1fr 3em; }
  .actions .btn { width: 100%; }
  .maps { grid-template-columns: 1fr; }
  .config-form { padding: 4px 18px; }
  .tiers { grid-template-columns: 1fr; }
}
.config-form > fieldset:last-of-type { padding-top: 4px; }
.closing .person { display: flex; gap: 14px; align-items: center; margin-top: 24px; }
.closing .avatar { background: #fff; color: var(--navy); }

/* ---- Configurateur v2 ---- */
.cfg { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.cfg-main { display: grid; gap: 16px; }
.cfg-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.cfg-step-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.cfg-step-head h3 { font-size: 18px; margin: 0 0 2px; }
.cfg-step-head p { margin: 0; font-size: 14px; color: var(--muted); }
.cfg-step-head .step { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; flex: none; margin-top: 1px; }
.cfg-clear { margin-left: auto; background: none; border: 0; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; padding: 4px 0; white-space: nowrap; }
.cfg-clear:hover { color: var(--navy); text-decoration: underline; }
.country-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.country-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line-strong); border-radius: 10px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.country-card:hover { border-color: var(--navy); }
.country-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.country-card:has(input:checked) { border-color: var(--navy); background: #F4F7FB; box-shadow: 0 0 0 3px rgba(11, 31, 51, .06); }
.country-card:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.cc-flag { display: inline-flex; width: 30px; height: 21px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); flex: none; }
.cc-flag i { flex: 1; }
.cc-flag--ch { background: #DA291C; color: #fff; justify-content: center; align-items: center; width: 22px; height: 22px; }
.cc-flag--ch b { font: 700 18px/1 var(--sans); }
.cc-body strong { display: block; font-size: 17px; }
.cc-body small { color: var(--muted); font-size: 13px; }
.cc-check { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: transparent; flex: none; }
.cc-check .icon { width: 14px; height: 14px; }
.country-card:has(input:checked) .cc-check { background: var(--navy); border-color: var(--navy); color: #fff; }
.zone-block + .zone-block { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line-strong); }
.zone-title { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 0 10px; letter-spacing: .02em; }
.deps-count { font-weight: 500; color: var(--accent); margin-left: 6px; font-size: 13px; }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--navy); background: #F4F7FB; }
.option input { accent-color: var(--navy); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.option strong { display: block; font-weight: 600; }
.option span span { color: var(--muted); font-size: 14px; }
.sum-parts { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cfg .summary { border-radius: 12px; }
@media (max-width: 860px) { .cfg { grid-template-columns: 1fr; } .cfg .summary { position: static; } }
@media (max-width: 600px) { .country-cards { grid-template-columns: 1fr; } .cfg-step { padding: 18px; } }

/* ---- Bandeau de réassurance ---- */
.assurance { background: var(--navy); color: #fff; }
.assurance .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.assurance-item { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 1.35; }
.assurance-item svg { width: 40px; height: 40px; flex: none; }
@media (max-width: 1080px) { .assurance .wrap { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .assurance .wrap { grid-template-columns: 1fr 1fr; } .assurance-item { font-size: 14px; } .assurance-item svg { width: 32px; height: 32px; } }

/* ---- Bloc Intuitive Consulting ---- */
.partner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; }
.partner-mark { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--bg-tint); flex: none; }
.partner-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.partner h3 { margin: 0 0 4px; font-size: 19px; }
.partner p { margin: 0; color: var(--ink-2); font-size: 15px; }
.partner .actions { flex-wrap: nowrap; }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } .partner .actions { flex-wrap: wrap; } }

/* ---- Panier ---- */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--navy); }
.cart-link:hover { border-color: var(--navy); }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font: 700 12px/20px var(--sans); text-align: center; }
.added-note { font-size: 14px; color: var(--ok); margin: -4px 0 10px; }
.cart-page { display: grid; grid-template-columns: 8fr 4fr; gap: 32px; align-items: start; }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.cart-item h3 { font-size: 16px; margin: 0; }
.cart-item .meta { font-size: 14px; color: var(--muted); }
.cart-item .price { font-size: 18px; font-weight: 600; text-align: right; }
.cart-item .row-actions { grid-column: 1 / -1; display: flex; gap: 18px; font-size: 14px; }
.cart-item .row-actions button { background: none; border: 0; padding: 0; color: #B42318; font: inherit; cursor: pointer; }
.cart-empty { background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 32px; text-align: center; }
@media (max-width: 860px) { .cart-page { grid-template-columns: 1fr; } .nav .cart-link { margin-top: 12px; width: 100%; } }
