/* =========================================================
   ProcessoIA · refonte 2026-11
   Palette : jet black #050505 · royal amethyst #3b0a6b · electric cyan #00e5ff
   ========================================================= */

:root {
  /* Palette de marque */
  --black: #050505;
  --amethyst: #3b0a6b;
  --cyan: #00e5ff;

  /* Déclinaisons de l'améthyste (lueurs, bordures, textes secondaires) */
  --amethyst-700: #2a074d;
  --amethyst-500: #5b1a9e;
  --amethyst-400: #7b3fc4;
  --amethyst-300: #a77be0;

  /* Neutres */
  --ink: #f3f1f8;
  --ink-2: #bdb6cc;
  --ink-3: #8c859b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --surface: #0b0912;
  --surface-2: #120d1d;

  --cyan-08: rgba(0, 229, 255, 0.08);
  --cyan-20: rgba(0, 229, 255, 0.2);
  --cyan-45: rgba(0, 229, 255, 0.45);

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1280px;
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--black); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--font-mono); }
.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;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 10px 16px; border-radius: 999px; background: var(--cyan); color: var(--black);
  font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: translateY(0); }

/* ---------- Couches globales ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--amethyst-400), var(--cyan));
  box-shadow: 0 0 12px var(--cyan-45);
}
.curtain { position: fixed; inset: 0; z-index: 180; background: var(--black); opacity: 0; pointer-events: none; }

.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 50%, rgba(59, 10, 107, .45), transparent 70%), var(--black);
}
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 54px; height: 64px; fill: var(--ink); overflow: visible; }
/* Le point cyan du logo : c'est l'IA, il garde sa lueur partout et respire dans le préchargement et le hero */
.preloader__mark .dot, .brand__mark .dot, .hero__logo .dot { fill: var(--cyan); filter: drop-shadow(0 0 6px rgba(0, 229, 255, .7)); }
.preloader__mark .dot, .hero__logo .dot { transform-box: fill-box; transform-origin: center; animation: dot-pulse 2.4s ease-in-out infinite; }
.preloader__bar { width: 180px; height: 1px; background: var(--line-2); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
.preloader__count { font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }

@keyframes dot-pulse { 50% { transform: scale(.78); opacity: .65; } }

/* Curseur (pointeur fin uniquement, activé en JS) */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--cyan); }
.cursor__ring { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .55); transition: width .35s var(--ease-out), height .35s var(--ease-out), background-color .35s, border-color .35s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255, 255, 255, .08); border-color: transparent; }

/* ---------- Boutons ---------- */
.btn {
  --h: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 15px/1.1 var(--font-body); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; will-change: transform;
  transition: box-shadow .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--xl { --h: 68px; padding: 0 38px; font-size: 18px; }

.btn--primary {
  background: var(--cyan); color: var(--black);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .5), 0 12px 40px -12px rgba(0, 229, 255, .65);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(0, 229, 255, .8), 0 18px 60px -10px rgba(0, 229, 255, .85); }
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost {
  color: var(--ink); background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--cyan-45), 0 0 30px -8px var(--cyan-45); color: #fff; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .6s var(--ease-out), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, .62);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-160%); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; height: var(--nav-h);
  padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 500 19px/1 var(--font-display); letter-spacing: -.02em; color: var(--ink);
}
.brand__mark { width: 24px; height: 28px; fill: var(--ink); overflow: visible; }
/* « IA » en gras comme dans le logo : sinon le I se lit comme un l */
.brand__ia { color: var(--cyan); font-weight: 700; }
.nav__links { display: flex; gap: 6px; margin: 0 auto; }
.nav__links a {
  position: relative; padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color .3s, background-color .3s;
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px;
  border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font: 500 13px/1 var(--font-mono); letter-spacing: .06em; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, box-shadow .3s;
}
.lang__btn svg { width: 16px; height: 16px; }
.lang__btn:hover, .lang.is-open .lang__btn { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 160px; padding: 6px;
  border-radius: 16px; background: rgba(14, 11, 22, .92); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease-out); }
.lang__menu a {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font-size: 14px; color: var(--ink-2); text-align: left; text-decoration: none;
}
.lang__menu a:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.lang__menu a[aria-checked="true"] { color: var(--cyan); }
.lang__menu a[aria-checked="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); place-items: center;
}
.burger__lines { position: relative; width: 18px; height: 10px; }
.burger__lines span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger__lines span:first-child { top: 0; }
.burger__lines span:last-child { top: 8.5px; }
.burger[aria-expanded="true"] .burger__lines span:first-child { top: 4.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { top: 4.25px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  background: radial-gradient(80% 60% at 80% 10%, rgba(59, 10, 107, .7), transparent 70%), rgba(5, 5, 5, .97);
  visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s;
}
.mmenu.is-open { visibility: visible; opacity: 1; transition: opacity .4s; }
.mmenu__links { display: flex; flex-direction: column; }
.mmenu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 600 clamp(28px, 8vw, 44px)/1.1 var(--font-display); letter-spacing: -.03em; text-decoration: none;
}
.mmenu__links .mono { font-size: 12px; color: var(--cyan); letter-spacing: .1em; }
.mmenu__cta { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__stage {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  background:
    radial-gradient(70% 65% at 68% 46%, rgba(59, 10, 107, .62), transparent 72%),
    radial-gradient(40% 40% at 15% 90%, rgba(59, 10, 107, .35), transparent 70%),
    var(--black);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .9) 0%, rgba(5, 5, 5, .55) 34%, rgba(5, 5, 5, 0) 62%),
    linear-gradient(0deg, rgba(5, 5, 5, .85) 0%, rgba(5, 5, 5, 0) 26%);
}

.hero__intro { position: absolute; inset: 0; display: flex; align-items: center; padding-top: var(--nav-h); }
.hero__logo { width: clamp(44px, 4.4vw, 64px); margin-bottom: 28px; }
.hero__logo svg { display: block; width: 100%; height: auto; aspect-ratio: 170 / 200; fill: var(--ink); overflow: visible; }
@media (max-height: 760px) { .hero__logo { width: 40px; margin-bottom: 18px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(59, 10, 107, .35); box-shadow: inset 0 0 0 1px rgba(167, 123, 224, .3);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

.hero__title {
  font: 600 clamp(46px, 7.6vw, 112px)/.96 var(--font-display);
  letter-spacing: -.045em; max-width: 13ch; margin-bottom: 28px;
}
.hero__mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__line { display: block; }
.hero__line--accent {
  font-size: .5em; line-height: 1.12; letter-spacing: -.03em; margin-top: .3em; max-width: 22ch;
  background: linear-gradient(92deg, var(--cyan) 0%, #9fefff 38%, var(--amethyst-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero__sub { max-width: 54ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero__note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.hero__note svg { width: 16px; height: 16px; color: var(--cyan); }

.hero__chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; top: 0; left: 0; opacity: 0; will-change: transform, opacity;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  font: 500 12.5px/1 var(--font-mono); color: var(--ink); white-space: nowrap;
  background: rgba(18, 13, 29, .66); box-shadow: inset 0 0 0 1px rgba(167, 123, 224, .38), 0 10px 30px -10px rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amethyst-300); box-shadow: 0 0 8px var(--amethyst-300); }
.chip:nth-child(3n)::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.hero__chapters { position: absolute; inset: 0; pointer-events: none; }
.chapter {
  position: absolute; left: var(--gutter); bottom: clamp(64px, 13vh, 140px);
  width: min(560px, calc(100% - 2 * var(--gutter)));
  visibility: hidden; opacity: 0; z-index: 1; isolation: isolate;
}
@media (min-width: 1360px) { .chapter:not(.chapter--final) { left: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.chapter__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.chapter__num { color: var(--ink-3); }
.chapter__num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-2); }
.chapter__title { font: 600 clamp(34px, 4.6vw, 66px)/1.02 var(--font-display); letter-spacing: -.04em; margin-bottom: 18px; text-wrap: balance; }
.chapter__sub { font-size: clamp(16px, 1.2vw, 18px); color: var(--ink-2); max-width: 44ch; }
/* --hud-space : place gardée à droite (et à gauche, pour rester centré) pour la liste des étapes */
.hero__stage { --hud-space: 200px; }
.chapter--final {
  inset: 0; left: 0; bottom: 0; width: auto; margin: 0 auto; padding: var(--nav-h) calc(var(--gutter) + var(--hud-space)) 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.chapter--final::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); height: 520px; z-index: -1;
  transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(5, 5, 5, .82), rgba(5, 5, 5, 0));
}
.chapter--final .chapter__title { font-size: clamp(44px, 7vw, 120px); line-height: .95; }
.chapter--final .chapter__sub { margin: 0 auto 32px; }
.chapter__cta { pointer-events: auto; }
.chapter.is-live { pointer-events: auto; }

.hud {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: flex; gap: 16px; align-items: stretch; opacity: 0;
}
.hud__track { position: relative; width: 1px; background: var(--line-2); }
.hud__fill { position: absolute; inset: 0; background: linear-gradient(var(--amethyst-300), var(--cyan)); transform-origin: 50% 0; transform: scaleY(0); box-shadow: 0 0 10px var(--cyan); }
.hud__list { display: flex; flex-direction: column; gap: 18px; padding: 2px 0; }
.hud__list li { display: flex; gap: 10px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); transition: color .4s, transform .5s var(--ease-out); }
.hud__list li .mono { color: inherit; opacity: .6; }
.hud__list li.is-active { color: var(--cyan); transform: translateX(-4px); }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 28px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.hero__scroll-line { position: relative; width: 1px; height: 44px; background: var(--line-2); overflow: hidden; }
.hero__scroll-line span { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--cyan); animation: scroll-line 2s var(--ease-in-out) infinite; }
@keyframes scroll-line { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; padding: 28px 0; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(59, 10, 107, .16), transparent);
}
.marquee__row { display: flex; overflow: hidden; }
.marquee__row + .marquee__row { margin-top: 10px; }
.marquee__track { display: flex; flex: none; align-items: center; will-change: transform; }
.mq__item { flex: none; padding: 0 28px; font: 600 clamp(26px, 3.6vw, 52px)/1.15 var(--font-display); letter-spacing: -.035em; white-space: nowrap; color: var(--ink); }
.marquee__row--alt .mq__item { color: rgba(167, 123, 224, .55); }
.mq__sep { flex: none; width: 10px; height: 10px; transform: rotate(45deg); background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.marquee__row--alt .mq__sep { background: transparent; box-shadow: inset 0 0 0 1px var(--amethyst-300); }

/* ---------- Sections ---------- */
/* overflow-x: clip coupe les halos décoratifs sans créer de conteneur de scroll (le sticky reste actif) */
.section { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow-x: clip; }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center { text-align: center; }
.section__head--center .h2, .section__head--center .lead { margin-left: auto; margin-right: auto; }

.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.kicker__idx { color: var(--ink-3); }
.kicker__idx::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-2); }
.h2 { font: 600 clamp(38px, 5.6vw, 80px)/1.02 var(--font-display); letter-spacing: -.042em; margin: 22px 0 22px; max-width: 17ch; text-wrap: balance; }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.sublabel { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }

.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

.glow { position: absolute; width: 60vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; pointer-events: none; filter: blur(40px); opacity: .55; z-index: -1; }
.glow--left { left: -25vw; top: 10%; background: radial-gradient(closest-side, rgba(59, 10, 107, .75), transparent); }
.glow--right { right: -25vw; top: 20%; background: radial-gradient(closest-side, rgba(59, 10, 107, .7), transparent); }

/* ---------- Cartes (offres, ce que j'automatise) ---------- */
.card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 280px; padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .5s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 229, 255, .13), rgba(59, 10, 107, .25) 35%, transparent 65%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(0, 229, 255, .9), rgba(167, 123, 224, .4) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after, .card:focus-within::before, .card:focus-within::after { opacity: 1; }
.card:hover { box-shadow: inset 0 0 0 1px transparent, 0 30px 80px -40px rgba(0, 229, 255, .35); }
.card__idx { position: absolute; top: 30px; right: 30px; font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }
.card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--cyan);
  background: radial-gradient(circle at 30% 25%, rgba(123, 63, 196, .55), rgba(59, 10, 107, .35) 60%, rgba(59, 10, 107, .15));
  box-shadow: inset 0 0 0 1px rgba(167, 123, 224, .32), inset 0 0 24px rgba(0, 229, 255, .08);
  transform: translateZ(40px);
}
.card__icon svg { width: 24px; height: 24px; }
.card__text { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink); }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--cyan); }

/* ---------- Qui je suis ---------- */
.about .h2 { font-size: clamp(34px, 4.2vw, 60px); max-width: 20ch; }
.about__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.about__links .btn svg { width: 18px; height: 18px; }
.about .stats { margin-top: clamp(56px, 7vw, 96px); }

/* ---------- Offres ---------- */
.offers { isolation: isolate; }
.offers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer { min-height: 0; }
.offer__tag { position: absolute; top: 34px; right: 30px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.offer__title { margin-top: 30px; font: 600 22px/1.25 var(--font-display); letter-spacing: -.02em; transform: translateZ(24px); }
.offer .checks { margin-bottom: 28px; }
.offer__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.offer__price { font: 600 26px/1 var(--font-display); letter-spacing: -.02em; color: var(--cyan); }
.offer__delay { font-size: 12px; color: var(--ink-3); }
.offer__book { width: 100%; margin-top: 20px; }
.offer--custom { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; }
.offer--custom .card__icon { flex: none; }
.offer__body { flex: 1; }
.offer--custom .offer__title { margin-top: 0; }
.offer__cta { flex: none; }

/* ---------- Réalisations clients ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case {
  --case-pad: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; padding: var(--case-pad); border-radius: var(--radius);
  background: radial-gradient(120% 80% at 100% 0%, rgba(59, 10, 107, .45), transparent 60%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.case__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.case__tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.case__title { font: 600 clamp(24px, 2.4vw, 32px)/1.15 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.case__client { margin-top: 10px; color: var(--cyan); font-weight: 500; }
.case__body { display: grid; gap: 22px; margin: 28px 0 0; }
.case__body dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.case__body dd { margin: 0; color: var(--ink-2); }
.case__gain { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 28px; font-weight: 500; color: var(--ink); }
.case__gain svg { width: 18px; height: 18px; flex: none; color: var(--cyan); }
/* Cartes larges : texte sur deux colonnes ; la carte du CRM ajoute ses captures en dessous */
.case--split { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(32px, 4vw, 64px); align-items: start; }
.case--split > :not(.case__body) { grid-column: 1; }
.case--split .case__body { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
.case--split .case__gain { align-self: end; }
.case--media .case__media { grid-column: 1 / -1; grid-row: auto; margin-top: clamp(24px, 3vw, 40px); }
.case__media { display: grid; gap: 14px; }
.case__note { margin: 0; font-size: 13px; color: var(--ink-3); }

/* Rangée courbée des captures (construite par initCurve dans main.js) */
.curve { position: relative; margin-inline: calc(-1 * var(--case-pad)); }
.curve__source { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0 var(--case-pad); list-style: none; }
.curve__source img { display: block; width: 100%; height: auto; border-radius: 8px; }
.curve.is-ready .curve__source { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.curve:not(.is-ready) .curve__band { display: none; }
.curve__band {
  position: relative; overflow: hidden; height: clamp(230px, 30vw, 410px); perspective-origin: 50% 50%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.curve.is-dragging .curve__band { cursor: grabbing; }
.curve__tile { position: absolute; transform-style: preserve-3d; cursor: zoom-in; }
.curve.is-dragging .curve__tile { cursor: grabbing; }
.curve__strip { position: absolute; top: 0; overflow: hidden; background: #d8d2c6; backface-visibility: hidden; }
.curve__strip:first-child { border-radius: 10px 0 0 10px; }
.curve__strip:last-child { border-radius: 0 10px 10px 0; }
.curve__strip img { position: absolute; top: 0; max-width: none; object-fit: cover; object-position: left top; pointer-events: none; -webkit-user-drag: none; }
.curve__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.curve__caption { flex: 1 1 280px; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.curve__zoom { flex: none; }

/* Fenêtre d'agrandissement des captures */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 5, 5, .9); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in .35s var(--ease-out); }
.lightbox__fig { display: grid; justify-items: center; gap: 14px; width: 100%; height: 100%; margin: 0; padding: clamp(56px, 6vw, 80px) clamp(16px, 7vw, 96px); align-content: center; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.lightbox__caption { max-width: 70ch; text-align: center; color: var(--ink-2); font-size: 15px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--ink); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background-color .3s;
}
.lightbox__btn:hover { background: rgba(59, 10, 107, .9); }
.lightbox__btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }
@media (max-width: 640px) {
  .lightbox__fig { padding: 72px 12px 96px; }
  .lightbox__fig img { max-height: calc(100vh - 240px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

.quote { margin: clamp(40px, 5vw, 64px) 0 0; padding-left: 28px; border-left: 2px solid var(--cyan); max-width: 70ch; }
.quote[hidden] { display: none; }
.quote blockquote { margin: 0; font: 500 clamp(20px, 2vw, 28px)/1.4 var(--font-display); letter-spacing: -.015em; }
.quote figcaption { margin-top: 14px; color: var(--ink-3); font-size: 14px; }

/* ---------- Ce que j'automatise pour moi ---------- */
.lab { isolation: isolate; }
.lab__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lab-card { min-height: 0; }
.lab-card__title { margin-top: 30px; font: 600 20px/1.25 var(--font-display); letter-spacing: -.02em; transform: translateZ(24px); }
.gain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: auto 0 0; padding-top: 26px; }
.gain__row { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); }
.gain__row dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.gain__row dd { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(167, 123, 224, .7); }
.gain__row--after { background: var(--cyan-08); box-shadow: inset 0 0 0 1px var(--cyan-20); }
.gain__row--after dt { color: var(--cyan); }
.gain__row--after dd { color: var(--ink); font-weight: 600; text-decoration: none; }
.lab-card--total {
  justify-content: center; align-items: flex-start;
  background: radial-gradient(120% 90% at 100% 0%, rgba(59, 10, 107, .8), rgba(11, 9, 18, .95) 70%);
  box-shadow: inset 0 0 0 1px var(--cyan-20), 0 40px 100px -50px rgba(0, 229, 255, .35);
}
.lab-card--total .stat__value { font-size: clamp(64px, 6.4vw, 104px); }
.lab-total__label { margin: 16px 0 28px; color: var(--ink-2); }

/* ---------- Tarifs ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); }
.tier--accent {
  background: radial-gradient(120% 90% at 100% 0%, rgba(59, 10, 107, .75), rgba(11, 9, 18, .95) 70%);
  box-shadow: inset 0 0 0 1px var(--cyan-20), 0 40px 100px -50px rgba(0, 229, 255, .35);
}
.tier__name { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.tier__price { margin-top: 18px; font: 600 clamp(36px, 3.6vw, 52px)/1 var(--font-display); letter-spacing: -.04em; }
.tier__desc { margin-top: 14px; color: var(--ink-2); }
.tier .checks { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 40px; color: var(--ink-2); font-size: 15px; }
.terms li { display: inline-flex; align-items: center; gap: 10px; }
.terms svg { width: 18px; height: 18px; flex: none; color: var(--cyan); }
.pricing__cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Vos données ---------- */
.data { isolation: isolate; }
.data__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.data .features { margin-top: 8px; }

/* ---------- Réservation intégrée ---------- */
.booking { width: 100%; max-width: 1000px; }
/* Cal.com ajuste lui-même la hauteur de son cadre à son contenu */
.booking__frame {
  position: relative; min-height: 620px; border-radius: 22px; overflow: hidden; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(59, 10, 107, .95);
}
.booking__frame > :not(.booking__loading) { position: relative; z-index: 1; }
.booking__loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; letter-spacing: .06em; color: var(--ink-3); }
.booking__fallback { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--ink-2); font-size: 14px; text-underline-offset: 4px; }
.booking__fallback:hover { color: var(--cyan); }
.booking__fallback svg { width: 16px; height: 16px; }

/* ---------- Comment ça marche ---------- */
.flow { position: relative; }
.flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow__track { fill: none; stroke: rgba(167, 123, 224, .3); stroke-width: 1.5; stroke-dasharray: 3 9; stroke-linecap: round; }
.flow__line { fill: none; stroke: url(#flowGrad); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(0, 229, 255, .7)); }
.flow__packet { fill: #fff; opacity: 0; filter: drop-shadow(0 0 8px var(--cyan)) drop-shadow(0 0 16px var(--cyan)); }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.step { text-align: center; }
.step__node {
  position: relative; width: 104px; height: 104px; margin: 0 auto 30px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-3);
  background: radial-gradient(circle at 35% 30%, #1b1130, #0a0810 70%);
  box-shadow: inset 0 0 0 1px rgba(167, 123, 224, .3), 0 0 0 10px rgba(5, 5, 5, 1);
  transition: color .6s, box-shadow .6s;
}
.step__node svg { width: 32px; height: 32px; }
.step__ring { position: absolute; inset: -12px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--cyan); opacity: 0; }
.step.is-active .step__node { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .7), 0 0 0 10px rgba(5, 5, 5, 1), 0 0 70px rgba(0, 229, 255, .35); }
.step.is-active .step__ring { animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.step__num { font-size: 12px; color: var(--ink-3); letter-spacing: .14em; margin-bottom: 10px; transition: color .6s; }
.step.is-active .step__num { color: var(--cyan); }
.step__title { font: 600 26px/1.2 var(--font-display); letter-spacing: -.025em; margin-bottom: 10px; }
.step__desc { color: var(--ink-2); max-width: 30ch; margin: 0 auto; }

.terminal {
  max-width: 820px; margin: clamp(64px, 8vw, 110px) auto 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #0f0b18, #08070c);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(59, 10, 107, .95), 0 0 0 1px rgba(0, 0, 0, .5);
}
.terminal__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.terminal__status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.terminal__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.4s ease-in-out infinite; }
.terminal.is-done .terminal__pulse { animation: none; }
.terminal__body { padding: 24px 22px 28px; min-height: 172px; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.log-line { display: grid; grid-template-columns: auto auto 1fr auto; gap: 14px; align-items: baseline; opacity: 0; }
.log-tag { color: var(--amethyst-300); }
.log-arrow { color: var(--ink-3); }
.log-text { color: var(--ink); }
.log-text.is-typing::after { content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--cyan); animation: blink .8s steps(1) infinite; }
.log-ok { width: 18px; height: 18px; color: var(--cyan); opacity: 0; transform: scale(.4); }

/* ---------- Pourquoi l'IA ---------- */
.ai { isolation: isolate; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.compare__col { padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); }
.compare__col--before { background: rgba(255, 255, 255, .018); box-shadow: inset 0 0 0 1px var(--line); }
.compare__col--after {
  background: radial-gradient(120% 90% at 100% 0%, rgba(59, 10, 107, .75), rgba(11, 9, 18, .95) 70%);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .22), 0 40px 100px -50px rgba(0, 229, 255, .35);
}
.compare__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.compare__col--after .compare__label { color: var(--cyan); }
.compare__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.45; }
.compare__item svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.compare__col--before .compare__item { color: var(--ink-2); }
.compare__col--before .compare__item svg { color: var(--ink-3); }
.compare__col--after .compare__item svg { color: var(--cyan); }
.compare__text { position: relative; }
.compare__strike { position: absolute; left: -2px; right: -2px; top: 52%; height: 1.5px; background: var(--amethyst-300); transform-origin: 0 50%; transform: scaleX(0); }
.compare__divider { position: relative; background: var(--line); }
.compare__beam { position: absolute; left: -1px; top: 0; width: 3px; height: 26%; border-radius: 3px; background: linear-gradient(transparent, var(--cyan), transparent); box-shadow: 0 0 16px var(--cyan); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 40px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__value {
  font: 600 clamp(64px, 8.6vw, 136px)/.95 var(--font-display); letter-spacing: -.055em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .35));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 16px; color: var(--ink-2); max-width: 26ch; }

/* ---------- Pourquoi moi ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.portrait { position: relative; margin: 0; max-width: 460px; width: 100%; justify-self: center; }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--surface-2); }
.portrait__frame img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 6%; filter: grayscale(1) contrast(1.08) brightness(.92); transition: filter 1s var(--ease-out); }
.portrait__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: color; transition: opacity 1s var(--ease-out);
  background: linear-gradient(165deg, rgba(0, 229, 255, .9) 0%, rgba(91, 26, 158, 1) 55%, rgba(59, 10, 107, 1) 100%);
}
.portrait__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, .55));
  box-shadow: inset 0 0 0 1px rgba(167, 123, 224, .3);
  border-radius: inherit;
}
.portrait:hover .portrait__frame::before { opacity: .15; }
.portrait:hover .portrait__frame img { filter: grayscale(.1) contrast(1.02) brightness(1); }
.portrait__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; opacity: 0; background: var(--cyan); box-shadow: 0 0 20px 4px rgba(0, 229, 255, .6); }
.portrait__corner { position: absolute; width: 22px; height: 22px; border-color: var(--cyan); border-style: solid; border-width: 0; }
.portrait__corner--tl { top: -12px; left: -12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.portrait__corner--tr { top: -12px; right: -12px; border-top-width: 1.5px; border-right-width: 1.5px; }
.portrait__corner--bl { bottom: -12px; left: -12px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.portrait__corner--br { bottom: -12px; right: -12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; margin-top: 48px; }
.feature { padding-top: 24px; border-top: 1px solid var(--line); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: var(--cyan); background: rgba(59, 10, 107, .45); box-shadow: inset 0 0 0 1px rgba(167, 123, 224, .3); }
.feature__icon svg { width: 20px; height: 20px; }
.feature__title { font: 600 19px/1.3 var(--font-display); letter-spacing: -.015em; margin-bottom: 8px; }
.feature__desc { font-size: 15px; color: var(--ink-2); }

/* ---------- Processus (cartes empilées) ---------- */
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack__card {
  position: sticky; top: calc(var(--nav-h) + 24px + var(--i) * 26px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center;
  min-height: clamp(300px, 42vh, 420px); padding: clamp(28px, 5vw, 64px); border-radius: 30px;
  transform-origin: 50% 0; will-change: transform;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 -40px 80px -40px rgba(0, 0, 0, .95);
  overflow: hidden;
}
.stack__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--black); opacity: var(--dim, 0); pointer-events: none; }
.stack__card:nth-child(1) { background: radial-gradient(90% 120% at 0% 0%, rgba(59, 10, 107, .55), transparent 60%), linear-gradient(135deg, #120d1d, #0a0810); }
.stack__card:nth-child(2) { background: radial-gradient(90% 120% at 100% 0%, rgba(91, 26, 158, .6), transparent 60%), linear-gradient(135deg, #160f24, #0b0912); }
.stack__card:nth-child(3) { background: radial-gradient(90% 120% at 100% 100%, rgba(0, 229, 255, .16), transparent 55%), radial-gradient(90% 120% at 0% 0%, rgba(59, 10, 107, .6), transparent 60%), linear-gradient(135deg, #140e20, #0a0810); }
.stack__num {
  font: 600 clamp(110px, 17vw, 240px)/.8 var(--font-display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(167, 123, 224, .55);
  background: linear-gradient(0deg, var(--cyan) 50%, transparent 50%); background-size: 100% 200%; background-position: 0% 0%;
  -webkit-background-clip: text; background-clip: text;
}
.stack__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: var(--black); background: var(--cyan); box-shadow: 0 10px 40px -10px rgba(0, 229, 255, .8); }
.stack__icon svg { width: 24px; height: 24px; }
.stack__title { font: 600 clamp(26px, 3vw, 40px)/1.1 var(--font-display); letter-spacing: -.03em; margin-bottom: 14px; }
.stack__desc { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); container-type: inline-size; }
/* le titre suit la largeur de sa colonne : « l'automatisation » ne déborde plus sur les questions */
.faq__head .h2 { font-size: clamp(32px, 3.4vw, 52px); font-size: clamp(32px, 10.5cqi, 64px); }
.faq__head .lead { margin-bottom: 32px; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; border: 0; background: transparent; cursor: pointer; text-align: left;
  font: 500 clamp(18px, 1.6vw, 22px)/1.35 var(--font-display); letter-spacing: -.015em; color: var(--ink);
  transition: color .3s;
}
.acc__btn:hover { color: var(--cyan); }
.acc__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .4s, box-shadow .4s, transform .6s var(--ease-out); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .6s var(--ease-out); }
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon { background: var(--cyan); color: var(--black); box-shadow: none; transform: rotate(180deg); }
.acc.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 62ch; opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .6s var(--ease-out); }
.acc.is-open .acc__panel p { opacity: 1; transform: none; transition-delay: .1s; }

/* ---------- Appel final ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(130px, 18vw, 240px) 0; text-align: center; border-top: 1px solid var(--line); }
/* Aurore : trois halos qui tournent (transform seul, aucun filtre) */
.cta__aurora {
  position: absolute; left: 50%; top: 50%; width: min(1200px, 150vw); aspect-ratio: 1; z-index: -1;
  transform: translate(-50%, -50%); will-change: transform;
  background:
    radial-gradient(closest-side at 34% 42%, rgba(91, 26, 158, .8), rgba(91, 26, 158, 0)),
    radial-gradient(closest-side at 66% 58%, rgba(0, 229, 255, .26), rgba(0, 229, 255, 0)),
    radial-gradient(closest-side at 50% 50%, rgba(59, 10, 107, .85), rgba(59, 10, 107, 0));
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* Sol en perspective qui avance vers le visiteur (transform seul) */
.cta__floor {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 110%; z-index: -1; overflow: hidden;
  perspective: 600px; perspective-origin: 50% 0%;
  -webkit-mask: linear-gradient(0deg, #000 5%, transparent 62%); mask: linear-gradient(0deg, #000 5%, transparent 62%);
}
.cta__floor::before {
  content: ""; position: absolute; left: 0; right: 0; top: -64px; bottom: 0; transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(167, 123, 224, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 123, 224, .3) 1px, transparent 1px);
  background-size: 64px 64px; will-change: transform;
  transform: rotateX(70deg); animation: floor 4s linear infinite;
}
@keyframes floor { from { transform: rotateX(70deg) translateY(0); } to { transform: rotateX(70deg) translateY(64px); } }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { font: 600 clamp(48px, 8.4vw, 132px)/.96 var(--font-display); letter-spacing: -.05em; max-width: 13ch; margin-bottom: 28px; text-wrap: balance; }
.cta__sub { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 50ch; margin-bottom: 44px; }
.cta__note { margin-top: 24px; font-size: 12.5px; letter-spacing: .06em; color: var(--ink-3); }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: 72px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tagline { margin-top: 16px; max-width: 40ch; color: var(--ink-3); font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.footer__links a { text-decoration: none; color: var(--cyan); }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__mark {
  margin-top: 48px; text-align: center; white-space: nowrap; user-select: none; overflow: hidden;
  font: 700 clamp(56px, 16.5vw, 280px)/.82 var(--font-display); letter-spacing: -.07em;
  color: transparent;
  background: linear-gradient(180deg, rgba(123, 63, 196, .5), rgba(59, 10, 107, .25) 55%, transparent 90%); -webkit-background-clip: text; background-clip: text;
}
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); min-height: 44px; }
.footer__top-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.footer__top-link:hover svg { transform: translateY(-3px); }

/* ---------- Pages légales (sans JS) ---------- */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-nav { border-bottom: 1px solid var(--line); }
.legal-nav .nav__inner { justify-content: space-between; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.legal-back:hover { color: var(--cyan); }
.legal { flex: 1; padding: clamp(56px, 8vw, 110px) 0; }
.legal__inner { max-width: 760px; }
.legal h1 { font: 600 clamp(36px, 5vw, 64px)/1.05 var(--font-display); letter-spacing: -.04em; margin-bottom: 14px; }
.legal__updated { font-size: 12px; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 40px; }
.legal h2 { font: 600 clamp(20px, 2vw, 24px)/1.3 var(--font-display); letter-spacing: -.02em; margin: 40px 0 12px; }
.legal p { color: var(--ink-2); margin-bottom: 10px; max-width: 68ch; overflow-wrap: anywhere; }
.legal a { color: var(--cyan); }
.legal-footer { border-top: 1px solid var(--line); padding: 28px 0 32px; font-size: 13px; color: var(--ink-3); }
.legal-footer .container { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.legal-footer ul { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.legal-footer a { color: var(--ink-2); text-decoration: none; }
.legal-footer a:hover { color: var(--cyan); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: grid; }
  .hud__list span:not(.mono) { display: none; }
  .hero__stage { --hud-space: 56px; }
  .offers__grid, .lab__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .hero__veil { background: linear-gradient(0deg, rgba(5, 5, 5, .95) 0%, rgba(5, 5, 5, .6) 45%, rgba(5, 5, 5, .2) 75%, rgba(5, 5, 5, .45) 100%); }
  .hero__intro { align-items: flex-end; padding-bottom: 96px; }
  .hero__title { max-width: 14ch; }
  .chapter { bottom: 72px; }
  .hud { top: auto; bottom: 26px; right: var(--gutter); transform: none; }
  .hero__stage { --hud-space: 0px; }
  .hud__track { display: none; }
  .hud__list { flex-direction: row; gap: 12px; }
  .hud__list li.is-active { transform: none; }
  .hero__scroll { display: none; }

  .flow__steps { grid-template-columns: 1fr; gap: 44px; }
  .step { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 22px; text-align: left; align-items: start; }
  .step__node { width: 76px; height: 76px; margin: 0; }
  .step__node svg { width: 26px; height: 26px; }
  .step__desc { margin: 0; }

  .compare { grid-template-columns: 1fr; }
  .compare__divider { height: 1px; width: auto; }
  .compare__beam { top: -1px; left: 0; width: 26%; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }

  .cases, .tiers, .data__grid { grid-template-columns: 1fr; }
  .case--split { display: flex; }
  .case--media .case__media { margin-top: 32px; }
  .case--split .case__body { margin-top: 28px; }
  .tiers { max-width: 560px; margin: 0 auto; }
  .offer--custom { flex-direction: column; align-items: flex-start; }

  .why__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }

  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__head { position: static; }

  .stack__card { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .stack__num { font-size: clamp(88px, 26vw, 140px); }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .offers__grid, .lab__grid { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 26px; }
  .offer__tag { position: static; order: -1; margin-bottom: 18px; }
  .about__links .btn, .offer__cta { width: 100%; }
  .booking__frame { min-height: 560px; }
  .terms { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 32px 0 0; border-left: 0; }
  .stat + .stat { margin-top: 32px; border-top: 1px solid var(--line); }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .acc__panel p { padding-right: 0; }
  .hero__ctas .btn { width: 100%; }
  .chip { font-size: 11px; padding: 6px 10px 6px 8px; }
  .log-line { grid-template-columns: auto 1fr auto; }
  .log-arrow { display: none; }
  .terminal__body { font-size: 12.5px; }
}

/* =========================================================
   Mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .cta__aurora, .cta__floor { animation: none; }
}
