/* ==========================================================================
   Tom-Info — Alpine web studio at blue hour
   ========================================================================== */

:root {
  --onyx: #171721;
  --graphite: #1e1e2a;
  --obsidian: #272735;
  --slate: #70707d;
  --mist: #e2e3ed;
  --ash: #c3c3cc;
  --ivory: #ededf3;
  --cobalt: #5266eb;
  --white: #ffffff;
  --line: rgba(237, 237, 243, 0.1);
  --line-strong: rgba(237, 237, 243, 0.22);

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo", "Inter", ui-sans-serif, system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 144px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
::selection { background: var(--cobalt); color: var(--white); }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ivory); color: var(--onyx); padding: 10px 18px; border-radius: 32px;
  transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.center { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .h-md {
  font-family: var(--font-display);
  font-weight: 480;
  font-stretch: 112%;
  margin: 0;
  overflow-wrap: break-word;
}
.h-lg {
  font-size: clamp(30px, 4.3vw, 52px);
  line-height: 1.1;
  letter-spacing: 0.008em;
}
.h-md {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: 0.015em;
}
.lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.5;
  color: var(--ash);
  max-width: 600px;
}
.body-muted { color: var(--ash); margin-top: 16px; max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 12px;
  line-height: 1;
  font-weight: 480;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .6;
}

/* Split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w__i { display: inline-block; will-change: transform; }
.js [data-split] .w__i {
  transform: translate3d(0, 110%, 0) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 55ms + var(--base, 0ms));
}
.js [data-split].is-in .w__i { transform: none; }

/* Generic reveals */
.js [data-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition: opacity 1s var(--ease), translate 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Roll text */
.roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; vertical-align: middle; }
.roll > span { display: inline-block; transition: transform .55s var(--ease); }
.roll > span::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%;
}
a:hover .roll > span, button:hover .roll > span, a:focus-visible .roll > span { transform: translateY(-100%); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 50%; --by: 50%;
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  border-radius: 32px; border: 0;
  font-size: 16px; font-weight: 400; letter-spacing: .005em;
  white-space: nowrap; overflow: hidden; cursor: pointer;
  transition: transform .6s var(--ease), background-color .35s, color .35s, box-shadow .35s;
}
.btn .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--cobalt); color: var(--white); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(140px circle at var(--bx) var(--by), rgba(255,255,255,.32), transparent 65%);
  opacity: 0; transition: opacity .35s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { background: transparent; color: var(--ivory); border-radius: 40px; box-shadow: inset 0 0 0 1px var(--ivory); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ivory);
  clip-path: circle(0% at var(--bx) var(--by));
  transition: clip-path .6s var(--ease);
}
.btn--ghost:hover { color: var(--onyx); }
.btn--ghost:hover::before { clip-path: circle(150% at var(--bx) var(--by)); }
.btn--lg { height: 56px; padding: 0 30px; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--onyx);
  transition: clip-path 1.1s var(--ease-io) .1s;
  clip-path: inset(0 0 0 0);
}
.loader__inner { display: flex; align-items: center; gap: 14px; color: var(--ivory); }
.loader__mark { width: 40px; height: 40px; }
.loader__mark circle { stroke-dasharray: 114; stroke-dashoffset: 114; animation: draw 1.2s var(--ease) forwards; }
.loader__mark path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s var(--ease) .35s forwards; }
.loader__word {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 480; font-size: 24px; letter-spacing: .02em;
  clip-path: inset(0 100% 0 0); animation: wipe 1s var(--ease) .3s forwards;
}
.loader__bar {
  position: absolute; left: 50%; bottom: 18%; width: 140px; height: 1px; translate: -50% 0;
  background: var(--line-strong); overflow: hidden;
}
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--ivory); transform: scaleX(0); transform-origin: left; animation: grow 1.3s var(--ease-io) forwards; }
.is-ready .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Progress + cursor ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: var(--ivory); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor select { cursor: none; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none; border-radius: 50%;
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ivory); transition: opacity .2s, width .3s, height .3s; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(237,237,243,.45);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .35s, border-color .35s, opacity .3s;
}
.cursor__label { font-size: 13px; color: var(--onyx); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease); }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(237,237,243,.08); border-color: rgba(237,237,243,.25); }
.cursor.is-link .cursor__dot { opacity: 0; }
.cursor.is-view .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--ivory); border-color: var(--ivory); }
.cursor.is-view .cursor__label { opacity: 1; transform: none; }
.cursor.is-view .cursor__dot, .cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot, .cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 14px 0;
  transition: transform .7s var(--ease), background-color .5s, padding .5s var(--ease), box-shadow .5s;
}
.nav__inner {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(23, 23, 33, .72);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 -1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.js .nav { opacity: 0; translate: 0 -20px; transition: transform .7s var(--ease), background-color .5s, padding .5s var(--ease), box-shadow .5s, opacity 1s var(--ease) .9s, translate 1s var(--ease) .9s; }
.js .is-ready .nav { opacity: 1; translate: 0 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); }
.brand__mark { width: 30px; height: 30px; transition: transform .8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__name { font-family: var(--font-display); font-stretch: 112%; font-weight: 480; font-size: 19px; letter-spacing: .02em; }

.nav__links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 40px; }
.nav__pill {
  position: absolute; left: 0; top: 4px; height: 40px; width: 0; border-radius: 40px;
  background: rgba(237,237,243,.08); opacity: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav__link {
  position: relative; z-index: 1;
  height: 40px; padding: 0 18px; border-radius: 40px;
  display: inline-flex; align-items: center;
  font-size: 15px; color: var(--ivory);
}
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-size: 15px; color: var(--ash); transition: color .3s; }
.nav__phone:hover { color: var(--ivory); }
.nav__cta { height: 44px; padding: 0 22px; font-size: 15px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 40px; box-shadow: inset 0 0 0 1px var(--line-strong); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--onyx);
  padding: 100px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s linear .9s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 480; font-size: clamp(28px, 8vw, 44px);
  opacity: 0; translate: 0 30px; transition: opacity .6s var(--ease), translate .8s var(--ease);
}
.menu__links a span { font-family: var(--font-body); font-size: 12px; color: var(--slate); font-stretch: 100%; }
.menu-open .menu__links a { opacity: 1; translate: 0 0; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .45s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .5s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 32px 12px; }
.menu__foot .btn { flex: 1 1 200px; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center; align-content: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 120px max(var(--gutter), calc((100% - 1360px) / 2)) 96px;
  overflow: hidden; isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1;
  background: linear-gradient(180deg, rgba(23,23,33,0), var(--onyx));
  pointer-events: none;
}
.hero__scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__scene > * { position: absolute; will-change: transform; }
.hero__bg {
  inset: 0;
  background:
    radial-gradient(60% 55% at 72% 42%, rgba(82, 102, 235, .5), transparent 70%),
    radial-gradient(50% 40% at 18% 20%, rgba(82, 102, 235, .28), transparent 70%),
    linear-gradient(180deg, #1d2257 0%, #252d75 38%, #1f2458 72%, var(--onyx) 100%);
}
.hero__blob {
  width: 46vw; aspect-ratio: 1; border-radius: 50%;
  filter: blur(90px);
  animation: blob 18s var(--ease-io) infinite alternate;
}
.hero__blob--1 { top: -18%; left: -12%; background: rgba(82, 102, 235, .7); }
.hero__blob--2 { top: 18%; right: -14%; width: 40vw; background: rgba(160, 172, 255, .42); animation-duration: 22s; animation-delay: -6s; }
.hero__blob--3 { bottom: -30%; left: 30%; width: 38vw; background: rgba(82, 102, 235, .55); animation-duration: 26s; animation-delay: -12s; }
@keyframes blob {
  0% { translate: 0 0; scale: 1; }
  50% { translate: 6vw 4vh; scale: 1.15; }
  100% { translate: -4vw 8vh; scale: .9; }
}
.hero__spot {
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(237, 237, 243, .1), transparent 65%);
}
.hero__grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 237, 243, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 237, 243, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 10%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 60% 40%, #000 10%, transparent 75%);
}
.hero__grain {
  inset: 0; opacity: .07; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scène 3D ---------- */
.stage {
  position: relative; z-index: 2;
  width: 100%;
  perspective: 1800px;
  container-type: inline-size;
}
.stage__inner {
  position: relative;
  aspect-ratio: 16 / 11;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-16deg);
  will-change: transform;
}
.dev {
  position: absolute;
  transform: translateZ(var(--z, 0));
  animation: float var(--fl, 7s) ease-in-out var(--fd, 0s) infinite alternate;
}
@keyframes float { from { translate: 0 0; } to { translate: 0 -1.4cqw; } }
.js .dev { opacity: 0; scale: .9; transition: opacity 1.2s var(--ease), scale 1.4s var(--ease); }
.js .is-ready .dev { opacity: 1; scale: 1; }
.js .is-ready .dev--browser { transition-delay: .9s; }
.js .is-ready .dev--phone { transition-delay: 1.25s; }
.js .is-ready .dev--score { transition-delay: 1.55s; }
.js .is-ready .dev--toast { transition-delay: 2.3s; }

/* Navigateur */
.dev--browser {
  --z: 0px; --fl: 8s;
  left: 0; top: 6%; width: 80%; height: 74%;
  display: flex; flex-direction: column;
  background: var(--graphite);
  border: 1px solid var(--line-strong); border-radius: 1.2cqw;
  overflow: hidden;
}
.browser__bar { flex: none; height: 4cqw; display: flex; align-items: center; gap: .6cqw; padding: 0 1.4cqw; border-bottom: 1px solid var(--line); }
.browser__bar > i { width: .9cqw; height: .9cqw; border-radius: 50%; background: rgba(237, 237, 243, .2); }
.browser__url {
  display: inline-flex; align-items: center; gap: .6cqw;
  margin: 0 auto; padding: .45cqw 2.6cqw; border-radius: 99px;
  background: rgba(237, 237, 243, .07);
  font-size: 1.05cqw; color: var(--ash); letter-spacing: .01em;
}
.browser__url svg { width: 1cqw; height: 1cqw; }
.browser__view { position: relative; flex: 1; overflow: hidden; background: var(--ivory); }

/* Mini-site (clair) */
.site { color: var(--onyx); animation: siteScroll 14s var(--ease-io) infinite; }
@keyframes siteScroll {
  0%, 32% { transform: translateY(0); }
  48%, 72% { transform: translateY(-38%); }
  88%, 100% { transform: translateY(0); }
}
.site span { display: block; height: .7cqw; width: 90%; border-radius: .4cqw; background: rgba(23, 23, 33, .13); margin-bottom: .7cqw; }
.site span.short { width: 60%; }
.site em { font-style: normal; }
.site__nav { display: flex; align-items: center; gap: 1.8cqw; padding: 1.6cqw 3cqw; }
.site__nav b { width: 7cqw; height: 1.5cqw; border-radius: .4cqw; background: var(--onyx); }
.site__nav span { width: 4cqw; height: .6cqw; margin: 0; }
.site__nav em { margin-left: auto; font-size: 1cqw; padding: .6cqw 1.4cqw; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(23, 23, 33, .25); }
.site__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3cqw; align-items: center; padding: 2.4cqw 3cqw 3.4cqw; }
.site__copy small { display: block; font-size: .9cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.site__copy strong, .site--m strong {
  display: block; margin: .9cqw 0 1.4cqw;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 480;
  font-size: 2.7cqw; line-height: 1.1; color: var(--onyx);
}
.site__btns { display: flex; gap: .8cqw; margin-top: 1.6cqw; }
.site__btns em, .site--m .site__cta { font-size: 1cqw; padding: .8cqw 1.5cqw; border-radius: 99px; white-space: nowrap; }
.site__cta { background: var(--cobalt); color: var(--white); }
.dev--browser .site__cta { animation: ctaPress 14s ease infinite; }
@keyframes ctaPress { 0%, 15%, 21%, 100% { scale: 1; filter: none; } 17% { scale: .92; filter: brightness(1.25); } }
.site__ghost { box-shadow: inset 0 0 0 1px rgba(23, 23, 33, .25); }
.site__visual {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3.3; border-radius: 1cqw;
  background: linear-gradient(140deg, var(--cobalt), #9aa6f5 70%, var(--mist));
}
.site__visual i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .28); animation: bubble 9s ease-in-out infinite alternate; }
.site__visual i:nth-child(1) { width: 48%; aspect-ratio: 1; right: -10%; top: -14%; }
.site__visual i:nth-child(2) { width: 30%; aspect-ratio: 1; left: 12%; bottom: 10%; background: rgba(23, 23, 33, .2); animation-delay: -3s; }
.site__visual i:nth-child(3) { width: 60%; height: 12%; left: 20%; top: 48%; border-radius: 99px; background: rgba(255, 255, 255, .5); animation-delay: -6s; }
@keyframes bubble { to { translate: -12% 10%; } }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 0 3cqw 3cqw; }
.site__cards > div { background: var(--white); border-radius: .8cqw; padding: 1.4cqw; }
.site__cards i { display: block; width: 2.6cqw; aspect-ratio: 1; border-radius: .6cqw; background: rgba(82, 102, 235, .22); margin-bottom: 1cqw; }
.site__band { margin: 0 3cqw 3cqw; padding: 2.6cqw; border-radius: 1cqw; background: var(--onyx); }
.site__band span { background: rgba(237, 237, 243, .22); width: 50%; }
.site__band span.short { width: 30%; }

/* Curseur simulé */
.pointer {
  position: absolute; left: 70%; top: 80%; width: 2.2cqw; z-index: 2;
  animation: pointer 14s var(--ease-io) infinite;
}
.pointer svg { display: block; width: 100%; }
@keyframes pointer {
  0% { left: 72%; top: 82%; scale: 1; }
  13% { left: 12%; top: 68%; scale: 1; }
  17% { left: 12%; top: 68%; scale: .8; }
  20% { left: 12%; top: 68%; scale: 1; }
  34% { left: 62%; top: 40%; }
  60% { left: 40%; top: 60%; }
  84% { left: 78%; top: 30%; }
  100% { left: 72%; top: 82%; }
}

/* Téléphone */
.dev--phone {
  --z: 90px; --fl: 6s; --fd: -2s;
  right: 0; top: 24%; width: 22%; height: 68%;
  padding: .8cqw; border-radius: 3.2cqw;
  background: var(--onyx); border: 1px solid var(--line-strong);
}
.phone__notch { position: absolute; top: 1.5cqw; left: 50%; translate: -50% 0; width: 6cqw; height: 1.4cqw; border-radius: 99px; background: var(--onyx); z-index: 2; }
.phone__view { height: 100%; border-radius: 2.5cqw; overflow: hidden; background: var(--ivory); }
.site--m { padding: 3.6cqw 1.4cqw 1.4cqw; animation-duration: 12s; animation-delay: -4s; }
.site--m .site__nav { padding: 0 0 1.4cqw; }
.site--m .site__nav b { width: 5cqw; height: 1.2cqw; }
.site--m .site__nav em { width: 2.4cqw; height: 1cqw; padding: 0; box-shadow: none; background: rgba(23, 23, 33, .25); border-radius: .3cqw; }
.site--m .site__visual { aspect-ratio: 4 / 3; border-radius: .9cqw; }
.site--m strong { font-size: 2cqw; margin: 1.4cqw 0 1cqw; }
.site--m span { height: .6cqw; margin-bottom: .6cqw; }
.site--m .site__cta { display: inline-block; margin: .6cqw 0 1.4cqw; font-size: .9cqw; padding: .7cqw 1.3cqw; }
.site--m .site__cards { grid-template-columns: 1fr 1fr; gap: 1cqw; padding: 0 0 1cqw; }
.site--m .site__cards > div { padding: 1cqw; border-radius: .7cqw; }
.site--m .site__cards i { width: 2cqw; margin-bottom: .8cqw; }

/* Carte audit */
.dev--score {
  --z: 140px; --fl: 7.5s; --fd: -4s;
  left: 4%; bottom: 0; width: 36%;
  padding: 1.8cqw;
  background: var(--graphite);
  border: 1px solid var(--line-strong); border-radius: 1.2cqw;
}
.score__title { font-size: 1.2cqw; color: var(--ash); margin-bottom: 1.4cqw; }
.score__rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; text-align: center; }
.ring { display: grid; grid-template-areas: "g" "l"; }
.ring svg { grid-area: g; width: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring circle:first-child { stroke: rgba(237, 237, 243, .12); }
.ring circle:last-child {
  stroke: var(--ivory); stroke-linecap: round;
  stroke-dasharray: 100.6; stroke-dashoffset: 100.6;
  transition: stroke-dashoffset 2.2s var(--ease) 2s;
}
.is-ready .ring circle:last-child { stroke-dashoffset: calc(100.6 - var(--v) * 1.006); }
.ring b { grid-area: g; place-self: center; font-family: var(--font-display); font-stretch: 112%; font-weight: 480; font-size: 1.9cqw; color: var(--ivory); font-variant-numeric: tabular-nums; }
.ring span { grid-area: l; margin-top: .7cqw; font-size: 1cqw; color: var(--ash); }

/* Notification */
.dev--toast {
  --z: 180px; --fl: 5.5s; --fd: -1s;
  right: 6%; top: 0; width: 40%;
  display: flex; align-items: center; gap: 1.2cqw;
  padding: 1.2cqw 1.8cqw 1.2cqw 1.2cqw;
  background: var(--graphite);
  border: 1px solid var(--line-strong); border-radius: 1.6cqw;
}
.toast__icon { flex: none; display: grid; place-items: center; width: 3.6cqw; aspect-ratio: 1; border-radius: 50%; background: var(--ivory); color: var(--onyx); position: relative; }
.toast__icon svg { width: 50%; }
.toast__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ivory); animation: ping 2.4s var(--ease) infinite; }
.toast__txt { display: flex; flex-direction: column; gap: .3cqw; min-width: 0; }
.toast__txt b { font-weight: 480; font-size: 1.3cqw; color: var(--ivory); white-space: nowrap; }
.toast__txt small { font-size: 1cqw; color: var(--ash); white-space: nowrap; }

.hero__content {
  position: relative; z-index: 2;
  max-width: 620px;
  will-change: transform, opacity;
}
.hero__eyebrow { justify-content: flex-start; }
.hero__title {
  font-size: clamp(34px, 4.3vw, 60px);
  line-height: 1.06;
  letter-spacing: .004em;
  font-weight: 480;
  color: var(--white);
  text-wrap: balance;
}
.hero__lead {
  margin: 26px 0 0; max-width: 540px;
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.5; font-weight: 420;
  color: var(--ivory);
}
.js .hero__eyebrow, .js .hero__lead, .js .capture, .js .hero__note, .js .hero__scroll {
  opacity: 0; translate: 0 24px;
  transition: opacity 1.2s var(--ease), translate 1.2s var(--ease);
}
.js .hero__scroll { translate: -50% 24px; }
.js .is-ready .hero__eyebrow { opacity: 1; translate: 0 0; transition-delay: .55s; }
.js .is-ready .hero__lead { opacity: 1; translate: 0 0; transition-delay: 1.15s; }
.js .is-ready .capture { opacity: 1; translate: 0 0; transition-delay: 1.3s; }
.js .is-ready .hero__note { opacity: 1; translate: 0 0; transition-delay: 1.45s; }
.js .is-ready .hero__scroll { opacity: 1; translate: -50% 0; transition-delay: 1.8s; }
.hero__title { --base: 650ms; }

.capture {
  display: flex; max-width: 500px; margin: 36px 0 0;
}
.capture__input {
  flex: 1; min-width: 0; height: 54px;
  padding: 0 22px;
  background: rgba(23,23,33,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--mist); border-right: 0;
  border-radius: 32px 0 0 32px;
  color: var(--ivory); font-size: 16px;
  transition: background-color .3s;
}
.capture__input::placeholder { color: var(--ash); }
.capture__input:focus { outline: none; background: rgba(23,23,33,.6); }
.capture__btn { height: 54px; border-radius: 0 32px 32px 0; padding: 0 24px; }
.capture.is-error .capture__input { animation: shake .5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.hero__note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 14px; color: var(--ash); letter-spacing: .005em;
}
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ivory); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--ivory); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash);
}
.hero__scroll i { position: relative; width: 1px; height: 44px; background: var(--line-strong); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ivory); animation: scrolldown 2s var(--ease-io) infinite; }
@keyframes scrolldown { to { top: 100%; } }

/* ---------- Trust marquee ---------- */
.trust { padding: 40px 0 48px; border-bottom: 1px solid var(--line); overflow: hidden; }
.trust__label { text-align: center; font-size: 13px; color: var(--slate); letter-spacing: .02em; margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 480;
  font-size: clamp(22px, 3vw, 36px); letter-spacing: .01em; white-space: nowrap;
  color: var(--ash); opacity: .55; transition: opacity .4s, color .4s;
}
.marquee__track span:hover { opacity: 1; color: var(--ivory); }
.marquee__track i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--slate); flex: none; }
/* Bandeau de logos clients : tous ramenés en blanc pour une lecture homogène */
/* Espacement porté par chaque logo (et non par « gap ») : les deux moitiés de la piste font
   exactement la même largeur, la boucle se raccorde donc sans saut. */
.marquee__track--logos { gap: 0; padding: 8px 0; }
.marquee__track--logos > * { margin-right: clamp(48px, 7vw, 96px); }
.logo-mark {
  height: 46px; width: auto; max-width: 200px; flex: none; object-fit: contain;
  opacity: .85;
  transition: opacity .4s, scale .5s var(--ease);
}
.logo-mark.is-tall { height: 76px; }
.logo-mark.is-xl { height: 72px; max-width: 220px; }
.trust:hover .logo-mark { opacity: 1; }
@media (max-width: 640px) { .logo-mark { height: 34px; max-width: 150px; } .logo-mark.is-tall { height: 56px; } .logo-mark.is-xl { height: 54px; } }

/* ---------- Manifesto ---------- */
.manifesto { padding: var(--section) 0 calc(var(--section) * .7); }
.manifesto__text {
  font-family: var(--font-display); font-stretch: 108%; font-weight: 480;
  font-size: clamp(26px, 3.5vw, 46px); line-height: 1.22; letter-spacing: .006em;
  max-width: 1080px;
}
.mw { opacity: .14; transition: opacity .35s ease; }
.mw.on { opacity: 1; }

/* ---------- Cards ---------- */
.card {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate;
  background: var(--graphite);
  border-radius: 12px;
  padding: 32px;
  overflow: hidden;
}
[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(460px circle at var(--x) var(--y), rgba(237,237,243,.075), transparent 45%);
  opacity: 0; transition: opacity .45s;
}
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(320px circle at var(--x) var(--y), rgba(237,237,243,.42), transparent 42%);
  -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);
  opacity: 0; transition: opacity .45s;
}
[data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }

/* ---------- Stats ---------- */
.stats { padding-bottom: var(--section); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 32px 28px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.stat__num {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 480;
  font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: .01em;
  display: flex; align-items: flex-start; gap: 6px; font-variant-numeric: tabular-nums;
}
.stat__num sup { font-size: .32em; color: var(--ash); top: 0; margin-top: .35em; font-weight: 420; }
.stat__label { color: var(--ash); font-size: 15px; max-width: 220px; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section__head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end;
  margin-bottom: 56px;
}
.section__head .h-lg { max-width: 560px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 40px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 14px; color: var(--ash);
  transition: background-color .35s, color .35s, box-shadow .35s, transform .4s var(--ease);
}
.chip:hover { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--ivory); }
.chip.is-active { background: var(--ivory); color: var(--onyx); box-shadow: none; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service {
  min-height: 320px; display: flex; flex-direction: column;
  transition: transform .7s var(--ease), background-color .5s, opacity .5s, translate 1.1s var(--ease);
  transform-style: preserve-3d;
}
.service:hover { background: #222230; }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.service__num { font-size: 13px; color: var(--slate); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.service__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--obsidian); color: var(--ivory);
  transition: background-color .5s var(--ease), color .5s, transform .7s var(--ease);
}
.service__icon svg { width: 24px; height: 24px; }
.service:hover .service__icon { background: var(--ivory); color: var(--onyx); transform: rotate(-10deg) scale(1.08); }
.service h3 { font-size: 22px; line-height: 1.2; letter-spacing: .015em; margin-bottom: 12px; }
.service p { color: var(--ash); font-size: 15.5px; line-height: 1.55; }
.service__tag {
  margin-top: auto; padding-top: 28px; align-self: flex-start;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate);
}
.service.is-filtered { display: none; }
.service.is-pop { animation: pop .7s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse .split__visual { order: -1; }
.split__text .lead { margin-top: 24px; }
.split__text .btn { margin-top: 36px; }

.checks { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checks__icon { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--obsidian); display: grid; place-items: center; }
.checks__icon svg { width: 16px; height: 16px; }
.checks strong { display: block; font-weight: 480; margin-bottom: 2px; }
.checks span:not(.checks__icon) { color: var(--ash); font-size: 15px; }

/* Dashboard */
.dash {
  position: relative;
  background: var(--graphite); border-radius: 12px; padding: 24px;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.dash__head { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ash); margin-bottom: 20px; }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--obsidian); }
.dash__title { flex: 1; }
.dash__range { padding: 6px 12px; border-radius: 40px; background: var(--obsidian); font-size: 12px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.dash__kpis div { background: var(--obsidian); border-radius: 8px; padding: 14px 16px; }
.dash__kpis small { display: block; font-size: 12px; color: var(--ash); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__kpis b { font-family: var(--font-display); font-stretch: 112%; font-weight: 480; font-size: clamp(20px, 2vw, 26px); font-variant-numeric: tabular-nums; }
.dash__chart { position: relative; height: 170px; border-radius: 8px; background: rgba(39,39,53,.5); overflow: hidden; }
.dash__chart svg { width: 100%; height: 100%; }
.dash__grid path { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dash__area { opacity: 0; transition: opacity 1.4s var(--ease) 1.2s; }
.dash.is-in .dash__line { animation: line 2.2s var(--ease-io) .3s forwards; }
.dash.is-in .dash__area { opacity: 1; }
@keyframes line { to { stroke-dashoffset: 0; } }
.dash__point {
  position: absolute; right: 0; top: 13.75%; width: 12px; height: 12px; margin: -6px -6px 0 0;
  border-radius: 50%; background: var(--ivory); opacity: 0; transform: scale(0);
  transition: opacity .4s, transform .6s var(--ease); transition-delay: 2.4s;
}
.dash__point::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--ivory); animation: ping 2s var(--ease) infinite; }
.dash.is-in .dash__point { opacity: 1; transform: scale(1); }
.dash__bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 16px; }
.dash__bars i {
  flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(237,237,243,.5), rgba(237,237,243,.12));
  transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease);
}
.dash.is-in .dash__bars i { transform: scaleY(1); }
.dash__bars i:nth-child(n) { transition-delay: calc(var(--n, 0) * 60ms + 600ms); }
.dash__toast {
  position: absolute; left: -28px; bottom: 74px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 40px;
  background: rgba(39,39,53,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .7s var(--ease) 2.8s, transform .9s var(--ease) 2.8s;
}
.dash.is-in .dash__toast { opacity: 1; transform: none; }
.dash__toast-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--ivory); color: var(--onyx); display: grid; place-items: center; flex: none; }
.dash__toast-icon svg { width: 18px; height: 18px; }
.dash__toast b { display: block; font-weight: 480; font-size: 14px; }
.dash__toast small { color: var(--ash); font-size: 12px; }

/* Method */
.method__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.method__aside { position: sticky; top: 120px; }
.method__aside .lead { margin-top: 24px; }
.method__counter {
  display: flex; align-items: baseline; gap: 10px; margin-top: 48px;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 480;
}
.method__current { font-size: clamp(64px, 8vw, 112px); line-height: 1; letter-spacing: .01em; display: inline-block; }
.method__current.flip { animation: flip .6s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(40%); } }
.method__total { color: var(--slate); font-size: 22px; }

.steps { position: relative; display: grid; gap: 12px; padding-left: 40px; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 1px; }
.steps::before { background: var(--line-strong); }
.steps::after { background: var(--ivory); transform-origin: top; transform: scaleY(var(--p)); }
.step { padding: 36px 32px; opacity: .4; transition: opacity .6s var(--ease), background-color .6s; }
.step::before {
  content: ""; position: absolute; left: -38px; top: 42px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--onyx); box-shadow: inset 0 0 0 1px var(--slate);
  transition: background-color .4s, box-shadow .4s;
}
.step { overflow: visible; }
.step.is-active { opacity: 1; }
.step.is-active::before { background: var(--ivory); box-shadow: 0 0 0 5px rgba(237,237,243,.12); }
.step__num { display: block; font-size: 13px; color: var(--slate); letter-spacing: .06em; margin-bottom: 18px; }
.step h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: .015em; margin-bottom: 12px; }
.step p { color: var(--ash); max-width: 520px; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 24px; }
.project { display: block; }
.project:nth-child(even) { margin-top: 96px; }
.project__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  background: var(--graphite);
  clip-path: inset(0 round 12px);
  transition: clip-path .9s var(--ease);
}
.project:hover .project__media { clip-path: inset(10px round 12px); }
.mock {
  position: absolute; inset: 12% 10% 0;
  border-radius: 10px 10px 0 0; overflow: hidden;
  background: var(--p1);
  transform: translateY(6%) scale(1);
  transition: transform 1s var(--ease);
  box-shadow: 0 0 0 1px rgba(237,237,243,.08);
}
.project:hover .mock { transform: translateY(0) scale(1.03); }
.mock__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(0,0,0,.25); }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(237,237,243,.25); }
.mock__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 20px; background: rgba(237,237,243,.08); font-size: 10px; color: rgba(237,237,243,.6); letter-spacing: .04em; }
.mock__page { padding: 18px; display: grid; gap: 14px; transition: transform 3.2s var(--ease-io); }
.project:hover .mock__page { transform: translateY(-34%); }
.mock__hero {
  border-radius: 8px; padding: 28px 22px 26px; min-height: 160px;
  background: linear-gradient(135deg, var(--p3), var(--p1) 70%), var(--p1);
  display: grid; gap: 10px; align-content: end;
  position: relative; overflow: hidden;
}
.mock__hero::after { content: ""; position: absolute; right: -20%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--p2) 45%, transparent), transparent 70%); }
.mock__hero b { font-family: var(--font-display); font-stretch: 112%; font-weight: 480; font-size: clamp(16px, 2vw, 24px); color: var(--ivory); position: relative; z-index: 1; }
.mock__hero span { height: 7px; width: 70%; border-radius: 4px; background: rgba(237,237,243,.18); }
.mock__hero span.short { width: 45%; }
.mock__hero em { width: 84px; height: 22px; border-radius: 20px; background: var(--p2); margin-top: 6px; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__grid.wide { grid-template-columns: repeat(2, 1fr); }
.mock__grid i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(160deg, color-mix(in srgb, var(--p2) 30%, var(--p3)), var(--p3)); }
.mock__grid.wide i { aspect-ratio: 16 / 10; }
.mock__rows { display: grid; gap: 8px; }
.mock__rows i { height: 34px; border-radius: 6px; background: var(--p3); }
.mock__band { height: 60px; border-radius: 8px; background: color-mix(in srgb, var(--p2) 22%, var(--p1)); }
.project__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 22px; }
.project__meta h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: .015em; line-height: 1.2; }
.project__meta p { color: var(--ash); margin-top: 6px; font-size: 15px; }
.project__arrow {
  width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .4s, color .4s, transform .7s var(--ease), box-shadow .4s;
}
.project__arrow svg { width: 20px; height: 20px; }
.project:hover .project__arrow { background: var(--ivory); color: var(--onyx); box-shadow: none; transform: rotate(45deg); }

/* About orbit */
.orbit { aspect-ratio: 1; padding: 0; display: grid; place-items: center; overflow: visible; }
.orbit__rings, .orbit__track { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit__rings i { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); }
.orbit__rings i:nth-child(1) { width: 34%; aspect-ratio: 1; }
.orbit__rings i:nth-child(2) { width: 58%; aspect-ratio: 1; border-style: dashed; animation: spin 60s linear infinite; }
.orbit__rings i:nth-child(3) { width: 84%; aspect-ratio: 1; border-color: var(--line); }
.orbit__track { animation: spin var(--sp) linear infinite; }
.orbit__track span {
  position: absolute; top: var(--top); left: 50%; translate: -50% -50%;
  padding: 8px 16px; border-radius: 40px; background: var(--obsidian);
  font-size: 13px; white-space: nowrap;
  animation: spin var(--sp) linear infinite reverse;
}
.orbit__track--a { --sp: 28s; --top: 21%; }
.orbit__track--b { --sp: 40s; --top: 8%; animation-delay: -14s; }
.orbit__track--b span { animation-delay: -14s; }
.orbit__track--c { --sp: 22s; --top: 21%; animation-delay: -11s; }
.orbit__track--c span { animation-delay: -11s; }
@keyframes spin { to { rotate: 360deg; } }
.orbit__core { position: relative; text-align: center; display: grid; gap: 6px; }
.orbit__mono { font-family: var(--font-display); font-stretch: 125%; font-weight: 480; font-size: clamp(40px, 5vw, 64px); letter-spacing: .04em; line-height: 1; }
.orbit__core small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }

.zones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.zones li {
  padding: 10px 18px; border-radius: 40px; font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ash);
  transition: background-color .35s, color .35s, transform .5s var(--ease);
}
.zones li:hover { background: var(--ivory); color: var(--onyx); transform: translateY(-3px); }

/* FAQ */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-family: var(--font-body); font-stretch: 100%; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 480; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.3; letter-spacing: .01em;
  transition: color .3s, padding-left .5s var(--ease);
}
.faq__q:hover { padding-left: 10px; }
.faq__q i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .4s, transform .6s var(--ease); }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ivory); transition: transform .5s var(--ease), background-color .3s; }
.faq__q i::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] i { background: var(--ivory); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] i::before, .faq__q[aria-expanded="true"] i::after { background: var(--onyx); }
.faq__q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--ash); padding: 0 56px 28px 0; opacity: 0; translate: 0 -8px; transition: opacity .5s, translate .6s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; translate: 0 0; transition-delay: .1s; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.contact__info .lead { margin-top: 24px; }
.contact__list { display: grid; gap: 12px; margin-top: 40px; }
.contact__row { display: flex; align-items: center; gap: 18px; padding: 20px 24px; transition: background-color .4s; }
a.contact__row:hover { background: #222230; }
.contact__row small { display: block; font-size: 12px; color: var(--ash); letter-spacing: .04em; margin-bottom: 2px; }
.contact__icon { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--obsidian); transition: transform .6s var(--ease); }
.contact__icon svg { width: 20px; height: 20px; }
.contact__row:hover .contact__icon { transform: rotate(-12deg) scale(1.08); }

.contact__form { padding: clamp(24px, 3.4vw, 40px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--ash); padding-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 20px;
  background: var(--obsidian); border: 1px solid transparent; border-radius: 32px;
  font-size: 16px; color: var(--ivory);
  transition: border-color .3s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 140px; padding: 16px 20px; border-radius: 20px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3c3cc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px;
}
.field select option { background: var(--graphite); color: var(--ivory); }
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ivory); background: #2b2b3a; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--ash); animation: shake .5s var(--ease); }

.consent { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 13.5px; color: var(--ash); line-height: 1.5; margin-top: 4px; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box { width: 22px; height: 22px; flex: none; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--slate); display: grid; place-items: center; transition: background-color .3s, box-shadow .3s; margin-top: 1px; }
.consent__box svg { width: 14px; height: 14px; color: var(--onyx); stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s var(--ease); }
.consent input:checked + .consent__box { background: var(--ivory); box-shadow: none; }
.consent input:checked + .consent__box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--ivory); outline-offset: 3px; }
.consent.is-invalid .consent__box { box-shadow: inset 0 0 0 1px var(--ivory); animation: shake .5s var(--ease); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__hint { font-size: 13px; color: var(--ash); }
.form__status { margin-top: 14px; font-size: 14px; color: var(--ash); min-height: 1em; }
.btn.is-loading { pointer-events: none; opacity: .7; }

.form__success { text-align: center; padding: 48px 12px; display: grid; justify-items: center; gap: 14px; }
.form__success[hidden] { display: none; }
.form__success svg { width: 72px; height: 72px; margin-bottom: 8px; }
.form__success circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1s var(--ease) forwards; }
.form__success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease) .6s forwards; }
.form__success h3 { font-size: 26px; letter-spacing: .015em; }
.form__success p { color: var(--ash); max-width: 420px; }
.form__success a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { padding-top: var(--section); border-top: 1px solid var(--line); overflow: hidden; }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.footer__cta .h-md { max-width: 640px; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 24px; }
.footer__cols h4 { font-family: var(--font-body); font-stretch: 100%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 480; margin-bottom: 18px; }
.footer__cols a, .footer__cols span { display: block; color: var(--ash); font-size: 15px; padding: 5px 0; transition: color .3s, translate .4s var(--ease); }
.footer__cols a:hover { color: var(--ivory); translate: 4px 0; }
.footer__cols .footer__brand .brand { display: inline-flex; padding: 0; }
.footer__cols .footer__brand .brand:hover { translate: none; }
.footer__brand p { color: var(--ash); margin-top: 18px; max-width: 320px; font-size: 15px; }
.footer__word {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 480;
  font-size: clamp(64px, 17.5vw, 250px); line-height: .9; letter-spacing: -.005em;
  text-align: center; white-space: nowrap; margin: 24px 0 -0.08em;
  background: linear-gradient(180deg, rgba(237,237,243,.16), rgba(237,237,243,0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__word .l { display: inline-block; }
.js .footer__word .l { transform: translateY(70%); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.js .footer__word.is-in .l { transform: none; opacity: 1; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding: 24px 0 32px; border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 480; letter-spacing: .01em; color: var(--ash); line-height: 1.6;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { transition: color .3s; }
.footer__links a:hover { color: var(--ivory); }

/* ---------- Legal page ---------- */
.legal { padding: 160px 0 var(--section); }
.legal .container { max-width: calc(820px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: .008em; margin-bottom: 20px; }
.legal__intro { color: var(--ash); margin-bottom: 56px; }
.legal section { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: .015em; margin-bottom: 24px; }
.legal h3 { font-size: 18px; letter-spacing: .015em; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ash); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 20px; margin-top: 10px; display: grid; gap: 6px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 0; }
.legal dt { color: var(--slate); }
.legal dd { margin: 0; color: var(--ivory); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages intérieures ---------- */
.js body.page .nav { transition-delay: 0s; }
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 168px 0 104px; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: -1;
  background: linear-gradient(180deg, rgba(23,23,33,0), var(--onyx)); pointer-events: none;
}
.page-hero .hero__bg {
  background:
    radial-gradient(55% 60% at 80% 30%, rgba(82, 102, 235, .45), transparent 70%),
    linear-gradient(180deg, #1d2257 0%, #232a6c 45%, #1c2050 75%, var(--onyx) 100%);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 36px; font-size: 14px; color: var(--ash); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--ivory); }
.crumbs i { font-style: normal; opacity: .5; }
.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(38px, 6vw, 80px); line-height: 1.04; letter-spacing: .004em;
  color: var(--white); text-wrap: balance;
}
.page-hero .lead { margin-top: 28px; max-width: 680px; color: var(--ivory); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 64px; }
.facts > div { padding: 20px 22px; border-radius: 12px; background: rgba(23, 23, 33, .45); box-shadow: inset 0 0 0 1px var(--line); }
.facts small { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.facts b { font-weight: 480; color: var(--ivory); }
.facts a { text-decoration: underline; text-underline-offset: 3px; }

/* Visuel projet */
.showcase { padding-bottom: 24px; }
.showcase + .section { padding-top: 48px; }
.showcase__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; background: var(--graphite);
}
.showcase__frame::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 100%, color-mix(in srgb, var(--p2) 30%, transparent), transparent 70%); }
.showcase .mock { inset: 9% 9% 0; border-radius: 12px 12px 0 0; transform: none; }
.showcase .mock__bar { height: 40px; }
.showcase .mock__bar span { font-size: 12px; }
.showcase .mock__page { padding: 28px; gap: 20px; animation: showScroll 16s var(--ease-io) infinite; }
.showcase .mock__hero { padding: clamp(24px, 5vw, 64px); }
.showcase .mock__hero b { font-size: clamp(22px, 3.4vw, 46px); }
@keyframes showScroll { 0%, 25% { transform: translateY(0); } 50%, 75% { transform: translateY(-40%); } 100% { transform: translateY(0); } }
[data-zoom] { scale: var(--zoom, 1); transform-origin: 50% 0; will-change: scale; }

/* Étude de cas */
.case { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; padding: 64px 0; border-top: 1px solid var(--line); }
.case__label { position: sticky; top: 120px; align-self: start; }
.case__num { display: block; margin-bottom: 14px; font-family: var(--font-display); font-stretch: 112%; font-size: 14px; color: var(--slate); letter-spacing: .08em; }
.case__label h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: .012em; }
.case__body > p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ash); }
.case__body > p + p { margin-top: 16px; }
.case__list { display: grid; gap: 12px; margin-top: 28px; }
.case__list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; color: var(--ivory); }
.case__list li > span:last-child { color: var(--ash); }
.case__list strong { font-weight: 480; color: var(--ivory); }
.case__result {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 420;
  font-size: clamp(22px, 2.5vw, 32px); line-height: 1.35; letter-spacing: .01em; color: var(--ivory);
}
.case__body .btn { margin-top: 36px; }

/* Projet suivant */
.next {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px;
  padding: clamp(32px, 5vw, 64px);
}
.next small { display: block; margin-bottom: 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.next h2 { font-size: clamp(30px, 5vw, 64px); line-height: 1.05; transition: translate .8s var(--ease); }
.next p { margin-top: 12px; color: var(--ash); }
.next:hover h2 { translate: 12px 0; }
.next .project__arrow { width: 64px; height: 64px; }
.next:hover .project__arrow { background: var(--ivory); color: var(--onyx); box-shadow: none; transform: rotate(45deg); }

/* Page services */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.jump a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 40px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px; color: var(--ivory); transition: background-color .35s, color .35s; }
.jump a:hover { background: var(--ivory); color: var(--onyx); }
.svc-group { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc-group__head { position: sticky; top: 120px; align-self: start; }
.svc-group__head h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; }
.svc-group__head p { margin-top: 16px; color: var(--ash); }
.svc-list { display: grid; gap: 12px; }
.svc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; }
.svc h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: .015em; }
.svc p { margin-top: 10px; color: var(--ash); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 32px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13.5px; color: var(--ash); }

/* Page expertise */
.services--static .service { min-height: 0; }
.services--static .service p { margin-top: 12px; }

/* Page contact */
.page-hero--contact { padding-bottom: var(--section); }
.page-hero--contact h1 { font-size: clamp(36px, 5vw, 64px); }

/* Bandeau de consentement (mesure d'audience) */
.consent-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 260;
  width: min(420px, calc(100% - 32px));
  padding: 22px 22px 20px;
  background: var(--graphite); border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  opacity: 0; translate: 0 24px;
  transition: opacity .5s var(--ease), translate .6s var(--ease);
}
.consent-banner.is-open { opacity: 1; translate: 0 0; }
.consent-banner__title { font-family: var(--font-display); font-stretch: 112%; font-weight: 480; font-size: 17px; color: var(--ivory); margin-bottom: 8px; }
.consent-banner__text { font-size: 14px; line-height: 1.55; color: var(--ash); }
.consent-banner__text a { color: var(--electric); text-decoration: underline; text-underline-offset: 3px; }
.consent-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.consent-banner__actions .btn { height: 42px; padding: 0 16px; font-size: 15px; }
.footer__consent { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; transition: color .3s; }
.footer__consent:hover { color: var(--ivory); }
@media (max-width: 640px) { .consent-banner { left: 16px; bottom: 16px; } }

/* Capture réelle d'un site client (cartes projet + page projet) */
.shot {
  position: absolute; inset: 12% 10% 0;
  display: flex; flex-direction: column;
  border-radius: 10px 10px 0 0; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px rgba(237,237,243,.12);
  transform: translateY(6%); transition: transform 1s var(--ease);
}
.shot .mock__bar { flex: none; background: #1b1b26; }
.shot img { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top center; }
.project:hover .shot { transform: translateY(0) scale(1.03); }
.showcase .shot { inset: 9% 9% 0; border-radius: 12px 12px 0 0; transform: none; }
.showcase .shot .mock__bar { height: 40px; }
@media (max-width: 640px) { .showcase .shot { inset: 7% 5% 0; } }

/* Logo client (pages projet) */
.client-logo {
  display: flex; align-items: center; justify-content: center; width: fit-content;
  height: 104px; min-width: 180px; padding: 18px 30px; margin-bottom: 36px;
  border-radius: 12px;
}
.client-logo--light { background: var(--ivory); }
.client-logo--dark { background: var(--onyx); box-shadow: inset 0 0 0 1px var(--line-strong); }
.client-logo img { display: block; height: 64px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 640px) { .client-logo { height: 84px; min-width: 0; padding: 14px 22px; } .client-logo img { height: 50px; max-width: 200px; } }

/* Champ piège anti-spam (invisible pour les humains) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Accents bleu électrique ---------- */
:root {
  --electric: #7b8cff;          /* cobalt éclairci, lisible sur fond sombre */
  --electric-soft: rgba(82, 102, 235, .16);
  --electric-glow: rgba(82, 102, 235, .35);
}
/* Mots clés des titres (<em> dans un titre) */
[data-split] em, .h-lg em, h1 em { font-style: normal; color: var(--electric); }
.w--accent .w__i {
  background: linear-gradient(100deg, #9aa7ff 0%, var(--electric) 45%, var(--cobalt) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .04em;
}
/* Hauts de page (fond bleu clair) : mot accentué en blanc pour rester lisible */
.hero__title .w--accent .w__i,
.page-hero h1 .w--accent .w__i {
  background: none; -webkit-text-fill-color: currentColor; color: var(--white);
}
/* Sur-titres */
.eyebrow { color: var(--electric); }
.eyebrow::before { background: var(--cobalt); opacity: 1; }
/* Boutons secondaires : contour bleu, remplissage cobalt au survol */
.btn--ghost { box-shadow: inset 0 0 0 1px var(--electric); }
.btn--ghost::before { background: var(--cobalt); }
.btn--ghost:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--cobalt); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--electric); }
.chip.is-active { background: var(--cobalt); color: var(--white); }
.jump a:hover, .zones li:hover { background: var(--cobalt); color: var(--white); }
/* Barre de progression, pastille du menu, point « en ligne » */
.progress { background: linear-gradient(90deg, var(--cobalt), var(--electric)); height: 3px; }
.nav__pill { background: var(--electric-soft); }
.pulse { background: var(--electric); }
.pulse::after { border-color: var(--electric); }
/* Icônes */
.service__icon, .checks__icon, .contact__icon { background: var(--electric-soft); color: var(--electric); }
.service:hover .service__icon { background: var(--cobalt); color: var(--white); }
.contact__row:hover .contact__icon { background: var(--cobalt); color: var(--white); }
.dash__toast-icon, .toast__icon { background: var(--cobalt); color: var(--white); }
.toast__icon::after { border-color: var(--cobalt); }
/* Cartes : liseré lumineux bleuté au survol */
[data-spot]::after { background: radial-gradient(320px circle at var(--x) var(--y), rgba(123, 140, 255, .7), transparent 42%); }
[data-spot]::before { background: radial-gradient(460px circle at var(--x) var(--y), rgba(82, 102, 235, .12), transparent 45%); }
/* Chiffres et numéros */
.stat__num sup, .service__num, .step__num, .case__num { color: var(--electric); }
/* Méthode : ligne de progression et étape active */
.steps::after { background: linear-gradient(180deg, var(--electric), var(--cobalt)); }
.step.is-active::before { background: var(--cobalt); box-shadow: 0 0 0 5px var(--electric-glow); }
/* Projets */
.project:hover .project__arrow, .next:hover .project__arrow { background: var(--cobalt); color: var(--white); }
/* FAQ */
.faq__item.is-open .faq__q i { background: var(--cobalt); box-shadow: none; }
/* Formulaire */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--electric-soft); }
.consent input:checked + .consent__box { background: var(--cobalt); }
.consent input:checked + .consent__box svg { color: var(--white); }
/* Liste « étude de cas » */
.case__list .checks__icon { background: var(--cobalt); color: var(--white); }
/* Tableau de suivi */
.dash__line { stroke: var(--electric); }
#dashFill stop { stop-color: var(--cobalt); }
.dash__bars i { background: linear-gradient(180deg, var(--electric), rgba(82, 102, 235, .35)); }
.dash__point { background: var(--electric); }
.dash__point::after { border-color: var(--electric); }
/* Jauges du hero */
.ring circle:last-child { stroke: var(--electric); }
/* Mot géant du pied de page : léger reflet bleu */
.footer__word .l { background: linear-gradient(180deg, var(--ivory) 25%, var(--electric) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 128px; padding-bottom: 64px; gap: 56px; }
  .hero__content { margin-inline: auto; }
  .hero__eyebrow { justify-content: center; }
  .hero__eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
  .hero__lead, .capture { margin-inline: auto; }
  .stage { max-width: 760px; margin-inline: auto; }
  .nav__links, .nav__phone { display: none; }
  .burger { display: block; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section__head, .split, .method__grid, .faq, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__visual { order: 0; }
  .method__aside, .faq__head { position: static; }
  .method__counter { display: none; }
  .projects { grid-template-columns: 1fr; gap: 48px; }
  .project:nth-child(even) { margin-top: 0; }
  .dash__toast { left: 12px; }
  .orbit { max-width: 480px; margin-inline: auto; width: 100%; }
  .case, .svc-group { grid-template-columns: 1fr; gap: 28px; }
  .case__label, .svc-group__head { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .services, .stats__grid { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .service { min-height: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .capture { flex-direction: column; gap: 10px; }
  .capture__input { flex: none; width: 100%; border-right: 1px solid var(--mist); border-radius: 32px; }
  .hero__eyebrow::before, .hero__eyebrow::after { display: none; }
  .hero__eyebrow { line-height: 1.6; letter-spacing: .12em; }
  .hero__note { font-size: 13px; }
  .capture__btn { border-radius: 32px; }
  .hero { padding-bottom: 32px; gap: 48px; }
  .steps { padding-left: 28px; }
  .step::before { left: -26px; }
  .steps::before, .steps::after { left: 2px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal dd { margin-bottom: 12px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .dash__kpis div:last-child { display: none; }
  .faq__a p { padding-right: 0; }
  .page-hero { padding: 132px 0 72px; }
  .facts { grid-template-columns: 1fr; margin-top: 40px; }
  .svc { grid-template-columns: 1fr; gap: 16px; }
  .next { grid-template-columns: 1fr; }
  .next .project__arrow { width: 52px; height: 52px; }
  .showcase .mock { inset: 7% 5% 0; }
  .showcase .mock__page { padding: 14px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .mw { opacity: 1; }
  .ring circle:last-child { stroke-dashoffset: calc(100.6 - var(--v) * 1.006); }
}
