/* Prévoyance Homme Clé : système graphique de la marque */

@font-face {
  font-family: 'Jakarta';
  src: url('/assets/fonts/jakarta-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs de marque */
  --ink: #0b1640;
  --ink-2: #16225a;
  --ink-3: #24306b;
  --brand: #2f4cf0;
  --brand-600: #2238d6;
  --brand-300: #8fa1ff;
  --brand-100: #e3e8ff;
  --brand-50: #f0f3ff;
  --amber: #ffb020;
  --amber-600: #e09400;
  --amber-50: #fff6e2;
  --mint: #0fae7f;
  --mint-50: #e2f7ef;
  --coral: #e5523b;
  --coral-50: #fdeeeb;
  /* Neutres */
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #29324f;
  --muted: #5d6685;
  --soft: #8a92ad;
  --line: #e2e6f1;
  --line-2: #cfd5e6;
  /* Formes */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --arch: 999px 999px 28px 28px;
  --shadow-1: 0 1px 2px rgba(11, 22, 64, .06), 0 2px 6px rgba(11, 22, 64, .04);
  --shadow-2: 0 2px 4px rgba(11, 22, 64, .04), 0 12px 32px rgba(11, 22, 64, .09);
  --shadow-3: 0 6px 12px rgba(11, 22, 64, .06), 0 28px 64px rgba(11, 22, 64, .16);
  --display: 'Jakarta', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(47, 76, 240, .35); }
a:hover { color: var(--brand-600); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -.025em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 0 0 .45em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); margin: 1.9em 0 .55em; }
h3 { font-size: 1.24rem; margin: 1.5em 0 .45em; letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
strong { font-weight: 650; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 12px; }
.hl { position: relative; white-space: nowrap; color: var(--brand); }
.hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .32em; background: var(--amber); opacity: .55; border-radius: 4px; z-index: -1; }

/* ---------------------------------------------------------------- Boutons et pastilles */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.45em; border-radius: 14px; border: 1.5px solid transparent;
  font: 650 1rem/1 var(--display); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(47, 76, 240, .28); }
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(47, 76, 240, .34); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #ffc04d; color: var(--ink); transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-dark:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 42px; padding: 0 1.05em; border-radius: 11px; font-size: .92rem; }
.btn--block { width: 100%; }
.pill { display: inline-flex; align-items: center; gap: .5em; padding: .42em .9em; border-radius: 999px; font: 650 .78rem/1.2 var(--display); letter-spacing: .01em; background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100); }
.pill svg { width: 14px; height: 14px; }
.pill--amber { background: var(--amber-50); color: #8a5a00; border-color: #ffe2a6; }
.pill--mint { background: var(--mint-50); color: #08714f; border-color: #bdeedb; }
.pill--dark { background: rgba(255, 255, 255, .08); color: #dfe5ff; border-color: rgba(255, 255, 255, .16); }
.kicker { font: 700 .76rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; display: block; }

/* ---------------------------------------------------------------- Barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--amber)); transition: width .1s linear; }

/* ---------------------------------------------------------------- En-tête */
.utility { background: var(--ink); color: #c5cdea; font-size: .82rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 38px; }
.utility p { margin: 0; display: flex; align-items: center; gap: .55em; }
.utility p svg { width: 16px; height: 16px; color: var(--amber); }
.utility nav { display: flex; gap: 22px; }
.utility a { color: #e3e8ff; text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header > .wrap { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__small { font: 650 .68rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand__name { font: 800 1.28rem/1.05 var(--display); letter-spacing: -.03em; color: var(--ink); margin-top: 5px; }
.brand__name b { color: var(--brand); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; height: 100%; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; height: 100%; }
.nav__item { display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: .4em; height: 44px; padding: 0 .85em; border-radius: 11px; border: 0; background: none; cursor: pointer;
  font: 620 .94rem/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.005em;
}
.nav__link svg { width: 15px; height: 15px; color: var(--soft); transition: transform .2s; }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--brand-50); color: var(--brand-600); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); color: var(--brand); }
.nav__link[aria-current="true"] { color: var(--brand-600); }
.nav__link[aria-current="true"]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-left: .1em; }
.nav__actions { display: flex; gap: 10px; margin-left: 14px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(11, 22, 64, .14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: 300px 1fr 280px; gap: 40px; padding: 34px 28px 38px; }
.mega__intro { border-right: 1px solid var(--line); padding-right: 32px; }
.mega__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.mega__icon svg { width: 26px; height: 26px; }
.mega__intro p.mega__title { font: 750 1.25rem/1.2 var(--display); color: var(--ink); margin: 0 0 8px; letter-spacing: -.02em; }
.mega__intro p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 0 0 16px; }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 22px; align-content: start; }
.mega__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .92rem; line-height: 1.35; font-weight: 520; }
.mega__links a svg { width: 15px; height: 15px; color: var(--brand); opacity: 0; transform: translateX(-4px); transition: .15s; flex: none; }
.mega__links a:hover { background: var(--bg); color: var(--ink); }
.mega__links a:hover svg { opacity: 1; transform: none; }
.mega__promo { background: var(--ink); color: #cdd5f3; border-radius: var(--r); padding: 22px; position: relative; overflow: hidden; align-self: start; }
.mega__promo::after { content: ''; position: absolute; right: -50px; bottom: -70px; width: 170px; height: 170px; border-radius: 999px 999px 0 0; border: 18px solid rgba(47, 76, 240, .55); }
.mega__promo p.mega__title { font: 750 1.08rem/1.25 var(--display); color: #fff; margin: 0 0 6px; }
.mega__promo p { font-size: .88rem; line-height: 1.5; margin: 0 0 16px; position: relative; z-index: 1; }
.mega__promo .btn { position: relative; z-index: 1; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-close { display: none; }

/* ---------------------------------------------------------------- Fil d'Ariane */
.crumbs { font-size: .84rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35em .5em; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: .5em; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; border-top: 1.5px solid var(--soft); border-right: 1.5px solid var(--soft); transform: rotate(45deg); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; }

/* ---------------------------------------------------------------- Accueil : bandeau */
.home-hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 88% 8%, var(--brand-100), transparent 62%), radial-gradient(600px 400px at 0% 100%, var(--amber-50), transparent 70%), var(--bg); }
.home-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(47, 76, 240, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); opacity: .5; pointer-events: none; }
.home-hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 84px; }
.home-hero h1 { font-size: clamp(2.1rem, 4.1vw, 3.2rem); margin: 18px 0 18px; max-width: 15em; }
.home-hero__sub { font-size: 1.16rem; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 22px; max-width: 590px; }
.quote__title { display: flex; align-items: center; gap: 10px; font: 750 1.02rem/1.2 var(--display); color: var(--ink); margin: 0 0 16px; }
.quote__title span { width: 30px; height: 30px; border-radius: 10px; background: var(--amber); color: var(--ink); display: grid; place-items: center; flex: none; }
.quote__title svg { width: 17px; height: 17px; }
.quote__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.quote label { display: block; font: 600 .76rem/1.2 var(--sans); color: var(--muted); margin: 0 0 6px; letter-spacing: .01em; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; height: 52px; padding: 0 40px 0 14px; border-radius: 13px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: 560 .95rem var(--sans); cursor: pointer; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.quote__trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .84rem; color: var(--muted); }
.quote__trust li { display: inline-flex; align-items: center; gap: 6px; }
.quote__trust svg { width: 16px; height: 16px; color: var(--mint); }

.hero-visual { position: relative; padding: 10px 26px 30px 40px; }
.hero-visual__shape { position: absolute; right: 0; top: 40px; width: 78%; height: 86%; border-radius: var(--arch); background: var(--ink); }
.hero-visual__shape::after { content: ''; position: absolute; left: 50%; top: 22%; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 14px rgba(255, 176, 32, .18); }
.hero-visual__img { position: relative; width: 82%; margin-left: auto; margin-right: 8%; }
.hero-visual__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); box-shadow: var(--shadow-3); border: 6px solid var(--surface); }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 14px 16px; }
.float-card--cover { left: 0; bottom: 64px; width: 250px; }
.float-card--cover p { margin: 0 0 8px; font: 700 .72rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.float-card--cover ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.float-card--cover li { display: flex; align-items: center; gap: 10px; font: 620 .9rem/1.2 var(--display); color: var(--ink); }
.float-card--cover li span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--mint-50); color: var(--mint); flex: none; }
.float-card--cover li svg { width: 15px; height: 15px; }
.float-card--sim { right: 0; top: 18px; display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.float-card--sim:hover { color: var(--ink); box-shadow: var(--shadow-3); }
.float-card--sim span.ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.float-card--sim svg { width: 20px; height: 20px; }
.float-card--sim strong { display: block; font: 750 .95rem/1.2 var(--display); }
.float-card--sim small { color: var(--muted); font-size: .8rem; }

/* ---------------------------------------------------------------- Bandeau de confiance */
.trustbar { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trustbar li { display: flex; align-items: center; gap: 14px; font-size: .88rem; line-height: 1.35; color: var(--muted); }
.trustbar strong { display: block; font: 750 1rem/1.25 var(--display); color: var(--ink); }
.trustbar svg { width: 44px; height: 44px; flex: none; padding: 10px; border-radius: 14px; background: var(--brand-50); color: var(--brand); }

/* ---------------------------------------------------------------- Sections */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--white { background: var(--surface); }
.section--ink { background: var(--ink); color: #c7cfee; position: relative; overflow: hidden; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .kicker { color: var(--amber); }
.section--brand { background: linear-gradient(135deg, var(--brand), #1f35c4); color: #e3e8ff; }
.sec-head { max-width: 740px; margin: 0 0 48px; }
.sec-head h2 { margin: 0 0 14px; }
.sec-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section--ink .sec-head p { color: #aeb8df; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.sec-head--row > div { max-width: 700px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Profils */
.persona { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.persona:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--brand-100); color: var(--text); }
.persona__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.persona:nth-child(2) .persona__icon { background: var(--amber-50); color: var(--amber-600); }
.persona:nth-child(3) .persona__icon { background: var(--mint-50); color: var(--mint); }
.persona:nth-child(4) .persona__icon { background: var(--coral-50); color: var(--coral); }
.persona__icon svg { width: 25px; height: 25px; }
.persona h3 { margin: 0; font-size: 1.12rem; }
.persona p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.55; flex: 1; }
.persona__go { font: 650 .9rem var(--display); color: var(--brand); display: inline-flex; align-items: center; gap: .4em; }
.persona__go svg { width: 16px; height: 16px; transition: transform .2s; }
.persona:hover .persona__go svg { transform: translateX(4px); }

/* Garanties */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.cover { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: box-shadow .2s, transform .2s; }
.cover:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.cover__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cover__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.cover__icon svg { width: 24px; height: 24px; }
.cover__num { font: 800 .82rem var(--display); color: var(--soft); letter-spacing: .06em; }
.cover h3 { margin: 0 0 6px; font-size: 1.12rem; }
.cover p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.55; }

/* Étapes */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: st; }
.timeline::before { content: ''; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 8px, transparent 8px 16px); }
.timeline li { position: relative; }
.timeline li::before { counter-increment: st; content: counter(st); width: 56px; height: 56px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 1.3rem var(--display); margin-bottom: 22px; position: relative; box-shadow: 0 0 0 8px var(--ink); }
.timeline li:last-child::before { background: var(--amber); color: var(--ink); }
.timeline h3 { margin: 0 0 8px; font-size: 1.12rem; }
.timeline p { margin: 0; font-size: .94rem; color: #aeb8df; }

/* Cas concrets */
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.case h3 { margin: 0; font-size: 1.15rem; }
.case__block { border-radius: var(--r-sm); padding: 14px 16px; font-size: .93rem; line-height: 1.55; }
.case__block p { margin: 0; }
.case__block span { display: block; font: 700 .72rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.case__block--risk { background: var(--coral-50); }
.case__block--risk span { color: var(--coral); }
.case__block--answer { background: var(--mint-50); }
.case__block--answer span { color: #08714f; }

/* Rubriques */
.silos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.silo { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s; }
.silo:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); color: var(--text); }
.silo img { width: 120px; height: 140px; object-fit: cover; border-radius: 999px 999px 14px 14px; }
.silo h3 { margin: 0 0 6px; font-size: 1.08rem; }
.silo p { margin: 0 0 10px; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.silo .pill { font-size: .74rem; }
.silo--feature { grid-column: span 1; }

/* Simulateur mis en avant */
.sim-band .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; position: relative; }
.sim-band ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.sim-band li { display: flex; gap: 12px; align-items: flex-start; }
.sim-band li svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 3px; }
.section--ink::before { content: ''; position: absolute; right: -140px; bottom: -330px; width: 420px; height: 480px; border-radius: var(--arch); border: 40px solid rgba(47, 76, 240, .22); }

/* ---------------------------------------------------------------- En-tête d'article et de rubrique */
.page-hero { background: linear-gradient(180deg, var(--surface), var(--bg)); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -120px; width: 360px; height: 420px; border-radius: var(--arch); background: var(--brand-50); z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 26px; padding-bottom: 48px; }
.page-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; margin-top: 30px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 16px 0 18px; }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--muted); margin: 0 0 24px; max-width: 44em; }
.page-hero__img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--arch); box-shadow: var(--shadow-2); border: 6px solid var(--surface); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: .86rem; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; }
.meta svg { width: 16px; height: 16px; color: var(--brand); margin-right: .45em; flex: none; }
.meta .pill svg { margin-right: 0; }
.meta time { margin-left: .3em; }
.meta__author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.meta__author i { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.meta__author i svg { width: 22px; height: 22px; color: #fff; margin: 0; }

/* ---------------------------------------------------------------- Article */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; padding-top: 52px; padding-bottom: 80px; }
.art-side { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 16px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.toc__head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; }
.toc__head p { margin: 0; font: 700 .76rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.toc__head span { font: 700 .8rem var(--display); color: var(--brand); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 50vh; overflow: auto; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 7px 8px; border-radius: 9px; font-size: .87rem; line-height: 1.38; color: var(--muted); text-decoration: none; }
.toc a::before { content: counter(t, decimal-leading-zero); font: 700 .74rem/1.7 var(--display); color: var(--soft); }
.toc a:hover { background: var(--bg); color: var(--ink); }
.toc a.is-active { background: var(--brand-50); color: var(--brand-600); font-weight: 600; }
.toc a.is-active::before { color: var(--brand); }
.side-cta { background: var(--ink); color: #c7cfee; border-radius: var(--r); padding: 24px 22px; position: relative; overflow: hidden; }
.side-cta::after { content: ''; position: absolute; right: -40px; bottom: -70px; width: 150px; height: 170px; border-radius: var(--arch); border: 16px solid rgba(47, 76, 240, .6); }
.side-cta .pill { margin-bottom: 14px; }
.side-cta p.side-cta__title { font: 750 1.18rem/1.25 var(--display); color: #fff; margin: 0 0 8px; letter-spacing: -.02em; }
.side-cta p { font-size: .9rem; margin: 0 0 18px; position: relative; z-index: 1; }
.side-cta .btn { position: relative; z-index: 1; }
.side-tools { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.side-tools p { margin: 0 0 8px; font: 700 .76rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); padding: 2px 4px 6px; }
.side-tools a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); font: 620 .9rem/1.3 var(--display); }
.side-tools a:hover { background: var(--bg); }
.side-tools a span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.side-tools a svg { width: 18px; height: 18px; }

.prose { font-size: 1.05rem; line-height: 1.78; color: var(--text); min-width: 0; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 2.1em; }
.prose h3 { font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.3em; }
.prose li { margin: .4em 0; padding-left: .2em; }
.prose ul li::marker { color: var(--brand); }
.prose ol li::marker { color: var(--brand); font-weight: 700; font-family: var(--display); }
.prose blockquote { margin: 1.8em 0; padding: 20px 22px 20px 64px; border-radius: var(--r); background: var(--brand-50); border: 1px solid var(--brand-100); position: relative; font-size: 1rem; line-height: 1.65; }
.prose blockquote::before { content: ''; position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 10px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7.5h.01'/%3E%3C/svg%3E") center / 20px no-repeat; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote.is-warn { background: var(--coral-50); border-color: #f8d2ca; }
.prose blockquote.is-warn::before { background-color: var(--coral); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 16.5h.01'/%3E%3C/svg%3E"); }
.prose blockquote.is-example { background: var(--amber-50); border-color: #ffe2a6; }
.prose blockquote.is-example::before { background-color: var(--amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1640' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 00-3.5 10.9V16h7v-2.1A6 6 0 0012 3z'/%3E%3C/svg%3E"); }
.table-wrap { overflow-x: auto; margin: 1.8em 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; }
.prose th { background: var(--brand-50); color: var(--ink); text-align: left; font: 700 .86rem/1.35 var(--display); padding: 14px 16px; border-bottom: 1px solid var(--brand-100); }
.prose td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tr:first-child td { border-top: 0; }
.prose td:first-child { font-weight: 600; color: var(--ink); }

.takeaways { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; margin: 0 0 40px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.takeaways::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--brand), var(--amber)); }
.takeaways p.takeaways__title { display: flex; align-items: center; gap: 10px; font: 750 1.06rem/1.2 var(--display); color: var(--ink); margin: 0 0 14px; }
.takeaways__title span { width: 30px; height: 30px; border-radius: 10px; background: var(--amber); color: var(--ink); display: grid; place-items: center; }
.takeaways__title svg { width: 17px; height: 17px; }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.takeaways li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin: 0; padding: 0; font-size: .98rem; line-height: 1.55; }
.takeaways li svg { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--mint-50); color: var(--mint); margin-top: 1px; }

.faq { margin-top: 64px; }
.faq h2 { margin-top: 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-1); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 60px 18px 22px; font: 650 1.02rem/1.4 var(--display); color: var(--ink); position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 10px; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f4cf0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); font-size: .98rem; }
.faq details > div p:last-child { margin: 0; }

.refs { margin-top: 44px; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line-2); font-size: .87rem; color: var(--muted); line-height: 1.6; }
.refs p { margin: 0 0 .5em; }
.refs p:last-child { margin: 0; }
.refs ul { margin: 0 0 .8em; padding-left: 1.1em; }

/* ---------------------------------------------------------------- Cartes */
.card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); color: var(--text); }
.card__media { position: relative; }
.card__media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card__media .pill { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .94); border-color: transparent; }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.06rem; line-height: 1.3; letter-spacing: -.015em; }
.card p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; flex: 1; }
.card__go { margin-top: 6px; font: 650 .88rem var(--display); color: var(--brand); display: inline-flex; align-items: center; gap: .35em; }
.card__go svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .card__go svg { transform: translateX(4px); }

.related { padding: 72px 0 84px; background: var(--surface); border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 30px; }

/* ---------------------------------------------------------------- Bandeau d'appel final */
.cta-band { padding: 0 0 96px; background: var(--surface); }
.related + .cta-band { padding-top: 0; }
.cta-card { position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); color: #c7cfee; padding: 56px 60px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-card::before { content: ''; position: absolute; right: 8%; top: -60px; width: 240px; height: 320px; border-radius: var(--arch); background: var(--brand); opacity: .9; }
.cta-card::after { content: ''; position: absolute; right: calc(8% + 93px); top: 60px; width: 54px; height: 54px; border-radius: 50%; background: var(--amber); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; margin: 0 0 12px; }
.cta-card p { margin: 0; font-size: 1.05rem; max-width: 38em; }
.cta-card__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; background: rgba(11, 22, 64, .55); backdrop-filter: blur(6px); padding: 22px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12); }
.cta-card__actions small { text-align: center; color: #aeb8df; font-size: .82rem; }

/* ---------------------------------------------------------------- Rubrique */
.hub-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hub-cards { padding: 64px 0 20px; }
.hub-cards .sec-head { margin-bottom: 30px; }
.hub-body { padding: 40px 0 90px; }
.hub-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }

/* ---------------------------------------------------------------- Simulateurs */
.tool { margin: 2.4em 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.section--ink .tool { margin: 0; border-color: transparent; }
.tool__head { padding: 22px 26px; display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--brand-50), var(--surface)); }
.tool__head > span { width: 48px; height: 48px; border-radius: 15px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.tool__head svg { width: 24px; height: 24px; }
.tool__head h2 { font-size: 1.2rem; margin: 0; letter-spacing: -.02em; color: var(--ink); }
.tool__head p { margin: 2px 0 0; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.tool form { padding: 24px 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.tool .field { display: flex; flex-direction: column; gap: 7px; }
.tool .field--full { grid-column: 1 / -1; }
.tool label, .tool .label { font: 650 .86rem/1.3 var(--display); color: var(--ink); }
.tool .hint { font-size: .78rem; color: var(--soft); line-height: 1.4; }
.tool .input { position: relative; }
.tool .input input { width: 100%; height: 50px; padding: 0 44px 0 14px; border: 1.5px solid var(--line-2); border-radius: 13px; background: var(--surface); color: var(--ink); font: 600 1rem var(--display); }
.tool .input input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.tool .input i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font: 650 .86rem var(--display); color: var(--soft); }
.tool .seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.tool .seg label { position: relative; }
.tool .seg input { position: absolute; opacity: 0; }
.tool .seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2); font: 620 .9rem var(--display); color: var(--ink); cursor: pointer; transition: .15s; }
.tool .seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool .seg input:focus-visible + span { box-shadow: 0 0 0 4px var(--brand-100); }
.tool__out { background: var(--bg); border-top: 1px solid var(--line); padding: 22px 26px 24px; }
.tool__res { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.tool__res div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.tool__res span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.tool__res strong { display: block; font: 800 1.4rem/1.2 var(--display); color: var(--ink); margin-top: 6px; letter-spacing: -.02em; }
.tool__res .is-main { background: var(--ink); border-color: var(--ink); grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tool__res .is-main strong { font-size: 1.9rem; margin: 0; }
.tool__res .is-main span { color: #aeb8df; }
.tool__res .is-main strong { color: var(--amber); }
.tool__note { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.55; }
.tool__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }

/* ---------------------------------------------------------------- Devis */
.devis-hero { background: var(--ink); color: #c7cfee; padding: 0 0 130px; position: relative; overflow: hidden; }
.devis-hero::before { content: ''; position: absolute; right: -60px; top: -40px; width: 380px; height: 460px; border-radius: var(--arch); border: 46px solid rgba(47, 76, 240, .4); }
.devis-hero .crumbs, .devis-hero .crumbs a { color: #9aa6d6; }
.devis-hero .crumbs [aria-current] { color: #fff; }
.devis-hero .wrap { position: relative; padding-top: 26px; }
.devis-hero h1 { color: #fff; max-width: 17em; margin-top: 18px; }
.devis-hero .lead { color: #b9c3e8; }
.stepper { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 30px 0 0; padding: 0; }
.stepper li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #e3e8ff; font: 600 .9rem var(--display); }
.stepper b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .86rem; }
.stepper li:first-child b { background: var(--amber); color: var(--ink); }
.devis-main { margin-top: -96px; position: relative; padding-bottom: 56px; }
.devis-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.devis-frame { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-3); overflow: hidden; border: 1px solid var(--line); }
.devis-frame__bar { margin: 0; padding: 16px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.devis-frame__bar strong { display: inline-flex; align-items: center; gap: 10px; font: 700 .95rem var(--display); }
.devis-frame__bar strong svg { width: 20px; height: 20px; color: var(--mint); }
.devis-frame__body { padding: 12px; min-height: 620px; }
.devis-frame iframe { display: block; border: 0; width: 100%; }
.devis-brief { margin: 0 0 18px; padding: 14px 18px; border-radius: var(--r); background: var(--amber-50); border: 1px solid #ffe2a6; font-size: .93rem; color: var(--ink); display: flex; gap: 12px; align-items: flex-start; }
.devis-brief svg { width: 22px; height: 22px; color: var(--amber-600); flex: none; margin-top: 2px; }
.devis-brief[hidden] { display: none; }
.devis-note { font-size: .84rem; color: var(--muted); margin: 14px 6px 0; }
.devis-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.reassure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.reassure p.reassure__title { font: 750 1.04rem/1.2 var(--display); color: var(--ink); margin: 0 0 14px; }
.reassure ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reassure li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: .9rem; line-height: 1.45; }
.reassure li > span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-50); color: var(--mint); }
.reassure li > span svg { width: 17px; height: 17px; }
.reassure--prep li > span { background: var(--brand-50); color: var(--brand); }
.devis-content { margin-top: 64px; max-width: 800px; }

/* ---------------------------------------------------------------- Pages simples */
.page-body { padding: 48px 0 90px; }
.page-body .prose { max-width: 820px; }
.editeur-identite { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; font-size: .95rem; }
.editeur-identite dt { font-weight: 650; color: var(--ink); }
.editeur-identite dd { margin: 0; }
.glossary__letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 30px; padding: 0; list-style: none; position: sticky; top: calc(var(--header-h) + 8px); background: var(--bg); padding: 8px 0; z-index: 2; }
.glossary__letters a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font: 700 .92rem var(--display); color: var(--ink); }
.glossary__letters a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.glossary { display: grid; gap: 12px; margin: 0; }
.glossary div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; }
.glossary dt { font: 750 1.08rem/1.3 var(--display); color: var(--ink); margin: 0 0 6px; }
.glossary dd { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.65; }
.sitemap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sitemap-list section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.sitemap-list h2 { font-size: 1.15rem; margin: 0 0 .6em; }
.sitemap-list h2 a { color: var(--ink); text-decoration: none; }
.sitemap-list ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.sitemap-list li { margin: .3em 0; }

/* ---------------------------------------------------------------- Pied de page */
.site-footer { background: var(--ink); color: #aeb8df; font-size: .92rem; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: -90px; bottom: -200px; width: 380px; height: 440px; border-radius: var(--arch); border: 40px solid rgba(47, 76, 240, .16); }
.site-footer .wrap { position: relative; }
.site-footer a { color: #dfe5ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding: 72px 0 44px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__name b { color: var(--brand-300); }
.footer-brand .brand__small { color: #8f9acb; }
.footer-brand p { margin: 18px 0 20px; line-height: 1.65; max-width: 26em; }
.site-footer h2 { font: 700 .76rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-disclaimer { font-size: .8rem; color: #8f9acb; line-height: 1.65; margin: 0; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 18px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------------------------------------------------------------- Barre d'action mobile */
.mobile-cta { display: none; }

/* ---------------------------------------------------------------- 404 */
.notfound { padding: 110px 0 130px; text-align: center; }
.notfound .lead { margin-left: auto; margin-right: auto; }
.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
  .nav__link { padding: 0 .6em; font-size: .9rem; }
  .nav__actions .btn--ghost { display: none; }
  .mega__in { grid-template-columns: 260px 1fr; }
  .mega__promo { display: none; }
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .silos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .utility nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav { position: fixed; inset: 0; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 18px 20px 110px; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; z-index: 150; height: 100dvh; margin: 0; }
  .nav.is-open { transform: none; }
  .nav-close { display: inline-flex; align-self: flex-end; margin-bottom: 8px; }
  .nav__list { flex-direction: column; height: auto; gap: 0; }
  .nav__item { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; height: 60px; justify-content: space-between; font-size: 1.08rem; padding: 0 6px; border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: none; }
  .mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__item.is-open .mega { display: block; }
  .mega__in { grid-template-columns: 1fr; padding: 0 0 18px; gap: 10px; }
  .mega__intro { border: 0; padding: 0 6px; }
  .mega__icon, .mega__intro p:not(.mega__title) { display: none; }
  .mega__intro p.mega__title { display: none; }
  .mega__intro .btn { min-height: 44px; }
  .mega__links { grid-template-columns: 1fr; }
  .nav__actions { flex-direction: column; margin: 22px 0 0; }
  .nav__actions .btn--ghost { display: inline-flex; }
  .home-hero .wrap, .split, .page-hero__grid, .sim-band .wrap, .hub-body__grid, .cta-card { grid-template-columns: minmax(0, 1fr); }
  .home-hero .wrap { gap: 40px; padding-top: 40px; padding-bottom: 56px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .page-hero__img { max-width: 420px; }
  .trustbar ul { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4, .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .art-layout, .devis-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .art-side, .devis-side { position: static; }
  .toc { display: none; }
  .cta-card { padding: 40px 30px; }
  .cta-card::before, .cta-card::after { opacity: .25; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(11, 22, 64, .94); backdrop-filter: blur(10px); box-shadow: var(--shadow-3); transform: translateY(140%); transition: transform .3s ease; }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { flex: 1; min-height: 48px; }
  .site-footer { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .utility { display: none; }
  .brand svg { width: 38px; height: 38px; }
  .brand__name { font-size: 1.12rem; }
  .brand__small { font-size: .6rem; }
  .section { padding: 64px 0; }
  .quote__row { grid-template-columns: 1fr; }
  .quote__row .btn { width: 100%; }
  .float-card--cover { position: relative; left: auto; bottom: auto; width: auto; margin-top: -40px; margin-left: 10px; margin-right: 10px; }
  .float-card--sim { top: 0; right: 6px; padding: 10px 12px; }
  .hero-visual { padding: 0 0 10px; }
  .hero-visual__shape { width: 86%; }
  .hero-visual__img { width: 88%; margin-right: 6%; }
  .trustbar ul, .grid--2, .grid--3, .grid--4, .timeline, .silos, .sitemap-list { grid-template-columns: 1fr; }
  .silo { grid-template-columns: 90px 1fr; }
  .silo img { width: 90px; height: 110px; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .tool form { grid-template-columns: 1fr; padding: 20px; }
  .tool__head, .tool__out { padding-left: 20px; padding-right: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .prose blockquote { padding: 64px 18px 18px; }
  .editeur-identite { grid-template-columns: 1fr; }
  .cta-card { border-radius: 24px; padding: 32px 22px; }
  .page-hero::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .utility, .site-header, .art-side, .cta-band, .related, .site-footer, .mobile-cta, .progress { display: none !important; }
}
