/* ==========================================================================
   Aura Étanchéité — design system
   Clair, net, une seule couleur de marque (bleu « aura » → cyan) et un
   accent orange réservé à l'urgence. Aucune police externe : pile système.
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-2: #1c2a3d;
  --muted: #56667a;
  --muted-2: #7d8da1;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --bg-tint: #eaf1ff;
  --line: #e2e8f1;
  --line-2: #cfd9e6;
  --brand: #1d5bff;
  --brand-ink: #1546cc;
  --brand-2: #12c2e9;
  --accent: #ff6a2b;
  --ok: #10a37f;
  --night: #07101d;
  --night-2: #0d1b2e;
  --grad: linear-gradient(115deg, #1d5bff 0%, #2f7dff 45%, #12c2e9 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 1px rgba(11, 18, 32, .04);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, .18), 0 2px 6px rgba(11, 18, 32, .05);
  --shadow-lg: 0 30px 60px -20px rgba(16, 40, 90, .28);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(29, 91, 255, .18); }
:focus-visible { outline: 3px solid rgba(29, 91, 255, .45); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); font-weight: 750; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.6rem); font-weight: 720; }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 680; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--night); color: #d9e3f2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: #aebdd2; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section--dark .eyebrow { color: #7fb2ff; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--muted); line-height: 1.6; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 91, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 32px -12px rgba(29, 91, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; background: var(--ink-2); }
.btn--light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--light:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.btn--urgent { background: var(--accent); color: #fff; }
.btn--urgent:hover { color: #fff; background: #f05a1a; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Bandeau du haut + en-tête ---------- */
.topbar { background: var(--night); color: #b9c7da; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar__zone { display: inline-flex; align-items: center; gap: 8px; }
.topbar__zone svg { width: 14px; height: 14px; color: #7fb2ff; }
.topbar__right { display: flex; gap: 18px; align-items: center; }
@media (max-width: 720px) { .topbar__hide-sm { display: none; } .topbar .container { justify-content: center; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 18, 32, .35); background: rgba(255, 255, 255, .92); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.04em; }
.logo__sub { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link, .nav__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 10px;
  color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__btn:hover, .nav__item:focus-within > .nav__btn { background: var(--bg-soft); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__btn svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 330px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu, .nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover .nav__btn svg, .nav__item.is-open .nav__btn svg { transform: rotate(180deg); }
.nav__menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.nav__menu a:hover { background: var(--bg-soft); color: var(--ink); }
.nav__menu .mi { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.nav__menu .mi svg { width: 18px; height: 18px; }
.nav__menu strong { display: block; font-size: .95rem; font-weight: 650; line-height: 1.3; }
.nav__menu span { display: block; font-size: .83rem; color: var(--muted); line-height: 1.35; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header__phone svg { width: 18px; height: 18px; color: var(--brand); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; place-items: center; margin-left: auto; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s ease, background-color .25s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) { .header__phone { display: none; } }
@media (max-width: 1020px) {
  .burger { display: grid; }
  .nav, .header__cta { display: none; }
}
.mobile-nav {
  position: fixed; inset: calc(var(--header-h) + 38px) 0 0; z-index: 49; background: #fff; overflow-y: auto;
  padding: 16px var(--gutter) 40px; display: none;
}
.header.is-scrolled ~ .mobile-nav, .mobile-nav.is-stuck { inset-block-start: var(--header-h); }
.nav-open .mobile-nav { display: block; }
.nav-open { overflow: hidden; }
.mobile-nav__group { border-bottom: 1px solid var(--line); padding-block: 14px; }
.mobile-nav__title { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.mobile-nav a { display: block; padding: 10px 0; font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.mobile-nav .btn { margin-top: 18px; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.hero__aura { position: absolute; inset: -20% -10% auto; height: 140%; z-index: -1; pointer-events: none; }
.hero__aura i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero__aura i:nth-child(1) { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: -8%; top: -12%; background: radial-gradient(circle, #1d5bff 0%, transparent 65%); }
.hero__aura i:nth-child(2) { width: 42vw; height: 42vw; max-width: 620px; max-height: 620px; right: -6%; top: 4%; background: radial-gradient(circle, #12c2e9 0%, transparent 62%); animation-duration: 22s; }
.hero__aura i:nth-child(3) { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; left: 38%; top: 40%; background: radial-gradient(circle, #6f4bff 0%, transparent 60%); opacity: .35; animation-duration: 26s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4%, 6%, 0) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero__aura i { animation: none; } }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; margin-bottom: 22px; font-size: clamp(2.1rem, 1.2rem + 3.1vw, 3.7rem); }
.hero h1 .grad-text { background: linear-gradient(100deg, #7fb2ff 0%, #5fe3ff 60%, #b6f3ff 100%); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #b6c4d8; max-width: 600px; margin-bottom: 30px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); font-size: .88rem; color: #d6e2f3;
}
.hero__badge b { background: var(--grad); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.hero__audience { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero__audience span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #dbe6f6; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.hero__audience svg { width: 16px; height: 16px; color: #5fe3ff; }
.hero--page .hero__inner { grid-template-columns: 1fr; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 88px); max-width: 900px; }
.hero--page.hero--split .hero__inner { grid-template-columns: 1.1fr .9fr; max-width: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; color: #8ea2bd; margin-bottom: 22px; list-style: none; padding: 0; }
.breadcrumb a { color: #b9c9de; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #4d607a; }
@media (max-width: 920px) { .hero__inner, .hero--page.hero--split .hero__inner { grid-template-columns: 1fr; } }

/* Visuel du hero : coupe de toiture-terrasse animée */
.roof-visual {
  position: relative; border-radius: var(--radius-lg); padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.roof-visual__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: .82rem; color: #9fb1c9; }
.roof-visual__head b { color: #fff; font-weight: 650; }
.roof-visual__dots { display: flex; gap: 6px; }
.roof-visual__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.roof-visual svg { width: 100%; }
.roof-visual .layer { transition: transform .35s ease, opacity .35s ease; }
.roof-visual:hover .layer { transform: translateY(var(--lift, 0)); }
.roof-visual .rain line { stroke-dasharray: 6 10; animation: rain 1.6s linear infinite; }
@keyframes rain { to { stroke-dashoffset: -32; } }
@media (prefers-reduced-motion: reduce) { .roof-visual .rain line { animation: none; } }
.roof-visual__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 14px; font-size: .8rem; color: #b5c4d8; }
.roof-visual__legend span { display: flex; align-items: center; gap: 8px; }
.roof-visual__legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.roof-visual__check {
  position: absolute; right: -16px; top: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: .86rem; font-weight: 650;
  animation: floaty 6s ease-in-out infinite;
}
.roof-visual__check .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #e6f8f2; color: var(--ok); }
.roof-visual__check .ic svg { width: 18px; height: 18px; }
.roof-visual__check small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .roof-visual__check { animation: none; } }
@media (max-width: 560px) { .roof-visual__check { right: 8px; top: -18px; } .roof-visual { padding: 16px; } }

/* ---------- Bande de réassurance ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.trust__list li { display: flex; gap: 14px; align-items: center; padding: 24px 20px; border-left: 1px solid var(--line); }
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust__list .ic svg { width: 22px; height: 22px; }
.trust__list strong { display: block; font-size: .98rem; line-height: 1.3; }
.trust__list span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; }
@media (max-width: 980px) { .trust__list { grid-template-columns: 1fr 1fr; } .trust__list li:nth-child(3) { border-left: 0; padding-left: 0; } .trust__list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .trust__list { grid-template-columns: 1fr; } .trust__list li { border-left: 0; padding-left: 0; padding-block: 16px; } .trust__list li + li { border-top: 1px solid var(--line); } }

/* ---------- Grilles & cartes ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); color: inherit; }
.card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; }
.card__icon--accent { background: #fff1e9; color: var(--accent); }
.card__icon--ok { background: #e6f8f2; color: var(--ok); }
.card__more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--brand); }
.card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
a.card:hover .card__more svg { transform: translateX(3px); }
.card--dark { background: var(--night-2); border-color: rgba(255, 255, 255, .08); color: #d9e3f2; }
.card--dark p { color: #9fb1c9; }
.card--dark h3 { color: #fff; }
.card--dark .card__icon { background: rgba(29, 91, 255, .18); color: #7fb2ff; }

/* Grille bento des prestations */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.bento > * { grid-column: span 2; }
.bento > .bento--wide { grid-column: span 3; }
.bento > .bento--xl { grid-column: span 4; }
.bento--feature { background: var(--night); border-color: transparent; color: #d9e3f2; overflow: hidden; }
.bento--feature h3 { color: #fff; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
.bento--feature p { color: #a9b9cf; }
.bento--feature .card__icon { background: rgba(255, 255, 255, .1); color: #5fe3ff; }
.bento--feature .card__more { color: #7fb2ff; }
.bento--feature::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(29, 91, 255, .55), transparent 65%); pointer-events: none; }
.bento .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
@media (max-width: 980px) { .bento > *, .bento > .bento--wide { grid-column: span 3; } .bento > .bento--xl { grid-column: span 6; } }
@media (max-width: 640px) { .bento > *, .bento > .bento--wide, .bento > .bento--xl { grid-column: span 6; } }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.bento--feature .pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #cfe0f5; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--bg-tint); color: var(--brand); }
.badge--urgent { background: #fff1e9; color: #d94d10; }

/* ---------- Onglets « pour qui » ---------- */
.audience { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.audience__tabs { display: flex; flex-direction: column; gap: 8px; }
.audience__tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 16px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: var(--ink-2); font-weight: 650; font-size: 1.02rem; transition: background-color .2s ease, border-color .2s ease;
}
.audience__tab .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); flex: none; transition: inherit; }
.audience__tab .ic svg { width: 20px; height: 20px; }
.audience__tab small { display: block; font-weight: 500; font-size: .83rem; color: var(--muted); }
.audience__tab:hover { background: var(--bg-soft); }
.audience__tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.audience__tab[aria-selected="true"] .ic { background: var(--grad); color: #fff; }
.audience__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.audience__panel[hidden] { display: none; }
.audience__panel h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.audience__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
@media (max-width: 900px) {
  .audience { grid-template-columns: 1fr; }
  .audience__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .audience__tab { width: auto; flex: none; padding: 10px 14px; }
  .audience__tab small { display: none; }
  .audience__tab .ic { width: 34px; height: 34px; }
  .audience__cols { grid-template-columns: 1fr; }
}
/* Sans JS : tous les panneaux visibles, onglets masqués */
html:not(.js) .audience__tabs { display: none; }
html:not(.js) .audience { grid-template-columns: 1fr; }
html:not(.js) .audience__panel[hidden] { display: block; margin-top: 16px; }

/* ---------- Listes ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .checklist li::before, .card--dark .checklist li::before, .bento--feature .checklist li::before { background-color: rgba(29, 91, 255, .25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fe3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist strong { color: var(--ink); }
.section--dark .checklist strong { color: #fff; }
.checklist--cross li::before { background: #fff1e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0561b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Étapes / méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps > li { position: relative; counter-increment: step; padding: 26px 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps > li::before {
  content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  font-weight: 800; font-size: .95rem; color: #fff; background: var(--grad); letter-spacing: .02em;
}
.steps > li h3 { font-size: 1.1rem; }
.steps > li p { color: var(--muted); margin: 0; font-size: .96rem; }
.section--dark .steps > li { background: var(--night-2); border-color: rgba(255, 255, 255, .08); }
.section--dark .steps > li p { color: #9fb1c9; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps--vertical { grid-template-columns: 1fr; gap: 14px; }

/* ---------- Typographie d'article ---------- */
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { margin-top: 2.1em; margin-bottom: .2em; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin-top: 1.7em; margin-bottom: .1em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; margin-block: 0; }
.prose ul:not([class]) li, .prose ol:not([class]) li { margin-top: .45em; }
.prose ul:not([class]) li::marker { color: var(--brand); }
.prose ol:not([class]) li::marker { color: var(--brand); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--ink); font-size: 1.1rem; }
.prose .checklist, .prose .grid-2, .prose .grid-3 { margin-top: 1.2em; }
.prose figure { margin-inline: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }
.callout { border-radius: var(--radius); padding: 20px 22px 20px 58px; position: relative; background: var(--bg-tint); border: 1px solid #d3e1ff; color: var(--ink-2); }
.callout::before { content: "i"; position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 .85rem/24px var(--font); text-align: center; }
.callout--warn { background: #fff5ee; border-color: #ffd9c4; }
.callout--warn::before { content: "!"; background: var(--accent); }
.callout--ok { background: #ebfaf4; border-color: #c4ecdc; }
.callout--ok::before { content: "✓"; background: var(--ok); }
.callout > :last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }
.callout p { margin: 0 0 .5em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--bg-soft); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 650; color: var(--ink); }

/* Mise en page article + sommaire */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-layout--toc-left { grid-template-columns: 260px minmax(0, 1fr); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; font-size: .92rem; }
.toc__title { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: var(--muted-2); font-size: .8rem; padding-top: 1px; }
.toc a:hover, .toc a.is-active { background: var(--bg-soft); color: var(--brand); }
.toc a.is-active::before { color: var(--brand); }
.aside-stack { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-cta { border-radius: var(--radius); padding: 24px; background: var(--night); color: #cfdbec; position: relative; overflow: hidden; }
.aside-cta::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 194, 233, .5), transparent 65%); }
.aside-cta h3 { color: #fff; font-size: 1.2rem; position: relative; }
.aside-cta p { color: #a9b9cf; font-size: .95rem; position: relative; }
.aside-cta .btn { position: relative; width: 100%; }
@media (max-width: 1020px) {
  .article-layout, .article-layout--toc-left { grid-template-columns: 1fr; }
  .aside-stack, .toc { position: static; }
  .aside-stack { order: -1; }
  .aside-stack .aside-cta { display: none; }
}
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #93a6c0; font-size: .9rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.faq[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 650; font-size: 1.04rem; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1220' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform .25s ease, background-color .25s ease;
}
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--bg-tint); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq__a > :last-child { margin-bottom: 0; }
.faq__a p { margin: 0 0 .7em; }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); background: var(--night); color: #cfdbec; isolation: isolate; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; filter: blur(50px); z-index: -1; }
.cta-band::before { width: 420px; height: 420px; left: -120px; top: -200px; background: rgba(29, 91, 255, .6); }
.cta-band::after { width: 380px; height: 380px; right: -100px; bottom: -220px; background: rgba(18, 194, 233, .45); }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #aebdd2; margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Diagnostic de fréquence (outil) ---------- */
.planner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.planner__form { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 22px; }
.planner__q legend, .planner__q > label { font-weight: 700; margin-bottom: 10px; display: block; font-size: .98rem; }
.planner__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.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: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; font-weight: 600; color: var(--ink-2); background: #fff; transition: all .15s ease; cursor: pointer; }
.chip input:hover + span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(29, 91, 255, .45); outline-offset: 2px; }
.planner__result { background: var(--night); color: #cfdbec; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.planner__result::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(29, 91, 255, .55), transparent 65%); }
.planner__big { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 4.6rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.04em; position: relative; }
.planner__big small { font-size: 1.1rem; font-weight: 600; color: #8fa5c2; letter-spacing: 0; margin-left: 6px; }
.planner__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fb2ff; margin-bottom: 10px; position: relative; }
.planner__list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; position: relative; font-size: .95rem; }
.planner__list li { display: flex; gap: 10px; align-items: flex-start; }
.planner__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5fe3ff; margin-top: .55em; flex: none; }
.planner__result .btn { margin-top: auto; position: relative; }
.planner__note { font-size: .8rem; color: #7f93ae; margin-top: 14px; position: relative; }
@media (max-width: 900px) { .planner { grid-template-columns: 1fr; } }

/* ---------- Formulaire de demande ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 1020px) { .form-shell { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-progress { display: flex; gap: 6px; padding: 22px clamp(20px, 3vw, 36px) 0; }
.form-progress i { flex: 1; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; position: relative; }
.form-progress i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.form-progress i.is-done::after { transform: scaleX(1); }
.form-step { padding: clamp(22px, 3vw, 36px); border: 0; margin: 0; min-width: 0; }
.form-step__count { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.form-step h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); margin-bottom: 6px; }
.form-step > p { color: var(--muted); }
html.js .form-step:not(.is-active) { display: none; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 18px 6px; }
.choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .choice-grid, .choice-grid--3 { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; height: 100%; }
.choice__box .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; flex: none; transition: inherit; }
.choice__box .ic svg { width: 20px; height: 20px; }
.choice__box strong { display: block; font-size: .98rem; line-height: 1.3; }
.choice__box small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.choice input:hover + .choice__box { border-color: var(--muted-2); }
.choice input:checked + .choice__box { border-color: var(--brand); background: #f7faff; box-shadow: 0 0 0 4px rgba(29, 91, 255, .12); }
.choice input:checked + .choice__box .ic { background: var(--grad); color: #fff; }
.choice input:focus-visible + .choice__box { outline: 3px solid rgba(29, 91, 255, .45); outline-offset: 2px; }
.choice--urgent input:checked + .choice__box { border-color: var(--accent); background: #fffaf7; box-shadow: 0 0 0 4px rgba(255, 106, 43, .14); }
.choice--urgent input:checked + .choice__box .ic { background: var(--accent); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 7px; }
.field label .opt { font-weight: 500; color: var(--muted-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(29, 91, 255, .12); }
.field .hint { font-size: .82rem; color: var(--muted-2); margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e0422b; }
.field .err { display: none; font-size: .84rem; color: #c7321c; margin-top: 6px; font-weight: 600; }
.field.has-error .err { display: block; }
.choice-error { display: none; color: #c7321c; font-weight: 600; font-size: .9rem; margin-top: 8px; }
.form-step.has-choice-error .choice-error { display: block; }
.dropzone { position: relative; border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 22px; text-align: center; background: var(--bg-soft); transition: border-color .15s ease, background-color .15s ease; }
.dropzone.is-over { border-color: var(--brand); background: #f2f7ff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone svg { width: 28px; height: 28px; color: var(--brand); margin: 0 auto 8px; }
.dropzone strong { display: block; }
.dropzone span { color: var(--muted); font-size: .86rem; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs figure { position: relative; margin: 0; width: 78px; height: 78px; border-radius: 10px; overflow: hidden; background: var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(11, 18, 32, .75); color: #fff; cursor: pointer; font-size: 14px; line-height: 22px; padding: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-top: 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; padding: 0 clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px); }
html:not(.js) .form-nav [data-prev], html:not(.js) .form-nav [data-next] { display: none; }
html.js .form-nav [type="submit"]:not(.is-visible) { display: none; }
.form-alert { margin: 0 clamp(22px, 3vw, 36px) 20px; padding: 14px 16px; border-radius: 12px; background: #fdecea; color: #a12a17; font-weight: 600; font-size: .95rem; display: none; }
.form-alert.is-visible { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success { padding: clamp(32px, 5vw, 56px); text-align: center; }
.form-success .ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 20px; background: #e6f8f2; color: var(--ok); }
.form-success .ic svg { width: 36px; height: 36px; }
.form-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1020px) { .form-aside { position: static; } }
.form-aside .card { padding: 22px; }
.form-aside h3 { font-size: 1.05rem; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: .93rem; color: var(--muted); }
.mini-steps li::before { content: counter(ms); width: 30px; height: 30px; border-radius: 9px; background: var(--bg-tint); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.mini-steps strong { display: block; color: var(--ink); }

/* ---------- Zone / villes ---------- */
.zone-map { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 920px) { .zone-map { grid-template-columns: 1fr; } }
.zone-map > svg { width: 100%; }
.zone-map .dept { fill: #e8eef8; stroke: #fff; stroke-width: 2; transition: fill .2s ease; }
.zone-map .dept:hover, .zone-map .dept.is-hot { fill: #c9dbff; }
.city-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 480px) { .city-list { grid-template-columns: 1fr; } }
.city-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 650; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.city-list a small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.city-list a svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.city-list a:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }

/* ---------- Guides ---------- */
.guide-card { display: flex; flex-direction: column; height: 100%; }
.guide-card .badge { align-self: flex-start; margin-bottom: 14px; }
.guide-card h3 { font-size: 1.18rem; }
.guide-card p { flex: 1; }
.guide-card .card__more { margin-top: 18px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--night); color: #9fb1c9; font-size: .94rem; padding-top: clamp(56px, 7vw, 88px); }
.footer a { color: #cfdbec; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .logo { color: #fff; }
.footer .logo:hover { color: #fff; }
.footer .logo__sub { color: #7f93ae; }
.footer__brand p { margin: 18px 0; max-width: 360px; }
.footer h3 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a, .footer__contact span { display: inline-flex; gap: 10px; align-items: center; }
.footer__contact svg { width: 16px; height: 16px; color: #7fb2ff; flex: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: .85rem; color: #7183a0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a { color: #9fb1c9; }

/* Barre d'action mobile */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; padding: 8px;
    border-radius: 18px; background: rgba(11, 18, 32, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .3s ease;
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 46px; padding: 10px 14px; font-size: .95rem; }
  body.has-mobile-bar .footer { padding-bottom: 80px; }
}

/* ---------- Apparition au défilement (désactivée sans JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Divers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); background: var(--bg-soft); border: 1px solid var(--line); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } }
.kpi { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.kpi span { color: var(--muted); font-size: .9rem; }
.report-mock { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 22px; font-size: .88rem; }
.report-mock__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.report-mock__head strong { font-size: 1rem; }
.report-mock__row { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.report-mock__row:last-of-type { border-bottom: 0; }
.report-mock__row i { width: 20px; height: 20px; border-radius: 6px; background: #e6f8f2; display: grid; place-items: center; color: var(--ok); }
.report-mock__row i svg { width: 12px; height: 12px; }
.report-mock__row i.warn { background: #fff1e9; color: var(--accent); }
.report-mock__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.report-mock__photos span { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, #dfe8f5, #c7d6ea); position: relative; overflow: hidden; }
.report-mock__photos span::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(75, 95, 125, .35)); }
.report-mock__photos span:nth-child(2) { background: linear-gradient(135deg, #d8e3f1, #b9cce3); }
.report-mock__photos span:nth-child(3) { background: linear-gradient(135deg, #e3eaf4, #ccd9ea); }
.report-mock__tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.notice { font-size: .82rem; color: var(--muted-2); }
.prose .lead { margin-bottom: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.err-page b { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; letter-spacing: -.06em; display: block; }
@media print { .header, .topbar, .footer, .mobile-bar, .cta-band, .aside-stack { display: none !important; } body { font-size: 12pt; } }
.form-step legend { display: block; padding: 0; margin-bottom: 6px; font-family: var(--font-display); font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); font-weight: 720; letter-spacing: -.022em; line-height: 1.15; color: var(--ink); }
.form-step legend .form-step__count { display: block; font-family: var(--font); font-size: .78rem; letter-spacing: .12em; margin-bottom: 8px; }
.form-step legend + p { color: var(--muted); }
.section--dark .report-mock, .section--dark .report-mock strong { color: var(--ink); }
.section--dark .report-mock .muted { color: var(--muted); }
.topbar__show-sm { display: none; }
@media (max-width: 720px) { .topbar__show-sm { display: inline; } .topbar__zone .topbar__hide-sm { display: none; } }
.form-progress + form .form-step:first-of-type, .form-progress { padding-bottom: 2px; }
.form-step { padding-top: clamp(26px, 3.4vw, 40px); }
h2 > svg, h3 > svg, h4 > svg, p > svg, li > svg { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; }
.form-aside h3 > svg { color: var(--accent); }
/* L'encadré a déjà son pictogramme : une icône posée directement dedans est masquée. */
.callout > svg { display: none; }
@media (max-width: 1020px) { .article-layout, .article-layout--toc-left, .form-shell { grid-template-columns: minmax(0, 1fr); } }
.prose, .prose > * { min-width: 0; }
