/* ─── VARIABLES ──────────────────────────────────────────────────── */
:root {
  --bg:        #e8e3d6;
  --bg-alt:    #dfd9cb;
  --bg-dark:   #0e0c08;
  --ink:       #0e0c08;
  --ink-50:    rgba(14,12,8,.5);
  --ink-20:    rgba(14,12,8,.18);
  --ink-10:    rgba(14,12,8,.08);
  --accent:    #6242a0;
  --accent-40: rgba(98,66,160,.4);
  --ff-d:      'Libre Baskerville', Georgia, serif;
  --ff-b:      'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-m:      'Fira Code', monospace;
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --ease-in:   cubic-bezier(.7,0,.84,0);
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-b);
  font-weight:300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color:inherit; text-decoration:none; }
img { display:block; }


/* ─── GRAIN ──────────────────────────────────────────────────────── */
#grain {
  position: fixed; inset:0; z-index:500;
  pointer-events:none;
  opacity:.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ─── INTRO ──────────────────────────────────────────────────────── */
#intro {
  position: fixed; inset:0; z-index:800;
  background: var(--bg-dark);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .8s var(--ease-in);
}
#intro.out { opacity:0; pointer-events:none; }
.intro-logo {
  display:flex; flex-direction:column; align-items:center; gap:24px;
}
.intro-logo img {
  height:90px; object-fit:contain;
  filter: invert(1);
  animation: introLogoIn 1.2s var(--ease-out) both;
}
.intro-bar {
  width:0; height:1px; background:var(--accent);
  animation: introBar 1s .4s var(--ease-out) both;
}
.intro-word {
  font-family: var(--ff-m);
  font-size:11px; letter-spacing:.35em;
  text-transform:uppercase;
  color:rgba(245,240,230,.35);
  animation: introFade .8s .8s both;
}
@keyframes introLogoIn {
  from { opacity:0; transform:translateY(20px) scale(.95); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes introBar {
  from { width:0; }
  to   { width:120px; }
}
@keyframes introFade {
  from { opacity:0; } to { opacity:1; }
}

/* ─── CONTAINER ─────────────────────────────────────────────────── */
.wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 52px;
  width: 100%;
}

/* ─── NAV ────────────────────────────────────────────────────────── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  height:68px;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width:1600px; margin:0 auto; padding:0 52px;
  display:flex; align-items:center; justify-content:space-between;
  height:100%;
}
.nav-logo {
  height:32px; opacity:0;
  transition: opacity .5s;
  cursor:pointer;
}
.nav-logo.visible { opacity:1; }
.nav-logo img { height:100%; filter:none; }
.nav-links {
  display:flex; gap:40px; list-style:none;
}
.nav-links a {
  font-family:var(--ff-m);
  font-size:10px; letter-spacing:.25em; text-transform:uppercase;
  color:var(--ink-50);
  transition:color .2s;
}
nav:not(.scrolled) .nav-links a { color:rgba(245,240,230,.5); }
.nav-links a:hover { color:var(--accent); }
.nav-cta {
  font-family:var(--ff-m);
  font-size:10px; letter-spacing:.2em; text-transform:uppercase;
  padding:9px 22px;
  border:1px solid currentColor;
  transition: background .25s, color .25s, border-color .25s;
  cursor:pointer;
}
nav:not(.scrolled) .nav-cta { color:rgba(245,240,230,.7); }
nav.scrolled .nav-cta { color:var(--ink); }
.nav-cta:hover { background:var(--accent); color:var(--bg); border-color:var(--accent); }

/* Hamburger mobile */
.nav-burger {
  display:none;
  flex-direction:column; justify-content:center; align-items:flex-end;
  gap:5px;
  width:36px; height:36px;
  background:none; border:none;
  cursor:pointer;
  padding:4px;
}
.nav-burger span {
  display:block;
  height:1px;
  background:rgba(245,240,230,.7);
  transition: width .3s var(--ease-out), transform .3s var(--ease-out), opacity .2s;
}
nav.scrolled .nav-burger span { background:var(--ink); }
.nav-burger span:nth-child(1) { width:24px; }
.nav-burger span:nth-child(2) { width:18px; }
.nav-burger span:nth-child(3) { width:24px; }
.nav-burger.open span:nth-child(1) { width:24px; transform:translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { width:0; opacity:0; }
.nav-burger.open span:nth-child(3) { width:24px; transform:translateY(-6px) rotate(-45deg); }

/* Mobile menu panel */
#mobile-menu {
  position:fixed; inset:0; z-index:190;
  background:var(--bg-dark);
  display:flex; flex-direction:column; justify-content:center; align-items:center; gap:0;
  transform:translateX(100%);
  transition:transform .55s var(--ease-out);
  pointer-events:none;
}
#mobile-menu.open {
  transform:translateX(0);
  pointer-events:all;
}
.mobile-menu-links {
  list-style:none;
  display:flex; flex-direction:column; align-items:center; gap:0;
  width:100%;
}
.mobile-menu-links li {
  border-bottom:1px solid rgba(245,240,230,.06);
  width:100%;
  text-align:center;
  overflow:hidden;
}
.mobile-menu-links a {
  display:block;
  padding:28px 40px;
  font-family:var(--ff-d);
  font-size:clamp(32px,7vw,56px);
  font-weight:300;
  color:rgba(245,240,230,.85);
  letter-spacing:-.02em;
  transition:color .2s, padding-left .3s var(--ease-out);
}
.mobile-menu-links a:hover { color:var(--accent); padding-left:60px; }
.mobile-menu-footer {
  position:absolute; bottom:40px;
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.3em; text-transform:uppercase;
  color:rgba(245,240,230,.2);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
#hero {
  min-height:100vh;
  background: var(--bg-dark);
  display:flex; flex-direction:column;
  position:relative; overflow:hidden;
}

/* Vidéo de fond */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.38;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(14,12,8,0.6) 0%,
    rgba(14,12,8,0.25) 45%,
    rgba(14,12,8,0.8) 100%
  );
}
@media (max-width: 768px) {
  .hero-video { display: none; }
}

/* Scanlines cinématiques */
#hero::after {
  content:'';
  position:absolute; inset:0;
  pointer-events:none;
  z-index:2;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0,0,0,.04) 3px,
    rgba(0,0,0,.04) 4px
  );
}

/* REC indicator */
.hero-rec {
  position:absolute; top:28px; right:52px; z-index:10;
  display:flex; align-items:center; gap:8px;
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.3em; text-transform:uppercase;
  color:rgba(245,240,230,.3);
  opacity:0;
  animation: heroFadeUp .6s 3.8s var(--ease-out) both;
}
.rec-dot {
  width:7px; height:7px; border-radius:50%;
  background:var(--accent);
  animation:recBlink 1.4s 4.2s infinite;
}
@keyframes recBlink {
  0%,100% { opacity:1; }
  50%      { opacity:.15; }
}

/* Timecode */
.hero-timecode {
  position:absolute; bottom:28px; left:52px; z-index:10;
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.2em;
  color:rgba(245,240,230,.15);
  opacity:0;
  animation: heroFadeUp .6s 4.0s var(--ease-out) both;
}

/* SVG background hero */
.hero-svg-bg {
  position:absolute; inset:0; pointer-events:none;
  will-change: transform;
}

/* Logo hero — ancré en haut à droite, ne concurrence plus le headline */
.hero-logo-wrap {
  position:absolute;
  top:50%; right:9%;
  transform:translateY(-55%);
  display:flex; flex-direction:column; align-items:center; gap:16px;
  opacity:0;
  transition:opacity .01s;
}
.hero-logo-wrap.animate {
  animation: heroLogoReveal 1.4s 1.6s var(--ease-out) both;
}
.hero-logo-wrap img {
  height:clamp(110px, 14vw, 200px); object-fit:contain;
  filter:invert(1);
  animation: logoBreath 5s 5.5s ease-in-out infinite;
  will-change: transform;
}
.hero-logo-line {
  width:0; height:1px;
  background:var(--accent);
  animation: heroLineGrow 1s 2.4s var(--ease-out) both;
}
.hero-logo-sub {
  font-family:var(--ff-m);
  font-size:10px; letter-spacing:.35em; text-transform:uppercase;
  color:rgba(245,240,230,.35);
  opacity:0;
  animation: heroFadeUp .8s 2.8s var(--ease-out) both;
}
@keyframes heroLogoReveal {
  from { opacity:0; transform:translateY(12px) scale(.97); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes heroLineGrow {
  from { width:0; } to { width:80px; }
}
@keyframes heroFadeUp {
  from { opacity:0; transform:translateY(8px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes logoBreath {
  0%,100% { transform:scale(1); }
  50%      { transform:scale(1.022); }
}

/* Warm glow behind logo — suit le logo déplacé à droite */
.hero-glow {
  position:absolute;
  top:50%; right:9%;
  transform:translateX(50%) translateY(-55%);
  width:360px; height:360px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(98,66,160,.28) 0%, rgba(98,66,160,.08) 42%, transparent 72%);
  pointer-events:none;
  z-index:0;
  opacity:0;
  animation: glowPulse 4s 3s ease-in-out infinite, heroGlowIn .9s 2.6s var(--ease-out) both;
}
@keyframes glowPulse {
  0%,100% { transform:translateX(50%) translateY(-55%) scale(1);   opacity:.7; }
  50%      { transform:translateX(50%) translateY(-55%) scale(1.12); opacity:1; }
}
@keyframes heroGlowIn {
  from { opacity:0; } to { opacity:.7; }
}

/* Broadcast rings */
.bcast-ring {
  position:absolute;
  top:50%; left:50%;
  border-radius:50%;
  border:2.5px solid rgba(98,66,160,.85);
  pointer-events:none;
  z-index:1;
  transform:translate(-50%,-60%) scale(0.35);
  opacity:0;
}

/* Floating particles */
.hero-particle {
  position:absolute;
  width:3px; height:3px;
  border-radius:50%;
  background:var(--accent);
  pointer-events:none;
  z-index:3;
  opacity:0;
}

/* Scan sweep (one-shot on load) */
.hero-scan {
  position:absolute; left:0; right:0;
  height:1px;
  background: linear-gradient(to right, transparent 0%, rgba(98,66,160,.55) 30%, rgba(98,66,160,.85) 50%, rgba(98,66,160,.55) 70%, transparent 100%);
  pointer-events:none;
  z-index:4;
  top:-2px;
  opacity:0;
}

/* Headline hero en bas */
.hero-bottom {
  position:absolute;
  bottom:0; left:0; right:0;
  will-change: transform;
}
.hero-headline {
  padding:0 52px 48px;
  max-width:1100px;
}

/* CTA hero */
.hero-cta-wrap {
  padding:0 52px 72px;
  opacity:0;
  animation: heroFadeUp .7s 3.55s var(--ease-out) both;
}
.hero-cta {
  display:inline-flex; align-items:center; gap:14px;
  padding:13px 28px;
  background:var(--accent);
  color:var(--bg);
  font-family:var(--ff-m);
  font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  transition:background .25s, gap .25s var(--ease-out);
  cursor:pointer;
}
.hero-cta:hover { background:#512f8e; gap:20px; }
.hero-cta-arrow {
  display:inline-block;
  transition:transform .25s var(--ease-out);
}
.hero-cta:hover .hero-cta-arrow { transform:translateX(4px); }
.hero-kicker {
  font-family:var(--ff-m);
  font-size:10px; letter-spacing:.3em; text-transform:uppercase;
  color:rgba(245,240,230,.35);
  display:flex; align-items:center; gap:10px;
  margin-bottom:28px;
  opacity:0;
  animation: heroFadeUp .7s 3.0s var(--ease-out) both;
}
.hero-kicker::before {
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--accent); flex-shrink:0;
}
.h-line {
  display:block; overflow:hidden;
  font-family:var(--ff-d);
  font-size:clamp(52px,6.5vw,96px);
  line-height:1.05;
  letter-spacing:-.02em;
  padding-bottom:6px;
  color:rgba(245,240,230,1);
}
.h-word {
  display:inline-block;
  transform:translateY(110%);
  opacity:0;
  will-change: transform, opacity;
}
.h-line.l2 { padding-left:clamp(40px,5vw,80px); }

.hero-scroll-hint {
  position:absolute;
  right:52px; bottom:52px;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  opacity:0;
  animation: heroFadeUp .7s 3.8s var(--ease-out) both;
}
.hero-scroll-hint span {
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.25em; text-transform:uppercase;
  color:rgba(245,240,230,.3);
  writing-mode:vertical-rl;
}
.scroll-line {
  width:1px; height:60px;
  background:linear-gradient(to bottom, var(--accent), transparent);
  animation:scrollPulse 2s 4s infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:.4; transform:scaleY(1); }
  50%      { opacity:1;  transform:scaleY(1.2); }
}

/* Stats bande */
.hero-stats {
  display:flex;
  border-top:1px solid rgba(245,240,230,.1);
}
.h-stat {
  flex:1; padding:28px 40px;
  border-right:1px solid rgba(245,240,230,.1);
  opacity:0;
  animation: heroFadeUp .6s var(--ease-out) both;
}
.h-stat:last-child { border-right:none; }
.h-stat:nth-child(1) { animation-delay:3.2s; }
.h-stat:nth-child(2) { animation-delay:3.35s; }
.h-stat:nth-child(3) { animation-delay:3.5s; }
.h-stat:nth-child(4) { animation-delay:3.65s; }
.h-stat-n {
  font-family:var(--ff-d);
  font-size:38px; font-weight:200;
  letter-spacing:-.05em;
  color:rgba(245,240,230,.9);
  line-height:1;
}
.h-stat-n em { color:var(--accent); font-style:normal; }
.h-stat-l {
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.22em; text-transform:uppercase;
  color:rgba(245,240,230,.3);
  margin-top:6px;
}

/* ─── MARQUEE BAND ───────────────────────────────────────────────── */
.marquee-band {
  background:var(--accent);
  padding:14px 0;
  overflow:hidden;
  white-space:nowrap;
}
.marquee-track {
  display:inline-flex;
  gap:0;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state:paused; }
.marquee-item {
  display:inline-flex; align-items:center; gap:24px;
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.3em; text-transform:uppercase;
  color:rgba(245,240,230,.9);
  padding:0 28px;
}
.marquee-sep {
  display:inline-block;
  width:5px; height:5px; border-radius:50%;
  background:rgba(245,240,230,.4);
  flex-shrink:0;
}
@keyframes marqueeScroll {
  from { transform:translateX(0); }
  to   { transform:translateX(-50%); }
}

/* ─── SECTION COMMONS ────────────────────────────────────────────── */
.section { padding:120px 0; }
.section + .section { border-top:1px solid var(--ink-20); }
.kicker {
  font-family:var(--ff-m);
  font-size:10px; letter-spacing:.28em; text-transform:uppercase;
  color:var(--ink-50);
  display:flex; align-items:center; gap:10px;
}
.kicker::before {
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--accent); flex-shrink:0;
}
.stroke { width:56px; height:2px; background:var(--accent); }

/* reveal */
.rv {
  opacity:0; transform:translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.rv.vis { opacity:1; transform:translateY(0); }
.rv.d1 { transition-delay:.1s; }
.rv.d2 { transition-delay:.22s; }
.rv.d3 { transition-delay:.34s; }
.rv.d4 { transition-delay:.46s; }
.rv.d5 { transition-delay:.58s; }

/* ─── PRÉSENTATION ───────────────────────────────────────────────── */
#presentation {
  background: var(--bg-dark);
  padding:120px 0;
  position:relative; overflow:hidden;
}
#presentation .kicker { color:rgba(245,240,230,.35); }
#presentation .kicker::before { background:var(--accent); }

.pres-inner {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:start;
  margin-top:64px;
}
.manifesto-quote {
  font-family:var(--ff-d);
  font-size:clamp(40px,4.5vw,68px);
  font-weight:300;
  line-height:1.05;
  letter-spacing:-.025em;
  color:rgba(245,240,230,.95);
}
.manifesto-quote em { font-style:italic; }
.manifesto-quote strong { font-weight:700; color:var(--accent); font-style:italic; }

.pres-right {
  display:flex; flex-direction:column; gap:40px;
  padding-top:10px;
}
.pres-right p {
  font-size:15px; line-height:1.75;
  color:rgba(245,240,230,.5);
}
.pres-right p strong { color:rgba(245,240,230,.8); font-weight:500; }

.pres-svg-wrap {
  position:absolute;
  right:-60px; top:50%;
  transform:translateY(-50%);
  pointer-events:none;
  opacity:.06;
}

/* ─── SERVICES ───────────────────────────────────────────────────── */
#services { background:var(--bg); }
.services-header {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:end;
  margin-bottom:80px;
}
.sec-title {
  font-family:var(--ff-d);
  font-size:clamp(44px,5vw,72px);
  font-weight:300;
  line-height:1.0;
  letter-spacing:-.03em;
}
.sec-title em { font-style:italic; }
.sec-title strong { font-weight:700; color:var(--accent); }
.sec-aside p {
  font-size:14px; line-height:1.75;
  color:rgba(14,12,8,.72);
}

.services-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--ink-20);
}
.svc {
  padding:48px 40px 64px;
  border-right:1px solid var(--ink-20);
  position:relative;
  overflow:hidden;
  transition:background .4s;
  cursor:pointer;
}
.svc:last-child { border-right:none; }
.svc:hover { background:rgba(98,66,160,.04); }

.svc-illus {
  height:140px;
  margin-bottom:32px;
  display:flex;
  align-items:center;
}
.svc-illus svg { overflow:visible; }
.svc:hover .svc-path { stroke:var(--accent); }
.svc-path {
  stroke:var(--ink-20);
  transition:stroke .4s;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.svc-path-accent { stroke:var(--accent); }
.svc-num {
  font-family:var(--ff-d);
  font-size:11px; font-weight:400;
  letter-spacing:.2em;
  color:var(--accent);
  font-style:italic;
  margin-bottom:20px;
}
.svc-title-a {
  font-family:var(--ff-d);
  font-size:clamp(28px,2.5vw,40px);
  font-weight:700;
  line-height:1.0;
  letter-spacing:-.025em;
}
.svc-title-b {
  font-family:var(--ff-d);
  font-size:clamp(28px,2.5vw,40px);
  font-weight:300;
  font-style:italic;
  line-height:1.0;
  letter-spacing:-.02em;
  color:var(--accent);
  margin-bottom:20px;
}
.svc-stroke { width:40px; height:2px; background:var(--accent); margin-bottom:20px; }
.svc-desc { font-size:13px; line-height:1.75; color:rgba(14,12,8,.72); }
.svc-arrow {
  position:absolute; bottom:28px; right:28px;
  width:34px; height:34px;
  border:1px solid var(--ink-20);
  display:flex; align-items:center; justify-content:center;
  transition:background .25s, border-color .25s;
}
.svc:hover .svc-arrow { background:var(--accent); border-color:var(--accent); }
.svc-arrow svg { width:13px; height:13px; stroke:var(--ink-50); fill:none; stroke-width:2; stroke-linecap:round; }
.svc:hover .svc-arrow svg { stroke:var(--bg); }


/* ─── RÉFÉRENCES ─────────────────────────────────────────────────── */
#references {
  background:var(--bg-alt);
  padding:80px 0;
  border-top:1px solid var(--ink-20);
}
.ref-label {
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.3em; text-transform:uppercase;
  color:var(--ink-50);
  text-align:center;
  margin-bottom:48px;
}
.ref-logos {
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:0;
}
.ref-item {
  padding:20px 40px;
  border-right:1px solid var(--ink-10);
  border-bottom:1px solid var(--ink-10);
  display:flex; align-items:center; justify-content:center;
  min-width:160px;
}
.ref-item:last-child { border-right:none; }
.ref-name {
  font-family:var(--ff-d);
  font-size:15px; font-weight:300;
  font-style:italic;
  color:var(--ink-50);
  letter-spacing:-.01em;
  transition:color .2s;
  white-space:nowrap;
}
.ref-item:hover .ref-name { color:var(--accent); }

/* ─── CONVICTION ─────────────────────────────────────────────────── */
#conviction {
  background:var(--bg-alt);
  padding:140px 0;
  position:relative; overflow:hidden;
}
.conviction-inner { max-width:960px; position:relative; z-index:1; }
.conviction-quote {
  font-family:var(--ff-d);
  font-size:clamp(38px,4.8vw,72px);
  font-weight:300;
  line-height:1.07;
  letter-spacing:-.025em;
}
.conviction-quote em { font-style:italic; }
.conviction-quote strong { font-weight:700; color:var(--accent); font-style:italic; }
.conviction-svg {
  position:absolute;
  right:0; top:50%;
  transform:translateY(-50%);
  pointer-events:none;
  opacity:.06;
}

/* ─── FORMATION ──────────────────────────────────────────────────── */
#formation {
  background:var(--bg-dark);
}
.form-banner {
  max-width:1600px;
  margin:0 auto;
  padding:100px 60px 72px;
  border-bottom:1px solid rgba(245,240,230,.06);
}
.form-banner-kicker {
  font-family:var(--ff-m);
  font-size:10px; letter-spacing:.28em; text-transform:uppercase;
  color:rgba(245,240,230,.35);
  display:flex; align-items:center; gap:10px;
  margin-bottom:44px;
}
.form-banner-kicker::before {
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--accent); flex-shrink:0;
}
.form-banner-headline {
  font-family:var(--ff-d);
  font-size:clamp(56px,6.5vw,100px);
  font-weight:300;
  line-height:1.0;
  letter-spacing:-.03em;
  color:rgba(245,240,230,.9);
}
.form-banner-headline strong { font-weight:700; }
.form-banner-headline em { font-style:italic; color:var(--accent); }
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:480px;
  max-width:1600px;
  margin:0 auto;
}
.form-left {
  background:var(--bg-dark);
  padding:80px 60px;
  display:flex; flex-direction:column; justify-content:space-between;
  position:relative; overflow:hidden;
}
.form-left-illus {
  position:absolute;
  left:-40px; bottom:-40px;
  pointer-events:none;
  opacity:.1;
}
.form-label {
  font-family:var(--ff-m);
  font-size:10px; letter-spacing:.28em; text-transform:uppercase;
  color:rgba(245,240,230,.3);
  display:flex; align-items:center; gap:10px;
}
.form-label::before {
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--accent); flex-shrink:0;
}
.form-title {
  font-family:var(--ff-d);
  font-size:clamp(44px,4.5vw,68px);
  font-weight:300;
  line-height:1.0;
  letter-spacing:-.03em;
  color:rgba(245,240,230,.95);
  margin:40px 0 0;
}
.form-title em { font-style:italic; }
.form-title strong { font-weight:700; color:var(--accent); }
.form-tech {
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.2em; text-transform:uppercase;
  color:rgba(245,240,230,.2);
  line-height:2;
  border-top:1px solid rgba(245,240,230,.08);
  padding-top:24px;
  margin-top:40px;
}

/* Badges niveau */
.form-badges {
  display:flex; gap:8px; flex-wrap:wrap;
  margin-top:28px;
}
.form-badge {
  font-family:var(--ff-m);
  font-size:8px; letter-spacing:.2em; text-transform:uppercase;
  padding:5px 10px;
  border:1px solid rgba(245,240,230,.15);
  color:rgba(245,240,230,.4);
}
.form-badge.active {
  border-color:var(--accent);
  color:var(--accent);
  background:rgba(98,66,160,.08);
}

.form-right {
  background:var(--bg);
  padding:80px 60px;
  display:flex; flex-direction:column; justify-content:center;
}
.form-right .kicker { margin-bottom:32px; }
.form-right > p {
  font-size:14px; line-height:1.8;
  color:var(--ink-50);
  max-width:420px;
  margin-bottom:40px;
}
.form-list { list-style:none; }
.form-list li {
  display:grid; grid-template-columns:20px 1fr;
  gap:12px;
  padding:20px 0;
  border-bottom:1px solid var(--ink-10);
}
.form-list li::before {
  content:'–'; color:var(--accent);
  font-family:var(--ff-m);
  font-size:12px;
  margin-top:2px;
}
.form-list strong {
  display:block; font-weight:600;
  font-size:14px; color:var(--ink);
  margin-bottom:3px;
}
.form-list span { font-size:13px; color:var(--ink-50); line-height:1.6; }
.form-cta {
  display:inline-flex; align-items:center; gap:10px;
  margin-top:36px;
  padding:12px 28px;
  background:var(--accent);
  color:var(--bg);
  font-family:var(--ff-m);
  font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  transition:background .25s;
  cursor:pointer;
}
.form-cta:hover { background:#512f8e; }

/* ─── CONTACT ────────────────────────────────────────────────────── */
#contact {
  background:var(--bg-dark);
  padding:140px 0;
  position:relative; overflow:hidden;
  text-align:center;
}
.contact-ornament {
  font-family:var(--ff-m);
  font-size:11px; letter-spacing:.55em;
  color:var(--accent); opacity:.5;
  margin-bottom:56px;
}
.contact-headline {
  font-family:var(--ff-d);
  font-size:clamp(48px,7vw,110px);
  font-weight:300;
  line-height:1.0;
  letter-spacing:-.035em;
  color:rgba(245,240,230,.95);
  max-width:900px;
  margin:0 auto 72px;
}
.contact-headline em { font-style:italic; }
.contact-headline strong { font-weight:700; color:var(--accent); font-style:italic; }
.contact-email-wrap { margin-bottom:64px; }
.contact-email-label {
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.28em; text-transform:uppercase;
  color:rgba(245,240,230,.25);
  margin-bottom:12px;
}
.contact-email-link {
  font-family:var(--ff-d);
  font-size:clamp(22px,2.8vw,38px);
  font-weight:300;
  font-style:italic;
  color:rgba(245,240,230,.85);
  transition:color .25s;
  cursor:pointer;
}
.contact-email-link:hover { color:var(--accent); }
.contact-cta {
  display:inline-flex; align-items:center; gap:12px;
  padding:16px 40px;
  background:transparent;
  border:1px solid rgba(245,240,230,.2);
  font-family:var(--ff-m);
  font-size:10px; font-weight:600; letter-spacing:.22em; text-transform:uppercase;
  color:rgba(245,240,230,.7);
  transition:border-color .25s, color .25s, background .25s;
  cursor:pointer;
}
.contact-cta:hover {
  border-color:var(--accent);
  color:var(--bg);
  background:var(--accent);
}
.contact-logo {
  margin-top:96px;
  display:flex; align-items:center; justify-content:center; gap:32px;
}
.contact-logo-line { width:70px; height:1px; background:var(--accent); opacity:.3; }
.contact-logo img { height:80px; object-fit:contain; filter:invert(1); opacity:.8; }
.contact-svg-bg {
  position:absolute; inset:0;
  pointer-events:none;
  opacity:.04;
  display:flex; align-items:center; justify-content:center;
}

/* ─── CONTACT FORM ───────────────────────────────────────────────── */
.contact-form {
  max-width:660px; margin:0 auto 64px;
  text-align:left;
}
.cf-row {
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
}
.cf-field {
  margin-bottom:16px;
  display:flex; flex-direction:column; gap:8px;
}
.cf-field label {
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.28em; text-transform:uppercase;
  color:rgba(245,240,230,.3);
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  background:rgba(245,240,230,.04);
  border:1px solid rgba(245,240,230,.12);
  color:rgba(245,240,230,.9);
  font-family:var(--ff-b);
  font-size:15px; font-weight:300;
  padding:14px 16px;
  outline:none;
  transition:border-color .2s;
  -webkit-appearance:none; appearance:none;
  width:100%;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color:rgba(245,240,230,.18); }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus { border-color:var(--accent); }
.cf-field select {
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(245,240,230,.3)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center;
  padding-right:40px;
}
.cf-field select option { background:var(--bg-dark); color:rgba(245,240,230,.9); }
.cf-field textarea { resize:vertical; min-height:140px; }
.cf-bottom {
  display:flex; flex-direction:column; align-items:center; gap:18px;
  margin-top:8px; text-align:center;
}
.cf-alt {
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.18em; text-transform:uppercase;
  color:rgba(245,240,230,.18);
}
.cf-alt-link { color:rgba(245,240,230,.35); transition:color .2s; }
.cf-alt-link:hover { color:var(--accent); }
.cf-feedback {
  font-family:var(--ff-m);
  font-size:10px; letter-spacing:.12em;
  min-height:18px;
}
.cf-feedback.ok  { color:rgba(110,210,130,.85); }
.cf-feedback.err { color:rgba(210,90,90,.85); }
#cfSubmit:disabled { opacity:.45; cursor:not-allowed; }
@media (max-width:640px) { .cf-row { grid-template-columns:1fr; } }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background:#080604;
  padding:22px 0;
}
.footer-inner {
  max-width:1600px; margin:0 auto; padding:0 52px;
  display:flex; align-items:center; justify-content:space-between;
}
footer p {
  font-family:var(--ff-m);
  font-size:9px; letter-spacing:.2em; text-transform:uppercase;
  color:rgba(245,240,230,.18);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width:1024px) {
  .nav-inner { padding:0 28px; }
  .wrap { padding:0 28px; }
  .footer-inner { padding:0 28px; }
  .section { padding:80px 0; }
  #presentation { padding:80px 0; }
  #contact { padding:100px 0; }
  .pres-inner { grid-template-columns:1fr; gap:40px; }
  .services-header { grid-template-columns:1fr; }
  .services-grid { grid-template-columns:1fr; }
  .svc { border-right:none; border-bottom:1px solid var(--ink-20); }
  .svc:last-child { border-bottom:none; }
  .form-banner { padding:60px 28px 48px; }
  .form-grid { grid-template-columns:1fr; }
  .form-left { padding:60px 28px; }
  .form-right { padding:60px 28px; }
  .footer-inner { flex-direction:column; gap:8px; text-align:center; }
  .ref-item { min-width:120px; padding:16px 24px; }
}

@media (max-width:768px) {
  .nav-inner { padding:0 20px; }
  .wrap { padding:0 20px; }
  .footer-inner { padding:0 20px; }
  .nav-links { display:none; }
  .nav-cta { display:none; }
  .nav-burger { display:flex; }
  /* Hero mobile : logo masqué — évite toute collision avec le titre */
  .hero-logo-wrap { display:none; }
  .hero-glow { display:none; }
  .bcast-ring { display:none; }
  .hero-headline { padding:0 20px 20px; }
  .hero-scroll-hint { display:none; }
  .h-line { font-size:clamp(36px,9.5vw,52px); line-height:1.1; }
  .hero-stats { flex-wrap:wrap; }
  .h-stat { flex:0 0 50%; padding:16px 20px; }
  .h-stat:nth-child(odd) { border-right:1px solid rgba(245,240,230,.1); }
  .h-stat:nth-child(1),.h-stat:nth-child(2) { border-bottom:1px solid rgba(245,240,230,.1); }
  .ref-logos { justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; padding:0 20px; }
  .ref-item { border-bottom:none; flex-shrink:0; }
  .form-banner { padding:48px 20px 40px; }
}
@media (max-width:390px) {
  .h-line { font-size:clamp(32px,8.5vw,42px); }
}
