/* SOS Canalisation – feuille de style principale */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #071a3d;
  --navy-2: #0b2a5b;
  --navy-3: #12397a;
  --blue: #1b75bc;
  --blue-dark: #145a94;
  --blue-soft: #e8f2fb;
  --orange: #d9480f;
  --orange-hover: #bf3f0c;
  --orange-soft: #fff1e8;
  --green: #138a4b;
  --ink: #0f1f3a;
  --text: #34425a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(7, 26, 61, .08), 0 1px 2px rgba(7, 26, 61, .06);
  --shadow: 0 10px 30px -10px rgba(7, 26, 61, .25);
  --shadow-lg: 0 25px 50px -12px rgba(7, 26, 61, .35);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: .75rem 1rem; z-index: 1000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.icon.star { fill: #d5dce8; stroke: none; width: 1.1rem; height: 1.1rem; }
.icon.star.on { fill: #f5a623; }
.icon-flip { transform: scaleX(-1); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem; border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-call { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -6px rgba(217, 72, 15, .55); }
.btn-call:hover { background: var(--orange-hover); color: #fff; box-shadow: 0 12px 26px -6px rgba(217, 72, 15, .65); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--orange); }
.btn-call .icon { animation: ring 3.2s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); } 96% { transform: rotate(0); } }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue-dark); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */
.topbar { background: #04122b; color: #cbd8ee; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { color: #ffb48a; }
.topbar strong { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); transition: box-shadow .3s, background-color .3s; }
.site-header.is-stuck { box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); background: rgba(7, 26, 61, .96); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-list a, .nav-sub-toggle {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 8px; border: 0; background: none;
  color: #e6eefb; font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
}
.nav-list a:hover, .nav-sub-toggle:hover, .nav-list a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.has-sub { position: relative; }
.icon-chev { transition: transform .25s var(--ease); }
.nav-sub-toggle[aria-expanded="true"] .icon-chev { transform: rotate(180deg); }
.nav-sub {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 280px; list-style: none; padding: .5rem; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-sub a { display: block; width: 100%; color: var(--ink); padding: .6rem .8rem; }
.nav-sub a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub, .nav-sub-toggle[aria-expanded="true"] + .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-cta { white-space: nowrap; min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger .icon { width: 1.5rem; height: 1.5rem; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #1d4f9f 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%); overflow: hidden; isolation: isolate; }
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(5rem, 9vw, 8rem); }
.page-hero { padding: 1.25rem 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero--simple { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.hero h1, .page-hero h1 { color: #fff; }
.text-accent { color: #ff9a5c; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wave { position: absolute; left: 0; width: 200%; bottom: -1px; height: 90px; fill: rgba(255, 255, 255, .07); animation: drift 18s linear infinite; }
.wave-front { fill: var(--bg); height: 56px; animation-duration: 26s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }
.bubble { position: absolute; bottom: -60px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06) 60%); border: 1px solid rgba(255, 255, 255, .2); animation: rise 14s ease-in infinite; }
.b1 { left: 8%; width: 46px; height: 46px; animation-duration: 13s; }
.b2 { left: 22%; width: 22px; height: 22px; animation-duration: 10s; animation-delay: 2s; }
.b3 { left: 48%; width: 64px; height: 64px; animation-duration: 17s; animation-delay: 1s; }
.b4 { left: 70%; width: 28px; height: 28px; animation-duration: 11s; animation-delay: 4s; }
.b5 { left: 90%; width: 40px; height: 40px; animation-duration: 15s; animation-delay: 3s; }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-300px) translateX(18px); } 100% { transform: translateY(-640px) translateX(-14px); opacity: 0; } }

.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d6e3f7; max-width: 60ch; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0; }
.hero-actions--center { justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.eyebrow-light { color: #9fc4ee; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.trust-list { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; margin-top: 1.4rem; font-size: .92rem; color: #cfe0f7; }
.trust-list li { display: inline-flex; align-items: center; gap: .45rem; }
.trust-list .icon { color: #7fd1ff; }

.hero-card { background: #fff; color: var(--text); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.45rem; margin-bottom: .3rem; }
.hero-card > p { color: var(--muted); font-size: .95rem; }

.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; margin-top: 1rem; }
.page-hero-grid--form { grid-template-columns: 1.1fr .9fr; }
.page-hero-media img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transform: rotate(1.5deg); border: 6px solid rgba(255, 255, 255, .12); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; font-size: .85rem; color: #a9c1e4; margin-bottom: 1.2rem; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: .5rem; opacity: .6; }
.breadcrumb a { color: #cfe0f7; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -3.2rem; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--blue); line-height: 1.1; letter-spacing: -.03em; }
.stat-label { font-size: .88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #cfe0f7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-head p:last-child { color: #b8cce8; }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, border-color .3s; }
.card:hover { box-shadow: var(--shadow); border-color: #cddcef; }
.card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 4; background: var(--blue-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.price-badge { position: absolute; left: 1rem; bottom: 1rem; background: var(--orange); color: #fff; font-weight: 800; font-size: .9rem; padding: .35rem .8rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; position: relative; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--blue); }
.card-body .link-arrow { margin-top: auto; }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 1rem; }
.card-icon .icon { width: 1.6rem; height: 1.6rem; }
.card-body .card-icon { margin-top: -2.9rem; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--line); }

.check-list { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .icon { color: var(--green); margin-top: .25em; stroke-width: 3; }
.check-list--small { font-size: .92rem; gap: .35rem; }
.check-list--cols { grid-template-columns: repeat(2, 1fr); }

.tile { display: flex; flex-direction: column; gap: .4rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); color: var(--text); }
.tile h3, .tile h2 { margin: 0; font-size: 1.15rem; }
.tile h2 small { color: var(--muted); font-weight: 600; }
.tile p { margin: 0 0 .6rem; font-size: .95rem; color: var(--muted); }
.tile .link-arrow { margin-top: auto; }
.tile-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); margin-bottom: .6rem; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.tile:hover .tile-icon { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.08); }
.tile-icon .icon { width: 1.6rem; height: 1.6rem; }

/* ---------- Diagnostic ---------- */
.diag { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #cfe0f7; position: relative; overflow: hidden; }
.diag::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(27, 117, 188, .45), transparent 70%); }
.diag h2 { color: #fff; }
.diag-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.diag-card { background: #fff; color: var(--text); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); min-height: 280px; }
.diag-step h3 { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.step-no { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: .95rem; }
.diag-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.diag-options--col { grid-template-columns: 1fr; }
.diag-opt { display: flex; align-items: center; gap: .75rem; padding: .95rem 1.1rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: inherit; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.diag-opt:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-2px); }
.diag-opt .icon { color: var(--blue); width: 1.5rem; height: 1.5rem; }
.diag-back { margin-top: 1rem; background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.diag-result { animation: pop .5s var(--ease); }
.diag-result h3 { font-size: 1.35rem; }
.diag-result .price { font-size: 2.2rem; font-weight: 800; color: var(--orange); margin: .2rem 0 .8rem; letter-spacing: -.03em; }
.diag-result .price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.diag-result .hero-actions { margin: 1.2rem 0 .4rem; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Split / étapes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; }
.floating-note { position: absolute; right: -1rem; bottom: -1.5rem; background: var(--orange); color: #fff; padding: 1rem 1.4rem; border-radius: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.2; animation: float 5s ease-in-out infinite; }
.split-more { margin-top: 1.2rem; }

/* ---------- Galerie photos ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-item figcaption { padding: .9rem 1.1rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.floating-note strong { font-size: 1.8rem; }

.floating-note span { font-size: .85rem; opacity: .95; }
@keyframes float { 50% { transform: translateY(-8px); } }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.step { position: relative; padding: 1.8rem 1.4rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.step .step-no { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 1rem; box-shadow: 0 0 0 6px rgba(217, 72, 15, .25); }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; font-size: .95rem; color: #b8cce8; }

/* ---------- Tarifs ---------- */
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.is-featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.price-card h3 a, .price-card h2 a { color: inherit; text-decoration: none; }
.price-card > p { color: var(--muted); }
.price-card .btn, .price-card .link-arrow { margin-top: auto; }
.ribbon { position: absolute; top: -14px; right: 1.2rem; background: var(--orange); color: #fff; font-size: .78rem; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.price { font-size: 2.8rem; font-weight: 800; color: var(--ink); margin: 0 0 .5rem; letter-spacing: -.04em; line-height: 1.1; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.chip .icon { color: var(--blue); transition: color .2s; }
.chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.chip:hover .icon { color: #fff; }

/* ---------- Avis ---------- */
.slider-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .25rem 1.5rem; scroll-behavior: smooth; }
.slider-track::-webkit-scrollbar { display: none; }
.review-card { margin: 0; flex: 0 0 min(380px, 86%); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; position: relative; }
.review-card::before { content: "“"; position: absolute; right: 1.2rem; top: .2rem; font-size: 5rem; line-height: 1; color: var(--blue-soft); font-family: Georgia, serif; }
.review-card blockquote { margin: 0; flex: 1; position: relative; }
.review-card blockquote p { margin: 0; color: var(--ink); }
.review-card figcaption { display: flex; align-items: center; gap: .8rem; }
.review-card small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy-3)); color: #fff; font-weight: 800; }
.stars { display: inline-flex; gap: 2px; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.slider-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.slider-btn:hover { background: var(--blue); color: #fff; }
.slider-dots { display: flex; gap: .5rem; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #c5d3e6; cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.slider-dot.is-active { width: 28px; border-radius: 6px; background: var(--blue); }
.review-list { display: grid; gap: 1.5rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; }
.faq-group-title { margin: 2.5rem 0 1rem; font-size: 1.4rem; }
.faq-group-title:first-child { margin-top: 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--blue); transition: transform .3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { margin: 0; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-dark), var(--navy-2) 70%); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -80px; top: -140px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; color: #cfe0f7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Contenu éditorial / service ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; display: grid; gap: .5rem; }
.prose ul.check-list { padding-left: 0; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose strong { color: var(--ink); }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow); }
.side-price { margin: 0 0 1rem; display: flex; flex-direction: column; line-height: 1.1; }
.side-price small { color: var(--muted); font-weight: 600; font-size: .9rem; }
.side-price strong { font-size: 2.6rem; color: var(--orange); letter-spacing: -.04em; }
.side-or { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; margin: 1.2rem 0; }
.side-or::before, .side-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Formulaires ---------- */
.lead-form { display: grid; gap: .9rem; }
.lead-form:not(.lead-form--compact) { grid-template-columns: 1fr 1fr; }
.lead-form .field-wide, .lead-form .form-status, .lead-form button, .lead-form .form-note { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .3rem; }
.field abbr { color: var(--orange); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid #cbd5e1; border-radius: var(--radius-sm); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27, 117, 188, .18); }
.field [aria-invalid="true"] { border-color: #c62828; }
.field-error { display: block; color: #c62828; font-size: .85rem; margin-top: .25rem; }
.form-status { padding: 0; font-size: .95rem; border-radius: var(--radius-sm); }
.form-status:empty { display: none; }
.form-status.is-ok { padding: .8rem 1rem; background: #e6f6ed; color: #0b5d31; border: 1px solid #a7dcbc; }
.form-status.is-error { padding: .8rem 1rem; background: #fdecea; color: #8a1c14; border: 1px solid #f3b5ae; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 1.4rem; margin: 1.5rem 0; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .card-icon { margin: 0; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.zone-search { position: relative; max-width: 520px; margin: 0 auto 2.5rem; }
.zone-search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.zone-search input { width: 100%; min-height: 54px; padding: .8rem 1rem .8rem 3rem; border: 1.5px solid #cbd5e1; border-radius: 999px; font: inherit; }
.zone-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27, 117, 188, .18); }
.big-check { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #e6f6ed; color: var(--green); margin-bottom: 1rem; }
.big-check .icon { width: 2.6rem; height: 2.6rem; stroke-width: 3; }

/* ---------- Footer ---------- */
.site-footer { background: #04122b; color: #a9bdd9; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.5fr .9fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.footer-brand img { margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; }
.site-footer address { font-style: normal; line-height: 2; }
.site-footer a { color: #cfe0f7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; display: grid; gap: .45rem; }
.footer-cols { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.2rem 0; font-size: .85rem; text-align: center; }

.mobile-bar { display: none; }

/* ---------- Animations d'apparition (JS requis) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner, .page-hero-grid, .page-hero-grid--form, .diag-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 460px; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .topbar p { display: none; }
  .topbar-inner { justify-content: center; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.2rem 1.25rem 6rem;
    background: var(--navy); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-list a, .nav-sub-toggle { width: 100%; justify-content: space-between; padding: .9rem .8rem; font-size: 1.05rem; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .06); display: none; margin: .2rem 0 .5rem; }
  .nav-sub a { color: #e6eefb; }
  .nav-sub a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .nav-sub-toggle[aria-expanded="true"] + .nav-sub { display: block; }
  .grid-3, .gallery { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-inner { flex-direction: column; align-items: flex-start; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(7, 26, 61, .96); backdrop-filter: blur(8px); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
  .mobile-bar .btn { min-height: 46px; padding: .6rem; font-size: .95rem; }
  body { padding-bottom: 70px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .gallery, .steps, .footer-grid { grid-template-columns: 1fr; }
  .lead-form:not(.lead-form--compact) { grid-template-columns: 1fr; }
  .diag-options { grid-template-columns: 1fr; }
  .check-list--cols { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .floating-note { right: .5rem; }
  .brand img { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .mobile-bar, .hero-bg, .cta-band { display: none; }
}
