/* ============================================================
   KTZ GROUP SAS — feuille de style
   Couleurs tirées du logo : orange, turquoise, magenta
   ============================================================ */

:root {
  --bg: #0B0B10;
  --bg-2: #111119;
  --surface: #16161F;
  --surface-2: #1D1D29;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fg: #F5F2EC;
  --muted: #A3A1AE;
  --orange: #F27A0F;
  --orange-2: #FFB23F;
  --teal: #22D3C5;
  --magenta: #E5157A;
  --cream: #F6F1E9;
  --cream-2: #EDE6DA;
  --ink: #15131B;
  --ink-muted: #5F5B68;
  --grad: linear-gradient(100deg, var(--orange) 0%, var(--orange-2) 30%, var(--teal) 62%, var(--magenta) 100%);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.65 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(1240px, 100% - 64px); } }

/* ── Texte dégradé animé ── */
.grad, .js .grad .wi {
  background: var(--grad);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
}
.js .grad { background: none; -webkit-text-fill-color: initial; animation: none; }
@keyframes gradShift { to { background-position: 100% 0; } }

/* ── Grain (fixe, sans animation pour rester fluide) et progression ── */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* ── Écran de chargement ── */
#preloader { display: none; }
.js #preloader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease) .1s;
  animation: preFallback .01s 5s forwards;
}
#preloader.done { clip-path: inset(0 0 100% 0); }
@keyframes preFallback { to { visibility: hidden; } }
.pre-logo { position: relative; width: 150px; height: 150px; }
.pre-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pre-logo .ring { animation: preSpin 1.6s var(--ease) both; }
.pre-logo .center { animation: preIn 1s var(--ease) .35s both; }
@keyframes preSpin { from { transform: rotate(-540deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes preIn { from { transform: scale(.5); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
.pre-num { font: 700 14px 'Sora', sans-serif; letter-spacing: .2em; color: var(--muted); text-align: center; }

/* ── Logo animé (anneau qui tourne, centre fixe) ── */
.logo-mark { position: relative; display: inline-block; width: 54px; height: 54px; flex-shrink: 0; }
.logo-mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-mark .ring, .hero-logo .ring { animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 11, 16, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { width: min(1240px, 100% - 32px); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-name { white-space: nowrap; font: 800 17px 'Sora', sans-serif; letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--orange); }
.links { display: none; gap: 4px; }
.links a {
  position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .3s;
}
.links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.links a:hover, .links a.active { color: var(--fg); }
.links a:hover::after, .links a.active::after { transform: scaleX(1); transform-origin: left; }
.btn.nav-cta { display: none; }


.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-content: center; gap: 6px; padding: 0; color: var(--fg); }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
@media (min-width: 980px) { .links { display: flex; } .btn.nav-cta { display: inline-flex; } .burger { display: none; } }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 24px 40px;
  clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.menu nav { display: grid; gap: 6px; }
.menu nav a {
  font: 800 clamp(2.2rem, 10vw, 3.4rem)/1.15 'Sora', sans-serif; text-decoration: none; letter-spacing: -.03em;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease);
}
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(1) { transition-delay: .15s; } .menu-open .menu nav a:nth-child(2) { transition-delay: .2s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: .25s; } .menu-open .menu nav a:nth-child(4) { transition-delay: .3s; }
.menu-open .menu nav a:nth-child(5) { transition-delay: .35s; }
.menu-foot { margin-top: 40px; color: var(--muted); font-size: 14px; }
.menu-open { overflow: hidden; }

/* ── Boutons ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font: 600 15px 'Inter', sans-serif; text-decoration: none;
  border: 0; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn span, .btn svg { position: relative; z-index: 1; pointer-events: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(242, 122, 15, .7); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grad); background-size: 200% 100%;
  opacity: 0; transition: opacity .4s; animation: gradShift 3s linear infinite alternate;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(229, 21, 122, .6); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--fg); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background: var(--fg); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost:hover::before { transform: none; }
.btn-ghost span { transition: color .3s; }
.btn-block { width: 100%; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .5; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { background: radial-gradient(circle, rgba(242, 122, 15, .9), rgba(242, 122, 15, .25) 35%, transparent 68%); top: -18%; left: -10%; animation: blob1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgba(229, 21, 122, .9), rgba(229, 21, 122, .25) 35%, transparent 68%); bottom: -25%; right: -12%; opacity: .7; animation: blob2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgba(34, 211, 197, .9), rgba(34, 211, 197, .25) 35%, transparent 68%); top: 30%; left: 40%; width: 30vmax; height: 30vmax; opacity: .45; animation: blob3 16s ease-in-out infinite alternate; }
@keyframes blob1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-16vw, -12vh) scale(1.2); } }
@keyframes blob3 { to { transform: translate(-22vw, 10vh) scale(.85); } }
.aurora.soft { opacity: .25; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
.hero-inner > * { min-width: 0; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.15fr .85fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .02em;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }

.hero h1 { margin: 26px 0 24px; font-size: clamp(2.9rem, 8.4vw, 6.4rem); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.hero-quote { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34ch; font-style: italic; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 52px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (min-width: 620px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats div { background: rgba(11, 11, 16, .72); backdrop-filter: blur(10px); padding: 18px 18px 16px; }
.hero-stats dt { font: 800 clamp(1.6rem, 3vw, 2.1rem)/1 'Sora', sans-serif; letter-spacing: -.03em; }
.hero-stats dd { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }

.hero-visual { position: relative; width: min(440px, 74vw, 100%); aspect-ratio: 1; margin-inline: auto; perspective: 1000px; }
.hero-logo { position: absolute; inset: 9%; transition: transform .2s ease-out; transform-style: preserve-3d; }
.hero-logo img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.hero-logo .center { transform: translateZ(40px); }
.hero-logo .ring { animation-duration: 24s; }
.glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(242, 122, 15, .55), transparent 70%); filter: blur(40px); z-index: -1; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.2); opacity: .7; } }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .12); animation: spin 30s linear infinite; }
.orbit.o2 { inset: -7%; border-style: solid; border-color: rgba(34, 211, 197, .12); animation-duration: 45s; animation-direction: reverse; }
.orbit.o3 { inset: 4%; border: 0; animation-duration: 14s; }
.orbit b { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px 4px var(--orange); }
.orbit.o2 b { background: var(--teal); box-shadow: 0 0 20px 4px var(--teal); top: auto; bottom: -5px; }
.orbit.o3 b { background: var(--magenta); box-shadow: 0 0 18px 4px var(--magenta); width: 7px; height: 7px; left: 0; top: 50%; }

.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fg); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Entrée du hero (après le chargement) */
.js .hero [data-hero] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .hero .hero-visual[data-hero] { transform: scale(.8) rotate(-12deg); transition-duration: 1.6s; }
.loaded .hero [data-hero], .loaded .hero .hero-visual[data-hero] { opacity: 1; transform: none; }
.loaded .hero .pill { transition-delay: .1s; }
.loaded .hero .hero-quote { transition-delay: .65s; }
.loaded .hero .hero-cta { transition-delay: .8s; }
.loaded .hero .hero-stats { transition-delay: .95s; }
.loaded .hero .hero-visual { transition-delay: .3s; }

/* ── Bandeau défilant ── */
.marquee { position: relative; z-index: 3; overflow: hidden; padding: 22px 0; background: var(--orange); transform: rotate(-2deg) scale(1.04); margin: -20px 0 0; box-shadow: 0 20px 60px -20px rgba(242, 122, 15, .6); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 28s linear infinite; }
.marquee span { font: 800 clamp(1.4rem, 3vw, 2.2rem) 'Sora', sans-serif; color: var(--bg); letter-spacing: -.02em; text-transform: uppercase; }
.marquee i { font-style: normal; color: #fff; font-size: 1.4rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ── Sections ── */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section.light { background: var(--cream); color: var(--ink); }
.head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px 'Inter', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section h2, .hscroll h2 { font-size: clamp(2.2rem, 5.6vw, 4.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.lead { margin-top: 22px; font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--muted); max-width: 60ch; }
.light .lead, .light .story-copy p { color: var(--ink-muted); }

/* Mots révélés */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); }
.js [data-split].in .wi, .loaded .hero [data-split] .wi { transform: none; }

/* Apparitions au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="scale"] { transform: scale(.9); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Cartes ── */
.card {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(242, 122, 15, .16), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 178, 63, .8), rgba(34, 211, 197, .4) 40%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
[data-tilt] { transform-style: preserve-3d; }
.js [data-tilt].tilting, [data-tilt].tilting { transition: transform .25s ease-out, opacity 1s var(--ease); transition-delay: 0s; }

.icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(140deg, rgba(242, 122, 15, .22), rgba(229, 21, 122, .14)); border: 1px solid rgba(242, 122, 15, .3);
  color: var(--orange-2);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--fg); }
.light .chips li { background: rgba(21, 19, 27, .05); border-color: rgba(21, 19, 27, .12); color: var(--ink); }

/* Pôles (bento) */
.bento { display: grid; gap: 18px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } .pole-main { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(3, 1fr); } .pole-main { grid-column: span 2; } }
.pole { display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.pole-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tag { font: 600 12px 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pole h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.25; font-weight: 700; }
.pole p { color: var(--muted); font-size: 15px; }
.pole p a { color: var(--orange-2); }
.pole-main { background: linear-gradient(160deg, #1E1A22 0%, var(--surface) 55%); }
.pole-main h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); max-width: 18ch; }
.pole-main p { font-size: 16px; max-width: 56ch; }
.pole-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--orange-2); text-decoration: none; }
.pole-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .4s var(--ease); }
.pole-link:hover svg { transform: translate(3px, -3px); }
.pole-mock {
  display: none; position: absolute; right: -30px; bottom: -30px; width: 300px; padding: 18px; border-radius: 18px; z-index: -1;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transform: rotate(-8deg); backdrop-filter: blur(4px);
}
@media (min-width: 1100px) { .pole-mock { display: block; } .pole-main .chips { max-width: 60%; } }
.mock-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock-row { height: 34px; border-radius: 10px; margin-bottom: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); position: relative; overflow: hidden; }
.mock-row::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent); transform: translateX(-100%); animation: shimmer 2.4s infinite; }
.mock-row.r2::after { animation-delay: .3s; } .mock-row.r3::after { animation-delay: .6s; }
.mock-row.r2 { width: 80%; } .mock-row.r3 { width: 60%; }
@keyframes shimmer { to { transform: translateX(100%); } }
.mock-badge { position: absolute; top: -16px; left: -20px; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--teal); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(34, 211, 197, .7); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Histoire */
.story { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .story { grid-template-columns: 1.1fr .9fr; } }
.story-copy h2 { margin-bottom: 30px; }
.story-copy p { font-size: 1.08rem; margin-bottom: 18px; max-width: 58ch; }
.story-copy strong { color: var(--ink); }
.founder { position: relative; border-radius: 28px; padding: 2px; overflow: hidden; isolation: isolate; }
.founder::before {
  content: ""; position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from 0deg, var(--orange), var(--teal), var(--magenta), var(--orange-2), var(--orange));
  animation: spin 6s linear infinite;
}
.founder-inner { position: relative; background: var(--ink); color: var(--fg); border-radius: 26px; padding: clamp(28px, 4vw, 44px); }
.founder-inner h3 { font-size: 1.8rem; margin-top: 26px; }
.founder-photo { position: relative; margin: 0; aspect-ratio: 4 / 4.3; border-radius: 20px; overflow: hidden; background: var(--surface); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.4s var(--ease), filter 1.4s var(--ease); }
.founder-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(21, 19, 27, .75)); }
.founder-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--fg);
  background: rgba(11, 11, 16, .55); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
}
.founder:hover .founder-photo img { transform: scale(1.05); }
/* Révélation de la photo : rideau qui s'ouvre + léger dézoom */
.js .founder .founder-photo { clip-path: inset(100% 0 0 0 round 20px); transition: clip-path 1.3s var(--ease) .25s; }
.js .founder .founder-photo img { transform: scale(1.25); filter: saturate(.4); }
.js .founder.in .founder-photo { clip-path: inset(0 0 0 0 round 20px); }
.js .founder.in .founder-photo img { transform: scale(1); filter: none; transition-delay: .25s; }
.js .founder.in:hover .founder-photo img { transform: scale(1.05); transition-delay: 0s; }
.founder .role { color: var(--orange-2); font-weight: 600; margin: 4px 0 18px; }
.founder-inner > p:not(.role) { color: var(--muted); margin-bottom: 22px; }
.founder .chips li { background: rgba(255, 255, 255, .05); border-color: var(--line-2); color: var(--fg); }
.monogram, .avatar {
  position: relative; display: grid; place-items: center; border-radius: 50%;
  font: 800 2rem 'Sora', sans-serif; color: #fff;
}
.monogram { width: 92px; height: 92px; }
.monogram::before, .avatar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--orange), var(--magenta), var(--teal), var(--orange)); animation: spin 5s linear infinite; }
.monogram::after, .avatar::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); }
.monogram span, .avatar span { position: relative; z-index: 1; }

/* Valeurs */
.values { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { position: relative; padding: 34px 28px 38px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
@media (min-width: 720px) { .values li { border-right: 1px solid var(--line); } }
.values li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(242, 122, 15, .14), rgba(229, 21, 122, .06)); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.values li:hover::before { transform: none; }
.values .num { display: block; font: 800 3.2rem/1 'Sora', sans-serif; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); margin-bottom: 22px; transition: color .5s, -webkit-text-stroke-color .5s; }
.values li:hover .num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.values h3 { font-size: 1.3rem; margin-bottom: 10px; }
.values p { color: var(--muted); font-size: 15px; }

/* Références (carrousel automatique) */
.hscroll { position: relative; background: var(--bg-2); padding: clamp(90px, 12vw, 130px) 0; }
.hs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 48px; }
.hs-meter { display: flex; align-items: baseline; gap: 8px; min-width: 190px; flex-wrap: wrap; }
.hs-count { font: 800 3rem/1 'Sora', sans-serif; letter-spacing: -.04em; }
.hs-total { color: var(--muted); font-weight: 600; }
.hs-bar { flex-basis: 100%; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 10px; }
.hs-bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(.14); }
.hs-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 28px; max-width: 100%; }
@media (max-width: 400px) { .hs-meter { min-width: 0; flex: 1 1 150px; } .hs-arrow { width: 48px; height: 48px; } }
.hs-arrows { display: flex; gap: 10px; }
.hs-arrow {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--fg);
  transition: background .35s, border-color .35s, color .35s, transform .4s var(--ease);
}
.hs-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-arrow:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
/* Carrousel : la piste est déplacée en JS, en boucle infinie */
.hs-viewport {
  overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hs-viewport.dragging { cursor: grabbing; }
.hs-viewport img, .hs-viewport a { -webkit-user-drag: none; }
.hs-track { display: flex; gap: 20px; width: max-content; padding: 10px 0 30px max(16px, calc((100vw - 1240px) / 2)); will-change: transform; }
.ref { width: min(82vw, 400px); min-height: 350px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(170deg, var(--surface-2), var(--surface)); }
.ref-num { font: 800 4.6rem/1 'Sora', sans-serif; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 122, 15, .7); margin-bottom: auto; transition: color .5s; }
.ref:hover .ref-num { color: var(--orange); }
.ref h3 { font-size: 1.22rem; line-height: 1.3; }
.ref-meta { color: var(--muted); font-size: 14px; }
.ref-meta a { color: var(--teal); }

/* Équipe */
.team { display: grid; gap: 18px; }
@media (min-width: 680px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { display: flex; flex-direction: column; gap: 10px; }
.avatar { width: 64px; height: 64px; font-size: 1.5rem; margin-bottom: 12px; }
.avatar::before { animation-play-state: paused; }
.member:hover .avatar::before { animation-play-state: running; }
.avatar::after { background: var(--surface); }
.member h3 { font-size: 1.2rem; }
.member .role { color: var(--orange-2); font-weight: 600; font-size: 14px; }
.member p:not(.role) { color: var(--muted); font-size: 15px; }
.lead-member { background: linear-gradient(160deg, rgba(242, 122, 15, .16), var(--surface) 60%); }
.lead-member .avatar::after { background: #221A19; }
@media (min-width: 1100px) { .lead-member { grid-row: span 2; justify-content: flex-end; } .lead-member .avatar { width: 96px; height: 96px; font-size: 2.2rem; } .lead-member h3 { font-size: 1.6rem; } }

/* Chiffres */
.figures { overflow: hidden; }
.figures-bg {
  position: absolute; top: 50%; left: 0; z-index: 0; white-space: nowrap; pointer-events: none;
  font: 800 clamp(8rem, 28vw, 24rem)/1 'Sora', sans-serif; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  transform: translate(var(--px, 0), -50%);
}
.figures .container { position: relative; z-index: 1; }
.figs { display: grid; gap: 18px; }
@media (min-width: 640px) { .figs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .figs { grid-template-columns: repeat(4, 1fr); } }
.fig { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(22, 22, 31, .6); backdrop-filter: blur(8px); }
.fig strong {
  display: block; font: 800 clamp(3.4rem, 6vw, 5rem)/1 'Sora', sans-serif; letter-spacing: -.05em; margin-bottom: 16px;
  background: var(--grad); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
}
.fig sup { font-size: .5em; vertical-align: top; position: relative; top: .25em; }
.fig p { color: var(--muted); font-size: 15px; }

/* Méthode */
.method { display: grid; gap: 40px; }
@media (min-width: 980px) { .method { grid-template-columns: .85fr 1.15fr; gap: 80px; } .sticky-head { position: sticky; top: 130px; align-self: start; } }
.timeline { position: relative; padding-left: 70px; display: grid; gap: 56px; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: rgba(21, 19, 27, .1); }
.tl-fill { position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: var(--grad); background-size: 100% 300%; transform-origin: top; transform: scaleY(0); }
.step { position: relative; }
.node {
  position: absolute; left: -70px; top: -4px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.2rem 'Sora', sans-serif; background: var(--cream); border: 2px solid rgba(21, 19, 27, .14); color: var(--ink-muted);
  transition: background .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.step.active .node { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 0 8px rgba(242, 122, 15, .15); transform: scale(1.08); }
.step-phase { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.step p:not(.step-phase) { color: var(--ink-muted); max-width: 56ch; }

/* Différenciateurs */
.why { display: grid; gap: 18px; }
@media (min-width: 760px) { .why { grid-template-columns: repeat(2, 1fr); } }
.why-card { display: flex; flex-direction: column; gap: 16px; min-height: 260px; }
.why-card h3 { font-size: 1.35rem; margin-top: 10px; }
.why-card p { color: var(--muted); font-size: 15px; }

/* Contact */
.contact { overflow: hidden; }
.contact .container { position: relative; z-index: 1; }
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contact-info { display: grid; gap: 12px; }
.info {
  display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 18px; text-decoration: none;
  border: 1px solid var(--line); background: rgba(22, 22, 31, .55); backdrop-filter: blur(8px);
  transition: border-color .4s, background .4s, transform .5s var(--ease);
}
a.info:hover { border-color: rgba(242, 122, 15, .5); background: rgba(242, 122, 15, .08); transform: translateX(6px); }
.info .icon { width: 46px; height: 46px; border-radius: 14px; }
.info .icon svg { width: 21px; height: 21px; }
.info small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info span:last-child { font-weight: 500; word-break: break-word; }
.info em { font-style: normal; font-size: 13px; color: var(--muted); }
.partners { margin-top: 22px; }
.chips.big li { padding: 9px 16px; font-size: 13.5px; }

.form { display: grid; gap: 16px; background: rgba(22, 22, 31, .82); backdrop-filter: blur(14px); }
.form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  color: var(--fg); font: 15px 'Inter', sans-serif; outline: none; resize: vertical; transition: border-color .3s, background .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A3A1AE' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: var(--surface); color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: rgba(242, 122, 15, .05); box-shadow: 0 0 0 4px rgba(242, 122, 15, .12); }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.fixed { transform: translateY(-10px) scale(.78); color: var(--orange-2); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--magenta); }
.form-note { min-height: 1.4em; font-size: 14px; color: var(--teal); }
.form-note.err { color: #FF6FA9; }

/* Pied de page */
.footer { position: relative; padding: 80px 0 30px; border-top: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.footer-big {
  display: block; text-decoration: none; text-align: center; white-space: nowrap;
  font: 800 clamp(2.4rem, 10.5vw, 10rem)/1 'Sora', sans-serif; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18);
  background: var(--grad); background-size: 0% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.2s var(--ease);
  margin-bottom: 60px;
}
.footer-big:hover, .footer-big.in { background-size: 100% 100%; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: center; } }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .logo-mark { width: 64px; height: 64px; }
.footer-brand strong { color: var(--fg); font-family: 'Sora', sans-serif; font-size: 16px; }
.footer-acts { color: var(--orange-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; color: var(--muted); }
.to-top { text-decoration: none; }
.to-top:hover { color: var(--orange-2); }

/* ── Mouvement réduit ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .wi, .js .hero [data-hero] { opacity: 1 !important; transform: none !important; }
  .grain { display: none; }
  .js #preloader { display: none; }
}

/* Très petits écrans : les mots les plus longs des titres doivent tenir sur une ligne */
@media (max-width: 360px) {
  .section h2, .hscroll h2 { font-size: 1.85rem; }
  .hero h1 { font-size: 2.6rem; }
}

/* ============================================================
   Photos
   ============================================================ */

/* Hero : photo en fond, fondue vers le texte */
.hero-photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center 30%;
  opacity: .32; filter: saturate(1.15) sepia(.12);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .25) 0%, #000 55%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .25) 0%, #000 55%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 20% 50%, rgba(11, 11, 16, .75), transparent 60%), linear-gradient(180deg, transparent 60%, var(--bg)); }
.pole-img { position: relative; margin: calc(-1 * clamp(24px, 3vw, 34px)) calc(-1 * clamp(24px, 3vw, 34px)) 8px; height: 190px; overflow: hidden; }
.pole-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pole-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--surface)); }
.card:hover .pole-img img { transform: scale(1.07); }
/* Hero : zoom lent façon cinéma */
.hero-photo { opacity: .42; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

/* Bandeaux photo plein écran */
.impact { position: relative; overflow: hidden; min-height: 78vh; display: flex; align-items: center; isolation: isolate; }
.impact-img {
  position: absolute; inset: -18% 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(1.1) contrast(1.05);
  transform: translate3d(0, var(--py, 0), 0) scale(1.06); will-change: transform;
}
.impact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 16, .88) 0%, rgba(11, 11, 16, .45) 55%, rgba(11, 11, 16, .15) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.impact-inner { padding-block: 120px; }
.impact h2 { font-size: clamp(2.2rem, 6.4vw, 5.6rem); line-height: 1.02; max-width: 14ch; margin: 14px 0 22px; }
.impact-sub { color: rgba(255, 255, 255, .88); text-shadow: 0 2px 14px rgba(0, 0, 0, .7); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; }
@media (max-width: 640px) { .impact { min-height: 64vh; } .impact-inner { padding-block: 90px; } }
@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; } .impact-img { transform: none; } }
