/* ==========================================================================
   SOS Informatique — feuille de style
   Sommaire : 1. Polices & tokens  2. Base  3. Layout  4. Boutons  5. Navigation
   6. Hero  7. Sections  8. Cartes  9. Composants  10. Formulaire  11. Pages légales
   12. Footer  13. Animations  14. Responsive
   ========================================================================== */

/* 1. Polices & tokens ------------------------------------------------------ */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #060a17;
  --ink-2: #0c1330;
  --ink-3: #141d45;
  --line-dark: rgba(255, 255, 255, .09);

  --bg: #ffffff;
  --surface: #f4f6fc;
  --surface-2: #eaeefa;
  --line: #e1e6f3;

  --text: #0c1330;
  --text-2: #475174;
  --text-3: #7c86a6;
  --on-dark: #edf1fc;
  --on-dark-2: #a6b0cf;

  --blue: #2f6bff;
  --cyan: #17d1f4;
  --violet: #7a5cff;
  --sos: #ff4a2b;
  --sos-2: #ff8b3d;
  --ok: #22c55e;

  --grad: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-sos: linear-gradient(120deg, var(--sos) 0%, var(--sos-2) 100%);
  --grad-text: linear-gradient(100deg, #6ea1ff 0%, var(--cyan) 45%, #b59cff 100%);

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(12, 19, 48, .06), 0 2px 8px rgba(12, 19, 48, .05);
  --shadow: 0 10px 30px -12px rgba(12, 19, 48, .18);
  --shadow-lg: 0 30px 70px -25px rgba(12, 19, 48, .35);
  --glow: 0 0 0 1px rgba(47, 107, 255, .25), 0 18px 50px -18px rgba(47, 107, 255, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
  --nav-h: 76px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
main, .footer { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--text); font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.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-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; }

.dark { color: var(--on-dark-2); }
.dark h1, .dark h2, .dark h3, .dark h4, .dark strong,
.hero strong, .page-hero strong { color: #fff; }

.gradient-text {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-text 6s linear infinite;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.section-sm { padding-block: clamp(3rem, 6vw, 4.5rem); position: relative; }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); }

.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { font-size: 1.08rem; }
.section-head.left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.dark .eyebrow { color: var(--cyan); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* 4. Boutons --------------------------------------------------------------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 0;
  font: 600 .97rem/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after { /* reflet qui balaie le bouton au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary { background: var(--grad-sos); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 74, 43, .7); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(255, 74, 43, .85); }
.btn-blue { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(47, 107, 255, .7); }
.btn-ghost { background: rgba(255, 255, 255, .07); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.btn-sm { padding: .7rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 5. Navigation ------------------------------------------------------------ */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease), backdrop-filter .4s;
}
.nav.scrolled {
  --nav-h: 66px;
  background: rgba(6, 10, 23, .72);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .7rem; color: #fff; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--grad-sos);
  box-shadow: 0 8px 20px -8px rgba(255, 74, 43, .8);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font: 700 1.12rem var(--font-head); letter-spacing: -.02em; }
.logo-name b { color: var(--sos-2); font-weight: 800; }
.logo-sub { font-size: .72rem; color: var(--on-dark-2); letter-spacing: .06em; }

.nav-links { display: flex; gap: .35rem; }
.nav-links a {
  position: relative; display: block; padding: .55rem .9rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--on-dark-2); transition: color .25s, background-color .25s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; margin-left: -9px;
  border-radius: 3px; background: var(--grad);
}

.nav-cta { display: flex; align-items: center; gap: .9rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; font-size: .93rem; }
.nav-phone .pulse-dot { margin-right: .1rem; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); position: relative;
}
.burger span {
  position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem;
  display: flex; flex-direction: column; gap: .4rem;
  background: rgba(6, 10, 23, .96); backdrop-filter: blur(20px);
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .7s var(--ease); visibility: hidden;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.mobile-menu a:not(.btn) {
  font: 600 1.7rem var(--font-head); color: #fff; padding: .45rem 0;
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease);
}
.mobile-menu a[aria-current="page"] { color: var(--cyan); }
.mobile-menu .btn { margin-top: .6rem; opacity: 0; transition: opacity .5s; }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: .12s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .17s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .22s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .27s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.open a:nth-child(6), .mobile-menu.open a:nth-child(7) { transition-delay: .4s; }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  background: var(--ink); color: var(--on-dark-2);
}
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; mix-blend-mode: screen;
  animation: float-blob 18s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: #2f6bff; }
.aurora span:nth-child(2) { width: 38vw; height: 38vw; right: -8vw; top: 10%; background: #7a5cff; animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 30%; bottom: -16vw; background: #17d1f4; opacity: .35; animation-duration: 26s; animation-delay: -12s; }
.aurora span:nth-child(4) { width: 18vw; height: 18vw; right: 22%; bottom: 8%; background: #ff4a2b; opacity: .28; animation-duration: 20s; animation-delay: -3s; }

.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.cursor-glow { /* halo qui suit la souris dans les zones sombres */
  position: absolute; z-index: -1; width: 520px; height: 520px; left: 0; top: 0; pointer-events: none;
  border-radius: 50%; background: radial-gradient(circle, rgba(23, 209, 244, .16), transparent 60%);
  transform: translate(var(--gx, -999px), var(--gy, -999px)) translate(-50%, -50%);
  transition: opacity .4s; opacity: 0;
}
.cursor-glow.on { opacity: 1; }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1rem .45rem .55rem; border-radius: 999px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  color: var(--on-dark); font-size: .86rem; font-weight: 500; margin-bottom: 1.6rem; backdrop-filter: blur(6px);
}
.status-pill .tag { background: rgba(34, 197, 94, .16); color: #6ee7a0; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pulse-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok);
  animation: ping 1.8s var(--ease) infinite;
}

.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; }
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(70%); filter: blur(6px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s;
}
.rotator > span.is-active { opacity: 1; transform: none; filter: none; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-70%); filter: blur(6px); }

.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 560px; color: var(--on-dark-2); margin-bottom: 2.2rem; }
.hero-lead strong { color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }

.hero-proof { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; margin-left: -10px; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #fff; box-shadow: 0 0 0 3px var(--ink);
}
.avatars span:first-child { margin-left: 0; background: #2f6bff; }
.avatars span:nth-child(2) { background: #7a5cff; }
.avatars span:nth-child(3) { background: #0fb3d4; }
.avatars span:nth-child(4) { background: #ff6a3d; }
.proof-text { font-size: .9rem; line-height: 1.4; }
.proof-text strong { display: flex; align-items: center; gap: .35rem; }
.stars { display: inline-flex; gap: 2px; color: #fbbf24; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.stars .off { opacity: .3; }

/* Orbite des compétences (hero de l'accueil)
   Tailles en cqi = % de la largeur de l'orbite, pour rester proportionné sur tous les écrans. */
.hero-visual { position: relative; }
.orbit {
  position: relative; width: 100%; max-width: 580px; margin-inline: auto; aspect-ratio: 1;
  container-type: inline-size;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease);
}
.orbit-glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, .35), rgba(122, 92, 255, .12) 45%, transparent 70%);
  filter: blur(20px); animation: breathe 6s ease-in-out infinite;
}
.orbit-radar {
  position: absolute; inset: 7cqi; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(23, 209, 244, .2) 50deg, transparent 52deg);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 71%);
  mask: radial-gradient(circle, #000 25%, transparent 71%);
  animation: spin 8s linear infinite;
}
.orbit-ripple {
  position: absolute; left: 50%; top: 50%; width: 18cqi; height: 18cqi; margin: -9cqi 0 0 -9cqi;
  border-radius: 50%; border: 1px solid rgba(23, 209, 244, .55);
  animation: ripple 6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.orbit-ripple:nth-of-type(2) { animation-delay: -2s; }
.orbit-ripple:nth-of-type(3) { animation-delay: -4s; }

.ring {
  --r: 43cqi; --s: 15cqi; --dur: 70s; --dir: normal; --idir: reverse; --c: #17d1f4;
  position: absolute; inset: calc(50% - var(--r)); margin: 0; padding: 0; list-style: none;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09);
  animation: spin var(--dur) linear infinite var(--dir);
}
.ring::after { /* comète lumineuse qui parcourt l'anneau */
  content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 80%, var(--c) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin calc(var(--dur) / 5) linear infinite;
}
.ring-outer { border-style: dashed; border-color: rgba(255, 255, 255, .1); }
.ring-mid { --r: 30cqi; --s: 13.5cqi; --dur: 50s; --dir: reverse; --idir: normal; --c: #7a5cff; background: radial-gradient(circle, transparent 60%, rgba(47, 107, 255, .06)); }
.ring-inner { --r: 18cqi; --s: 10.5cqi; --dur: 32s; --c: #ff8b3d; }

.sat {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.sat-inner { width: 100%; height: 100%; animation: spin var(--dur) linear infinite var(--idir); }
.orbit:is(:hover, :focus-within) :is(.ring, .sat-inner) { animation-play-state: paused; }

.sat-btn {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  color: #fff; background: radial-gradient(circle at 30% 25%, rgba(60, 80, 160, .55), rgba(12, 19, 48, .85) 70%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -10px rgba(0, 0, 0, .8);
  transition: scale .45s var(--ease), box-shadow .45s var(--ease);
  animation: sat-in .9s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms + 700ms);
}
.sat-btn::before { /* liseré dégradé qui s'allume au survol */
  content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; opacity: 0;
  background: conic-gradient(from 0deg, var(--blue), var(--cyan), var(--violet), var(--sos-2), var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: opacity .4s; animation: spin 3s linear infinite;
}
.sat-btn:is(:hover, :focus-visible) { scale: 1.18; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 40px rgba(23, 209, 244, .45); outline: none; }
.sat-btn:is(:hover, :focus-visible)::before { opacity: 1; }
.sat-btn svg {
  width: 58%; height: 58%; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.sat-label {
  position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 6px; z-index: 5;
  padding: .35rem .75rem; border-radius: 999px; white-space: nowrap; pointer-events: none;
  font: 600 .78rem/1.2 var(--font-body); color: #fff;
  background: rgba(6, 10, 23, .85); box-shadow: inset 0 0 0 1px rgba(23, 209, 244, .4), 0 8px 20px -6px rgba(0, 0, 0, .7);
  opacity: 0; transition: opacity .3s, translate .4s var(--ease);
}
.sat-btn:is(:hover, :focus-visible) .sat-label { opacity: 1; translate: -50% 0; }

/* Noyau central */
.orbit-core {
  position: absolute; left: 50%; top: 50%; width: 19cqi; height: 19cqi; margin: -9.5cqi 0 0 -9.5cqi; z-index: 3;
  display: grid; place-items: center; align-content: center; gap: .2cqi; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2a3a86, #0c1330 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), inset 0 0 30px rgba(23, 209, 244, .3), 0 0 60px rgba(47, 107, 255, .55), 0 0 120px rgba(255, 74, 43, .18);
}
.orbit-core::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 0deg, var(--sos), var(--sos-2), transparent 40%, var(--cyan) 70%, var(--sos));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 5s linear infinite;
}
.orbit-core svg { width: 11cqi; height: auto; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.orbit-core .ecg-base { stroke: rgba(255, 255, 255, .15); }
.orbit-core .ecg { stroke: var(--sos-2); stroke-dasharray: 100; animation: ecg 2.2s linear infinite; filter: drop-shadow(0 0 4px var(--sos)); }
.orbit-core span { font: 800 3.4cqi/1 var(--font-head); letter-spacing: .12em; color: #fff; }

.orbit-hint {
  display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .8rem 0 0;
  font-size: .85rem; color: var(--on-dark-2);
}

/* Micro-animations des appareils */
.sat-btn svg * { transform-box: fill-box; }
.a-led { fill: #4ade80; stroke: none; animation: blink 1.6s steps(1) infinite; }
.a-led.l2 { animation-delay: .5s; }
.a-led.l3 { animation-delay: 1s; }
.a-notif { fill: var(--sos-2); stroke: none; animation: notif 3.2s var(--ease) infinite; }
.a-type { stroke: var(--cyan); stroke-dasharray: 20; stroke-dashoffset: 20; animation: type 4s var(--ease) infinite; }
.a-type.t2 { animation-delay: .45s; }
.a-type.t3 { animation-delay: .9s; }
.a-bar { fill: var(--cyan); stroke: none; transform-origin: bottom; animation: bar 1.6s var(--ease) infinite alternate; }
.a-bar.b2 { fill: #8f7bff; animation-delay: .35s; }
.a-bar.b3 { fill: var(--sos-2); animation-delay: .7s; }
.track { fill: rgba(255, 255, 255, .12); stroke: none; }
.a-progress { fill: var(--cyan); stroke: none; transform-origin: left; animation: progress 3s var(--ease) infinite; }
.a-paper { fill: rgba(255, 255, 255, .9); stroke: none; transform-origin: top; animation: paper 3s var(--ease) infinite; }
.a-wave { stroke: var(--cyan); animation: wave 1.8s ease-in-out infinite; }
.a-wave.w2 { animation-delay: .2s; }
.a-wave.w3 { animation-delay: .4s; }
.a-spin { transform-origin: center; animation: spin 1.6s linear infinite; }
.a-check { stroke: #4ade80; stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 2.8s var(--ease) infinite; }
.a-gear { transform-origin: center; animation: spin 9s linear infinite; }
.a-up { stroke: var(--cyan); animation: up 2s var(--ease) infinite; }

@keyframes ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(5.2); opacity: 0; } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes ecg { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -100; } }
@keyframes sat-in { from { scale: 0; opacity: 0; } }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .2; } }
@keyframes notif { 0%, 12% { opacity: 0; transform: translateY(-5px); } 24%, 76% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: none; } }
@keyframes type { 0% { stroke-dashoffset: 20; opacity: 1; } 35%, 82% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes bar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
@keyframes progress { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes paper { 0% { transform: scaleY(0); opacity: 1; } 55%, 80% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes wave { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
@keyframes draw { 0% { stroke-dashoffset: 24; opacity: 1; } 40%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes up { 0% { transform: translateY(5px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-4px); opacity: 0; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; translate: -50% 0; width: 26px; height: 42px;
  border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
}
.scroll-hint::before {
  content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: #fff; animation: scroll-wheel 2s var(--ease) infinite;
}

/* En-tête des pages intérieures */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark-2);
  padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem;
}
.page-hero .aurora span { opacity: .4; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 1rem; }
.page-hero p { max-width: 640px; font-size: 1.12rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; margin-bottom: 1.4rem; color: var(--on-dark-2); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }
.breadcrumb [aria-current] { color: var(--cyan); }

/* 7. Sections spécifiques ---------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden; padding: 1.4rem 0; background: var(--ink-2);
  border-block: 1px solid var(--line-dark);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .8rem; color: var(--on-dark); font: 600 1rem var(--font-head); white-space: nowrap; }
.marquee-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-sos); }

.intro-text { max-width: 820px; margin-inline: auto; text-align: center; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.65; color: var(--text); font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em; }
.intro-text .muted { color: var(--text-3); }

/* Étapes */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: var(--line);
}
.steps-line {
  position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: var(--grad);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s;
}
.steps.in-view .steps-line { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-num {
  position: relative; width: 64px; height: 64px; margin: 0 auto 1.4rem; border-radius: 20px;
  display: grid; place-items: center; background: #fff; color: var(--blue);
  font: 700 1.3rem var(--font-head); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.step-num::before { counter-increment: step; content: "0" counter(step); }
.step h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.step p { font-size: .94rem; margin: 0; }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--ink-2); padding: 2.2rem 1.5rem; text-align: center; }
.stat-num { font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--font-head); color: #fff; margin-bottom: .5rem; letter-spacing: -.03em; }
.stat-num em { font-style: normal; font-size: .5em; color: var(--cyan); margin-left: .1em; }
.stat-label { font-size: .9rem; color: var(--on-dark-2); }

/* 8. Cartes ------------------------------------------------------------------ */
.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before { /* projecteur lumineux qui suit la souris */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47, 107, 255, .12), transparent 45%);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(47, 107, 255, .25); }
.card:hover::before { opacity: 1; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { position: relative; z-index: 2; padding: 1.7rem; }
.card-body h3 { margin-bottom: .55rem; }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .6rem; }

/* Grille « bento » des services */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 1.25rem; }
.bento .card { display: flex; flex-direction: column; }
.bento .card .card-body { margin-top: auto; }
.bento .b-lg { grid-column: span 4; grid-row: span 2; }
.bento .b-md { grid-column: span 2; grid-row: span 2; }
.bento .b-sm { grid-column: span 2; }
.bento .b-wide { grid-column: span 4; }
.card.photo { color: #fff; min-height: 100%; }
.card.photo .card-bg { position: absolute; inset: 0; z-index: -1; }
.card.photo .card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card.photo:hover .card-bg img { transform: scale(1.06); }
.card.photo .card-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 23, .05) 20%, rgba(6, 10, 23, .9) 100%); }
.card.photo h3 { color: #fff; font-size: 1.5rem; }
.card.photo p { color: rgba(255, 255, 255, .78); }
.card.photo .card-tag { color: var(--cyan); }
.card.photo .link-arrow { color: #fff; }
.card .icon-badge {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--surface); color: var(--blue); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.card .icon-badge svg { width: 26px; height: 26px; }
.card:hover .icon-badge { transform: rotate(-8deg) scale(1.08); background: var(--grad); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.2rem; }
.chips span { font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }

/* Listes à puces cochées */
.check-list { display: grid; gap: .6rem; margin: 1rem 0 0; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--grad) center / 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.4 14.2L6.4 12l1.4-1.4 2.8 2.8 5.6-5.6L17.6 9l-7 7.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.4 14.2L6.4 12l1.4-1.4 2.8 2.8 5.6-5.6L17.6 9l-7 7.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list.sm { gap: .4rem; font-size: .93rem; }

/* Pourquoi nous */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.why-item {
  padding: 1.3rem; border-radius: var(--r); background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .3s, transform .4s var(--ease);
}
.why-item:hover { background: rgba(255, 255, 255, .07); transform: translateY(-3px); }
.why-item svg { width: 26px; height: 26px; color: var(--cyan); margin-bottom: .8rem; }
.why-item strong { display: block; margin-bottom: .3rem; font-family: var(--font-head); }
.why-item span { font-size: .9rem; line-height: 1.55; }

.img-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame.tall { aspect-ratio: 4 / 5; }
.img-frame.wide { aspect-ratio: 4 / 3; }
.img-badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem; display: flex; align-items: center; gap: .7rem;
  padding: .8rem 1rem; border-radius: var(--r); background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px);
  color: var(--text); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow);
}

/* Avis clients */
.testi {
  padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; height: 100%;
}
.testi .stars svg { width: 18px; height: 18px; }
.testi blockquote { margin: 0; color: var(--text); font-size: 1.02rem; line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: .85rem; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .85rem; background: var(--grad); }
.testi-name { font-weight: 600; color: var(--text); line-height: 1.3; }
.testi-place { font-size: .84rem; color: var(--text-3); }
.quote-mark { position: absolute; top: 1.2rem; right: 1.5rem; width: 46px; height: 46px; color: var(--surface-2); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details {
  border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, background .3s;
}
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .35), var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; font: 600 1.03rem/1.4 var(--font-head); color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(47, 107, 255, .1); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq .faq-a { padding: 0 1.5rem 1.4rem; margin: 0; }

/* Bandeau d'appel à l'action */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; background: var(--ink); color: var(--on-dark-2);
}
.cta-band::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(47, 107, 255, .45), rgba(23, 209, 244, .4), rgba(255, 74, 43, .35), transparent 95%);
  animation: spin 14s linear infinite;
}
.cta-band::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: calc(var(--r-xl) - 1px); background: radial-gradient(ellipse at top, var(--ink-3), var(--ink) 70%); }
.cta-band h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta-band p { max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; }

/* 9. Composants divers -------------------------------------------------------- */
.service-block { scroll-margin-top: calc(var(--nav-h) + 2rem); }
.service-block + .service-block { margin-top: clamp(4rem, 8vw, 6rem); }
.service-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; }
.service-head .icon-badge { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; box-shadow: var(--glow); }
.service-head .icon-badge svg { width: 30px; height: 30px; }
.service-head h2 { margin: 0; }
.service-head p { margin: .2rem 0 0; color: var(--text-3); }

.mode-card { padding: 2.2rem; text-align: left; }
.mode-card .icon-badge { margin-bottom: 1.4rem; }
.pill { display: inline-block; margin-top: 1rem; font-size: .78rem; font-weight: 600; color: var(--blue); background: rgba(47, 107, 255, .08); padding: .35rem .8rem; border-radius: 999px; }

.commune-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.commune-cloud span {
  padding: .55rem 1.05rem; border-radius: 999px; background: #fff; color: var(--text); font-size: .9rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s, color .3s;
}
.commune-cloud span:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--blue), var(--shadow); color: var(--blue); }
.commune-cloud span.main { background: var(--grad); color: #fff; box-shadow: none; }

.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hours div { padding: 1.6rem; border-radius: var(--r); background: var(--surface); text-align: center; }
.hours b { display: block; font: 700 1.9rem/1 var(--font-head); color: var(--text); margin-bottom: .5rem; }

.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 3rem; }
.skill h4 { display: flex; justify-content: space-between; font-size: .98rem; margin-bottom: .55rem; }
.skill h4 span { color: var(--text-3); font-weight: 500; font-family: var(--font-body); }
.skill-track { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.skill-fill { height: 100%; width: var(--w); border-radius: 8px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.in-view .skill-fill { transform: scaleX(1); }

.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); height: 400px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 10. Formulaire de contact ---------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: start; }
.contact-card { padding: 2.2rem; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark-2); position: relative; overflow: hidden; isolation: isolate; }
.contact-card::before { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; z-index: -1; border-radius: 50%; background: var(--blue); filter: blur(90px); opacity: .45; }
.contact-card h2 { font-size: 1.6rem; color: #fff; }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--cyan); }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-2); }
.info-row a, .info-row span { color: #fff; font-weight: 500; }
.info-row a:hover { color: var(--cyan); }

.form-card { padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field label i { color: var(--sos); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  font: 400 .97rem/1.5 var(--font-body); color: var(--text); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--sos); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.form-note { font-size: .84rem; color: var(--text-3); }
.form-status { display: none; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 500; }
.form-status.ok { display: flex; gap: .7rem; align-items: center; background: rgba(34, 197, 94, .1); color: #15803d; animation: pop .5s var(--ease); }
.form-status.err { display: block; background: rgba(255, 74, 43, .08); color: #c2410c; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }

/* 11. Pages légales -------------------------------------------------------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.45rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: .7rem 1.5rem; margin: 0; }
.legal dt { font-weight: 600; color: var(--text); }
.legal dd { margin: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); margin: 1rem 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
.legal th, .legal td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--surface); color: var(--text); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }
.rights { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0; }
.rights div { padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--surface); font-size: .92rem; }
.rights b { display: block; color: var(--text); }
.note-box { padding: 1.3rem 1.5rem; border-radius: var(--r); background: rgba(47, 107, 255, .06); box-shadow: inset 3px 0 0 var(--blue); margin: 1.2rem 0; }
.updated { margin-top: 2.5rem; font-size: .85rem; color: var(--text-3); }

/* Page 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 2rem) 0 4rem; }
.notfound .code { font: 800 clamp(6rem, 22vw, 12rem)/1 var(--font-head); letter-spacing: -.06em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 12. Footer ---------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-dark-2); padding: 5rem 0 2rem; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(47, 107, 255, .6), rgba(23, 209, 244, .6), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.footer ul { display: grid; gap: .65rem; }
.footer a:hover { color: #fff; }
.footer-brand p { margin: 1.2rem 0 1.4rem; max-width: 320px; font-size: .95rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .94rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: .25rem; }
.badge-live { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(34, 197, 94, .1); color: #6ee7a0; font-size: .82rem; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 1.4rem; }
.footer-word {
  margin-top: 2.5rem; text-align: center; white-space: nowrap; font: 800 clamp(2rem, 9.2vw, 8.4rem)/.9 var(--font-head); letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}

/* Barre d'appel fixe sur mobile */
.call-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80; display: none; gap: .6rem;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.call-bar.show { transform: none; }
.call-bar .btn { flex: 1; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, .5); }

/* 13. Animations -------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(32px); filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in-view { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

.hero [data-intro] { opacity: 0; transform: translateY(26px); animation: intro 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
.hero h1 .line > span { transform: translateY(105%); animation: line-up 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 200ms); }

@keyframes intro { to { opacity: 1; transform: none; } }
@keyframes line-up { to { transform: none; } }
@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vw) scale(1.12); }
  100% { transform: translate(-4vw, 6vw) scale(.92); }
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer-text { to { background-position: 200% center; } }
@keyframes scroll-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Transitions fluides entre les pages (navigateurs récents) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .3s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .45s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .hero [data-intro], .hero h1 .line > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { animation: none; }
}

/* 14. Responsive ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-links a { padding: .55rem .65rem; font-size: .9rem; }
  .nav-phone { display: none; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 2.5rem); }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .scroll-hint { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b-lg, .bento .b-wide { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .bento .b-md, .bento .b-sm { grid-column: span 1; grid-row: auto; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before, .steps-line { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .call-bar { display: flex; }
  .footer { padding-bottom: 6rem; }
}
@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(32px); }
  .container { width: min(100% - 2rem, var(--container)); }
  .bento, .grid-2, .grid-3, .grid-4, .why-grid, .skills, .rights, .form-grid, .hours { grid-template-columns: 1fr; }
  .bento .b-lg, .bento .b-md, .bento .b-sm, .bento .b-wide { grid-column: auto; }
  .bento .b-lg, .bento .b-wide { min-height: 340px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: .2rem; }
  .legal dd { margin-bottom: .8rem; }
  .sat-btn svg { stroke-width: 2.8; }
  .sat-label { font-size: .7rem; padding: .3rem .6rem; }
  .hero-btns .btn { flex: 1 1 100%; }
  .service-head { align-items: flex-start; }
  .logo-sub { display: none; }
}
