/* =============================================
   CLIVO · Dark Cinematic Precision
   Stylesheet généré par build.py
   ============================================= */

/* ───── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body { background: #04040F; color: #EDEEF5; font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 16px; line-height: 1.65; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; background: transparent; border: none; outline: none; }
ul, ol { list-style: none; }

/* ───── Variables ──────────────────────────── */
:root {
  --bg: #04040F;
  --bg2: #07071A;
  --bg3: #0B0B22;
  --bg4: #0E0E2E;
  --primary: #1470FF;
  --primary-hover: #2D82FF;
  --gold: #FFCA3A;
  --white: #EDEEF5;
  --white80: rgba(237,238,245,.80);
  --white55: rgba(237,238,245,.55);
  --white30: rgba(237,238,245,.30);
  --white12: rgba(237,238,245,.12);
  --white06: rgba(237,238,245,.06);
  --glass: rgba(255,255,255,.04);
  --glass2: rgba(255,255,255,.07);
  --primary10: rgba(20,112,255,.10);
  --primary22: rgba(20,112,255,.22);
  --primary40: rgba(20,112,255,.40);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.5);
  --shadow-md: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
}

/* ───── Typography ─────────────────────────── */
.mono { font-family: 'Space Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; font-weight: 400; color: var(--white55); }
.mono-strong { font-family: 'Space Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-size: 11px; }
h1, h2, h3, h4, h5 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -.04em; line-height: 1.02; word-break: break-word; hyphens: auto; }
h1 { font-size: clamp(44px, 9vw, 132px); }
h2 { font-size: clamp(34px, 6vw, 88px); }
h3 { font-size: clamp(22px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.15; }
h4 { font-size: clamp(18px, 2vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
p { font-size: clamp(15px, 1.4vw, 18px); color: var(--white80); }
.lead { font-size: clamp(18px, 1.8vw, 22px); color: var(--white80); line-height: 1.55; max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--white55); }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--primary); flex-shrink: 0; }

/* ───── Layout ─────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
section.alt { background: var(--bg3); }
section.alt2 { background: var(--bg2); }
.section-head { display: grid; gap: 20px; max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { overflow: hidden; }
.section-head .eyebrow { color: var(--primary); }

/* ───── Grain + Vignette ──────────────────── */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(4,4,15,.55) 100%);
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───── Loader ─────────────────────────────── */
.loader { position: fixed; inset: 0; z-index: 100000; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.loader__logo { width: 220px; }
.loader__logo svg { width: 100%; height: auto; }
.loader__bar { position: absolute; bottom: 0; left: 0; height: 3px; width: 0; background: var(--primary); }
.loader.is-out { transform: translateY(-100%); transition: transform .9s cubic-bezier(.86,0,.07,1); }
@media (prefers-reduced-motion: reduce) { .loader { display: none !important; } }

/* ───── Custom cursor ──────────────────────── */
.cursor-dot, .cursor-outline { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999; mix-blend-mode: difference; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(20,112,255,.6); border-radius: 50%; transform: translate(-50%, -50%); transition: width .25s ease, height .25s ease, border-color .25s ease, opacity .25s ease, background .25s ease; }
.cursor-outline.is-link { width: 56px; height: 56px; opacity: .55; }
.cursor-outline.is-image { width: 88px; height: 88px; background: rgba(20,112,255,.18); border-color: var(--primary); display: flex; align-items: center; justify-content: center; }
.cursor-outline.is-image::after { content: 'VOIR'; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .14em; color: var(--white); }
.cursor-outline.is-cta { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-outline { display: none; } }

/* ───── Progress bar ───────────────────────── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 9997; }
.progress__bar { height: 100%; width: 0%; background: var(--primary); transform-origin: left; }

/* ───── Header / Nav ──────────────────────── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 9000; transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, transform .35s cubic-bezier(.86,0,.07,1); }
.header.is-hidden { transform: translateY(-100%); }
body.nav-open .header { transform: none !important; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(4,4,15,.72); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.header.scrolled .header__inner { border-bottom-color: var(--white06); }
.brand { display: inline-flex; align-items: center; }
.brand svg { width: 124px; height: auto; }
@media (min-width: 1024px) { .brand svg { width: 148px; } }

.nav { display: none; align-items: center; gap: 36px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav__link { position: relative; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; padding: 10px 0; color: var(--white80); transition: color .25s ease; }
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--primary); transition: right .35s cubic-bezier(.86,0,.07,1); }
.nav__link:hover::after, .nav__link.active::after { right: 0; }

.nav__item { position: relative; }
.nav__item--has-drop > .nav__link::after { display: none; }
.nav__item--has-drop > .nav__link::before {
  content: ''; position: absolute; left: -10px; right: -10px; bottom: -16px; top: 100%;
}
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -16px; min-width: 280px; padding: 10px;
  background: rgba(7,7,26,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--white12); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  box-shadow: var(--shadow-lg);
}
.nav__item--has-drop:hover > .dropdown,
.nav__item--has-drop:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition: opacity .25s ease, transform .25s ease, visibility 0s; transition-delay: 0s, 0s, 0s; }
.dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--white80); transition: background .2s ease, color .2s ease; }
.dropdown a::after { content: '→'; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease; color: var(--primary); }
.dropdown a:hover { background: var(--primary10); color: var(--white); }
.dropdown a:hover::after { opacity: 1; transform: translateX(0); }

.nav__cta { display: none; }
@media (min-width: 1024px) { .nav__cta { display: inline-flex; } }

.burger {
  display: inline-flex; flex-direction: column; gap: 6px; padding: 10px; margin-right: -10px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform .35s ease, opacity .25s ease; transform-origin: center; }
.nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu fullscreen — toujours opaque, au-dessus de TOUT */
.menu-mobile {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #04040F; /* opaque, pas de var au cas où la var ne soit pas définie */
  display: flex; flex-direction: column; padding: 88px var(--gutter) 40px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.86,0,.07,1);
  z-index: 9999; visibility: hidden;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav-open .menu-mobile { transform: translateY(0); visibility: visible; }
@media (min-width: 1024px) { .menu-mobile { display: none; } }
.menu-mobile__list { display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 0; margin: 0; }
.menu-mobile__item { overflow: hidden; }
.menu-mobile__link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--white06);
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(28px, 8vw, 44px); color: var(--white);
  transition: color .25s ease;
}
.menu-mobile__link.is-active { color: var(--primary); }
.menu-mobile__num { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--white30); font-weight: 400; }

/* ───── Buttons ───────────────────────────── */
.btn {
  --pad-x: 28px; --pad-y: 16px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x); border-radius: var(--radius-pill); font-weight: 700;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  font-family: 'Bricolage Grotesque', sans-serif; cursor: pointer; min-height: 48px; line-height: 1;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--white12); }
.btn--ghost:hover { border-color: var(--primary); color: var(--white); background: var(--primary10); }
.btn--white { background: var(--white); color: var(--bg); }
.btn--white:hover { background: #fff; }
.btn--outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ───── HERO ──────────────────────────────── */
.hero { position: relative; min-height: 100vh; padding: calc(var(--header-h) + 60px) 0 80px; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(20,112,255,.18), transparent 70%),
    radial-gradient(45% 40% at 10% 80%, rgba(255,202,58,.05), transparent 70%);
  animation: hero-mesh-pulse 12s ease-in-out infinite alternate;
}
@keyframes hero-mesh-pulse {
  0%   { opacity: .85; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.04); }
}
.hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(20,112,255,.10), transparent 40%);
  transition: background .12s ease-out;
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { display: grid; gap: clamp(20px, 4vw, 36px); }
.hero__tag { display: inline-flex; }
.hero__title { font-size: clamp(46px, 11vw, 168px); line-height: .92; letter-spacing: -.045em; font-weight: 800; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; will-change: transform; }
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line--dim { color: rgba(237,238,245,.32); }
/* Hero rotator — premier mot visible par défaut en CSS, JS pilote ensuite */
.hero__rotator { position: relative; display: inline-block; vertical-align: top; line-height: 1.1; height: 1.1em; overflow: hidden; }
.hero__rotator-ghost { display: inline-block; visibility: hidden; pointer-events: none; color: var(--primary); font-weight: 800; line-height: 1.1; padding: 0 .04em; white-space: nowrap; }
.hero__rotator-stage { position: absolute; inset: 0; overflow: hidden; }
.hero__rotator-word { position: absolute; top: 0; left: 0; right: 0; color: var(--primary); font-weight: 800; line-height: 1.1; padding: 0 .04em; will-change: transform, opacity; white-space: nowrap; opacity: 0; }
.hero__rotator-word:first-child { opacity: 1; }
.hero__sub { max-width: 60ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: var(--white55); transition: color .25s ease; }
.hero__scroll:hover { color: var(--white); }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(var(--white55), transparent); }
.hero__scroll-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }

/* ───── Ticker ────────────────────────────── */
.ticker-wrap { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--white06); border-bottom: 1px solid var(--white06); overflow: hidden; }
.ticker { display: flex; gap: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; flex-shrink: 0; gap: 0; animation: ticker-scroll 40s linear infinite; will-change: transform; }
.ticker--reverse .ticker__track { animation-direction: reverse; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding: 0 28px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(20px, 3vw, 32px); letter-spacing: -.02em; color: var(--white); white-space: nowrap; }
.ticker__item::after { content: '·'; color: var(--white30); }
.ticker__item:last-child::after { content: '·'; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ───── Services preview cards ───────────── */
.services { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .services { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.service-card {
  position: relative; display: grid; grid-template-rows: auto 1fr auto auto; gap: 16px;
  padding: clamp(22px, 3vw, 36px); background: var(--bg2);
  border: 1px solid var(--white06); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .35s ease, background .35s ease;
}
.service-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--primary);
  transform-origin: left; transform: scaleX(0); transition: transform .55s cubic-bezier(.86,0,.07,1);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--white12); background: var(--bg4); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__num { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .14em; color: var(--primary); text-transform: uppercase; transition: transform .3s ease; }
.service-card:hover .service-card__num { transform: translateY(-2px); }
.service-card__title { font-size: clamp(24px, 3vw, 38px); }
.service-card__desc { color: var(--white55); }
.service-card__link { display: inline-flex; align-items: center; gap: 12px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); transition: gap .3s ease; padding-top: 8px; border-top: 1px solid var(--white06); }
.service-card:hover .service-card__link { gap: 18px; }
.service-card__link span:last-child { color: var(--primary); }
.service-card__media { aspect-ratio: 16/10; overflow: hidden; border-radius: 10px; background: var(--bg3); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); filter: grayscale(.2) brightness(.85); }
.service-card:hover .service-card__media img { transform: scale(1.05); filter: grayscale(0) brightness(1); }

/* ───── Stats / rolling numbers ─────────── */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.stat { padding: 24px 0; border-top: 1px solid var(--white06); }
.stat__val { display: flex; align-items: baseline; gap: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(48px, 7vw, 96px); letter-spacing: -.05em; line-height: 1; color: var(--white); }
.stat__val .digit { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.stat__val .digit-strip { display: flex; flex-direction: column; line-height: 1; transform: translateY(0); will-change: transform; }
.stat__val .digit-strip span { display: block; height: 1em; line-height: 1; }
.stat__suf { color: var(--primary); }
.stat__label { margin-top: 12px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white55); }

/* ───── Portfolio horizontal scroll ─────── */
.portfolio-h { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0 0; }
.portfolio-h__head { padding: 0 var(--gutter); margin-bottom: 60px; max-width: var(--container); margin-left: auto; margin-right: auto; }
.portfolio-h__viewport { position: relative; height: 100vh; overflow: hidden; }
.portfolio-h__track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; gap: 40px; padding: 0 var(--gutter); will-change: transform; }
.portfolio-h__card { position: relative; flex: 0 0 auto; width: clamp(320px, 38vw, 560px); aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg2); border: 1px solid var(--white06); }
.portfolio-h__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); will-change: transform; }
.portfolio-h__card:hover .portfolio-h__img { transform: scale(1.06); }
.portfolio-h__overlay {
  position: absolute; inset: 0; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 40%, rgba(4,4,15,.85) 100%);
  opacity: 0; transition: opacity .35s ease;
}
.portfolio-h__card:hover .portfolio-h__overlay { opacity: 1; }
.portfolio-h__cat { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.portfolio-h__title { font-size: clamp(20px, 2.4vw, 30px); margin-top: 8px; color: var(--white); }
.portfolio-h__cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.portfolio-h__progress { height: 2px; background: var(--white06); margin: 32px var(--gutter) 0; max-width: var(--container); margin-left: auto; margin-right: auto; }
.portfolio-h__progress-bar { height: 100%; width: 0; background: var(--primary); transform-origin: left; }

/* Mobile fallback : scroll horizontal natif */
@media (max-width: 1023px) {
  .portfolio-h__viewport { height: auto; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
  .portfolio-h__track { position: relative; gap: 20px; padding: 0 var(--gutter); }
  .portfolio-h__card { scroll-snap-align: center; width: min(82vw, 420px); }
  .portfolio-h__overlay { opacity: 1; background: linear-gradient(180deg, transparent 50%, rgba(4,4,15,.92) 100%); }
}

/* ───── Process scrollytelling ──────────── */
.process { padding: 0; }
.process__pin { position: relative; height: 100vh; display: grid; grid-template-columns: 1fr; align-items: center; padding: var(--gutter); }
@media (min-width: 1024px) { .process__pin { grid-template-columns: 320px 1fr; gap: 60px; padding: 0 var(--gutter); } }
.process__rail { display: none; position: relative; }
@media (min-width: 1024px) { .process__rail { display: block; } }
.process__rail-line { position: absolute; left: 12px; top: 0; bottom: 0; width: 1px; background: var(--white06); }
.process__rail-fill { position: absolute; left: 12px; top: 0; width: 1px; background: var(--primary); height: 0; }
.process__rail-list { position: relative; display: flex; flex-direction: column; gap: 36px; }
.process__rail-item { display: flex; align-items: center; gap: 18px; opacity: .35; transition: opacity .35s ease, color .35s ease; }
.process__rail-item.is-active { opacity: 1; }
.process__rail-dot { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--white12); display: flex; align-items: center; justify-content: center; background: var(--bg); flex-shrink: 0; transition: border-color .35s ease, background .35s ease; }
.process__rail-item.is-active .process__rail-dot { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 6px rgba(20,112,255,.18); }
.process__rail-label { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.process__panels { position: relative; height: 100%; display: flex; align-items: center; }
.process__panel { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto auto; align-content: center; gap: 18px; opacity: 0; transform: translateY(40px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.process__panel.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.process__panel-num { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.process__panel-title { font-size: clamp(36px, 6vw, 76px); }
.process__panel-quote { font-size: clamp(16px, 1.5vw, 20px); color: var(--white55); font-style: italic; max-width: 50ch; }
.process__panel-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 768px) { .process__panel-list { grid-template-columns: repeat(2, 1fr); gap: 8px 24px; } }
.process__panel-list li { padding: 10px 0; border-top: 1px solid var(--white06); display: flex; gap: 10px; font-size: 14px; color: var(--white80); }
.process__panel-list li::before { content: '→'; color: var(--primary); flex-shrink: 0; }
.process__panel-deliv { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--white12); font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; align-self: start; }
.process__panel-deliv::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* Process mobile : reveal simple */
@media (max-width: 1023px) {
  .process { padding: clamp(60px, 10vw, 100px) 0; }
  .process__pin { display: block; height: auto; padding: 0 var(--gutter); }
  .process__rail { display: none; }
  .process__panels { display: block; height: auto; }
  .process__panel { position: relative; opacity: 1; transform: none; pointer-events: auto; padding: 40px 0; border-top: 1px solid var(--white06); }
  .process__panel:first-child { border-top: none; }
}

/* Process page (full scrollytelling avec images) */
.process-full__phase { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); padding: clamp(60px, 10vw, 120px) 0; border-top: 1px solid var(--white06); }
@media (min-width: 1024px) { .process-full__phase { grid-template-columns: 5fr 6fr; align-items: center; } }
.process-full__phase:nth-child(even) .process-full__media { order: -1; }
@media (min-width: 1024px) { .process-full__phase:nth-child(even) .process-full__media { order: 2; } }
.process-full__media { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg3); }
.process-full__media img { width: 100%; height: 100%; object-fit: cover; }
.process-full__num { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.process-full__title { font-size: clamp(36px, 6vw, 76px); margin: 16px 0 12px; }
.process-full__quote { font-style: italic; color: var(--white55); margin-bottom: 24px; }
.process-full__bullets { display: grid; gap: 8px; margin-bottom: 28px; }
.process-full__bullets li { padding: 10px 0; border-top: 1px solid var(--white06); display: flex; gap: 10px; }
.process-full__bullets li::before { content: '→'; color: var(--primary); flex-shrink: 0; }
.process-full__deliv { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--white12); font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.process-full__deliv::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.process-full__duration { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white55); }

/* ───── Differentiators ───────────────────── */
.diffs { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .diffs { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
.diff { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 24px 0; border-top: 1px solid var(--white06); }
.diff__icon { width: 56px; height: 56px; border: 1px solid var(--white12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.diff__title { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 8px; }
.diff__desc { color: var(--white55); }

/* ───── Testimonials cards stack ─────────── */
.testimonials { position: relative; }
.testimonials__stack { position: relative; max-width: 980px; margin: 0 auto; min-height: 380px; }
@media (min-width: 768px) { .testimonials__stack { min-height: 320px; } }
.testimonial {
  position: absolute; inset: 0; padding: clamp(32px, 4vw, 56px);
  background: var(--bg2); border: 1px solid var(--white06); border-radius: var(--radius-lg);
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  transform-origin: center bottom; will-change: transform, opacity;
}
.testimonial__quote-mark { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 100px; line-height: 1; color: var(--primary); opacity: .25; }
.testimonial__quote { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: clamp(20px, 2.6vw, 32px); line-height: 1.25; }
.testimonial__author { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; text-align: right; }
.testimonial__name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.testimonial__role { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white55); }
.testimonials__nav { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.testimonials__dot { width: 28px; height: 4px; background: var(--white06); border: none; border-radius: 2px; cursor: pointer; transition: background .25s ease, width .25s ease; }
.testimonials__dot.is-active { background: var(--primary); width: 44px; }

/* ───── CTA final blue ────────────────────── */
.cta-blue { position: relative; background: var(--primary); color: #fff; overflow: hidden; padding: clamp(80px, 12vw, 140px) 0; }
.cta-blue::before {
  content: ''; position: absolute; inset: -20%;
  background: linear-gradient(120deg, rgba(255,255,255,.12), transparent 40%, rgba(0,0,0,.18) 60%, transparent 80%);
  animation: cta-rotate 18s linear infinite; pointer-events: none;
}
@keyframes cta-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.cta-blue__inner { position: relative; z-index: 2; display: grid; gap: 24px; max-width: 920px; margin: 0 auto; text-align: center; }
.cta-blue__title { font-size: clamp(40px, 7vw, 96px); line-height: .98; }
.cta-blue__title .word { display: inline-block; }
.cta-blue__sub { color: rgba(255,255,255,.85); font-size: clamp(16px, 1.6vw, 20px); }
.cta-blue__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 16px; }
.cta-blue .ticker-wrap { background: var(--primary); border-color: rgba(255,255,255,.18); margin-bottom: 60px; padding: 28px 0; }
.cta-blue .ticker__item { color: rgba(255,255,255,.92); }
.cta-blue .ticker__item::after { color: rgba(255,255,255,.5); }

/* ───── CTA dark generic ──────────────────── */
.cta-dark { padding: clamp(80px, 12vw, 140px) 0; background: var(--bg2); border-top: 1px solid var(--white06); border-bottom: 1px solid var(--white06); }
.cta-dark__inner { display: grid; gap: 22px; max-width: 880px; margin: 0 auto; text-align: center; }
.cta-dark__title { font-size: clamp(34px, 5.5vw, 72px); }
.cta-dark__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ───── Page transitions ─────────────────── */
.page-trans {
  position: fixed; inset: 0; z-index: 99000;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  transform: translateY(100%); pointer-events: none;
}
.page-trans svg { width: 200px; opacity: 0; }
.page-trans.is-out { transform: translateY(0); pointer-events: auto; transition: transform .6s cubic-bezier(.86,0,.07,1); }
.page-trans.is-out svg { opacity: 1; transition: opacity .35s ease .25s; }
.page-trans.is-in { transform: translateY(-100%); transition: transform .6s cubic-bezier(.86,0,.07,1); }

/* ───── Footer ────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--white06); padding-top: clamp(60px, 10vw, 120px); }
.footer__contact { padding-bottom: clamp(60px, 10vw, 100px); border-bottom: 1px solid var(--white06); }
.footer__contact-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .footer__contact-grid { grid-template-columns: 1fr 1.2fr; gap: 60px; } }
.footer__contact-head h2 { font-size: clamp(34px, 5vw, 72px); margin-bottom: 18px; }
.footer__contact-head p { color: var(--white55); max-width: 50ch; }
.footer__contact-head .eyebrow { color: var(--primary); margin-bottom: 22px; }

.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .form__row { grid-template-columns: repeat(2, 1fr); } }
.field { display: grid; gap: 8px; }
.field label { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white55); }
.field input, .field select, .field textarea {
  padding: 14px 16px; background: var(--bg); border: 1px solid var(--white06); border-radius: var(--radius);
  color: var(--white); font-size: 15px; transition: border-color .25s ease, background .25s ease;
  min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--white55) 50%), linear-gradient(135deg, var(--white55) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: var(--bg4); }
.field input::placeholder, .field textarea::placeholder { color: var(--white30); }
.field--error input, .field--error select, .field--error textarea { border-color: #FF5470; animation: shake .35s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.field__error { display: none; font-family: 'Space Mono', monospace; font-size: 11px; color: #FF5470; }
.field--error .field__error { display: block; }

.form__submit { display: inline-flex; align-items: center; gap: 12px; align-self: start; }
.form__submit[disabled] { opacity: .65; cursor: wait; }
.form__spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.form.is-loading .form__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__success { display: none; padding: 18px 22px; background: rgba(20,200,100,.08); border: 1px solid rgba(20,200,100,.28); border-radius: var(--radius); color: #45e391; font-size: 14px; }
.form.is-success .form__success { display: block; }
.form.is-success .form__row, .form.is-success .form__field-message, .form.is-success .form__submit { display: none; }

.footer__cols { display: grid; gap: 36px; grid-template-columns: 1fr; padding: clamp(50px, 8vw, 80px) 0; }
@media (min-width: 768px) { .footer__cols { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; } }
.footer__brand { display: grid; gap: 18px; max-width: 360px; }
.footer__brand p { color: var(--white55); font-size: 14px; }
.footer__col h5 { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--white55); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--white80); transition: color .2s ease; font-size: 14px; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--white06); font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white55); }
.footer__bottom a { color: var(--white55); transition: color .2s ease; }
.footer__bottom a:hover { color: var(--white); }

/* ───── WhatsApp & Back-to-top ────────────── */
.float-actions { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; z-index: 8800; }
.whatsapp { width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,.3); transition: transform .25s ease, box-shadow .25s ease; }
.whatsapp:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(37,211,102,.35); }
.back-top { width: 48px; height: 48px; border-radius: 50%; background: var(--glass2); backdrop-filter: blur(10px); border: 1px solid var(--white12); display: flex; align-items: center; justify-content: center; color: var(--white); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, background .25s ease, border-color .25s ease; will-change: transform; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .3s ease, transform .3s ease, visibility 0s, background .25s ease, border-color .25s ease; }
.back-top:hover { background: var(--primary); border-color: var(--primary); }

/* ───── Reveal classes ───────────────────── */
.rv, .rvl, .rvr, .rvs { opacity: 0; transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.rv { transform: translateY(30px); }
.rvl { transform: translateX(-30px); }
.rvr { transform: translateX(30px); }
.rvs { transform: scale(.95); }
.rv.is-in, .rvl.is-in, .rvr.is-in, .rvs.is-in { opacity: 1; transform: none; }

/* ───── Split text ───────────────────────── */
.split-line { display: block; overflow: hidden; }
.split-word, .split-char { display: inline-block; will-change: transform; }

/* ───── Sub-page hero / sections ─────────── */
.subhero { padding: calc(var(--header-h) + 80px) 0 60px; position: relative; overflow: hidden; }
.subhero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; opacity: .14; mix-blend-mode: screen; filter: grayscale(.4); }
.subhero__bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(50% 50% at 60% 20%, rgba(20,112,255,.18), transparent 70%), linear-gradient(180deg, transparent 60%, rgba(4,4,15,.85) 100%); }
.subhero .container { position: relative; z-index: 2; }
.subhero__inner { display: grid; gap: 22px; max-width: 980px; }
.subhero__title { font-size: clamp(46px, 9vw, 132px); line-height: .98; }
.subhero__sub { font-size: clamp(18px, 1.8vw, 22px); color: var(--white80); max-width: 56ch; }

/* Service detail */
.service-detail { padding: clamp(60px, 10vw, 120px) 0; }
.service-detail__grid { display: grid; gap: 60px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .service-detail__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.service-detail__media { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg3); position: sticky; top: 100px; }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__block { display: grid; gap: 14px; padding: 36px 0; border-top: 1px solid var(--white06); }
.service-detail__block:first-child { border-top: none; padding-top: 0; }
.service-detail__block h3 { font-size: clamp(22px, 3vw, 36px); }
.service-detail__list { display: grid; gap: 8px; }
.service-detail__list li { padding: 12px 0; border-top: 1px solid var(--white06); display: flex; gap: 12px; align-items: baseline; }
.service-detail__list li::before { content: '→'; color: var(--primary); flex-shrink: 0; font-family: 'Space Mono', monospace; }

.service-examples { padding: clamp(60px, 10vw, 120px) 0; background: var(--bg2); border-top: 1px solid var(--white06); }
.examples-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .examples-grid { grid-template-columns: repeat(3, 1fr); } }
.example { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg3); border: 1px solid var(--white06); }
.example img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.example:hover img { transform: scale(1.05); }
.example__overlay { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(180deg, transparent, rgba(4,4,15,.92)); display: flex; flex-direction: column; gap: 4px; }
.example__cat { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.example__title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(18px, 2vw, 24px); }

/* Services hub */
.hub-cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hub-cards { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.hub-card { position: relative; padding: clamp(28px, 3.5vw, 48px); background: var(--bg2); border: 1px solid var(--white06); border-radius: var(--radius-lg); display: grid; gap: 18px; overflow: hidden; transition: border-color .3s ease, transform .4s cubic-bezier(.16,1,.3,1); }
.hub-card:hover { transform: translateY(-6px); border-color: var(--white12); }
.hub-card__media { aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: var(--bg3); }
.hub-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); filter: grayscale(.2) brightness(.85); }
.hub-card:hover .hub-card__media img { transform: scale(1.05); filter: none; }
.hub-card__num { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.hub-card__title { font-size: clamp(28px, 3.5vw, 44px); }
.hub-card__bullets { display: grid; gap: 6px; margin-top: 8px; }
.hub-card__bullets li { padding: 8px 0; border-top: 1px solid var(--white06); display: flex; gap: 10px; font-size: 14px; color: var(--white80); }
.hub-card__bullets li::before { content: '→'; color: var(--primary); flex-shrink: 0; }
.hub-card__cta { display: inline-flex; align-items: center; gap: 12px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); transition: gap .3s ease; padding-top: 18px; border-top: 1px solid var(--white06); }
.hub-card:hover .hub-card__cta { gap: 18px; }
.hub-card__cta span:last-child { color: var(--primary); }

/* Portfolio page grid */
.portfolio-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg3); border: 1px solid var(--white06); will-change: transform; }
.project-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.project-card:hover .project-card__img { transform: scale(1.05); }
.project-card__meta { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); z-index: 2; }
.project-card__tag { padding: 6px 12px; background: rgba(4,4,15,.72); backdrop-filter: blur(10px); border-radius: var(--radius-pill); border: 1px solid var(--white12); }
.project-card__overlay { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, transparent 30%, rgba(4,4,15,.94) 100%); opacity: 0; transition: opacity .35s ease; }
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__cat { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.project-card__title { font-size: clamp(20px, 2.4vw, 28px); margin-top: 8px; color: var(--white); }
.project-card__cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
@media (max-width: 767px) {
  .project-card__overlay { opacity: 1; background: linear-gradient(180deg, transparent 50%, rgba(4,4,15,.96) 100%); }
}

/* Project card external link / confidential variants */
.project-card--ext { display: block; }
.project-card--ext:hover .project-card__cta { color: var(--primary); gap: 16px; }
.project-card__tag--showcase { background: var(--primary); border-color: var(--primary); color: #fff; }
.project-card__tag--live { background: rgba(20,200,100,.18); border: 1px solid rgba(20,200,100,.4); color: #45e391; padding-left: 18px; position: relative; }
.project-card__tag--live::before { content: ''; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: #45e391; box-shadow: 0 0 0 0 rgba(69,227,145,.6); }
.project-card__tag--nda { background: rgba(255,255,255,.08); color: var(--white55); }
.project-card--nda .project-card__img { filter: grayscale(.85) brightness(.5); }
.project-card--nda .project-card__overlay { background: linear-gradient(180deg, rgba(4,4,15,.6) 0%, rgba(4,4,15,.94) 100%); opacity: 1; }
.project-card__sector { font-size: 12px; color: var(--white55); margin-top: 4px; font-family: 'Space Mono', monospace; letter-spacing: .04em; }
.project-card__desc { color: var(--white80); font-size: 14px; line-height: 1.55; margin-top: 10px; max-width: 50ch; }
@media (max-width: 767px) {
  .project-card__desc { display: none; }
}

/* Contact page */
.contact-grid { display: grid; gap: 60px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.contact-infos { display: grid; gap: 20px; align-content: start; }
.contact-info { padding: 18px 0; border-top: 1px solid var(--white06); display: grid; gap: 6px; }
.contact-info__label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--white55); }
.contact-info__value { font-size: clamp(18px, 2vw, 22px); font-weight: 600; transition: color .2s ease; }
.contact-info__value:hover { color: var(--primary); }

/* Mentions */
.legal { padding: clamp(60px, 10vw, 120px) 0; }
.legal__sections { max-width: 720px; display: grid; gap: 36px; }
.legal__section h3 { margin-bottom: 14px; font-size: clamp(20px, 2.4vw, 28px); }
.legal__section p { color: var(--white80); font-size: 15px; line-height: 1.75; }

/* ───── Reduced motion ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .rvl, .rvr, .rvs { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none !important; }
  .cta-blue::before { animation: none !important; }
  .whatsapp { animation: none !important; }
}

/* ───── Selection ─────────────────────────── */
::selection { background: var(--primary); color: #fff; }

/* ───── Focus ─────────────────────────────── */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* ───── Body scroll lock ──────────────────── */
.nav-open { overflow: hidden; }

/* ───── Skip-to-content (a11y) — offscreen pattern ────── */
.skip-link {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus, .skip-link:focus-visible {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; overflow: visible;
  clip: auto; clip-path: none; white-space: normal;
  padding: 12px 24px; background: var(--primary); color: #fff;
  border-radius: 8px; font-size: 14px; font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif; letter-spacing: .02em;
  z-index: 100001; outline: 2px solid var(--gold); outline-offset: 3px;
}

/* ───── Social proof bar (sous le hero) ───── */
.social-proof { background: var(--bg2); border-top: 1px solid var(--white06); border-bottom: 1px solid var(--white06); padding: 22px 0; }
.social-proof__inner { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; align-items: center; }
.social-proof__item { display: inline-flex; align-items: center; gap: 14px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--white55); }
.social-proof__item:not(:last-child)::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--white12); margin-left: 14px; }
@media (max-width: 767px) { .social-proof__item:not(:last-child)::after { display: none; } .social-proof__inner { justify-content: flex-start; } }

/* ───── Breadcrumb ─────────────────────────── */
.breadcrumb { padding: calc(var(--header-h) + 16px) 0 0; }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white30); }
.breadcrumb__list a { color: var(--white55); transition: color .25s ease; }
.breadcrumb__list a:hover { color: var(--white); }
.breadcrumb__sep { color: var(--white30); }
.breadcrumb__current { color: var(--white); }

/* ───── Service detail — checks SVG ────────── */
.service-detail__list li { padding: 12px 0 12px 38px; border-top: 1px solid var(--white06); display: block; position: relative; align-items: baseline; }
.service-detail__list li::before { content: ''; }
.check-icon { position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary10); border: 1px solid var(--primary40); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }

/* ───── Cross-services nav (bas des sous-pages) ───── */
.cross-services { padding: clamp(60px, 10vw, 100px) 0; background: var(--bg2); border-top: 1px solid var(--white06); }
.cross-services__title { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--white55); margin-bottom: 24px; }
.cross-services__list { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cross-services__list { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.cross-services__link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 26px; background: var(--bg3); border: 1px solid var(--white06); border-radius: var(--radius); font-weight: 700; letter-spacing: -.01em; color: var(--white); transition: border-color .3s ease, background .3s ease, transform .35s ease; }
.cross-services__link:hover { border-color: var(--white12); background: var(--bg4); transform: translateY(-2px); }
.cross-services__link span:last-child { color: var(--primary); transition: transform .3s ease; }
.cross-services__link:hover span:last-child { transform: translateX(4px); }

/* ═════════════════════════════════════════════
   404 PAGE
   ═════════════════════════════════════════════ */
.nf { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--header-h) var(--gutter) 60px; position: relative; overflow: hidden; }
.nf__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 50%, rgba(20,112,255,.10), transparent 70%); }
.nf__inner { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.nf__big { font-size: clamp(140px, 26vw, 360px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--white06); transition: transform .3s ease-out; will-change: transform; user-select: none; -webkit-user-select: none; }
.nf__title { font-size: clamp(28px, 4vw, 48px); margin-top: 24px; }
.nf__sub { color: var(--white55); margin-top: 18px; font-size: clamp(16px, 1.6vw, 20px); }
.nf__cta { margin-top: 40px; display: inline-flex; }

/* ═════════════════════════════════════════════
   BRIEF / WIZARD
   ═════════════════════════════════════════════ */
.brief { min-height: 100vh; display: grid; grid-template-rows: auto auto 1fr auto; background: var(--bg); position: relative; }
.brief__top { display: flex; align-items: center; justify-content: space-between; padding: 24px var(--gutter); }
.brief__brand svg { height: 36px; width: auto; }
.brief__step-num { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--white30); }
.brief__progress { height: 3px; background: var(--white06); width: 100%; }
.brief__progress-bar { height: 100%; width: 0; background: var(--primary); transition: width .55s cubic-bezier(.86,0,.07,1); }

.brief__viewport { position: relative; display: flex; align-items: flex-start; justify-content: center; padding: 32px var(--gutter); min-height: 0; flex: 1; }
.brief-form { position: relative; width: 100%; max-width: 760px; }

/* Steps : display:none par défaut, display:flex quand actif. UNE SEULE étape visible. */
.brief-step { display: none; flex-direction: column; gap: 28px; }
.brief-step.is-active { display: flex; }
.brief-step__head { display: grid; gap: 10px; }
.brief-step__title { font-size: clamp(22px, 4vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; font-family: 'Bricolage Grotesque', sans-serif; color: var(--white); }
.brief-step__sub { color: var(--white55); font-size: clamp(14px, 1.3vw, 16px); max-width: 56ch; line-height: 1.55; }

/* Options : 2 colonnes par défaut sur mobile (auto-fit pour s'adapter) */
.brief-options { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.brief-option { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--bg2); border: 1px solid var(--white06); border-radius: var(--radius); color: var(--white); font-size: 15px; font-weight: 600; letter-spacing: -.005em; cursor: pointer; transition: border-color .25s ease, background .25s ease, transform .25s ease; text-align: left; font-family: 'Bricolage Grotesque', sans-serif; min-height: 56px; }
.brief-option:hover { border-color: var(--primary40); background: var(--glass2); transform: translateY(-1px); }
.brief-option.is-selected { border-color: var(--primary); background: var(--primary10); }
.brief-option__icon { display: inline-flex; width: 32px; height: 32px; border-radius: 8px; background: var(--bg4); align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.brief-option__icon svg { width: 16px; height: 16px; }
.brief-option__arrow { margin-left: auto; color: var(--white30); transition: transform .25s ease, color .25s ease; font-size: 14px; flex-shrink: 0; }
.brief-option:hover .brief-option__arrow { color: var(--primary); transform: translateX(3px); }

.brief-fields { display: grid; gap: 14px; }
.brief-field { display: grid; gap: 6px; }
.brief-field label { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white55); }
.brief-field input, .brief-field textarea { padding: 14px 16px; background: var(--bg2); border: 1px solid var(--white06); border-radius: var(--radius); color: var(--white); font-size: 16px; transition: border-color .25s ease, background .25s ease; min-height: 52px; font-family: inherit; width: 100%; }
.brief-field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.brief-field input:focus, .brief-field textarea:focus { border-color: var(--primary); background: var(--bg4); outline: none; }
.brief-field input::placeholder, .brief-field textarea::placeholder { color: var(--white30); }
.brief-field.field--error input, .brief-field.field--error textarea { border-color: #FF5470; animation: shake .35s ease; }

/* Toggles préférence : gap 8px, espacés correctement */
.brief-prefs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.brief-pref { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--white12); font-size: 13px; letter-spacing: .02em; color: var(--white80); cursor: pointer; transition: border-color .25s ease, background .25s ease, color .25s ease; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; background: transparent; }
.brief-pref:hover { border-color: var(--primary40); color: var(--white); }
.brief-pref.is-selected { border-color: var(--primary); background: var(--primary10); color: var(--white); }

.brief__nav { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); gap: 16px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--white06); background: var(--bg); }
.brief-prev { display: inline-flex; align-items: center; gap: 6px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; letter-spacing: .02em; color: var(--white55); padding: 10px 14px; transition: color .25s ease; background: transparent; border: none; }
.brief-prev:hover { color: var(--white); }
.brief-next, .brief-submit { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--primary); color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; border-radius: 999px; cursor: pointer; transition: background .25s ease, transform .35s cubic-bezier(.16,1,.3,1); min-height: 48px; border: none; }
.brief-next:hover, .brief-submit:hover { background: var(--primary-hover); transform: translateY(-1px); }
.brief-submit { padding: 16px 32px; }
.brief-submit[disabled] { opacity: .65; cursor: wait; }
.brief-submit.is-loading { opacity: .65; cursor: wait; }

/* Success panel — visible quand .is-visible, masque tout le reste */
.brief-success { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 60px var(--gutter); flex: 1; }
.brief-success.is-visible { display: flex; }
.brief.is-success .brief-form,
.brief.is-success .brief__nav,
.brief.is-success .brief__progress { display: none; }
.checkmark { width: 88px; height: 88px; border-radius: 50%; background: rgba(52,211,153,.12); border: 2px solid #34D399; display: flex; align-items: center; justify-content: center; }
.checkmark svg { width: 44px; height: 44px; }
.checkmark__path { fill: none; stroke: #34D399; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brief-success__title { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.025em; font-family: 'Bricolage Grotesque', sans-serif; color: var(--white); }
.brief-success__sub { color: var(--white55); font-size: clamp(15px, 1.5vw, 18px); max-width: 50ch; line-height: 1.55; }
.brief-success__cta { margin-top: 8px; }

/* Mobile brief tweaks */
@media (max-width: 600px) {
  .brief__viewport { padding: 24px var(--gutter); }
  .brief__top { padding: 16px var(--gutter); }
  .brief__brand svg { height: 28px; }
  .brief-step { gap: 20px; }
  .brief-prev { padding: 10px 8px; font-size: 12px; }
  .brief-next, .brief-submit { padding: 12px 20px; font-size: 12px; }
  .brief-options { gap: 10px; }
}

/* ───── Responsive overrides ──────────────── */
@media (max-width: 767px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + 40px) 0 60px; }
  .hero__scroll { display: none; }
  section { padding: clamp(60px, 12vw, 100px) 0; }
  .testimonials__stack { min-height: 460px; }
}