/* ==========================================================================
   MX SOLUTION — feuille de style commune à toutes les pages
   Charte /bykito/ : #0511F2 · #040FD9 · #030BA6 · #020659 · #010626 · #F9F9F9
   Typo : Montserrat (auto-hébergée). Thèmes : sombre (identité), clair, auto.
   Préfixes par page : ac- (accueil), ps- (prestations), ap- (à propos),
   ct- (contact), ml- (mentions légales). Le reste est partagé.
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face { font-family: "Montserrat"; src: url("../../font/montserrat-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../../font/montserrat-latin-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat Repli"; src: local("Arial"); size-adjust: 112.8%; ascent-override: 85.8%; descent-override: 22.3%; line-gap-override: 0%; }

/* ---------- Jetons : thème sombre (identité MX) ---------- */
:root,
.is-dark {
  --bg: #010626;
  --bg-2: #020A33;
  --panel: #07113F;
  --doc: linear-gradient(180deg, #0B1750, #07113F);
  --card: rgba(255, 255, 255, .03);
  --heading: #FFFFFF;
  --text: #E8EEFF;
  --text-2: #BDC8F0;
  --text-3: #8F9FD3;
  --thin: rgba(255, 255, 255, .78);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(124, 160, 255, .28);
  --accent: #7CA0FF;
  --accent-2: #4D7BFF;
  --tint: rgba(58, 95, 255, .12);
  --ghost: rgba(255, 255, 255, .30);
  --ghost-h: rgba(255, 255, 255, .60);
  --header: rgba(1, 6, 38, .82);
  --grid: rgba(124, 160, 255, .06);
  --glow: rgba(58, 95, 255, .16);
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --ok: #4ADE80;
  --err: #FF8A8A;
  --focus: #8FB0FF;
  --input: rgba(1, 6, 38, .65);
  --gtext: linear-gradient(100deg, #6B8FFF, #3A5FFF 45%, #0511F2);
  --gnum: linear-gradient(115deg, #C9D6FF 0%, #8FAAFF 45%, #4D6FFF 100%);
  color-scheme: dark;
}
/* ---------- Jetons : thème clair ---------- */
:root[data-theme="light"] {
  --bg: #F9F9F9;
  --bg-2: #EEF1FB;
  --panel: #FFFFFF;
  --doc: linear-gradient(180deg, #FFFFFF, #F3F5FD);
  --card: #FFFFFF;
  --heading: #010626;
  --text: #1B2150;
  --text-2: #3D4675;
  --text-3: #59628E;
  --thin: #3D4675;
  --line: rgba(2, 6, 89, .12);
  --line-2: rgba(5, 17, 242, .22);
  --accent: #030BA6;
  --accent-2: #0511F2;
  --tint: rgba(5, 17, 242, .07);
  --ghost: rgba(1, 6, 38, .30);
  --ghost-h: rgba(1, 6, 38, .60);
  --header: rgba(249, 249, 249, .86);
  --grid: rgba(5, 17, 242, .055);
  --glow: rgba(5, 17, 242, .07);
  --shadow: 0 24px 60px rgba(2, 6, 89, .12);
  --ok: #15803D;
  --err: #B42318;
  --focus: #0511F2;
  --input: #FFFFFF;
  --gtext: linear-gradient(100deg, #3A5FFF, #0511F2 50%, #030BA6);
  --gnum: linear-gradient(115deg, #3A5FFF 0%, #0511F2 55%, #030BA6 100%);
  color-scheme: light;
}
/* Bandes « signature » toujours sombres, quel que soit le thème */
:root[data-theme="light"] .is-dark {
  --bg: #010626; --bg-2: #020A33; --panel: #07113F; --card: rgba(255, 255, 255, .04);
  --heading: #FFFFFF; --text: #E8EEFF; --text-2: #BDC8F0; --text-3: #8F9FD3; --thin: rgba(255, 255, 255, .78);
  --line: rgba(255, 255, 255, .12); --line-2: rgba(124, 160, 255, .28); --accent: #7CA0FF; --accent-2: #4D7BFF;
  --tint: rgba(58, 95, 255, .14); --ghost: rgba(255, 255, 255, .30); --ghost-h: rgba(255, 255, 255, .60);
  --grid: rgba(124, 160, 255, .06); --focus: #8FB0FF; --gtext: linear-gradient(100deg, #6B8FFF, #3A5FFF 45%, #0511F2);
  --gnum: linear-gradient(115deg, #C9D6FF 0%, #8FAAFF 45%, #4D6FFF 100%);
  color-scheme: dark;
}

:root {
  --grad: linear-gradient(135deg, #3A5FFF 0%, #0511F2 55%, #030BA6 100%);
  --fiber: linear-gradient(90deg, transparent, #3A5FFF 25%, #7CA0FF 50%, #0511F2 75%, transparent);
  --font: "Montserrat", "Montserrat Repli", Arial, sans-serif;
  --fs-sm: .875rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.0625rem, .95rem + .45vw, 1.25rem);
  --fs-h3: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem);
  --fs-h1: clamp(2.3rem, 1.2rem + 3.8vw, 4rem);
  --max: 1200px;
  --gut: clamp(1rem, 4vw, 3rem);
  --sec: clamp(4rem, 3rem + 5vw, 7.5rem);
  --r: 4px;
  --r-lg: 10px;
  --head-h: 80px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-md); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, h1, h2, h3, h4, figure, dl, dd, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--heading); text-wrap: balance; }
p { text-wrap: pretty; }
strong, b { color: var(--heading); font-weight: 700; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.ic { width: 1em; height: 1em; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: #0511F2; color: #fff; font-weight: 700;
  padding: .75rem 1rem; border-radius: var(--r); text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); border-top: 1px solid var(--line); }
.sec--alt { background: var(--bg-2); }

/* ---------- Typographie de marque ---------- */
.ey {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.ey::before { content: ""; width: 24px; height: 1px; background: currentColor; flex-shrink: 0; }
.h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.grad, .em {
  background: var(--gtext); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.em { font-style: italic; font-weight: 800; padding-right: .06em; }
.thin { font-weight: 200; color: var(--thin); }
.light { font-weight: 300; color: var(--text-2); }
.lead { font-size: var(--fs-lg); color: var(--text-2); line-height: 1.8; max-width: 62ch; }
.divider { width: 44px; height: 3px; background: var(--grad); border-radius: 2px; margin: 22px 0 18px; }
.head { display: grid; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 780px; }
.head .lead { margin-top: 1rem; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--center .ey::after { content: ""; width: 24px; height: 1px; background: currentColor; }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  border-radius: var(--r); border: 1.5px solid transparent;
  font: 700 13px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: box-shadow .2s, background-color .2s, border-color .2s, color .2s, translate .2s;
}
.btn .ic { width: 15px; height: 15px; transition: translate .2s; }
.btn--primary { background: var(--grad) border-box; color: #fff; box-shadow: 0 4px 24px rgba(58, 95, 255, .35); }
.btn--primary:hover { box-shadow: 0 8px 36px rgba(58, 95, 255, .55); }
.btn--ghost { border-color: var(--ghost); color: var(--heading); background: var(--card); }
.btn--ghost:hover { border-color: var(--ghost-h); background: var(--tint); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { translate: 0 -2px; }
  .btn:hover .ic { translate: 3px 0; }
}
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.link {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 24px;
  color: var(--accent); font-weight: 600; font-size: .9375rem;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .25em;
}
.link:hover { color: var(--heading); text-decoration-color: currentColor; }

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.hd {
  position: sticky; top: 0; z-index: 100; height: var(--head-h);
  background: var(--header);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: height .25s var(--ease), background-color .3s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hd { background: var(--bg); } }
/* Liseré fibre + progression de lecture (sans JavaScript, si pris en charge) */
.hd::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--fiber); opacity: .9; }
.hd-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hd-progress { animation: hd-progress linear both; animation-timeline: scroll(root); }
  }
}
@keyframes hd-progress { to { transform: scaleX(1); } }
.hd.is-scrolled { box-shadow: 0 10px 30px rgba(1, 6, 38, .25); }

.hd-in { height: 100%; display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); max-width: 1360px; }
.hd-logo { display: inline-flex; flex-shrink: 0; padding-block: .5rem; }
.hd-logo img { width: 180px; height: auto; }
.logo-on-light { display: none !important; }
:root[data-theme="light"] .logo-on-dark:not(.is-dark *) { display: none !important; }
:root[data-theme="light"] .logo-on-light:not(.is-dark *) { display: block !important; }

.hd-nav { margin-inline-start: auto; }
.hd-nav > ul { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.hd-nav a, .hd-mega-btn {
  position: relative; display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; white-space: nowrap;
  font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2); text-decoration: none; transition: color .2s;
}
.hd-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 8px; height: 1.5px; width: 0;
  background: var(--grad); transition: width .3s var(--ease);
}
.hd-nav a:hover, .hd-nav a[aria-current="page"] { color: var(--heading); }
.hd-nav > ul > li > a:hover::after, .hd-nav > ul > li > a[aria-current="page"]::after { width: 100%; }

/* Méga-menu Prestations */
.hd-mega { position: relative; display: flex; align-items: center; }
.hd-mega-btn { background: none; border: 0; padding: 0 .25rem; cursor: pointer; min-width: 28px; justify-content: center; }
.hd-mega-btn .ic { width: 14px; height: 14px; transition: rotate .25s; }
.hd-mega[data-open] .hd-mega-btn .ic { rotate: 180deg; }
.mega {
  position: absolute; top: 100%; left: 50%; translate: -50% 8px; z-index: 120;
  width: min(760px, 92vw); padding-top: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, translate .25s var(--ease), visibility .2s;
}
.hd-mega[data-open] .mega { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; }
@media (hover: hover) and (pointer: fine) {
  .hd-mega:hover .mega { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; }
}
.mega__in {
  display: grid; grid-template-columns: 1.6fr 1fr; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.mega__list { padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega__list a {
  display: grid; grid-template-columns: 42px 1fr; gap: .75rem; align-items: center;
  padding: .7rem .75rem; border-radius: var(--r); min-height: auto;
  text-transform: none; letter-spacing: 0; font-size: .9375rem; line-height: 1.3; color: var(--heading); font-weight: 700;
  white-space: normal;
}
.mega__list a small { display: block; font-weight: 500; font-size: .8125rem; color: var(--text-3); margin-top: .2rem; }
.mega__list a:hover, .mega__list a:focus-visible { background: var(--tint); }
.mega__ic {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r);
  background: var(--tint); border: 1px solid var(--line-2); color: var(--accent);
}
.mega__ic .ic { width: 26px; height: 26px; }
.mega__aside {
  position: relative; padding: 1.5rem; display: grid; align-content: space-between; gap: 1rem;
  background: url("../img/fond/vague-960.webp") center / cover no-repeat, #020659; color: #E8EEFF;
}
.mega__aside::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 6, 38, .35), rgba(1, 6, 38, .85)); }
.mega__aside > * { position: relative; }
.mega__aside p { font-size: .9375rem; color: #BDC8F0; text-transform: none; letter-spacing: 0; line-height: 1.6; }
.mega__aside strong { color: #fff; font-size: 1.0625rem; display: block; margin-bottom: .35rem; }
.mega__aside .btn { width: 100%; color: #fff; }
.mega__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: .25rem; padding: .75rem .75rem 0; }
.mega__list .mega__all a { display: inline-flex; padding: 0; min-height: 36px; font-size: .875rem; color: var(--accent); }
.mega__list .mega__all a:hover { background: none; color: var(--heading); }

/* Actions d'en-tête */
.hd-actions { display: flex; align-items: center; gap: 1.25rem; padding-inline-start: clamp(1.25rem, 2.4vw, 2.25rem); border-inline-start: 1px solid var(--line); }
.hd-tel { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; white-space: nowrap; font-weight: 700; font-size: .875rem; text-decoration: none; color: var(--heading); font-variant-numeric: tabular-nums; }
.hd-tel .ic { width: 16px; height: 16px; color: var(--accent); }
.hd-tel:hover .hd-tel__n { text-decoration: underline; text-underline-offset: .25em; }
/* Écrans intermédiaires : numéro réduit à une icône (le numéro reste lu par les lecteurs d'écran) */
@media (max-width: 1399px) {
  .hd-tel { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: border-color .2s, background-color .2s; }
  .hd-tel:hover { border-color: var(--accent); background: var(--tint); }
  .hd-tel__n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.icon-btn {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r);
  background: transparent; color: var(--heading); cursor: pointer; border: 1.5px solid var(--line-2);
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--accent); background: var(--tint); }
.icon-btn .ic { width: 20px; height: 20px; }
.hd-burger { display: none; }

/* Sélecteur de thème Clair / Sombre (pied de page) */
.theme-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--card); }
.theme-seg button {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .85rem; border: 0; border-radius: 100px;
  background: transparent; color: var(--text-2); cursor: pointer; font: 600 12px/1 var(--font); letter-spacing: .04em;
}
.theme-seg button .ic { width: 14px; height: 14px; }
.theme-seg button[aria-pressed="true"] { background: var(--grad); color: #fff; }

/* Menu mobile : <dialog> natif */
.mmenu {
  width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; inset: 0;
  background: var(--bg); color: var(--text); overflow-y: auto;
}
.mmenu::backdrop { background: rgba(1, 6, 38, .7); }
.mmenu__top { position: sticky; top: 0; z-index: 2; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gut); border-bottom: 1px solid var(--line); background: var(--bg); }
.mmenu__top img { width: 150px; }
.mmenu__body { padding: 1.25rem var(--gut) 2.5rem; display: grid; gap: 1.75rem; }
.mmenu__nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  color: var(--heading); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mmenu__nav a[aria-current="page"] { color: var(--accent); }
.mmenu__label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.mmenu__ps { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mmenu__ps a {
  display: grid; gap: .5rem; padding: .85rem; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--card); text-decoration: none; font-weight: 700; font-size: .875rem; line-height: 1.3; color: var(--heading);
}
.mmenu__ps .ic { width: 30px; height: 30px; color: var(--accent); }
.mmenu .btns { flex-direction: column; }
.mmenu .btns .btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) { .mmenu[open] { animation: fade-in .2s ease-out; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   EN-TÊTES DE PAGE (bandes sombres)
   ========================================================================== */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 20% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 20% 30%, #000 0%, transparent 75%);
}
/* Accueil : vidéo d'ambiance réseau */
.hero { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__media video { position: absolute; inset: 0; }
.hero__media video { opacity: 0; transition: opacity 1s; }
.hero__media video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 6, 38, .92) 0%, rgba(1, 6, 38, .7) 45%, rgba(1, 6, 38, .25) 100%),
    linear-gradient(0deg, rgba(1, 6, 38, .95) 0%, transparent 35%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__in { padding-block: clamp(3rem, 2rem + 6vw, 7rem) clamp(2rem, 4vw, 3rem); max-width: 760px; }
.hero__tag {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: clamp(16px, 3vh, 28px);
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.hero__tag::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero__tag span { padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--tint); }
.hero h1 { font-size: var(--fs-h1); font-weight: 800; line-height: .98; letter-spacing: -.02em; margin-bottom: clamp(20px, 3.5vh, 32px); }
.hero h1 > span, .hero h1 > em { display: block; }
.hero .lead { color: var(--text); margin-bottom: 2rem; }
.hero__alt { margin-top: 1.5rem; font-size: .9375rem; color: var(--text-2); }
.hero__alt a { color: var(--heading); font-weight: 700; font-variant-numeric: tabular-nums; text-underline-offset: .2em; }
.hero__pause {
  position: absolute; right: var(--gut); top: 1.25rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: 0 .85rem;
  border-radius: 100px; border: 1px solid var(--line-2); background: rgba(1, 6, 38, .55); color: #E8EEFF;
  font: 600 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.hero__pause .ic { width: 13px; height: 13px; }
.hero__pause[hidden] { display: none; }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats li { padding: 1.5rem 1.5rem 2rem 0; display: grid; gap: .4rem; align-content: start; }
.stats li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat-n {
  justify-self: start; width: fit-content; padding-right: .04em;
  font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  background: var(--gnum); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.stat-u { font-size: .58em; font-weight: 700; letter-spacing: 0; margin-left: .12em; }
.stat-l { font-size: .9375rem; color: var(--text-2); line-height: 1.5; }
.stat-l b { display: block; font-size: 1rem; }

/* Pages intérieures : bandeau vague */
.phero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 6, 38, .92) 0%, rgba(1, 6, 38, .6) 55%, rgba(1, 6, 38, .25) 100%), linear-gradient(0deg, rgba(1, 6, 38, .9), transparent 50%); }
.phero .wrap { position: relative; z-index: 1; padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 4vw, 4rem); }
.phero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; margin-top: .25rem; }
.phero h1 > span, .phero h1 > em { display: block; }
.phero .lead { margin-top: 1.25rem; color: var(--text); }
.phero .btns { margin-top: 2rem; }

/* Fil d'Ariane */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.25rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-2); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--heading); text-decoration: underline; }
.crumbs [aria-current] { color: var(--accent); }

/* ==========================================================================
   COMPOSANTS PARTAGÉS
   ========================================================================== */
/* Pastille d'icône métier */
.ibox {
  display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--r-lg);
  background: var(--tint); border: 1px solid var(--line-2); color: var(--accent);
}
.ibox .ic { width: 34px; height: 34px; }
.ibox--lg { width: 72px; height: 72px; }
.ibox--lg .ic { width: 44px; height: 44px; }

/* Liste à puces dégradées */
.dash { display: grid; gap: .6rem; }
.dash li { display: grid; grid-template-columns: 22px 1fr; gap: .5rem; font-size: .9375rem; color: var(--text-2); line-height: 1.65; }
.dash li::before { content: ""; width: 14px; height: 1.5px; margin-top: .8rem; background: var(--grad); }

/* Étiquettes */
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags li { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line-2); background: var(--tint); padding: 4px 11px; border-radius: 2px; }

/* Engagements */
.commit { display: grid; gap: 1.25rem; }
.commit li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; }
.commit .ic { width: 22px; height: 22px; color: var(--accent-2); margin-top: .2rem; }
.commit strong { display: block; font-size: 1rem; margin-bottom: .15rem; }
.commit p { font-size: .9375rem; color: var(--text-2); }

/* Carte « dossier » */
.doc { position: relative; border-radius: var(--r-lg); background: var(--doc); border: 1px solid var(--line-2); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); }
.doc::after { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: var(--fiber); }
.doc__head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.doc__head .ibox { width: 48px; height: 48px; }
.doc__head .ibox .ic { width: 30px; height: 30px; }
.doc__title { font-weight: 800; color: var(--heading); font-size: 1.0625rem; line-height: 1.3; }
.doc__title small { display: block; font-size: .8125rem; font-weight: 500; color: var(--text-3); }
.doc__badge { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: #fff; background: var(--grad); padding: .35rem .75rem; border-radius: 100px; }
.doc ul { margin-top: .5rem; }
.doc li { display: flex; align-items: center; gap: .75rem; padding-block: .8rem; border-bottom: 1px dashed var(--line); font-size: .9375rem; color: var(--text); }
.doc li:last-child { border-bottom: 0; }
.doc li .ic { width: 20px; height: 20px; color: var(--ok); }
.doc li span { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }

/* Galerie terrain */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg-2); aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem;
  font-size: .8125rem; font-weight: 600; color: #E8EEFF; line-height: 1.45;
  background: linear-gradient(0deg, rgba(1, 6, 38, .92), transparent);
}
@media (prefers-reduced-motion: no-preference) { .gallery figure:hover img { scale: 1.04; } }

/* Zone d'intervention */
.zone { border-radius: var(--r-lg); border: 1px solid var(--line-2); padding: clamp(1rem, 3vw, 1.75rem); background: radial-gradient(ellipse 60% 60% at 35% 40%, var(--glow), transparent 70%), var(--bg-2); }
.zone svg { width: 100%; height: auto; }
.zone text { font-family: var(--font); fill: var(--heading); font-weight: 600; }
.zone .z-code { fill: var(--text-3); font-weight: 500; }
.zone .z-node { fill: var(--bg-2); stroke: var(--accent); }
.zone .z-hub { fill: var(--accent-2); }
.zone .z-core { fill: var(--bg-2); }
.zone .z-pulse { stroke: var(--accent-2); }
.zone .z-a { stop-color: var(--accent); }
.zone .z-b { stop-color: #0511F2; }
.zone__list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.zone__list li { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 100px; background: var(--tint); border: 1px solid var(--line-2); color: var(--text); }
.zone__list li:first-child { background: var(--grad); color: #fff; border-color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .z-pulse { transform-origin: 124px 98px; transform-box: view-box; animation: pulse 3s ease-out infinite; }
}
@keyframes pulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { position: relative; border-bottom: 1px solid var(--line); }
.faq details::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--grad); transition: width .35s ease; }
.faq details[open]::before { width: 100%; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.25rem; font-weight: 700; font-size: 1.0625rem; color: var(--heading); transition: color .2s, translate .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--accent);
  background: linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat, var(--tint); border-color: var(--accent); }
.faq summary:hover { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .faq summary:hover { translate: 0 -2px; } }
.faq details p { padding-bottom: 1.5rem; color: var(--text-2); max-width: 65ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content, .faq details::before { transition: none; } }

/* Canaux de contact */
.channels { display: grid; gap: .75rem; }
.channels a {
  display: grid; grid-template-columns: 42px 1fr; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border-radius: var(--r);
  border: 1.5px solid var(--line); background: var(--card); text-decoration: none; transition: border-color .2s, background-color .2s;
}
.channels a:hover { border-color: var(--line-2); background: var(--tint); }
.chip-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r); background: var(--tint); border: 1px solid var(--line-2); color: var(--accent); }
.chip-ic .ic { width: 18px; height: 18px; }
.channels small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); }
.channels b { font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.channels a > span:last-child { min-width: 0; }

/* ==========================================================================
   PIED DE PAGE (toujours sombre)
   ========================================================================== */
.ft { background: #000111; color: var(--text-2); font-size: .9375rem; }
.ft-cta { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.ft-cta__bg { position: absolute; inset: 0; z-index: -2; }
.ft-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.ft-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 6, 38, .94) 0%, rgba(1, 6, 38, .7) 55%, rgba(1, 6, 38, .35) 100%); }
.ft-cta__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.ft-cta h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.9rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; margin-bottom: 1rem; }
.ft-cta .btns { margin-top: 1.75rem; }
.ft-cta .hours { margin-top: .5rem; font-size: .875rem; color: var(--text-2); display: flex; gap: .5rem; align-items: center; }
.ft-cta .hours .ic { width: 15px; height: 15px; color: var(--accent); }
.ft-main { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.ft-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1.1fr; gap: 2.5rem; }
.ft-brand img { width: 170px; margin-bottom: 1rem; }
.ft-brand p { max-width: 34ch; }
.ft-brand .tag { margin-top: 1rem; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.ft-main h2 { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.ft ul { display: grid; gap: .1rem; }
.ft li a, .ft address a { display: inline-flex; align-items: center; gap: .6rem; min-height: 34px; color: var(--text-2); text-decoration: none; }
.ft li a .ic { width: 18px; height: 18px; color: var(--accent); }
.ft li a:hover, .ft address a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.ft address { font-style: normal; display: grid; gap: .1rem; }
.ft address .ic { width: 15px; height: 15px; color: var(--accent); }
.ft-theme { margin-top: 1.25rem; }
.ft-theme p { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: .6rem; }
.ft-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font-size: .8125rem; color: var(--text-3); }
.ft-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.ft-bottom a { color: var(--text-2); text-underline-offset: .2em; }
.ft-top { display: inline-flex; align-items: center; gap: .5rem; min-height: 36px; padding: 0 .9rem; border-radius: 100px; border: 1px solid var(--line-2); color: #E8EEFF; text-decoration: none; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ft-top .ic { width: 14px; height: 14px; }
.ft-top:hover { background: var(--tint); }

/* Bouton flottant « Retour en haut » */
.to-top {
  position: fixed; z-index: 80; right: max(16px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(5, 17, 242, .35);
  opacity: 0; visibility: hidden; translate: 0 12px; pointer-events: none;
  transition: opacity .25s, translate .25s var(--ease), visibility .25s;
}
.to-top .ic { width: 20px; height: 20px; }
.to-top.is-visible { opacity: .92; visibility: visible; translate: 0 0; pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { opacity: 1; }
.to-top:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

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

/* ==========================================================================
   ACCUEIL (ac-)
   ========================================================================== */
.ac-path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ac-path::before, .ac-path::after { content: ""; position: absolute; left: 28px; right: 12px; top: 27px; height: 2px; border-radius: 2px; }
.ac-path::before { background: var(--line-2); }
.ac-path::after { background: linear-gradient(90deg, #7CA0FF, #3A5FFF 50%, #0511F2); box-shadow: 0 0 12px rgba(58, 95, 255, .5); transform-origin: left center; }
.ac-path li { position: relative; z-index: 1; padding-right: 1.75rem; display: grid; gap: .55rem; align-content: start; }
.ac-path .ibox { background: var(--bg-2); box-shadow: 0 0 0 6px var(--bg-2); margin-bottom: .75rem; }
.ac-path__where { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.ac-path h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.ac-path p { font-size: .9375rem; color: var(--text-2); line-height: 1.65; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ac-path::after { animation: grow-x linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
  }
}
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }


/* Liaison validée (mesures) */
.ac-measure {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem; align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: linear-gradient(135deg, var(--tint), transparent 80%), var(--card);
}
.ac-measure__txt { display: grid; gap: .75rem; justify-items: start; }
.ac-measure h3 { font-size: var(--fs-h3); font-weight: 700; }
.ac-measure p { color: var(--text-2); font-size: .9375rem; }
.ac-link-svg { width: 100%; height: auto; overflow: visible; }
.ac-link-svg .l-base { stroke: var(--line-2); }
.ac-link-svg .l-light { stroke: url(#ac-fibre); }
.ac-link-svg .l-a { stop-color: #7CA0FF; }
.ac-link-svg .l-b { stop-color: #0511F2; }
.ac-link-svg .l-end { fill: var(--panel); stroke: var(--accent); }
.ac-link-svg .l-ok { fill: var(--ok); }
.ac-link-svg .l-okc { stroke: var(--panel); }
.ac-link-svg text { font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .08em; fill: var(--text-2); text-transform: uppercase; }
.ac-link-svg .l-badge { fill: var(--ok); }
.ac-link-svg .l-badge-t { fill: #fff; font-weight: 700; letter-spacing: .12em; }
:root[data-theme="dark"] .ac-link-svg .l-badge-t { fill: #010626; }
.ac-link-svg .l-pulse { stroke: #fff; stroke-dasharray: 26 460; stroke-dashoffset: 0; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .ac-link-svg .l-pulse { animation: travel 3.2s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .ac-link-svg .l-pulse { display: none; } }
@keyframes travel { from { stroke-dashoffset: 486; } to { stroke-dashoffset: 0; } }

.ac-more { margin-top: clamp(3rem, 6vw, 4.5rem); }
.ac-more__t { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); margin-bottom: 1rem; }
.ac-more ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ac-more li { padding: 1.5rem 1.5rem 0 0; display: grid; grid-template-columns: 48px 1fr; gap: .25rem 1rem; align-content: start; }
.ac-more li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.ac-more .ibox { width: 48px; height: 48px; grid-row: span 3; }
.ac-more .ibox .ic { width: 28px; height: 28px; }
.ac-more h4 { font-size: 1.0625rem; font-weight: 700; }
.ac-more p { font-size: .9375rem; color: var(--text-2); }

.ac-aud { border-top: 1px solid var(--line); }
.ac-aud__row {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.1fr) 210px;
  gap: clamp(1rem, 3vw, 2.5rem); align-items: start; padding-block: clamp(1.5rem, 3vw, 2rem); border-bottom: 1px solid var(--line);
}
.ac-aud__row::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ac-aud__row:hover::before { transform: scaleX(1); }
.ac-aud__row h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.ac-aud__label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.ac-aud__row p { font-size: .9375rem; color: var(--text-2); }
.ac-aud__row .btn { min-height: 44px; padding: 10px 16px; font-size: 11px; justify-self: end; }

.ac-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.ac-split .commit { margin-top: 2rem; }

.ac-method { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 2rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--bg); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.steps li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--line-2), transparent); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--fs-h3); font-weight: 700; margin: .55rem 0 .35rem; }
.steps p { color: var(--text-2); font-size: .9375rem; }
.brief { position: sticky; top: calc(var(--head-h) + 24px); padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--panel); border: 1.5px solid var(--line-2); box-shadow: var(--shadow); }
.brief__head { display: flex; align-items: center; gap: .9rem; margin-bottom: .75rem; }
.brief__head .ibox { width: 48px; height: 48px; }
.brief__head .ibox .ic { width: 30px; height: 30px; }
.brief h3 { font-size: 1.125rem; font-weight: 800; }
.brief > p { font-size: .9375rem; color: var(--text-2); margin-bottom: 1rem; }
.brief .dash { margin-bottom: 1.5rem; }
.brief .dash li { color: var(--text); }
.brief .btn { width: 100%; }
.brief__mail { margin-top: 1rem; font-size: .875rem; color: var(--text-2); }
.brief__mail a { color: var(--heading); font-weight: 700; }

.ac-about__photo { margin-top: 2rem; display: grid; grid-template-columns: 160px 1fr; gap: 1.25rem; align-items: center; }
.ac-about__photo img { border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.ac-about__photo p { font-size: .875rem; color: var(--text-2); }

/* ==========================================================================
   PRESTATIONS (ps-)
   ========================================================================== */
.ps-nav { position: sticky; top: var(--head-h); z-index: 50; background: var(--header); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .ps-nav { background: var(--bg); } }
.ps-nav ul { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: .75rem; }
.ps-nav a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0 .9rem; white-space: nowrap;
  border-radius: 100px; border: 1px solid var(--line-2); background: var(--card); color: var(--text);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s;
}
.ps-nav a .ic { width: 18px; height: 18px; color: var(--accent); }
.ps-nav a:hover, .ps-nav a.is-active { background: var(--grad); border-color: transparent; color: #fff; }
.ps-nav a:hover .ic, .ps-nav a.is-active .ic { color: #fff; }
@media (max-width: 960px) {
  /* Mobile et tablette : on fait glisser les pastilles au doigt, sans barre de défilement ;
     un fondu sur le bord droit indique la suite. */
  .ps-nav ul {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  }
  .ps-nav ul::-webkit-scrollbar { display: none; }
  .ps-nav li { scroll-snap-align: start; }
  .ps-nav ul.is-end { -webkit-mask-image: none; mask-image: none; }
}
.ps-sec { padding-block: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 70px); }
.ps-sec:nth-of-type(even) { background: var(--bg-2); }
.ps-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ps-sec:nth-of-type(even) .ps-grid > :first-child { order: 2; }
.ps-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.ps-num { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.ps-sec h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.ps-sub { font-size: 1rem; font-weight: 600; color: var(--heading); margin: .6rem 0 1rem; }
.ps-sec .txt { color: var(--text-2); }
.ps-sec .dash { margin: 1.25rem 0 1.5rem; }
.ps-sec .tags { margin-bottom: 1.75rem; }
.ps-sec .btn { white-space: normal; text-align: left; }
.ps-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 5; background: var(--bg-2); box-shadow: var(--shadow); }
.ps-visual img { width: 100%; height: 100%; object-fit: cover; }
.ps-visual figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; width: fit-content; font-size: .8125rem; color: #E8EEFF; background: rgba(1, 6, 38, .8); padding: .45rem .7rem; border-radius: var(--r); }
.ps-visual--icon { display: grid; place-items: center; aspect-ratio: 4 / 3; background: radial-gradient(ellipse 60% 60% at 50% 45%, var(--glow), transparent 70%), var(--bg-2); }
.ps-visual--icon .ic { width: 45%; height: auto; aspect-ratio: 1; color: var(--accent); opacity: .85; }
.ps-visual--icon::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }

/* ==========================================================================
   À PROPOS (ap-)
   ========================================================================== */
.ap-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.ap-intro .lead + .lead { margin-top: 1rem; }
.ap-photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ap-values li { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; border-bottom: 1px solid var(--line); background: var(--card); transition: background-color .3s; }
.ap-values li:nth-child(odd) { border-right: 1px solid var(--line); }
.ap-values li:nth-last-child(-n+2) { border-bottom: 0; }
.ap-values li:hover { background: var(--tint); }
.ap-values h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: .4rem; }
.ap-values p { color: var(--text-2); font-size: .9375rem; }

/* ==========================================================================
   CONTACT & DEVIS (ct-)
   ========================================================================== */
.ct-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ct-side { display: grid; gap: 1.5rem; }
.ct-hours { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; background: var(--card); }
.ct-hours h2 { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.ct-hours dl { display: grid; grid-template-columns: 1fr auto; }
.ct-hours dt, .ct-hours dd { padding-block: .6rem; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.ct-hours dt { color: var(--text-2); }
.ct-hours dd { color: var(--heading); font-weight: 600; text-align: right; }
.ct-hours dt:last-of-type, .ct-hours dd:last-of-type { border-bottom: 0; }
.ct-form { position: relative; border-radius: var(--r-lg); border: 1.5px solid var(--line-2); background: var(--panel); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.75rem); }
.ct-form::after { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: var(--fiber); }
.ct-form h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.ct-form .sub { color: var(--text-2); font-size: .9375rem; margin: .35rem 0 1.5rem; }
.ct-type { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1.5rem; border: 0; padding: 0; }
.ct-type legend { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: .5rem; }
.ct-type label {
  position: relative; display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-radius: var(--r);
  border: 1.5px solid var(--line-2); background: var(--card); cursor: pointer; font-weight: 700; color: var(--heading); font-size: .9375rem;
}
.ct-type input { accent-color: #0511F2; width: 18px; height: 18px; margin: 0; }
.ct-type label:has(input:checked) { border-color: var(--accent-2); background: var(--tint); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-g { display: grid; gap: .45rem; margin-bottom: 1rem; }
.f-g label, .f-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.f-g label span, .f-req { color: var(--accent); }
.f-in {
  width: 100%; min-height: 48px; padding: .75rem .9rem; border-radius: var(--r);
  border: 1.5px solid var(--line-2); background: var(--input); color: var(--heading);
  font: 500 1rem/1.4 var(--font); transition: border-color .2s, box-shadow .2s;
}
.f-in::placeholder { color: var(--text-3); }
.f-in:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--tint); }
.f-in:user-invalid { border-color: var(--err); }
textarea.f-in { min-height: 140px; resize: vertical; }
select.f-in { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: right 1.1rem center, right .8rem center; background-size: 5px 5px; background-repeat: no-repeat; }
select.f-in option { background: var(--panel); color: var(--heading); }
.f-help { font-size: .8125rem; color: var(--text-3); }
.f-check { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; font-size: .875rem; color: var(--text-2); margin: .5rem 0 1.25rem; }
.f-check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: #0511F2; }
.f-hp input { width: 1px; }
.f-hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ct-form .btn { width: 100%; }
.f-note { margin-top: 1rem; font-size: .8125rem; color: var(--text-3); text-align: center; }
.alert { border-radius: var(--r); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: .9375rem; border: 1px solid; }
.alert--ok { color: var(--ok); border-color: currentColor; background: color-mix(in srgb, var(--ok) 10%, transparent); }
.alert--err { color: var(--err); border-color: currentColor; background: color-mix(in srgb, var(--err) 10%, transparent); }
.alert strong { color: inherit; }
.alert ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.result { max-width: 680px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 1rem; }
.result .ibox { width: 72px; height: 72px; border-radius: 50%; }
.result .ibox .ic { width: 32px; height: 32px; }
.result--ok .ibox { color: var(--ok); }
.result--err .ibox { color: var(--err); }

/* ==========================================================================
   MENTIONS LÉGALES (ml-)
   ========================================================================== */
.ml-prose { max-width: 760px; }
.ml-prose h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 800; margin: 2.5rem 0 .75rem; letter-spacing: -.01em; }
.ml-prose h2:first-child { margin-top: 0; }
.ml-prose p, .ml-prose li { color: var(--text-2); }
.ml-prose p + p { margin-top: .75rem; }
.ml-prose ul { padding-left: 1.2rem; margin-top: .5rem; display: grid; gap: .35rem; }
.ml-prose a { color: var(--accent); text-underline-offset: .2em; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hd-nav, .hd-cta { display: none; }
  .hd-actions { margin-inline-start: auto; padding-inline-start: 0; border-inline-start: 0; gap: .75rem; }
  .hd-burger { display: inline-grid; }
}
@media (max-width: 1100px) {
  .ac-aud__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ac-aud__row h3 { grid-column: 1 / -1; }
  .ac-aud__row .btn { grid-column: 1 / -1; justify-self: start; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .hd-tel { display: none; }
  .hd-nav, .hd-cta { display: none; }
  .hd-actions { margin-inline-start: auto; }
  .hd-burger { display: inline-grid; }
  .hd-logo img { width: 150px; }
  .ac-split, .ac-method, .faq, .ac-measure, .ap-intro, .ct-grid, .ft-cta__in, .ps-grid { grid-template-columns: minmax(0, 1fr); }
  .ps-sec:nth-of-type(even) .ps-grid > :first-child { order: 0; }
  .ps-visual { aspect-ratio: 16 / 11; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* Mobile et tablette : un seul modèle de bloc pour toutes les prestations
     (pastille 48 px à gauche, texte à droite). Le parcours garde sa fibre, ici verticale,
     qui relie les étapes du central à l'abonné. */
  .ac-path { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .ac-path::before, .ac-path::after { display: none; }
  .ac-path li:not(:last-child)::before {
    content: ""; position: absolute; left: 23px; top: 60px; bottom: 10px; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, #7CA0FF, #3A5FFF 60%, #0511F2); box-shadow: 0 0 10px rgba(58, 95, 255, .35);
  }
  .ac-path li { grid-template-columns: 48px minmax(0, 1fr); gap: .3rem 1rem; padding: 0 0 2.25rem; }
  .ac-path li:last-child { padding-bottom: 0; }
  .ac-path li > :not(.ibox) { grid-column: 2; }
  .ac-path .ibox, .ac-more .ibox, .ac-measure__txt .ibox { width: 48px; height: 48px; grid-column: 1; grid-row: 1 / span 4; margin: 0; align-self: start; }
  .ac-path .ibox .ic, .ac-more .ibox .ic, .ac-measure__txt .ibox .ic { width: 28px; height: 28px; }
  .ac-path .ibox { background: linear-gradient(var(--tint), var(--tint)), var(--bg-2); box-shadow: 0 0 0 6px var(--bg-2); }
  .ac-path h3, .ac-more h4, .ac-measure__txt h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
  .ac-path p, .ac-more p { font-size: .9375rem; line-height: 1.65; }
  .ac-path .link, .ac-more .link { justify-self: start; margin-top: .2rem; }
  .ac-measure__txt { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .3rem 1rem; align-content: start; }
  .ac-measure__txt > :not(.ibox) { grid-column: 2; }
  .ac-more ul { grid-template-columns: minmax(0, 1fr); }
  .ac-more li { padding: 1.5rem 0; gap: .3rem 1rem; }
  .ac-more li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ac-more li > :not(.ibox) { grid-column: 2; }
  .brief { position: static; }
  .gallery { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; }
  .gallery figure { scroll-snap-align: start; }
  .ap-values { grid-template-columns: minmax(0, 1fr); }
  .ap-values li:nth-child(odd) { border-right: 0; }
  .ap-values li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  html { scroll-padding-bottom: 88px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
    padding: .6rem var(--gut) calc(.6rem + env(safe-area-inset-bottom));
    background: var(--header); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .dock .btn { width: 100%; padding-inline: .75rem; }
  .to-top { bottom: calc(76px + env(safe-area-inset-bottom) + 12px); width: 44px; height: 44px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .dock { background: var(--bg); } }
@media (max-width: 600px) {
  .hero__in { padding-block: 1.5rem 1rem; }
  .hero__tag { margin-bottom: .75rem; gap: 6px; font-size: 10px; letter-spacing: .14em; }
  .hero__tag span { padding: 2px 7px; }
  .hero__tag::before { display: none; }
  .hero h1 { font-size: clamp(1.95rem, 1.1rem + 4.6vw, 2.6rem); margin-bottom: .85rem; }
  .hero .lead { font-size: 1rem; line-height: 1.6; margin-bottom: 1.25rem; }
  .hero__alt { font-size: .875rem; margin-top: 1rem; }
  .hero::after { background: linear-gradient(180deg, rgba(1, 6, 38, .55) 0%, rgba(1, 6, 38, .8) 45%, rgba(1, 6, 38, .95) 100%); }
  .phero .wrap { padding-block: 2rem 2.25rem; }
  .sec { padding-block: clamp(3rem, 2.5rem + 3vw, 4rem); }
  .dock .btn { font-size: 12px; letter-spacing: .06em; padding-inline: .5rem; gap: 6px; }
  .stats li, .stats li + li { padding: 1.25rem 0; border-left: 0; }
  .stats li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .ac-aud__row { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .btns { flex-direction: column; align-items: stretch; }
  .btns .btn { width: 100%; }
  .f-row, .ct-type { grid-template-columns: minmax(0, 1fr); }
  .ac-about__photo { grid-template-columns: 120px 1fr; }
  .ft-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(3, 82%); }
  .hero__pause { top: .6rem; right: .6rem; width: 40px; height: 40px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
  .hero__pause [data-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 420px) {
  .stats, .stats--3 { grid-template-columns: minmax(0, 1fr); }
  .stats li, .stats li + li, .stats li:nth-child(even) { grid-template-columns: 84px 1fr; align-items: center; gap: 1rem; padding: 1rem 0; border-left: 0; }
  .stats li + li { border-top: 1px solid var(--line); }
  .stat-n { font-size: 2rem; }
}

/* Export PDF (classe pdf-mode sur <body>) et impression */
.pdf-mode *, .pdf-mode *::before, .pdf-mode *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; animation: none !important; transition: none !important; box-shadow: none !important; }
@media print {
  .hd, .dock, .mmenu, .hero__media, .hero__pause, .ps-nav { display: none !important; }
  body { padding: 0; }
}
