/* ============================================================
   AF PROD — Feuille de style
   Cinematic dark · electric blue · motion-driven
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --bg: #0A0A0B;
  --bg-soft: #111114;
  --surface: #16161B;
  --surface-2: #1C1C23;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --blue: #2563EB;
  --blue-bright: #3B82F6;
  --blue-glow: rgba(59, 130, 246, 0.45);
  --blue-soft: rgba(37, 99, 235, 0.12);

  --text: #F4F4F6;
  --muted: #9A9AA6;
  --muted-dim: #6B6B78;

  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;

  --container: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-aurora: 0;
  --z-content: 10;
  --z-nav: 50;
  --z-cursor: 90;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }

/* ---------- Conteneur / sections ---------- */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) 24px;
  position: relative;
  z-index: var(--z-content);
}
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section__eyebrow {
  font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--blue-bright); font-weight: 600; margin-bottom: 18px;
}
.section__title { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.section__lead { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }

/* ============================================================
   FOND AURORA + GRAIN
   ============================================================ */
.aurora { position: fixed; inset: 0; z-index: var(--z-aurora); overflow: hidden; pointer-events: none; }
.aurora__blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.aurora__blob--1 { width: 50vw; height: 50vw; background: #1d3fae; top: -10%; left: -8%; animation: float1 22s ease-in-out infinite; }
.aurora__blob--2 { width: 42vw; height: 42vw; background: #2563EB; bottom: -12%; right: -6%; animation: float2 26s ease-in-out infinite; }
.aurora__blob--3 { width: 36vw; height: 36vw; background: #4f2ea8; top: 38%; left: 42%; opacity: 0.32; animation: float3 30s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes float2 { 50% { transform: translate(-7vw, -5vh) scale(1.08); } }
@keyframes float3 { 50% { transform: translate(-5vw, 7vh) scale(1.16); } }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Voile qui assombrit le fond derrière le contenu */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, transparent 0%, rgba(10,10,11,0.6) 60%, var(--bg) 100%);
}

/* ============================================================
   CURSEUR CUSTOM
   ============================================================ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: var(--z-cursor); transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--blue-bright); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid var(--line-strong);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s;
}
.cursor-ring.is-hover { width: 64px; height: 64px; background: var(--blue-soft); border-color: var(--blue-bright); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   BARRE DE PROGRESSION
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  z-index: var(--z-nav); box-shadow: 0 0 12px var(--blue-glow);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(16px);
  border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px;
}
.nav__logo { display: flex; align-items: center; height: 38px; }
.nav__logo-img { height: 38px; width: auto; }
.nav__logo-fallback {
  display: none; align-items: baseline; font-family: var(--font-head); font-weight: 900;
  font-size: 1.5rem; letter-spacing: -0.04em; color: #fff;
}
.nav__logo-fallback span { color: var(--blue-bright); font-size: 0.7em; margin-left: 2px; }

.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 0.92rem; color: var(--muted); font-weight: 500; position: relative; padding: 4px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--blue-bright); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 28px; height: 22px; justify-content: center; }
.nav__burger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(10,10,11,0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--text); }
.mobile-menu .btn { font-size: 1rem; margin-top: 12px; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 26px; border-radius: 100px; font-family: var(--font-head);
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
  will-change: transform; position: relative; overflow: hidden;
}
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 30px -8px var(--blue-glow);
}
.btn--primary:hover { background: var(--blue-bright); box-shadow: 0 12px 40px -6px var(--blue-glow); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue-bright); background: var(--blue-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  gap: 24px;
  max-width: var(--container); margin: 0 auto; padding: 120px 24px 96px;
  position: relative; z-index: var(--z-content);
}
.hero__inner { min-width: 0; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); padding: 8px 16px; border: 1px solid var(--line);
  border-radius: 100px; background: rgba(255,255,255,0.02); margin-bottom: 28px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 10px var(--blue-bright); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.hero__title { font-size: clamp(3.2rem, 12vw, 9rem); font-weight: 900; letter-spacing: -0.04em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title em { font-style: normal; color: var(--blue-bright); }
.hero__sub { max-width: 540px; margin-top: 28px; font-size: clamp(1rem, 2.4vw, 1.25rem); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero__meta { display: flex; gap: clamp(28px, 5vw, 64px); margin-top: 64px; flex-wrap: wrap; }
.hero__meta strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--text); }
.hero__meta span { font-size: 0.85rem; color: var(--muted-dim); letter-spacing: 0.04em; }

/* ---------- Logo 3D (showpiece) ---------- */
.hero__visual { display: grid; place-items: center; perspective: 1150px; min-height: 380px; margin-top: 4px; animation: logoFloat 7s ease-in-out infinite; }
.logo3d__stage { position: relative; width: min(440px, 76vw); aspect-ratio: 1; transform-style: preserve-3d; }
.logo3d__stage > * { position: absolute; inset: 0; }

/* Halo conique rotatif */
.logo3d__halo {
  border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0%, var(--blue-bright) 16%, transparent 34%, transparent 56%, var(--blue) 72%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent 56%, #000 59%, #000 80%, transparent 83%);
  mask: radial-gradient(farthest-side, transparent 56%, #000 59%, #000 80%, transparent 83%);
  filter: blur(5px); opacity: 0.85; animation: spin 9s linear infinite;
}
/* Glow volumétrique bleu */
.logo3d__glow {
  border-radius: 50%; z-index: 0; transform: translateZ(-80px);
  background: radial-gradient(circle, rgba(59,130,246,0.55), rgba(37,99,235,0.16) 46%, transparent 66%);
  filter: blur(28px); animation: glowPulse 5s ease-in-out infinite;
}
/* Particules en orbite */
.logo3d__orbit { z-index: 1; animation: spin 16s linear infinite; }
.logo3d__orbit::before, .logo3d__orbit::after {
  content: ""; position: absolute; border-radius: 50%; background: var(--blue-bright);
  box-shadow: 0 0 18px 2px var(--blue-bright);
}
.logo3d__orbit::before { width: 9px; height: 9px; top: 4%; left: 52%; }
.logo3d__orbit::after { width: 6px; height: 6px; bottom: 7%; left: 42%; opacity: 0.8; }

.logo3d__scene { z-index: 2; transform-style: preserve-3d; will-change: transform; }
.logo3d__ring { border-radius: 50%; inset: 14%; border: 1px solid var(--line-strong); transform: translateZ(-26px); box-shadow: inset 0 0 50px rgba(59,130,246,0.18); }
.logo3d__plate { position: absolute; inset: 0; transform-style: preserve-3d; }

.logo3d__img {
  position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain;
  transform: translateZ(72px);
  filter: drop-shadow(0 28px 44px rgba(0,0,0,0.62)) drop-shadow(0 0 30px rgba(59,130,246,0.5));
}
/* Reflet brillant qui balaie le logo (masqué à la forme du logo) */
.logo3d__shine {
  position: absolute; inset: 9%; transform: translateZ(74px); pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.7) 49%, transparent 58%);
  background-size: 260% 100%; background-repeat: no-repeat;
  -webkit-mask: url(../image/logo-af.png) center / contain no-repeat;
  mask: url(../image/logo-af.png) center / contain no-repeat;
  animation: shine 4.8s ease-in-out infinite;
}
/* Ombre portée (profondeur) */
.logo3d__shadow {
  position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain;
  transform: translateZ(-34px) scale(1.04); filter: brightness(0) blur(18px); opacity: 0.55;
}
/* Reflet miroir au sol */
.logo3d__reflection {
  inset: auto; bottom: -16%; left: 50%; width: 60%; height: 42%;
  transform: translateX(-50%) scaleY(-1); opacity: 0.2;
  -webkit-mask: linear-gradient(to top, rgba(0,0,0,0.8), transparent 72%);
  mask: linear-gradient(to top, rgba(0,0,0,0.8), transparent 72%);
}
.logo3d__reflection img { width: 100%; height: 100%; object-fit: contain; filter: blur(1px); }

@keyframes logoFloat { 50% { transform: translateY(-14px); } }
@keyframes glowPulse { 0%,100% { opacity: 0.9; transform: translateZ(-80px) scale(1); } 50% { opacity: 0.55; transform: translateZ(-80px) scale(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { 0% { background-position: 230% 0; } 60%, 100% { background-position: -130% 0; } }

.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted-dim); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--blue-bright), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--blue-bright); animation: scrollLine 2s infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(255,255,255,0.015); position: relative; z-index: var(--z-content); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.01em; color: var(--text); padding: 0 1rem; white-space: nowrap; opacity: 0.92; }
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--muted-dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px 32px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
  transform-style: preserve-3d;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--blue-soft), transparent 60%);
  transition: opacity .4s;
}
.service-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.service-card:hover::before { opacity: 1; }
.service-card--featured { border-color: rgba(59,130,246,0.4); background: linear-gradient(160deg, rgba(37,99,235,0.14), var(--surface)); }
.service-card__num { font-family: var(--font-head); font-size: 0.8rem; color: var(--muted-dim); letter-spacing: 0.1em; }
.service-card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); border: 1px solid var(--line); margin: 22px 0 24px; color: var(--blue-bright); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.98rem; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.service-card__tags li { font-size: 0.78rem; color: var(--muted); padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; }

/* ============================================================
   PARTENAIRES (social proof)
   ============================================================ */
.partners__marquee { overflow: hidden; margin-top: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partners__track { display: flex; gap: 18px; width: max-content; animation: marquee 32s linear infinite; }
.partners__track:hover { animation-play-state: paused; }
.partner {
  display: flex; flex-direction: column; gap: 4px; min-width: 240px;
  padding: 26px 30px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.partner:hover { border-color: var(--blue-bright); background: var(--surface-2); transform: translateY(-4px); }
.partner__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.partner__role { font-size: 0.85rem; color: var(--muted); }

.partners__track { align-items: stretch; }
.partner--spotify { min-width: 340px; gap: 12px; }
.partner--spotify:hover { transform: none; }
.partner__embed { display: block; width: 100%; border: 0; border-radius: 12px; margin-top: auto; min-height: 152px; background: #181818; }

/* ============================================================
   À PROPOS
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__text { color: var(--muted); margin-top: 20px; font-size: 1.05rem; max-width: 480px; }
.about__cta { margin-top: 32px; }
.about__values { display: flex; flex-direction: column; gap: 16px; }
.about-value { display: flex; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, background .3s; }
.about-value:hover { border-color: var(--line-strong); background: var(--surface-2); }
.about-value__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-bright); }
.about-value__icon svg { width: 22px; height: 22px; }
.about-value h3 { font-size: 1.15rem; margin-bottom: 6px; }
.about-value p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   STICKY TEXT REVEAL
   ============================================================ */
.statement { max-width: 1100px; }
.statement__text {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 5.2vw, 4rem);
  line-height: 1.18; letter-spacing: -0.02em;
}
.statement__text .word { color: rgba(255,255,255,0.14); transition: color .3s var(--ease); display: inline-block; }
.statement__text .word.is-lit { color: var(--text); }
.statement__text .word.is-lit.accent { color: var(--blue-bright); }

/* ============================================================
   RÉALISATIONS — scroll horizontal
   ============================================================ */
.work { position: relative; z-index: var(--z-content); }
.work__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 60px 0; }
.work__head { max-width: var(--container); margin: 0 auto 36px; padding: 0 24px; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.work__head .section__title { font-size: clamp(2rem, 5vw, 3.6rem); }
.work__insta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-bright); border: 1px solid var(--line-strong); padding: 10px 18px; border-radius: 100px; transition: background .3s, border-color .3s; }
.work__insta:hover { background: var(--blue-soft); border-color: var(--blue-bright); }
.work__track { display: flex; gap: 22px; padding: 0 24px; will-change: transform; }
.work-card { display: block; position: relative; flex: 0 0 clamp(280px, 38vw, 460px); height: clamp(380px, 56vh, 560px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: border-color .4s; }
.work-card:hover { border-color: var(--blue-bright); }
.work-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .6s var(--ease); }
.work-card:hover .work-card__img { transform: scale(1.06); }
.work-card__media { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.work-card--a .work-card__media { background: linear-gradient(150deg, #1d3fae, #0b1736); }
.work-card--b .work-card__media { background: linear-gradient(150deg, #2563EB, #101a3a); }
.work-card--c .work-card__media { background: linear-gradient(150deg, #4f2ea8, #150d2e); }
.work-card--d .work-card__media { background: linear-gradient(150deg, #0e7490, #0a1f2b); }
.work-card--e .work-card__media { background: linear-gradient(150deg, #3b82f6, #1e1b4b); }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(transparent 35%, rgba(0,0,0,0.78)); }
.work-card:hover .work-card__media { transform: scale(1.06); }
.work-card__info { position: absolute; left: 24px; bottom: 24px; right: 24px; z-index: 3; }
.work-card__cat { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright); font-weight: 600; }
.work-card__info h3 { font-size: 1.5rem; margin-top: 6px; }
.work-card__view {
  position: absolute; top: 20px; right: 20px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; color: #fff;
  padding: 8px 14px; border-radius: 100px; background: rgba(37,99,235,0.85);
  backdrop-filter: blur(4px); opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.work-card:hover .work-card__view { opacity: 1; transform: none; }

/* ============================================================
   PROCESS
   ============================================================ */
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { padding: 32px 24px; border-top: 2px solid var(--line); position: relative; }
.process-step::before { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--blue-bright); transition: width .8s var(--ease); }
.process-step.is-visible::before { width: 100%; }
.process-step__num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--blue-bright); display: block; margin-bottom: 16px; }
.process-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   OFFRES
   ============================================================ */
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.offer-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; display: flex; flex-direction: column; position: relative;
  transition: transform .4s var(--ease), border-color .4s;
}
.offer-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.offer-card--featured { border-color: rgba(59,130,246,0.45); background: linear-gradient(170deg, rgba(37,99,235,0.16), var(--surface)); box-shadow: 0 24px 60px -30px var(--blue-glow); }
.offer-card__badge { position: absolute; top: -13px; left: 32px; background: var(--blue); color: #fff; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; padding: 6px 14px; border-radius: 100px; font-family: var(--font-head); }
.offer-card__name { font-size: 1.6rem; }
.offer-card__desc { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.offer-card__price { font-family: var(--font-head); font-weight: 800; font-size: 3rem; margin: 24px 0; letter-spacing: -0.03em; }
.offer-card__price .from { font-size: 0.9rem; font-weight: 500; color: var(--muted); vertical-align: middle; margin-right: 8px; font-family: var(--font-body); }
.offer-card__price .cur { font-size: 1.6rem; color: var(--blue-bright); }
.offer-card__price--quote { font-size: 2rem; color: var(--blue-bright); }
.offer-card__feat { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex: 1; }
.offer-card__feat li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.95rem; }
.offer-card__feat li::before { content: "✦"; position: absolute; left: 0; color: var(--blue-bright); }
.offer-card__cta { width: 100%; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); }
.contact__lead { color: var(--muted); margin-top: 22px; max-width: 420px; }
.contact__points { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.contact__points li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 0.98rem; }
.contact__points svg { width: 18px; height: 18px; color: var(--blue-bright); flex-shrink: 0; }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; color: var(--text); font-family: inherit; font-size: 1rem; transition: border-color .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: var(--surface); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239A9AA6' stroke-width='2'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { resize: vertical; min-height: 110px; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: #ef4444; }
.field__error { display: block; color: #f87171; font-size: 0.8rem; margin-top: 6px; min-height: 1em; }
.contact__submit { width: 100%; margin-top: 6px; }
.contact__success { margin-top: 18px; color: var(--blue-bright); font-weight: 600; text-align: center; }
.contact__formerror { margin-top: 18px; color: #f87171; font-weight: 600; text-align: center; }
.contact__legal { margin-top: 16px; font-size: 0.8rem; color: var(--muted-dim); text-align: center; }
.contact__legal a { color: var(--muted); text-decoration: underline; }
.contact__legal a:hover { color: var(--blue-bright); }
/* Honeypot anti-spam — invisible et hors flux */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; padding: 140px 24px 100px; position: relative; z-index: var(--z-content); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; transition: color .25s; }
.legal__back:hover { color: var(--blue-bright); }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 12px; }
.legal__updated { color: var(--muted-dim); font-size: 0.85rem; margin-bottom: 48px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--text); }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; font-size: 1rem; }
.legal ul { padding-left: 22px; }
.legal li { list-style: disc; margin-bottom: 8px; }
.legal a { color: var(--blue-bright); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .todo { color: #f59e0b; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { max-width: var(--container); margin: 0 auto; padding: 80px 24px 40px; position: relative; z-index: var(--z-content); border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.footer__logo { font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; letter-spacing: -0.04em; }
.footer__logo span { color: var(--blue-bright); font-size: 0.7em; }
.footer__tagline { color: var(--muted); text-align: right; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__nav h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 18px; font-weight: 600; }
.footer__nav a { display: block; color: var(--muted); padding: 6px 0; transition: color .25s; }
.footer__nav a:hover { color: var(--blue-bright); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; color: var(--muted-dim); font-size: 0.85rem; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--muted-dim); transition: color .25s; }
.footer__legal a:hover { color: var(--blue-bright); }

/* ============================================================
   ANIMATIONS REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.hero__title .line[data-reveal] { transform: translateY(110%); }
.hero__title .line[data-reveal].is-visible { transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .services__grid, .offers__grid, .process__steps { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__visual { min-height: 300px; }
  .logo3d__stage { width: min(300px, 70vw); }
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services__grid, .offers__grid, .process__steps, .footer__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 24px; }
  .footer__tagline { text-align: left; }
  /* Mobile : on garde l'effet de scroll horizontal (JS), mais les cartes
     remplissent l'écran pour éviter le vide au-dessus/en-dessous. */
  .work__sticky { padding: 20px 0; }
  .work__head { margin-bottom: 20px; }
  .work-card { flex-basis: 80vw; height: clamp(320px, calc(100svh - 200px), 560px); }
}

/* ============================================================
   ACCESSIBILITÉ — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .statement__text .word { color: var(--text); }
  .cursor-dot, .cursor-ring { display: none; }
}

/* Focus visible — accessibilité clavier */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px;
}
