/* ==========================================================================
   ELEC-CLIM27 · Thomas Merlin
   Feuille de style unique du site (pas de framework)
   ========================================================================== */

/* ---------- Jetons de design ---------- */
:root {
  --navy-950: #06111d;
  --navy-900: #0a1a2f;
  --navy-800: #0f2f4a;
  --navy-700: #162d41;
  --blue-700: #1f5e9d;
  --blue-600: #1c77b3;
  --blue-500: #208ac2;
  --blue-400: #3fa7f2;
  --blue-300: #7fcbff;
  --blue-200: #bfe3fb;
  --ice-100: #e6f2fb;
  --ice-50: #f3f8fc;
  --spark: #ffd34d;

  --ink: #0f2233;
  --text: #2c4257;
  --muted: #5b7187;
  --line: #d9e5ef;
  --white: #ffffff;

  --font-display: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 30px;
  --shadow-s: 0 2px 6px rgba(10, 26, 47, .06), 0 1px 2px rgba(10, 26, 47, .05);
  --shadow: 0 18px 40px -18px rgba(10, 26, 47, .28), 0 4px 12px rgba(10, 26, 47, .06);
  --shadow-l: 0 40px 80px -30px rgba(6, 17, 29, .55);
  --glow: 0 0 0 1px rgba(63, 167, 242, .35), 0 20px 60px -10px rgba(63, 167, 242, .45);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
main, .site-footer { overflow-x: hidden; }
@supports (overflow: clip) { main, .site-footer { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 700; }
::selection { background: var(--blue-400); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; cursor: pointer; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-400), var(--blue-500)); }
.eyebrow--light { color: var(--blue-300); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.text-grad { background: linear-gradient(100deg, var(--blue-400) 0%, var(--blue-300) 45%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-grad--dark { background: linear-gradient(100deg, var(--blue-700), var(--blue-500) 60%, var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.section-head p { color: var(--muted); font-size: 1.125rem; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--blue-500); --fg: #fff; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em; line-height: 1.1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--primary { background: linear-gradient(135deg, var(--blue-400), var(--blue-500) 55%, var(--blue-700)); box-shadow: 0 10px 30px -10px rgba(32, 138, 194, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .35) 45%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(32, 138, 194, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .14); --bd: rgba(255, 255, 255, .5); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--outline:hover { --bd: var(--blue-500); --fg: var(--blue-700); }
.btn--white { --bg: #fff; --fg: var(--navy-900); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); }
.btn--white:hover { --fg: var(--blue-700); }
.btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: .94rem; }
.btn--lg { min-height: 58px; padding: .9em 1.8em; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-display); font-weight: 600; color: var(--blue-600); text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h);
  color: #fff; transition: background-color .35s, box-shadow .35s, color .35s, height .35s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 17, 29, .55), transparent); opacity: 1; transition: opacity .35s; pointer-events: none; }
.site-header.is-solid { background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 1px 0 rgba(10, 26, 47, .08), 0 10px 30px -18px rgba(10, 26, 47, .35); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); --header-h: 66px; }
.site-header.is-solid::before { opacity: 0; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: inherit; --logo-accent: var(--blue-400); flex: none; }
.brand svg { height: 46px; width: auto; aspect-ratio: 1225 / 640; transition: height .35s var(--ease); }
.is-solid .brand { --logo-accent: var(--blue-500); color: var(--navy-700); }
.is-solid .brand svg { height: 40px; }

.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a, .nav .nav-toggle {
  display: inline-flex; align-items: center; gap: .35em; padding: .55em .85em; border-radius: 999px;
  color: inherit; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  background: none; border: 0; transition: background-color .2s, color .2s; opacity: .92;
}
.nav a:hover, .nav .nav-toggle:hover, .nav [aria-current="page"] { background: rgba(255, 255, 255, .12); opacity: 1; }
.is-solid .nav a:hover, .is-solid .nav .nav-toggle:hover, .is-solid .nav [aria-current="page"] { background: var(--ice-100); color: var(--blue-700); }
.nav .icon { width: 1em; height: 1em; transition: transform .25s; }
.has-dropdown { position: relative; }
.dropdown {
  list-style: none; margin: 0;
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-l), 0 0 0 1px rgba(10, 26, 47, .06);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .nav-toggle .icon, .has-dropdown.is-open .nav-toggle .icon { transform: rotate(180deg); }
.nav .dropdown a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; opacity: 1; font-weight: 400; }
.nav .dropdown a:hover { background: var(--ice-50); color: var(--ink); }
.dropdown .dd-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ice-100); color: var(--blue-600); transition: background-color .2s, color .2s; }
.dropdown a:hover .dd-icon { background: var(--blue-500); color: #fff; }
.dropdown .dd-icon .icon { width: 22px; height: 22px; }
.dropdown strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.2; }
.dropdown small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; margin-top: 2px; font-family: var(--font-body); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: .5em; color: inherit; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: .5em .8em; border-radius: 999px; }
.header-phone .icon { width: 1.1em; height: 1.1em; color: var(--blue-400); }
.header-phone:hover { color: inherit; background: rgba(255, 255, 255, .1); }
.is-solid .header-phone:hover { background: var(--ice-100); }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid currentColor; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: inherit; place-items: center; }
.is-solid .burger { border-color: var(--line); background: #fff; }
.burger .icon { width: 24px; height: 24px; }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: radial-gradient(600px 400px at 90% 0%, rgba(63, 167, 242, .25), transparent 60%), var(--navy-900);
  color: #fff; padding: 18px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; overflow-y: auto;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-nav__top .brand svg { height: 42px; }
.mobile-nav .burger { display: grid; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav a { color: #fff; text-decoration: none; }
.mobile-nav > nav > ul > li > a { display: block; padding: 16px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.mobile-nav .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 0 16px; }
.mobile-nav .sub a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .98rem; font-weight: 500; }
.mobile-nav .sub .icon { color: var(--blue-300); }
.mobile-nav__label { display: block; padding: 16px 4px 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); font-family: var(--font-display); font-weight: 600; }
.mobile-nav__cta { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.mobile-nav__cta .btn { width: 100%; }

/* ==========================================================================
   Héros (accueil)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: min(100svh, 1000px); display: flex; align-items: center;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(110px, 12vw, 160px);
  background:
    radial-gradient(900px 620px at 78% 38%, rgba(32, 138, 194, .42), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(63, 167, 242, .16), transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 52%, var(--navy-950) 100%);
}
.hero h1, .page-hero h1 { color: #fff; }
.layer { position: absolute; pointer-events: none; will-change: transform; }
.hero__grid, .page-hero__grid {
  inset: -10% -5%; z-index: -2; opacity: .55;
  background-image:
    linear-gradient(rgba(127, 203, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 203, 255, .09) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 65% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 65% 45%, #000 20%, transparent 75%);
}
.hero__traces { inset: 0; z-index: -1; opacity: .7; }
.hero__traces svg { width: 100%; height: 100%; }
.trace { fill: none; stroke: url(#g-trace); stroke-width: 1.5; stroke-linecap: round; }
.trace-pulse { fill: none; stroke: var(--blue-300); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 60 1400; animation: pulse-run 7s linear infinite; filter: drop-shadow(0 0 6px var(--blue-400)); }
.trace-pulse:nth-of-type(2n) { animation-duration: 9s; animation-delay: -3s; }
.trace-pulse:nth-of-type(3n) { animation-duration: 11s; animation-delay: -6s; }
@keyframes pulse-run { from { stroke-dashoffset: 1460; } to { stroke-dashoffset: 0; } }

.hero__bolt { z-index: -1; right: -4%; top: 6%; width: clamp(280px, 38vw, 560px); opacity: .22; filter: drop-shadow(0 0 40px rgba(63, 167, 242, .6)); }
.hero__bolt svg { width: 100%; height: auto; fill: url(#g-bolt); }
.flake { z-index: -1; fill: var(--blue-300); opacity: .5; }
.flake svg { width: 100%; height: auto; animation: spin 40s linear infinite; }
.flake--1 { width: 64px; top: 20%; left: 46%; opacity: .35; }
.flake--2 { width: 28px; top: 70%; left: 8%; opacity: .45; }
.flake--3 { width: 42px; top: 14%; left: 6%; opacity: .25; }
.flake--4 { width: 22px; bottom: 22%; right: 44%; opacity: .5; }
.flake--5 { width: 90px; bottom: 8%; right: 4%; opacity: .15; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; color: rgba(255, 255, 255, .9); margin-bottom: 24px; backdrop-filter: blur(6px); }
.hero__kicker b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-500); color: #fff; }
.hero__kicker b .icon { width: 16px; height: 16px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero__lead { font-size: clamp(1.08rem, 1.45vw, 1.28rem); color: rgba(233, 244, 252, .82); max-width: 56ch; margin-bottom: 32px; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .96rem; color: rgba(233, 244, 252, .85); }
.hero__trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust .icon { color: var(--blue-400); width: 1.1em; height: 1.1em; stroke-width: 2.4; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 460px); }
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 32px 32px; overflow: hidden;
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(255, 255, 255, .14), 0 0 90px -20px rgba(63, 167, 242, .65);
  background: var(--navy-800);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 17, 29, .55)); }
.hero__orbit { position: absolute; inset: -7% -9%; z-index: -1; border-radius: 50%; border: 1.5px dashed rgba(127, 203, 255, .28); animation: spin 60s linear infinite; }
.hero__orbit::before { content: ""; position: absolute; top: 12%; left: 8%; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 18px 4px rgba(63, 167, 242, .8); }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; color: #fff; background: rgba(15, 47, 74, .55); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  font-family: var(--font-display); line-height: 1.2;
}
.chip b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); flex: none; }
.chip b .icon { width: 22px; height: 22px; }
.chip span { font-weight: 600; font-size: .98rem; }
.chip small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: rgba(233, 244, 252, .75); }
.chip--a { top: 12%; left: -14%; }
.chip--b { bottom: 18%; right: -12%; }
.chip--c { bottom: -4%; left: 4%; padding: 14px 18px; }
.chip--c strong { font-size: 2rem; color: #fff; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.chip--c em { font-style: normal; color: var(--blue-300); }
.chip--c strong span { font-size: inherit; font-weight: inherit; }
.chip--c > span { font-size: inherit; }

.scroll-cue { position: absolute; left: 50%; bottom: 84px; translate: -50% 0; z-index: 3; display: grid; justify-items: center; gap: 8px; color: rgba(255, 255, 255, .6); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.scroll-cue i { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; border-radius: 3px; background: var(--blue-300); translate: -50% 0; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.hero-divider { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; width: 100%; height: clamp(40px, 6vw, 90px); color: var(--ice-50); }
.hero-divider path { fill: currentColor; }

/* ---------- Bandeau défilant ---------- */
.ticker-wrap { position: relative; z-index: 4; overflow: hidden; padding: 28px 0; margin: clamp(-92px, -7vw, -64px) 0 -28px; pointer-events: none; }
.ticker { position: relative; margin: 0 -3%; transform: rotate(-2deg); background: linear-gradient(90deg, var(--blue-600), var(--blue-500), var(--blue-400)); color: #fff; padding: 16px 0; box-shadow: 0 20px 40px -20px rgba(28, 119, 179, .7); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.ticker span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: .01em; white-space: nowrap; }
.ticker .icon { width: 16px; height: 16px; color: var(--spark); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; }
.section--ice { background: var(--ice-50); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--navy-900); color: rgba(233, 244, 252, .82); }
.section--dark h2, .section--dark h3 { color: #fff; }

/* Bento des services */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--blue-400), transparent); transform: scaleX(0); transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(63, 167, 242, .5); color: var(--text); }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--ice-100); color: var(--blue-600); margin-bottom: 12px; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.card__icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.card:hover .card__icon { background: var(--blue-500); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card__more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-display); font-weight: 600; color: var(--blue-600); }
.card__more .icon { transition: transform .3s var(--ease); }
.card:hover .card__more .icon { transform: translateX(5px); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.card__tags li { list-style: none; font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.card__tags { padding: 0; }

.card--feature { grid-column: span 3; min-height: 380px; color: rgba(233, 244, 252, .85); border: 0; justify-content: flex-end; background: var(--navy-800); }
.card--feature h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.card--feature p { color: rgba(233, 244, 252, .8); max-width: 44ch; }
.card--feature .card__icon { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.card--feature .card__more { color: var(--blue-300); }
.card--feature:hover { color: rgba(233, 244, 252, .85); box-shadow: var(--shadow-l); }
.card__bg { position: absolute; inset: 0; z-index: -1; }
.card__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transition: transform 1.2s var(--ease), opacity .6s; }
.card:hover .card__bg img { transform: scale(1.06); opacity: .5; }
.card__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 47, .1) 0%, rgba(10, 26, 47, .75) 55%, rgba(6, 17, 29, .95) 100%); }
.card--clim { background: radial-gradient(400px 300px at 85% 10%, rgba(127, 203, 255, .55), transparent 60%), linear-gradient(150deg, var(--blue-500), var(--blue-700) 60%, var(--navy-800)); }
.card--clim .card__art { position: absolute; top: -30px; right: -30px; width: 260px; z-index: -1; fill: rgba(255, 255, 255, .14); transition: transform 1.2s var(--ease); }
.card--clim:hover .card__art { transform: rotate(40deg) scale(1.05); }
.card--cta { grid-column: span 3; background: var(--ice-100); border-style: dashed; border-color: rgba(32, 138, 194, .4); justify-content: center; }
.card--cta h3 { font-size: 1.5rem; }
.card--wide { grid-column: span 3; }

/* Pourquoi nous */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why__item { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); counter-increment: why; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.why__item:hover { border-color: rgba(63, 167, 242, .45); box-shadow: var(--shadow); transform: translateY(-3px); }
.why__item::after { content: counter(why, decimal-leading-zero); position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--blue-200); }
.why__item .icon { width: 30px; height: 30px; color: var(--blue-500); margin-bottom: 14px; stroke-width: 1.6; }
.why__item h3 { font-size: 1.18rem; margin-bottom: .4em; }
.why__item p { margin: 0; font-size: .98rem; color: var(--muted); }
.why__intro .btn-row { margin-top: 28px; }
.why__sign { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.why__sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 30% 20%; }
.why__sign strong { display: block; font-family: var(--font-display); }
.why__sign span { font-size: .92rem; color: var(--muted); }

/* Bande parallax */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(96px, 14vw, 180px) 0; background: var(--navy-950); }
.band__bg { inset: -25% 0; z-index: -2; background-position: center; background-size: cover; opacity: .32; filter: saturate(1.25) contrast(1.05); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 20% 50%, rgba(32, 138, 194, .35), transparent 70%), linear-gradient(90deg, rgba(6, 17, 29, .92) 0%, rgba(10, 26, 47, .75) 50%, rgba(6, 17, 29, .9) 100%); }
.band__bolt { z-index: -1; right: 6%; top: -10%; width: clamp(160px, 22vw, 320px); opacity: .35; filter: drop-shadow(0 0 30px rgba(63, 167, 242, .7)); }
.band__bolt svg { fill: url(#g-bolt); width: 100%; height: auto; }
.band__quote { max-width: 900px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.8vw, 3.1rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 18px; color: #fff; }
.band__quote em { font-style: normal; }
.band__author { color: rgba(233, 244, 252, .7); margin-bottom: clamp(48px, 7vw, 80px); display: flex; align-items: center; gap: 10px; }
.band__author::before { content: ""; width: 36px; height: 2px; background: var(--blue-400); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.stats li { padding: 26px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.stats strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; color: #fff; margin-bottom: 8px; }
.stats strong sup { font-size: .45em; vertical-align: super; color: var(--blue-300); margin-left: 2px; }
.stats li > span { font-size: .96rem; color: rgba(233, 244, 252, .75); }
.stats strong span { font: inherit; color: inherit; }

/* Étapes */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-400) 0 10px, transparent 10px 18px); background-size: 200% 100%; animation: flow 3s linear infinite; opacity: .6; }
@keyframes flow { to { background-position: -36px 0; } }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-400); color: var(--blue-600); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 8px var(--ice-50), 0 12px 30px -10px rgba(32, 138, 194, .6); }
.section:not(.section--ice) .step__num { box-shadow: 0 0 0 8px #fff, 0 12px 30px -10px rgba(32, 138, 194, .6); }
.step h3 { font-size: 1.18rem; }
.step p { font-size: .98rem; color: var(--muted); margin: 0; }

/* Qui sommes-nous */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding: 0 12% 12% 0; }
.about__photo { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-l); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__detail { position: absolute; right: 0; bottom: 0; width: 42%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 420 / 1070; max-height: 70%; border: 6px solid #fff; box-shadow: var(--shadow); }
.about__detail img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; top: 8%; left: -6%; z-index: 2; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; text-align: center; color: #fff; background: radial-gradient(circle at 30% 30%, var(--blue-400), var(--blue-700)); box-shadow: 0 20px 40px -12px rgba(28, 119, 179, .8); font-family: var(--font-display); line-height: 1.05; }
.about__badge strong { display: block; color: #fff; font-size: 2.2rem; font-weight: 800; }
.about__badge span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.about__name { font-family: var(--font-display); color: var(--blue-600); font-weight: 600; margin: -4px 0 18px; }
.idcard { margin-top: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ice-50); padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.idcard div { min-width: 0; }
.idcard dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); font-weight: 600; margin-bottom: 2px; }
.idcard dd { margin: 0; color: var(--ink); font-weight: 500; font-size: .98rem; overflow-wrap: anywhere; }

/* Zone / radar */
.zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 580px; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, var(--navy-800) 0%, var(--navy-900) 60%, var(--navy-950) 100%); box-shadow: var(--shadow-l), inset 0 0 0 1px rgba(127, 203, 255, .15); }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar .ring { fill: none; stroke: rgba(127, 203, 255, .22); stroke-width: 1; }
.radar .ring--outer { stroke: rgba(127, 203, 255, .6); stroke-width: 1.5; stroke-dasharray: 4 6; }
.radar .axis { stroke: rgba(127, 203, 255, .1); stroke-width: 1; }
.radar .ring-label { fill: rgba(127, 203, 255, .6); font: 600 12px var(--font-display); letter-spacing: .08em; }
.radar .sweep { transform-origin: 0 0; animation: spin 7s linear infinite; }
.radar .town circle { fill: var(--blue-300); }
.radar .town text { fill: rgba(233, 244, 252, .92); font: 500 14px var(--font-body); paint-order: stroke; stroke: var(--navy-900); stroke-width: 4px; stroke-linejoin: round; }
.radar .town--main circle { fill: #fff; }
.radar .town--main text { font-weight: 700; fill: #fff; }
.radar .base circle.core { fill: var(--spark); }
.radar .base circle.halo { fill: none; stroke: var(--spark); stroke-width: 2; transform-origin: 0 0; animation: halo 2.4s var(--ease) infinite; }
.radar .base text { fill: var(--spark); font: 700 15px var(--font-display); paint-order: stroke; stroke: var(--navy-900); stroke-width: 5px; }
@keyframes halo { from { transform: scale(.4); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 32px; }
.towns li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .94rem; color: var(--ink); }
.towns li.is-base { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-600); }
.faq summary .pm { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ice-100); color: var(--blue-600); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--blue-500); color: #fff; }
.faq .answer { padding: 0 60px 24px 4px; color: var(--text); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.contact__info { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-l); padding: clamp(28px, 4vw, 48px); color: rgba(233, 244, 252, .85); background: radial-gradient(500px 300px at 100% 0%, rgba(63, 167, 242, .35), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); display: flex; flex-direction: column; }
.contact__info h2, .contact__info h3 { color: #fff; }
.contact__info .flake-deco { position: absolute; right: -40px; bottom: -40px; width: 220px; fill: rgba(127, 203, 255, .08); z-index: -1; }
.contact__lines { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.contact__lines > li > a, .contact__lines > li > div { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.contact__lines span { display: block; }
.contact__lines b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); flex: none; color: var(--blue-300); }
.contact__lines small { display: block; font-size: .8rem; color: rgba(233, 244, 252, .65); letter-spacing: .04em; }
.contact__lines span { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact__lines a:hover span { color: var(--blue-300); }
.contact__phone span { font-size: 1.5rem !important; letter-spacing: .01em; }
.contact__note { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .94rem; }

.form { border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form h3 { font-size: 1.5rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--ice-50);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c77b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9cfe0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(63, 167, 242, .18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d64545; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-500); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form__foot small { color: var(--muted); font-size: .86rem; }
.form__status { grid-column: 1 / -1; display: none; padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.form__status.is-ok { display: block; background: #e7f7ee; color: #146c3b; border: 1px solid #b5e4c8; }
.form__status.is-err { display: block; background: #fdecec; color: #9b1c1c; border: 1px solid #f3c1c1; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(90px, 10vw, 140px);
  background:
    radial-gradient(700px 480px at 85% 30%, rgba(32, 138, 194, .45), transparent 62%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-950) 100%);
}
.page-hero__grid { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 40%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 80% 40%, #000 15%, transparent 75%); }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); margin-bottom: .4em; }
.page-hero .lead { color: rgba(233, 244, 252, .82); margin-bottom: 30px; }
.page-hero__art { position: relative; justify-self: center; width: min(100%, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.page-hero__art::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(63, 167, 242, .35), transparent 65%); }
.page-hero__art::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; border: 1.5px dashed rgba(127, 203, 255, .3); animation: spin 50s linear infinite; }
.page-hero__art .icon { position: relative; width: 58%; height: 58%; stroke-width: .9; color: #fff; filter: drop-shadow(0 0 18px rgba(63, 167, 242, .9)); }
.page-hero .hero-divider { color: #fff; }
.page-hero--ice .hero-divider { color: var(--ice-50); }
.crumbs { margin-bottom: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: rgba(233, 244, 252, .65); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: rgba(233, 244, 252, .85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero__points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: rgba(233, 244, 252, .85); font-size: .96rem; }
.page-hero__points li { display: inline-flex; align-items: center; gap: .5em; }
.page-hero__points .icon { color: var(--blue-400); stroke-width: 2.4; width: 1.1em; height: 1.1em; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.prose { font-size: 1.075rem; }
.prose > h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-top: 1.6em; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.5em; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 6px; background: var(--ice-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c77b3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6.5 9.5 17 4 11.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.prose .features { margin: 28px 0 8px; }
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--ice-50); border: 1px solid var(--line); border-left: 4px solid var(--blue-500); margin: 28px 0; }
.callout .icon { width: 28px; height: 28px; color: var(--blue-500); margin-top: 2px; }
.callout p { margin: 0; }
.callout--warn { border-left-color: var(--spark); background: #fffaf0; }
.callout--warn .icon { color: #d19a00; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.feature:hover { border-color: rgba(63, 167, 242, .45); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--ice-100); color: var(--blue-600); stroke-width: 1.7; }
.feature h3 { font-size: 1.08rem; margin: 2px 0 .3em; }
.feature p { margin: 0; font-size: .96rem; color: var(--muted); }

.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { border-radius: var(--radius-l); padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.aside-card--dark { color: rgba(233, 244, 252, .85); border: 0; background: radial-gradient(300px 200px at 100% 0%, rgba(63, 167, 242, .4), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.aside-card--dark h3 { color: #fff; }
.aside-card h3 { font-size: 1.25rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-links li + li { border-top: 1px solid var(--line); }
.aside-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.aside-links a .icon:first-child { color: var(--blue-500); }
.aside-links a .icon:last-child { margin-left: auto; width: 1em; color: var(--muted); transition: transform .25s var(--ease); }
.aside-links a:hover { color: var(--blue-600); }
.aside-links a:hover .icon:last-child { transform: translateX(4px); color: var(--blue-500); }
.aside-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .96rem; }
.aside-checks .icon { color: var(--blue-300); margin-top: 3px; stroke-width: 2.4; width: 1.05em; }

.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-l);
  padding: clamp(32px, 5vw, 64px); color: #fff;
  background: radial-gradient(500px 300px at 90% 0%, rgba(191, 227, 251, .45), transparent 60%), linear-gradient(120deg, var(--blue-700), var(--blue-500) 60%, var(--blue-400));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; box-shadow: 0 30px 60px -30px rgba(28, 119, 179, .8);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.08rem; max-width: 56ch; }
.cta-band__bolt { position: absolute; z-index: -1; right: 18%; top: -30%; width: 220px; fill: rgba(255, 255, 255, .12); transform: rotate(12deg); }
.cta-band .btn-row { justify-content: flex-end; }

.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.related a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.related a:hover { border-color: rgba(63, 167, 242, .5); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--blue-700); }
.related a > .icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--ice-100); color: var(--blue-600); }
.related a > .icon:last-child { width: 1.1em; height: 1.1em; padding: 0; background: none; margin-left: auto; color: var(--muted); }

/* Zone : secteurs */
.sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sector { padding: 28px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); }
.sector h3 { display: flex; align-items: center; gap: 10px; }
.sector h3 .icon { color: var(--blue-500); }
.sector p { color: var(--muted); font-size: 1rem; }
.sector .towns { margin: 14px 0 0; }
.sector .towns li { background: var(--ice-50); font-size: .88rem; padding: 5px 12px; }

/* Pages légales */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; }

/* Page merci / 404 */
.center-page { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.center-page .lead { margin-inline: auto; }
.center-page .btn-row { justify-content: center; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: rgba(233, 244, 252, .7); padding: clamp(64px, 8vw, 104px) 0 0; font-size: .98rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-400), transparent); }
.footer-bolt { position: absolute; z-index: -1; right: -60px; bottom: -80px; width: 380px; fill: rgba(63, 167, 242, .05); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { color: #fff; --logo-accent: var(--blue-400); display: inline-block; }
.footer-brand svg { width: 170px; height: auto; aspect-ratio: 1225 / 740; }
.footer-about p { margin: 20px 0 0; max-width: 34ch; }
.site-footer h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(233, 244, 252, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--blue-400); margin-top: 3px; width: 1.1em; }
.footer-bottom { margin-top: clamp(48px, 6vw, 72px); padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .86rem; color: rgba(233, 244, 252, .55); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: rgba(233, 244, 252, .7); }

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

/* ==========================================================================
   Animations d'apparition
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 1.1s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .nav a, .nav .nav-toggle { padding: .55em .65em; font-size: .95rem; }
  .chip--a { left: -6%; }
  .chip--b { right: -6%; }
}
@media (max-width: 1024px) {
  .nav, .header-phone { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 420px); margin-top: 24px; }
  .hero { min-height: 0; }
  .scroll-cue { display: none; }
  .why { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .zone { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__art { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--feature, .card--cta, .card--wide { grid-column: span 1; }
  .card--feature { grid-column: span 2; min-height: 320px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-header .btn { display: none; }
  .brand svg { height: 38px; }
  .is-solid .brand svg { height: 36px; }
  .hero { padding-bottom: 96px; }
  .hero h1 { font-size: clamp(2.15rem, 9.4vw, 3rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__trust { gap: 8px 18px; font-size: .9rem; }
  .hero__visual { width: min(88%, 360px); }
  .chip--a { left: -8%; top: 8%; }
  .chip--b { right: -8%; bottom: 22%; }
  .chip span { font-size: .9rem; }
  .chip b { width: 34px; height: 34px; }
  .flake--1 { left: 70%; }
  .ticker { transform: rotate(-3deg); }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card, .card--feature, .card--cta, .card--wide { grid-column: auto; }
  .card--feature { min-height: 300px; }
  .why__list { grid-template-columns: 1fr; gap: 14px; }
  .why__item { padding: 22px; }
  .steps { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .step__num { width: 56px; height: 56px; margin: 0; grid-row: span 2; font-size: 1.1rem; }
  .step h3 { margin: 6px 0 .3em; }
  .stats { gap: 10px; }
  .stats li { padding: 18px 16px; }
  .about__badge { width: 96px; height: 96px; left: -2%; }
  .about__badge strong { font-size: 1.8rem; }
  .idcard { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .faq .answer { padding-right: 4px; }
  .features { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .cta-band .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .radar .town--minor { display: none; }
  .radar .town text { font-size: 17px; }
  .mobile-bar {
    position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -10px rgba(10, 26, 47, .3);
    transition: transform .35s var(--ease);
  }
  .mobile-bar .btn { min-height: 50px; width: 100%; padding-inline: .8em; }
  .mobile-bar .btn--outline { --bg: #fff; }
  .nav-open .mobile-bar { transform: translateY(110%); }
}
@media (max-width: 380px) {
  .chip--b { display: none; }
  .hero__kicker { font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .layer { transform: none !important; }
  .ticker__track { animation: none; }
}
.page-hero--simple { padding-bottom: clamp(80px, 9vw, 120px); }
.page-hero--simple .lead { margin-bottom: 0; }
