/* =========================================================
   Astrale Informatique — style.css
   Direction : Deep Space Cyber (dark, glass, bleu/violet)
   ========================================================= */

:root {
  --bg: #05070D;
  --bg-2: #0A0F1C;
  --glass: rgba(15, 23, 42, 0.65);
  --glass-strong: rgba(15, 23, 42, 0.86);
  --line: rgba(56, 189, 248, 0.2);
  --line-soft: rgba(148, 163, 184, 0.14);
  --blue: #38BDF8;
  --violet: #818CF8;
  --white: #F8FAFC;
  --text: #CBD5E1;
  --muted: #94A3B8;
  --dim: #64748B;
  --ok: #34D399;
  --warn: #FBBF24;
  --danger: #F87171;

  --f-display: 'Syne', 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --grad: linear-gradient(120deg, #38BDF8, #818CF8);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 85% 8%, rgba(129, 140, 248, 0.09), transparent 70%),
    radial-gradient(45% 40% at 5% 55%, rgba(56, 189, 248, 0.06), transparent 70%),
    radial-gradient(50% 40% at 70% 100%, rgba(129, 140, 248, 0.06), transparent 70%);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(56, 189, 248, 0.35); color: #fff; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Utilitaires ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.mono { font-family: var(--f-mono); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 1000;
  padding: 12px 18px; border-radius: 10px;
  background: var(--white); color: var(--bg); font-weight: 600;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 16px; }
.opt { color: var(--dim); font-weight: 400; }
.link {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s;
}
.link:hover { text-decoration-color: var(--blue); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Préchargement ---------- */
.preloader { display: none; }
.js .preloader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  animation: preloader-failsafe 0.01s 4.5s forwards;
}
@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__mark { width: 76px; height: 76px; overflow: visible; }
.preloader__mark path, .preloader__mark ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader__label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.preloader__bar { width: 180px; height: 1px; background: rgba(148, 163, 184, 0.14); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.preloader__pct { font-size: 0.72rem; color: var(--dim); }

/* Démarrage : pas d'écran de chargement. Le haut de page attend son animation d'entrée
   (au plus 2,5 s si le script ne démarre pas). */
.js:not(.is-ready) .hero__inner, .js:not(.is-ready) .nav__inner { opacity: 0; animation: boot-failsafe 0.01s 2.5s forwards; }
@keyframes boot-failsafe { to { opacity: 1; } }

/* ---------- Conseils (aperçu du blog) et liens vers les pages ---------- */
.section-more { display: flex; justify-content: center; margin-top: 30px; }
.zone__links a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(56, 189, 248, 0.4); text-underline-offset: 3px; transition: color 0.25s; }
.zone__links a:hover { color: var(--blue); }
.ms__more { margin-top: 14px; }
.footer__title a { color: inherit; transition: color 0.25s; }
.footer__title a:hover { color: var(--blue); }
.guides__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide {
  display: flex; flex-direction: column; gap: 14px; padding: 30px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(17, 25, 46, 0.78), rgba(10, 15, 28, 0.78));
  border: 1px solid var(--line-soft);
  transition: border-color 0.35s, transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.guide:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-4px); box-shadow: 0 30px 70px -40px rgba(56, 189, 248, 0.6); }
.guide:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.guide__meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.guide__tag { font-size: 0.76rem; font-weight: 600; color: #BAE6FD; padding: 3px 10px; border-radius: 999px; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2); }
.guide h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.guide p { flex: 1; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.guide__more { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--blue); }
.guide__more .i { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.guide:hover .guide__more .i { transform: translateX(4px); }
.guides__all { display: flex; justify-content: center; margin-top: 34px; }
@media (max-width: 1024px) { .guide { padding: 24px; } .guide h3 { font-size: 1.15rem; } }

/* ---------- Curseur ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.cursor__halo, .cursor__glow { position: absolute; left: 0; top: 0; border-radius: 999px; opacity: 0; transition: opacity 0.4s; }
.cursor.is-visible .cursor__halo, .cursor.is-visible .cursor__glow { opacity: 1; }
.cursor__halo { width: 38px; height: 38px; }
.cursor__halo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), rgba(129, 140, 248, 0.05) 60%, transparent 72%);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.28);
  transition: transform 0.4s var(--ease-out), background 0.3s, border-color 0.3s;
}
.cursor.is-hover .cursor__halo::before { transform: scale(1.55); background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 70%); }
.cursor.is-down .cursor__halo::before { transform: scale(0.8); }
.cursor.is-stuck .cursor__halo::before { transform: none; background: rgba(56, 189, 248, 0.07); border-color: rgba(56, 189, 248, 0.75); }
.cursor__glow {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07), rgba(129, 140, 248, 0.03) 40%, transparent 68%);
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.4s, background 0.3s;
}
.btn .i { width: 18px; height: 18px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 1rem; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn--icon { width: 50px; padding: 0; }
.btn--primary {
  color: #04121F;
  background: var(--grad);
  box-shadow: 0 12px 32px -12px rgba(56, 189, 248, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, #7DD3FC, #A5B4FC);
  opacity: 0;
  transition: opacity 0.35s;
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 16px 44px -12px rgba(56, 189, 248, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(56, 189, 248, 0.6); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.08); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--muted);
  padding: 10px 4px; transition: color 0.25s;
}
.btn-text:hover { color: var(--white); }
.btn-text .i { width: 16px; height: 16px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark { width: 36px; height: 36px; overflow: visible; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.16em; }
.logo__sub { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.38em; color: var(--muted); margin-top: 5px; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: transform 0.6s var(--ease-out); }
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav__inner {
  width: min(100% - 24px, 1320px);
  margin-inline: auto;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 10px 0 18px;
  border-radius: 20px;
  background: rgba(8, 12, 24, 0.42);
  border: 1px solid rgba(56, 189, 248, 0.14);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: background 0.4s, border-color 0.4s;
}
.nav.is-scrolled .nav__inner { background: rgba(8, 12, 24, 0.8); border-color: rgba(56, 189, 248, 0.22); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: #fff; background: rgba(148, 163, 184, 0.08); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 1px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  transform: translateX(-50%);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: #A7F3D0;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  white-space: nowrap;
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2.2s infinite; flex-shrink: 0; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.nav__call, .burger {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  flex-shrink: 0;
}
.nav__call { margin-left: auto; color: var(--blue); }
.burger { position: relative; }
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.45s var(--ease-out);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 120px var(--gutter) 40px;
  background: rgba(5, 7, 13, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__links a {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out), color 0.25s;
}
.mobile-menu.is-open .mobile-menu__links a { transform: none; opacity: 1; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(6) { transition-delay: 0.2s; }
.mobile-menu__links a:hover { color: var(--blue); }
.mobile-menu__foot { display: grid; gap: 12px; justify-items: start; }
.mobile-menu__foot .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.hero__fallback { display: none; }
.hero.no-webgl .hero__fallback {
  display: block;
  position: absolute;
  z-index: -1;
  right: 4vw;
  top: 50%;
  width: min(56vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 42% 38%, rgba(248, 250, 252, 0.35), rgba(56, 189, 248, 0.32) 22%, rgba(129, 140, 248, 0.2) 46%, transparent 68%);
  filter: blur(6px);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(calc(-50% - 18px)); } }
.hero__inner { position: relative; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.3vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 11.6em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w__i { display: inline-block; will-change: transform; }
.hero__lead { max-width: 35em; font-size: clamp(1.02rem, 1.2vw, 1.18rem); color: var(--text); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 230px)); gap: 32px; }
.trust li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.trust .i { grid-row: span 2; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.trust strong { font-size: 0.95rem; font-weight: 600; line-height: 1.4; }
.trust span { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.hero__hud {
  position: absolute;
  right: var(--gutter);
  bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.68rem;
  color: var(--dim);
  letter-spacing: 0.05em;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  transform: translateX(-50%);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px;
  width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--blue);
  animation: cue 2s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Bandeau technologies ---------- */
.ticker {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 30px 0;
  overflow: hidden;
  border-block: 1px solid rgba(56, 189, 248, 0.1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row { display: flex; white-space: nowrap; }
.ticker__track { display: flex; flex-shrink: 0; will-change: transform; }
.ticker__track.is-css { animation: tick 60s linear infinite; }
.ticker__track.is-css[data-dir="-1"] { animation-direction: reverse; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(22px, 3vw, 44px);
  padding-right: clamp(22px, 3vw, 44px);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.ticker__row--outline .ticker__group { color: transparent; -webkit-text-stroke: 1px rgba(148, 163, 184, 0.5); }
.ticker__group .i { width: 0.4em; height: 0.4em; color: var(--blue); }
.ticker__row--outline .ticker__group .i { color: var(--violet); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 9vw, 136px) 0; scroll-margin-top: 70px; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.section-lead { font-size: clamp(1rem, 1.2vw, 1.14rem); color: var(--text); max-width: 37em; }

/* ---------- Chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-family: var(--f-mono);
  font-size: 0.69rem;
  line-height: 1.3;
  padding: 5px 9px;
  border-radius: var(--r-sm);
  color: #BAE6FD;
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.16);
}

/* ---------- Services ---------- */
.services[data-audience="particulier"] .v--pro,
.services[data-audience="entreprise"] .v--part { display: none; }
.services__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: 28px; }
.audience {
  position: relative;
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.18);
}
.audience__pill {
  position: absolute;
  top: 6px; bottom: 6px; left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 8px 24px -8px rgba(56, 189, 248, 0.7);
  transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out);
}
.audience [role="tab"] {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.4s;
}
.audience [role="tab"] .i { width: 18px; height: 18px; }
.audience [role="tab"] { white-space: nowrap; }
.audience [aria-selected="true"] { color: #04121F; }
.audience__hint { color: var(--muted); font-size: 0.95rem; max-width: 31em; }

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(280px, auto);
  gap: 16px;
}
.card { position: relative; min-width: 0; }
.card--depannage { grid-column: span 4; }
.card--install { grid-column: span 2; grid-row: span 2; }
.card--reseau, .card--infra { grid-column: span 2; }
.card--cyber, .card--maint { grid-column: span 3; }

.card__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.5s;
}
.card__inner:hover { border-color: rgba(56, 189, 248, 0.45); box-shadow: 0 30px 70px -36px rgba(56, 189, 248, 0.45); }
.card__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card__inner:hover .card__glare { opacity: 1; }
.card--split .card__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.card__visual {
  position: relative;
  flex: 1;
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 26px 26px 0;
}
.card--split .card__visual { padding: 26px; }
.card__body { display: flex; flex-direction: column; padding: 26px 28px 28px; }
.card--split .card__body { justify-content: flex-end; }
.card__icon { width: 26px; height: 26px; color: var(--blue); margin-bottom: 16px; }
.card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.card__open { text-align: left; line-height: inherit; letter-spacing: inherit; }
.card__open::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-lg); }
.card__open:focus-visible { outline: none; }
.card__open:focus-visible::after { outline: 2px solid var(--blue); outline-offset: -3px; }
.card__desc { color: var(--text); font-size: 0.95rem; margin-bottom: 16px; max-width: 46ch; }
.card__body .chips { margin-bottom: 20px; }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; margin-top: auto; }
.card__more .i {
  width: 22px; height: 22px; padding: 4px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--blue);
  transition: transform 0.5s var(--ease-out), background 0.3s, color 0.3s;
}
.card__inner:hover .card__more .i { transform: rotate(90deg); background: var(--blue); color: #04121F; }
.bento.is-switching .card__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(56, 189, 248, 0.16) 50%, transparent 70%);
  animation: switch-sweep 0.8s var(--ease-out) forwards;
}
@keyframes switch-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Animations des visuels : actives uniquement quand la carte est visible */
.card__visual * { animation-play-state: paused !important; }
.card.is-live .card__visual * { animation-play-state: running !important; }

/* Terminal */
.term {
  width: 100%;
  border-radius: 14px;
  background: rgba(2, 6, 16, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.72rem;
  line-height: 1.75;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.1); color: var(--dim); }
.term__bar i { width: 8px; height: 8px; border-radius: 50%; background: #334155; }
.term__bar span { margin-left: 8px; }
.term__body { padding: 12px 14px 16px; min-height: 196px; color: var(--muted); }
.term__body p { white-space: pre-wrap; }
.term__body .cmd { color: #E2E8F0; }
.term__body .accent { color: var(--blue); }
.term__body .ok { color: #6EE7B7; }
.term__body p:last-child::after { content: '▍'; margin-left: 2px; color: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Installation */
.install { width: 100%; display: grid; justify-items: center; gap: 26px; padding: 10px 0; }
.install__dial { position: relative; width: 150px; height: 150px; }
.install__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.install__ring circle { fill: none; stroke-width: 5; }
.install__ring .track { stroke: rgba(148, 163, 184, 0.12); }
.install__ring .bar { stroke: url(#g-astrale); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6)); }
.js .card--install .install__ring .bar { stroke-dashoffset: 100; }
.js .card--install.is-live .install__ring .bar { animation: ring-fill 3.2s var(--ease-out) 0.2s forwards; }
@keyframes ring-fill { to { stroke-dashoffset: 0; } }
.install__pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2px; }
.install__pct strong { font-size: 2rem; font-weight: 500; letter-spacing: -0.04em; }
.install__pct span { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.install__steps { list-style: none; display: grid; gap: 9px; font-size: 0.74rem; color: var(--muted); width: 100%; max-width: 230px; }
.install__steps li { display: flex; align-items: center; gap: 10px; }
.install__steps li::before {
  content: '';
  width: 14px; height: 14px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304121F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.js .card--install .install__steps li::before { background-color: transparent; background-size: 0; }
.js .card--install.is-live .install__steps li::before { animation: step-check 0.4s var(--ease-out) forwards; }
.js .card--install.is-live .install__steps li:nth-child(1)::before { animation-delay: 0.7s; }
.js .card--install.is-live .install__steps li:nth-child(2)::before { animation-delay: 1.5s; }
.js .card--install.is-live .install__steps li:nth-child(3)::before { animation-delay: 2.3s; }
.js .card--install.is-live .install__steps li:nth-child(4)::before { animation-delay: 3.1s; }
@keyframes step-check { to { background-color: var(--blue); background-size: 10px; border-color: var(--blue); } }

/* Wi-Fi */
.wifi { position: relative; width: 100%; height: 150px; display: grid; place-items: center; }
.wifi__wave {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.5);
  animation: wave 3s var(--ease-out) infinite;
}
.wifi__wave:nth-child(2) { animation-delay: 1s; }
.wifi__wave:nth-child(3) { animation-delay: 2s; }
@keyframes wave { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.wifi__core {
  position: relative;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  color: var(--blue);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}
.wifi__core .i { width: 26px; height: 26px; }
.wifi__tag {
  position: absolute;
  font-size: 0.66rem;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  background: rgba(2, 6, 16, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--text);
}
.wifi__tag--a { top: 14px; left: 4%; }
.wifi__tag--b { bottom: 12px; right: 4%; color: #6EE7B7; }

/* Topologie */
.topo { width: 100%; max-width: 280px; overflow: visible; }
.topo__links path { fill: none; stroke: rgba(148, 163, 184, 0.2); stroke-width: 1; }
.topo__flow path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 14; animation: flow 1.6s linear infinite; filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.9)); }
.topo__flow path:nth-child(2n) { stroke: var(--violet); animation-duration: 2.1s; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.topo__srv { fill: rgba(56, 189, 248, 0.14); stroke: var(--blue); stroke-width: 1.2; }
.topo__srv-lines { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; }
.topo__node { fill: #0B1222; stroke: var(--violet); stroke-width: 1.2; }
.topo text { font-family: var(--f-mono); font-size: 8.5px; fill: var(--muted); text-anchor: middle; }

/* Bouclier */
.shield { width: 100%; display: flex; align-items: center; justify-content: center; gap: 22px; }
.shield__frame { position: relative; width: 112px; flex-shrink: 0; overflow: hidden; border-radius: 6px; }
.shield__svg { width: 100%; overflow: visible; }
.shield__glow { fill: rgba(56, 189, 248, 0.08); stroke: none; }
.shield__outline { fill: none; stroke: url(#g-astrale); stroke-width: 2; }
.shield__check { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .card--cyber .shield__check { stroke-dashoffset: 1; }
.js .card--cyber.is-live .shield__check { animation: draw 1s var(--ease-out) 0.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.shield__scan {
  position: absolute; left: 0; right: 0; top: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.35) 90%, rgba(186, 230, 253, 0.9));
  mix-blend-mode: screen;
  animation: scan 2.8s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(-110%); } 60%, 100% { transform: translateY(360%); } }
.shield__log { list-style: none; display: grid; gap: 8px; font-size: 0.7rem; color: var(--muted); }
.shield__log li { display: flex; align-items: center; gap: 8px; }
.shield__log li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* Supervision */
.uptime { width: 100%; display: grid; gap: 14px; }
.uptime__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.68rem; color: var(--muted); }
.uptime__head strong { color: #6EE7B7; font-weight: 500; }
.uptime__bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; height: 54px; align-items: end; }
.uptime__bars i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(56, 189, 248, 0.35));
  transform-origin: bottom;
}
.uptime__bars i.is-warn { background: linear-gradient(180deg, var(--warn), rgba(251, 191, 36, 0.35)); }
.js .card--maint .uptime__bars i { transform: scaleY(0); }
.js .card--maint.is-live .uptime__bars i { animation: bar-up 0.6s var(--ease-out) forwards; }
@keyframes bar-up { to { transform: scaleY(1); } }
.uptime__foot { display: flex; align-items: center; gap: 8px; font-size: 0.68rem; color: var(--muted); }
.uptime__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 8px var(--warn); }

/* ---------- Pourquoi ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__sticky { position: sticky; top: 120px; }
.orbit { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-top: 44px; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: rgba(56, 189, 248, 0.3); stroke-width: 1; stroke-dasharray: 2 7; }
.orbit__ring--inner { stroke: rgba(129, 140, 248, 0.18); stroke-dasharray: none; }
.orbit__node {
  fill: #0B1222;
  stroke: rgba(129, 140, 248, 0.6);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.6s var(--ease-out), fill 0.5s, stroke 0.5s;
}
.orbit__node.is-active { fill: var(--blue); stroke: #BAE6FD; transform: scale(1.5); filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.9)); }
.orbit__core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 104px; height: 104px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), rgba(129, 140, 248, 0.07) 62%, transparent 72%);
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow: 0 0 70px rgba(56, 189, 248, 0.22), inset 0 0 30px rgba(56, 189, 248, 0.12);
}
.orbit__core .i { width: 36px; height: 36px; stroke-width: 1.4; }
.pillars { list-style: none; display: grid; gap: 22px; }
.pillar {
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.1);
  opacity: 0.5;
  transition: opacity 0.6s var(--ease-out), background 0.6s, border-color 0.6s, transform 0.6s var(--ease-out);
}
.pillar.is-active { opacity: 1; background: var(--glass); border-color: var(--line); }
.pillar__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--blue);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.pillar__icon .i { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.pillar p { color: var(--text); margin-bottom: 18px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid rgba(56, 189, 248, 0.15);
}
.stat { padding: 34px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(56, 189, 248, 0.15); }
.stat__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #F8FAFC 35%, #94A3B8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__value small { font-size: 0.3em; letter-spacing: 0; font-weight: 600; }
.stat__label { color: var(--muted); margin-top: 14px; max-width: 22em; font-size: 0.95rem; }

/* ---------- Méthode ---------- */
.process { padding-top: 0; }
.process__track { position: relative; }
.process__line { position: absolute; top: 22px; left: 22px; right: calc((100% - 84px) / 4 - 22px); height: 1px; background: rgba(148, 163, 184, 0.16); }
.process__line span {
  display: block;
  width: 100%; height: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(var(--p, 1));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}
.process__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.process__step { position: relative; }
.process__num {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.28);
  transition: background 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.process__step.is-on .process__num { background: var(--blue); color: #04121F; border-color: var(--blue); box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.14), 0 0 24px rgba(56, 189, 248, 0.5); }
.process__step h3 { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.process__step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Diagnostic ---------- */
.diag__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.diag__intro { position: sticky; top: 120px; }
.diag__points { list-style: none; display: grid; gap: 12px; margin-top: 32px; }
.diag__points li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 0.96rem; }
.diag__points .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(56, 189, 248, 0.14); color: var(--blue); stroke-width: 2.2; }
.console {
  border-radius: var(--r-xl);
  background: rgba(10, 15, 30, 0.78);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px -40px rgba(56, 189, 248, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.console__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  font-size: 0.72rem;
  color: var(--dim);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.console__top span:last-child { color: var(--blue); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: #334155; }
.console__progress { height: 2px; background: rgba(148, 163, 184, 0.1); }
.console__progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0.25); transition: transform 0.7s var(--ease-out); box-shadow: 0 0 10px rgba(56, 189, 248, 0.7); }
.steps { padding: clamp(24px, 3.2vw, 40px) clamp(22px, 3.2vw, 40px) 8px; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step__title {
  display: block;
  padding: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
  outline: none;
}
.step__hint { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.options { display: grid; gap: 12px; }
.options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option__box {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  align-items: center;
  height: 100%;
  padding: 20px 44px 20px 20px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.55);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.4s, transform 0.4s var(--ease-out);
  pointer-events: none;
}
.option__box .i {
  grid-row: span 2;
  width: 44px; height: 44px; padding: 10px;
  border-radius: 12px;
  color: var(--blue);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
}
.option__box strong { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.option__box small { color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
.option__box::after {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: all 0.3s;
}
.option:hover .option__box { border-color: rgba(56, 189, 248, 0.42); background: rgba(15, 23, 42, 0.85); }
.option input:checked + .option__box {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(129, 140, 248, 0.1));
  box-shadow: inset 0 0 0 1px var(--blue), 0 18px 40px -22px rgba(56, 189, 248, 0.7);
}
.option input:checked + .option__box::after { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px #0A1222; }
.option input:focus-visible + .option__box { outline: 2px solid var(--blue); outline-offset: 3px; }
.steps__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px clamp(22px, 3.2vw, 40px) clamp(22px, 3vw, 32px);
}
.steps__nav [data-diag-next] { margin-left: auto; }
.steps__nav [data-diag-next][hidden] { display: none; }

.result__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 20px; }
.result__tags li { font-size: 0.7rem; padding: 5px 10px; border-radius: 999px; color: #BAE6FD; background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.2); }
.result__price {
  padding: 24px;
  border-radius: 18px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.13), rgba(129, 140, 248, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.32);
}
.result__price span { display: block; font-size: 0.85rem; color: #BAE6FD; }
.result__price strong {
  display: block;
  margin: 6px 0 6px;
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.result__price strong small { font-family: var(--f-body); font-size: 0.4em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.result__price > small { color: var(--muted); font-size: 0.8rem; }
.result__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.result__facts dt, .result__plan-title, .result__label { font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; display: block; }
.result__facts dd { font-weight: 600; font-size: 0.98rem; line-height: 1.4; }
.result__plan ol { padding-left: 1.2em; display: grid; gap: 4px; color: var(--text); font-size: 0.95rem; margin-bottom: 18px; }
.result__plan li::marker { color: var(--blue); font-family: var(--f-mono); font-size: 0.85em; }
.result__note {
  display: flex; gap: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  color: #FDE68A;
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.result__note[hidden] { display: none; }
.result__notes, .field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(2, 6, 16, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--r-md);
  padding: 13px 15px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  appearance: none;
  -webkit-appearance: none;
}
.result__notes { resize: vertical; min-height: 84px; margin-bottom: 16px; }
.result__notes:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(2, 6, 16, 0.85);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.13);
}
::placeholder { color: var(--dim); opacity: 1; }
.recap-wrap { position: relative; margin: 0 0 18px; }
.recap__copy {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  transition: color 0.25s, border-color 0.25s;
}
.recap__copy:hover { color: var(--blue); border-color: var(--blue); }
.recap__copy .i { width: 18px; height: 18px; }
.recap {
  margin: 0;
  padding: 16px 56px 16px 16px;
  max-height: 210px;
  overflow: auto;
  font-size: 0.76rem;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--text);
  background: rgba(2, 6, 16, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--r-md);
}
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Zone ---------- */
.zone__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.radar { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; margin-inline: auto; }
.radar__bg {
  position: absolute;
  inset: 6.67%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07), rgba(5, 7, 13, 0) 72%);
  box-shadow: inset 0 0 80px rgba(56, 189, 248, 0.07), 0 0 120px rgba(56, 189, 248, 0.06);
}
.radar__sweep {
  position: absolute;
  inset: 6.67%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0) 0deg, rgba(56, 189, 248, 0) 280deg, rgba(56, 189, 248, 0.22) 350deg, rgba(125, 211, 252, 0.55) 360deg);
  animation: sweep 6s linear infinite;
  animation-play-state: paused;
}
.radar.is-live .radar__sweep { animation-play-state: running; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.radar .ring { fill: none; stroke: rgba(56, 189, 248, 0.16); stroke-width: 1; }
.radar .ring--outer { stroke: rgba(56, 189, 248, 0.35); }
.radar .axis { fill: none; stroke: rgba(56, 189, 248, 0.08); stroke-width: 1; }
.radar .ring-label { font-family: var(--f-mono); font-size: 11px; fill: var(--dim); }
.radar .seine { fill: none; stroke: rgba(129, 140, 248, 0.5); stroke-width: 2.4; stroke-linecap: round; }
.radar .seine-label { font-family: var(--f-mono); font-size: 11px; fill: rgba(165, 180, 252, 0.7); letter-spacing: 0.08em; }
.city text { font-family: var(--f-body); font-size: 17px; font-weight: 600; fill: #E2E8F0; transition: fill 0.3s; }
.city__dot { fill: var(--blue); transform-box: fill-box; transform-origin: center; transition: transform 0.4s var(--ease-out), fill 0.3s; }
.city__ping {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 6s linear infinite;
  animation-delay: var(--delay, 0s);
  animation-play-state: paused;
}
.radar.is-live .city__ping { animation-play-state: running; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.95; } 22% { transform: scale(4.2); opacity: 0; } 100% { transform: scale(4.2); opacity: 0; } }
.city--base .city__dot { fill: var(--white); filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9)); }
.city--base .city__halo { fill: rgba(56, 189, 248, 0.12); stroke: rgba(56, 189, 248, 0.4); stroke-dasharray: 3 4; }
.city--base text { font-family: var(--f-display); font-size: 19px; font-weight: 700; fill: var(--white); }
.city.is-focus .city__dot { transform: scale(1.7); fill: #fff; }
.city.is-focus text { fill: var(--blue); }
.cities { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 30px 0 20px; }
.cities button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.96rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: border-color 0.3s, background 0.3s;
}
.cities button:hover, .cities button:focus-visible { border-color: rgba(56, 189, 248, 0.5); background: rgba(15, 23, 42, 0.9); }
.cities .km { font-size: 0.72rem; font-weight: 400; color: var(--muted); }
.cities__note { display: flex; align-items: center; padding: 0 6px; font-size: 0.78rem; color: var(--dim); }
.zone__more { color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.remote {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
}
.remote__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 14px;
  color: var(--blue);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.remote__icon .i { width: 24px; height: 24px; }
.remote h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.remote p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__direct { display: grid; gap: 10px; margin: 34px 0 30px; }
.direct {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease-out);
}
.direct:hover { border-color: rgba(56, 189, 248, 0.5); background: rgba(15, 23, 42, 0.9); transform: translateX(4px); }
.direct__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 13px;
  color: #04121F;
  background: var(--grad);
}
.direct__icon .i { width: 22px; height: 22px; }
.direct small { display: block; font-size: 0.78rem; color: var(--muted); }
.direct strong { display: block; font-size: 1rem; font-weight: 600; word-break: break-word; }
.contact__meta { display: grid; gap: 16px; }
.contact__meta dt { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); margin-bottom: 2px; }
.contact__meta dt .i { width: 16px; height: 16px; color: var(--blue); }
.contact__meta dd { color: var(--text); font-size: 0.95rem; }

.form {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px -50px rgba(129, 140, 248, 0.35);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; min-width: 0; }
.field label { font-size: 0.86rem; font-weight: 600; color: #E2E8F0; }
.field select {
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' 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: 16px;
}
.field select option { background: #0F172A; color: var(--white); }
.field textarea { resize: vertical; min-height: 140px; }
.field__error { font-size: 0.8rem; color: #FCA5A5; min-height: 0; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.1); }
.form__hint { font-size: 0.8rem; color: var(--dim); margin: -8px 0 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--text); line-height: 1.55; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(2, 6, 16, 0.6);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.check input:checked {
  border-color: var(--blue);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304121F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.field.has-error .check input { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; margin-top: 6px; }
.form__submit.is-loading { opacity: 0.7; pointer-events: none; }
.form__status { margin-top: 16px; font-size: 0.92rem; }
.form__status:empty { display: none; }
.form__status.is-success { color: #6EE7B7; }
.form__status.is-error { color: #FCA5A5; }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: 96px; border-top: 1px solid rgba(56, 189, 248, 0.12); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.footer__brand p { margin-top: 20px; color: var(--muted); font-size: 0.92rem; max-width: 30em; }
.footer__title { font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a, .footer ul button, .footer ul span { font-size: 0.93rem; color: var(--text); text-align: left; transition: color 0.25s; word-break: break-word; }
.footer ul a:hover, .footer ul button:hover { color: var(--blue); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  margin-top: 64px;
  padding-block: 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.84rem;
  color: var(--dim);
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal button { color: var(--muted); transition: color 0.25s; }
.footer__legal button:hover { color: var(--white); }
.footer__giant {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 12.4vw, 14rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  margin-top: 30px;
  padding-bottom: 0.04em;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.32), rgba(129, 140, 248, 0.04) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  transform: translateY(14%);
}

/* ---------- Modales ---------- */
.modal {
  padding: 0;
  border: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  background: transparent;
  color: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal[open] { display: grid; place-items: center; padding: clamp(12px, 4vw, 48px); }
.modal::backdrop { background: rgba(2, 4, 10, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.35s; }
.modal.is-open::backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: min(100%, 880px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(17, 25, 46, 0.97), rgba(8, 12, 24, 0.98));
  border: 1px solid var(--line);
  box-shadow: 0 50px 140px -30px rgba(0, 0, 0, 0.85), 0 0 80px -30px rgba(56, 189, 248, 0.3);
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.35s var(--ease-out), transform 0.55s var(--ease-out);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__panel--sm { width: min(100%, 640px); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  transition: transform 0.5s var(--ease-out), border-color 0.3s, background 0.3s;
}
.modal__close:hover { transform: rotate(90deg); border-color: var(--blue); background: rgba(56, 189, 248, 0.08); }
.modal__close .i { width: 20px; height: 20px; }
.modal__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 48px 14px 0;
}
.modal__lead { color: var(--text); margin-bottom: 26px; max-width: 40em; }
.ms__head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; padding-right: 48px; }
.ms__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 18px;
  color: var(--blue);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.18);
}
.ms__icon .i { width: 28px; height: 28px; }
.ms__aud { font-size: 0.82rem; color: var(--blue); margin-bottom: 4px; }
.ms__head .modal__title { margin: 0; }
.ms__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; margin: 28px 0 32px; }
.ms__grid h3 { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.ms__list { list-style: none; display: grid; gap: 11px; }
.ms__list li { display: flex; gap: 12px; color: var(--text); font-size: 0.96rem; line-height: 1.5; }
.ms__list .i { width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; color: var(--blue); background: rgba(56, 189, 248, 0.12); stroke-width: 2.4; }
.ms__aside { display: grid; gap: 16px; align-content: start; padding: 22px; border-radius: 18px; background: rgba(2, 6, 16, 0.5); border: 1px solid rgba(148, 163, 184, 0.12); }
.ms__aside dt { font-size: 0.78rem; color: var(--muted); }
.ms__aside dd { font-weight: 600; font-size: 0.96rem; }
.ms__note { font-size: 0.88rem; color: var(--text); padding-top: 14px; border-top: 1px solid rgba(148, 163, 184, 0.12); }
.ms__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.urg-actions { display: grid; gap: 10px; margin-bottom: 28px; }
.urg {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease-out);
}
.urg:first-child { border-color: rgba(56, 189, 248, 0.5); background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(129, 140, 248, 0.08)); }
.urg:hover { border-color: var(--blue); transform: translateX(4px); }
.urg__icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; color: #04121F; background: var(--grad); }
.urg__icon .i { width: 22px; height: 22px; }
.urg strong { display: block; font-weight: 600; }
.urg small { display: block; font-size: 0.84rem; color: var(--muted); }
.reflexes { padding: 22px; border-radius: 18px; background: rgba(251, 191, 36, 0.05); border: 1px solid rgba(251, 191, 36, 0.2); }
.reflexes h3 { font-size: 0.95rem; color: #FDE68A; margin-bottom: 12px; }
.reflexes ul { list-style: none; display: grid; gap: 10px; }
.reflexes li { font-size: 0.9rem; color: var(--text); line-height: 1.55; }
.reflexes strong { color: var(--white); }
.prose h3 { font-size: 1.02rem; font-weight: 700; margin: 26px 0 8px; }
.prose p { color: var(--text); font-size: 0.95rem; line-height: 1.7; }
.todo { color: #FDE68A; background: rgba(251, 191, 36, 0.1); padding: 1px 6px; border-radius: 4px; font-family: var(--f-mono); font-size: 0.85em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav .status { display: none; }
}
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__call, .burger { display: grid; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .card--depannage { grid-column: span 2; }
  .card--install, .card--reseau, .card--infra { grid-column: span 1; grid-row: auto; }
  .card--cyber, .card--maint { grid-column: span 2; }
  .why__grid, .diag__grid, .zone__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .why__sticky, .diag__intro { position: static; }
  .orbit { display: none; }
  .pillar { opacity: 1; }
  .zone__grid .radar { max-width: 520px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__hud { display: none; }
}
@media (max-width: 760px) {
  .hero { align-items: flex-end; padding: 120px 0 72px; }
  .hero__ctas { margin-bottom: 44px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .scroll-cue { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card--depannage, .card--install, .card--reseau, .card--infra, .card--cyber, .card--maint { grid-column: span 1; }
  .card--split .card__inner { display: flex; flex-direction: column-reverse; }
  .card--split .card__visual { padding: 24px 24px 0; }
  .services__bar { flex-direction: column; align-items: flex-start; }
  .audience { width: 100%; }
  .audience [role="tab"] { flex: 1; justify-content: center; padding: 0 12px; font-size: 0.9rem; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(56, 189, 248, 0.12); }
  .process__line { top: 0; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .process__line span { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .process__list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .process__step { padding-left: 70px; }
  .process__num { position: absolute; left: 0; top: -6px; margin: 0; }
  .options--2, .result__facts, .form__row, .ms__grid { grid-template-columns: minmax(0, 1fr); }
  .console__top span:nth-child(2) { display: none; }
  .audience [role="tab"] .i { display: none; }
  .result__actions .btn { flex: 1 1 auto; }
  .cities { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .shield { gap: 16px; }
  .term__body { min-height: 0; }
  .modal[open] { padding: 10px; place-items: end center; }
  .modal__panel { border-radius: 24px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .card--install .install__ring .bar, .js .card--cyber .shield__check { stroke-dashoffset: 0; }
  .js .card--maint .uptime__bars i { transform: none; }
  .js .card--install .install__steps li::before { background-color: var(--blue); background-size: 10px; }
}

/* =========================================================
   MOBILE (≤ 760 px) — refonte tactile
   Tout ce bloc est limité au mobile : la version ordinateur ne change pas.
   ========================================================= */
.deck-nav, .mbar, .nav__progress, .sheet-grip { display: none; }

@media (max-width: 760px) {
  body { font-size: 1rem; line-height: 1.62; }

  /* Navigation compacte + barre de progression de lecture */
  .nav { top: 10px; }
  .nav__inner { width: calc(100% - 20px); height: 58px; gap: 10px; padding: 0 7px 0 14px; border-radius: 18px; position: relative; }
  .logo { gap: 9px; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__name { font-size: 0.98rem; }
  .logo__sub { font-size: 0.6rem; letter-spacing: 0.32em; }
  .nav__call, .burger { width: 44px; height: 44px; }
  .nav__progress {
    display: block; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px;
    border-radius: 2px; background: var(--grad); transform-origin: left; transform: scaleX(var(--sp, 0));
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6); pointer-events: none;
  }
  .mobile-menu { padding-top: 104px; }
  .mobile-menu__links a { font-size: clamp(1.7rem, 7.4vw, 2.5rem); padding: 4px 0; }
  .mobile-menu__links a.is-active { color: var(--blue); }

  /* Hero : titre, texte et boutons tiennent dans le premier écran */
  .hero { align-items: flex-end; padding: 100px 0 34px; }
  .hero__title { font-size: clamp(2.2rem, 10.4vw, 2.85rem); line-height: 1.01; letter-spacing: -0.03em; max-width: none; margin-bottom: 18px; }
  .hero__lead { font-size: 1rem; line-height: 1.6; margin-bottom: 24px; }
  .hero__ctas { gap: 10px; margin-bottom: 26px; }
  .hero__ctas .btn--lg { height: 54px; }
  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
    padding-top: 18px; border-top: 1px solid rgba(56, 189, 248, 0.14);
  }
  .trust li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .trust .i { width: 20px; height: 20px; }
  .trust strong { font-size: 0.8rem; line-height: 1.3; }
  .trust span { display: none; }

  /* Rythme des sections */
  .section { padding: 64px 0; scroll-margin-top: 64px; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: clamp(1.9rem, 8.6vw, 2.4rem); line-height: 1.04; margin-bottom: 14px; }
  .section-lead { font-size: 1rem; }

  /* Lisibilité des petits textes */
  .chips li { font-size: 0.76rem; padding: 5px 9px; }
  .term { font-size: 0.76rem; }
  .install__steps { font-size: 0.8rem; }
  .wifi__tag { font-size: 0.72rem; }
  .cities .km { font-size: 0.78rem; }

  /* Services : carrousel à glisser */
  .services__bar { gap: 14px; margin-bottom: 22px; }
  .audience [role="tab"] { min-height: 46px; }
  .bento {
    display: flex; gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 18px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento.is-hinting { scroll-snap-type: none; }
  .bento > .card { flex: 0 0 min(85vw, 380px); scroll-snap-align: start; scroll-snap-stop: always; }
  .bento > .card .card__inner {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(180deg, rgba(17, 25, 46, 0.92), rgba(10, 15, 28, 0.92));
    transform: scale(calc((1 - var(--d, 0) * 0.06) * var(--press, 1)));
    opacity: calc(1 - var(--d, 0) * 0.45);
    transition: border-color 0.4s, box-shadow 0.5s;
    will-change: transform;
  }
  .bento > .card.is-current .card__inner { border-color: rgba(56, 189, 248, 0.42); box-shadow: 0 26px 60px -34px rgba(56, 189, 248, 0.55); }
  .card__visual { min-height: 176px; }
  .bento > .card .card__visual { flex: 0 0 auto; }
  .bento > .card .card__body { flex: 1 1 auto; }
  .card--depannage .card__visual { place-items: start center; }
  .term { line-height: 1.6; }
  .install { grid-template-columns: 104px minmax(0, 1fr); align-items: center; justify-items: start; gap: 18px; padding: 6px 0 16px; }
  .install__dial { width: 104px; height: 104px; }
  .install__pct strong { font-size: 1.55rem; }
  .install__steps { gap: 8px; line-height: 1.35; }
  .card--split .card__visual { padding: 22px 22px 0; }
  .card__body { padding: 22px 22px 24px; }
  .card__more { min-height: 44px; }

  .deck-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
  .deck-dots { display: flex; align-items: center; }
  .deck-dots button { display: grid; place-items: center; width: 22px; height: 44px; }
  .deck-dots button::before {
    content: ''; width: 6px; height: 6px; border-radius: 6px; background: rgba(148, 163, 184, 0.35);
    transition: width 0.45s var(--ease-out), background 0.35s;
  }
  .deck-dots button[aria-current="true"] { width: 34px; }
  .deck-dots button[aria-current="true"]::before { width: 24px; background: var(--grad); box-shadow: 0 0 10px rgba(56, 189, 248, 0.6); }
  .deck-count { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; }
  .deck-arrows { display: flex; gap: 8px; }
  .deck-arrows button {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.24); background: rgba(15, 23, 42, 0.6); color: var(--white);
    transition: opacity 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
  }
  .deck-arrows button:disabled { opacity: 0.3; }
  .deck-arrows .i { width: 18px; height: 18px; }
  .deck-arrows [data-deck="prev"] .i { transform: rotate(180deg); }

  /* Pourquoi : piliers en carrousel (même geste que les services) */
  .pillars {
    display: flex; gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 16px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillars.is-hinting { scroll-snap-type: none; }
  .pillars > .pillar, .pillars > .pillar.is-active {
    flex: 0 0 min(82vw, 360px); scroll-snap-align: start; scroll-snap-stop: always;
    display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; align-items: center; align-content: start;
    padding: 22px 20px; opacity: calc(1 - var(--d, 0) * 0.45);
    transform: scale(calc(1 - var(--d, 0) * 0.05));
    background: linear-gradient(180deg, rgba(17, 25, 46, 0.92), rgba(10, 15, 28, 0.92));
    border-color: var(--line); box-shadow: none;
    transition: border-color 0.4s, box-shadow 0.5s;
  }
  .pillars > .pillar.is-current { border-color: rgba(56, 189, 248, 0.42); box-shadow: 0 24px 60px -40px rgba(56, 189, 248, 0.6); }
  .pillar__icon { width: 46px; height: 46px; margin: 0; border-radius: 13px; }
  .pillar h3 { font-size: 1.22rem; margin: 0; }
  .pillar p { grid-column: 1 / -1; align-self: start; margin: 14px 0 0; font-size: 0.96rem; }
  .pillar .chips { display: none; }
  .why .deck-nav { margin-top: -26px; } /* la grille parente ajoute 40 px d'écart */

  /* Chiffres : une ligne par chiffre */
  .stats { margin-top: 56px; }
  .stat, .stat + .stat {
    display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); align-items: center; gap: 16px;
    padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  }
  .stat__value { font-size: 2.6rem; gap: 6px; }
  .stat__value small { font-size: 0.34em; }
  .stat__label { margin-top: 0; font-size: 0.92rem; }

  /* Méthode */
  .process__list { gap: 30px; }
  .process__step h3 { font-size: 1.15rem; }

  /* Diagnostic, zone, contact */
  .options { gap: 10px; }
  .cities { gap: 8px; margin: 24px 0 16px; }
  .direct { padding: 12px 16px 12px 12px; }
  .direct strong { font-size: 1rem; word-break: normal; overflow-wrap: anywhere; }
  .contact__direct { margin: 26px 0 24px; }
  .check input { width: 24px; height: 24px; }
  .check .link, .contact__meta .link { display: inline-block; padding: 6px 0; }

  /* Pied de page : deux colonnes, liens faciles à toucher */
  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .footer__brand, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer ul { gap: 0; }
  .footer ul a, .footer ul button, .footer ul span { display: block; padding: 10px 0; }
  .footer__legal button { padding: 10px 0; }

  /* Raccourcir la page : contenus secondaires masqués ou resserrés sur mobile */
  .audience__hint { display: none; }
  .bento .card__body .chips { display: none; }
  .bento .card__desc { margin-bottom: 12px; }
  .stats { margin-top: 44px; }
  .process__list { gap: 24px; }
  .process__step p { font-size: 0.93rem; }
  .diag__points { gap: 8px; margin-top: 22px; }
  .diag__points li { font-size: 0.93rem; }
  .zone__grid .radar { max-width: 280px; }
  .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cities button { padding: 12px 14px; font-size: 0.93rem; }
  .form { padding: 22px 18px; }
  .field { margin-bottom: 14px; gap: 6px; }
  .field textarea { min-height: 112px; }
  .contact__meta { gap: 12px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer nav[aria-labelledby="ft-nav"] ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .footer nav[aria-labelledby="ft-services"] ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .footer__brand p { margin-top: 14px; }

  /* Barre d'action fixe (WhatsApp + estimation) */
  .mbar {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 7px;
    position: fixed; z-index: 92;
    left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
    padding: 7px; border-radius: 22px;
    background: rgba(8, 12, 24, 0.78);
    border: 1px solid rgba(56, 189, 248, 0.18);
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9), 0 0 40px -20px rgba(56, 189, 248, 0.45);
    transform: translateY(calc(100% + 30px)); opacity: 0; pointer-events: none;
    transition: transform 0.55s var(--ease-out), opacity 0.35s;
  }
  .mbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu.is-open ~ .mbar { transform: translateY(calc(100% + 30px)); opacity: 0; pointer-events: none; }
  .mbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; border-radius: 16px; font-weight: 600; font-size: 0.95rem; white-space: nowrap;
    transition: transform 0.35s var(--ease-out), background 0.3s;
  }
  .mbar .i { width: 19px; height: 19px; }
  .mbar__diag { color: var(--white); background: rgba(148, 163, 184, 0.1); border: 1px solid rgba(148, 163, 184, 0.18); }
  .mbar__call { color: var(--white); background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(56, 189, 248, 0.35); }
  .mbar__wa { color: #04121F; background: var(--grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  .mbar a > * { transform: translateY(8px); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.4s; }
  .mbar.is-on a > * { transform: none; opacity: 1; transition-delay: 0.12s; }
  .mbar.is-on a + a > * { transition-delay: 0.2s; }

  /* Fenêtres : feuille qui monte du bas, à glisser vers le bas pour fermer */
  .modal[open] { padding: 44px 0 0; place-items: end center; }
  .modal__panel {
    width: 100%; border-radius: 26px 26px 0 0; border-bottom: 0;
    padding: 34px 22px calc(28px + env(safe-area-inset-bottom));
    transform: translateY(calc(70px + var(--drag, 0px)));
    transition: opacity 0.3s var(--ease-out), transform 0.6s var(--ease-out);
  }
  .modal.is-open .modal__panel { transform: translateY(var(--drag, 0px)); }
  .modal.is-dragging .modal__panel { transition: none; }
  .sheet-grip {
    display: block; position: absolute; top: 10px; left: 50%; width: 42px; height: 5px; margin-left: -21px;
    border-radius: 5px; background: rgba(148, 163, 184, 0.35);
  }
  .modal__close { top: 14px; right: 14px; }
  .modal__title { font-size: clamp(1.6rem, 7.4vw, 2rem); }
  .ms__head { gap: 14px; }
  .ms__icon { width: 52px; height: 52px; border-radius: 15px; }
}

@media (max-width: 380px) {
  .trust strong { font-size: 0.74rem; }
  .mbar a { font-size: 0.88rem; gap: 6px; }
  .stat, .stat + .stat { grid-template-columns: 7.4rem minmax(0, 1fr); }
  .stat__value { font-size: 2.3rem; }
}

/* Retour tactile (écrans tactiles uniquement) */
@media (hover: none) and (pointer: coarse) {
  html { -webkit-tap-highlight-color: transparent; }
  .btn { transition: color 0.3s, border-color 0.3s, box-shadow 0.4s, background 0.3s, transform 0.4s var(--ease-out); }
  .btn:active { transform: scale(0.965); transition-duration: 0.1s; }
  .direct:hover { transform: none; }
  .direct, .option__box, .cities button, .nav__call, .burger, .deck-arrows button, .modal__close {
    transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s, box-shadow 0.3s;
  }
  .direct:active, .option:active .option__box, .cities button:active { transform: scale(0.98); transition-duration: 0.1s; }
  .nav__call:active, .burger:active, .deck-arrows button:active, .modal__close:active { transform: scale(0.9); transition-duration: 0.1s; }
  .mbar a:active { transform: scale(0.96); transition-duration: 0.1s; }
  .bento > .card:active { --press: 0.98; }
  .modal__close:hover { transform: none; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .bento > .card .card__inner, .pillars > .pillar { transform: none; opacity: 1; }
}

/* Conseils : carrousel sur mobile (même geste que les services) */
@media (max-width: 760px) {
  .guides__list {
    display: flex; gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 16px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .guides__list::-webkit-scrollbar { display: none; }
  .guides__list.is-hinting { scroll-snap-type: none; }
  .guides__list > .guide {
    flex: 0 0 min(84vw, 360px); scroll-snap-align: start; scroll-snap-stop: always;
    padding: 24px 20px; border-radius: var(--r-lg); gap: 12px;
    opacity: calc(1 - var(--d, 0) * 0.45);
    transform: scale(calc((1 - var(--d, 0) * 0.05) * var(--press, 1)));
    transition: border-color 0.4s, box-shadow 0.5s;
  }
  .guides__list > .guide.is-current { border-color: rgba(56, 189, 248, 0.42); box-shadow: 0 24px 60px -40px rgba(56, 189, 248, 0.6); }
  .guide h3 { font-size: 1.16rem; }
  .guide p { font-size: 0.92rem; }
  .guides__all { margin-top: 22px; }
  .guides__all .btn { width: 100%; height: 52px; }
  .section-more { margin-top: 14px; }
}
@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  .guides__list > .guide:active { --press: 0.98; }
  .guide { -webkit-tap-highlight-color: transparent; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .guides__list > .guide { transform: none; opacity: 1; }
}
