@property --accent { syntax: '<color>'; inherits: true; initial-value: #ff2b2b; }

:root {
  --bg: #09090a;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: rgba(255, 255, 255, .1);
  --fg: #f3f0ea;
  --mute: #8d8c88;
  --ink: #09090a;
  --accent: #ff2b2b;
  --maxw: 1240px;
  --pad: max(clamp(16px, 5vw, 96px), calc((100vw - var(--maxw)) / 2));
  --cw: calc(100vw - 2 * var(--pad));
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { transition: --accent .7s ease; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.mono b { font-weight: 500; color: var(--fg); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.dot--rec { background: #ff3b30; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.line { display: block; overflow: hidden; padding-top: .08em; margin-top: -.08em; }
.line > span { display: block; }

/* ---------- ambiance ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.glow {
  position: fixed; left: 0; top: 0; width: 60vmax; height: 60vmax; margin: -30vmax 0 0 -30vmax; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  transform: translate(70vw, 20vh);
}
main { position: relative; z-index: 1; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; display: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent);
  mix-blend-mode: difference; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease);
  align-items: center; justify-content: center; opacity: 0;
}
.cursor.is-live { opacity: 1; }
.cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; white-space: nowrap; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: flex; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: var(--pad); }
.loader__top, .loader__bottom { display: flex; justify-content: space-between; }
.loader__num { font-family: var(--display); font-size: clamp(120px, 28vw, 420px); line-height: .8; color: var(--accent); align-self: flex-end; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--line); }
.loader__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); }
.nav::before { content: ''; position: absolute; inset: 0 0 -24px 0; z-index: -1; background: linear-gradient(var(--bg) 20%, transparent); pointer-events: none; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.nav__logo img { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14); flex: none; }
@media (max-width: 520px) { .nav__logo { font-size: 15px; gap: 8px; } .nav__logo img { width: 30px; height: 30px; } .nav__cta { padding: 9px 12px; font-size: 12.5px; } }
.nav__links { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(18, 18, 20, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__links a { padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--mute); transition: color .25s, background .25s; }
.nav__links a:hover, .nav__links a.is-on { color: var(--ink); background: var(--accent); }
.nav__cta { font-size: 13px; font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 18, 20, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .25s; }
.nav__cta:hover { border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 15px; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.fill { fill: currentColor; stroke: none; }
.btn:hover { border-color: var(--fg); background: var(--fg); color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--xl { padding: 20px 30px; font-size: clamp(15px, 1.5vw, 19px); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; padding: 92px var(--pad) 100px; display: flex; flex-direction: column; gap: clamp(24px, 4vh, 48px); }
.hero__meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hero__main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.6vh, 28px); }
.hero__pill { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); background: rgba(18, 18, 20, .6); }
.hero__pill .dot { animation: blink 1.6s ease-in-out infinite; }
.hero__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, calc(var(--cw) * .053), 72px); line-height: 1; letter-spacing: 0; }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: #cfccc5; max-width: 44ch; }
.hero__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__proof { display: flex; align-items: center; gap: 16px; padding-top: clamp(14px, 2vh, 22px); border-top: 1px solid var(--line); align-self: stretch; }
.hero__proof p { font-size: 14px; line-height: 1.5; color: var(--mute); }
.hero__proof b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--accent); margin-right: 4px; letter-spacing: .01em; }
.hero__faces { display: flex; flex: none; padding-left: 12px; }
.hero__faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -12px; background: var(--bg-3); }

.hero__visual { position: relative; height: min(60svh, 540px); min-height: 380px; }
.hcard { position: absolute; top: 50%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--bg-3); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transition: rotate .6s var(--ease), scale .6s var(--ease), border-color .3s; }
.hcard video { width: 100%; height: 100%; object-fit: cover; }
.hcard--1 { height: 100%; left: 50%; translate: -50% -50%; z-index: 2; }
.hcard--0, .hcard--2 { height: 80%; z-index: 1; }
.hcard--0 { left: 0; translate: 0 -50%; rotate: -7deg; }
.hcard--2 { right: 0; translate: 0 -50%; rotate: 7deg; }
.hcard:hover { rotate: 0deg; scale: 1.03; z-index: 3; border-color: var(--accent); }
.hcard__chip { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(9, 9, 10, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); }
.hcard__chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.hcard__chip span { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.hcard__chip b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard__chip small { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

/* ---------- showreel (carte contenue) ---------- */
.reel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px 32px; align-items: start; padding: clamp(56px, 7vw, 110px) var(--pad) 0; }
.reel__label p { margin-top: 8px; color: var(--mute); font-size: 14px; max-width: 22ch; }
.reel__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.reel__video { width: 100%; height: 100%; object-fit: cover; }
.reel__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .5)); pointer-events: none; }
.reel__hud span { position: absolute; top: 16px; color: var(--fg); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.reel__hud .tl { left: 18px; } .reel__hud .tr { right: 18px; }
.reel__play { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(9, 9, 10, .55); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s; }
.reel__play svg { width: 32px; height: 32px; padding: 9px; border-radius: 50%; background: var(--accent); fill: var(--ink); }
.reel__play:hover { background: var(--fg); color: var(--ink); }

/* ---------- ils m'ont fait confiance ---------- */
.trust { position: relative; z-index: 1; background: var(--bg); border-block: 1px solid var(--line); padding: clamp(40px, 5vw, 72px) 0; }
.trust__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap-reverse; padding: 0 var(--pad); margin-bottom: clamp(24px, 3vw, 40px); }
.trust__head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, calc(var(--cw) * .062), 76px); line-height: .95; }
.trust__rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.trust__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.trust__rail:hover .trust__track, .trust__track:focus-within { animation-play-state: paused; }
.tcard { display: flex; align-items: center; gap: 14px; margin-right: 14px; padding: 10px 26px 10px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); transition: border-color .3s, background .3s, color .3s; }
.tcard__pp { position: relative; flex: none; width: clamp(52px, 5vw, 68px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); font-family: var(--display); font-size: 20px; color: var(--accent); }
.tcard__pp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard__n { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; white-space: nowrap; }
.tcard:hover { border-color: var(--accent); background: var(--accent); color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.work, .services, .about, .contact { padding: clamp(80px, 11vw, 180px) var(--pad) 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px 32px; margin-bottom: clamp(32px, 5vw, 72px); align-items: start; }
.head__k { padding-top: .9em; }
.head__t { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, calc(var(--cw) * .105), 130px); line-height: .92; grid-column: 2; }
.head__p { grid-column: 2; max-width: 48ch; color: #cfccc5; font-size: clamp(15px, 1.2vw, 18px); }

/* ---------- work ---------- */
.work__grid { scroll-margin-top: 76px; display: grid; grid-template-columns: clamp(240px, 24vw, 340px) minmax(0, 1fr); gap: 32px; }
.clients { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.client { display: grid; grid-template-columns: 28px 1fr auto; align-items: baseline; gap: 8px; text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--mute); transition: color .3s, padding .4s var(--ease); position: relative; }
.client__n { font-family: var(--display); text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1.08; }
.client__m { font-size: 10px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.client:hover { color: var(--fg); padding-left: 8px; }
.client.is-on { color: var(--accent); padding-left: 14px; }
.client.is-on .client__m, .client:hover .client__m { opacity: 1; transform: none; color: inherit; }
.client.is-on::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); }

.stage { --mh: clamp(320px, 56vh, 600px); position: relative; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(16px, 2vw, 28px); overflow: hidden; }
.stage::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 220px; background: linear-gradient(color-mix(in srgb, var(--accent) 14%, transparent), transparent); pointer-events: none; }
.stage__head { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.stage__logo { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); flex: none; font-family: var(--display); font-size: 18px; color: var(--accent); }
.stage__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__id { flex: 1 1 220px; min-width: 0; }
.stage__name { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 44px); line-height: 1; }
.stage__blurb { color: #cfccc5; font-size: 14px; margin-top: 4px; }
.stage__subs { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.stage__subs b { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1; color: var(--accent); white-space: nowrap; }
.stage__subs span { font-size: 10px; line-height: 1.35; color: var(--fg); }
.stage__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); }
.stage__links { display: flex; gap: 8px; }
.pill { font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.pill:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.pill--accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.media { position: relative; display: flex; gap: 12px; margin: auto; width: 100%; }
.media--grid { display: grid; grid-template-columns: 1fr 1fr; max-width: calc(var(--mh) * 1.7778 + 12px) !important; }
.m { position: relative; flex-basis: 0; min-width: 0; border-radius: 18px; overflow: hidden; background: var(--bg-3); cursor: pointer; isolation: isolate; }
.m--v { aspect-ratio: 9 / 16; flex-grow: .5625; }
.m--h { aspect-ratio: 16 / 9; flex-grow: 1.7778; }
.m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s, transform .8s var(--ease); }
.m.is-ready video { opacity: 1; }
.m:hover video { transform: scale(1.04); }
.m::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.m.is-ready::before, .m.is-error::before { animation: none; background: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.m__tag { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--accent); color: var(--ink); border: 0; }
.m__n { position: absolute; right: 12px; bottom: 10px; z-index: 2; color: var(--fg); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.m__err { position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 12px; }
.m.is-error .m__err { display: grid; }

/* ---------- services (bloc compact) ---------- */
.services { padding-top: clamp(56px, 7vw, 110px); }
.services__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.services__head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }
.svc-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.svc { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .3s; }
.svc:hover { border-color: var(--accent); }
.svc h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.05; }
.svc p { color: var(--mute); font-size: 13.5px; line-height: 1.45; }
.svc__i { color: var(--accent); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 32px; align-items: start; }
.about__photo { position: sticky; top: 90px; border-radius: 24px; overflow: hidden; background: var(--bg-2); aspect-ratio: 3 / 4; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.about__photo:hover img { filter: none; }
.about__photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; color: var(--fg); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.about__big { font-size: clamp(26px, 3.8vw, 64px); line-height: 1.08; letter-spacing: -.02em; font-weight: 500; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 5vw, 64px); }
.roles li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); min-height: 150px; transition: border-color .3s; }
.roles li:hover { border-color: var(--accent); }
.roles b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; margin-top: auto; }
.roles a, .roles__n { font-size: 13px; color: var(--mute); }
.roles a:hover { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: 20px; }
.stats dt { font-family: var(--display); font-size: clamp(56px, 8vw, 130px); line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.stats dd { color: var(--mute); font-size: 14px; max-width: 24ch; margin-top: 8px; }

/* ---------- contact ---------- */
.contact { padding-bottom: 76px; }
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: 32px; background: var(--bg-2); border: 1px solid var(--line); }
.cta::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; left: -20%; top: -60%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); pointer-events: none; }
.cta__copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta__t { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, calc(var(--cw) * .05), 64px); line-height: 1; }
.cta__t em { display: block; }
.cta__copy p { color: #cfccc5; max-width: 42ch; font-size: clamp(15px, 1.2vw, 18px); }
.cta__side { position: relative; display: flex; flex-direction: column; }
.cta__me { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; }
.cta__me img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--bg-3); }
.cta__me b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.cta__me .mono { color: var(--fg); }
.cta__row { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; padding: 16px 4px; border-top: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.cta__row b { font-weight: 500; font-size: clamp(16px, 1.4vw, 20px); }
.cta__row i { font-style: normal; color: var(--mute); transition: color .3s, transform .4s var(--ease); }
.cta__row:hover { padding-left: 12px; color: var(--accent); }
.cta__row:hover i { color: var(--accent); transform: translate(3px, -3px); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 8vw, 120px); padding-top: 18px; border-top: 1px solid var(--line); }
.foot a:hover { color: var(--accent); }

/* ---------- timeline HUD ---------- */
.hud { position: fixed; left: var(--pad); right: var(--pad); bottom: 14px; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 18, 20, .65); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hud__s { min-width: 76px; color: var(--accent); }
.hud__tc { color: var(--fg); font-variant-numeric: tabular-nums; }
.hud__bar { position: relative; flex: 1; height: 14px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 12px) center / auto 6px no-repeat; }
.hud__bar i { position: absolute; left: 0; top: 6px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hud__bar b { position: absolute; top: 0; left: 0; width: 2px; height: 14px; background: var(--fg); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(5, 5, 6, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr; align-items: center; gap: 12px; padding: 16px var(--pad) 24px; }
.lb[hidden] { display: none; }
.lb__top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lb__top span:first-child { color: var(--accent); }
.lb__close { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); }
.lb__close:hover, .lb__nav:hover { background: var(--fg); color: var(--ink); }
.lb__stage { min-width: 0; height: 100%; min-height: 0; display: grid; place-items: center; }
.lb__stage video { max-width: 100%; max-height: calc(100svh - 110px); border-radius: 16px; background: #000; }
.lb__nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .25s, color .25s; }
.lb__nav[disabled] { opacity: .25; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hide-s { display: none; }
  .hero { padding-top: 84px; }
  .hero__main { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { height: 400px; min-height: 0; max-width: 440px; width: 100%; margin-inline: auto; }
  .head { grid-template-columns: 1fr; }
  .head__t, .head__p { grid-column: 1; }
  .head__k { padding-top: 0; }
  .reel { grid-template-columns: minmax(0, 1fr); }
  .reel__label p { max-width: none; }
  .reel__frame { border-radius: 18px; }

  .work__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .clients { flex-direction: row; overflow-x: auto; gap: 8px; border: 0; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad) 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .clients::-webkit-scrollbar { display: none; }
  .client { display: block; flex: none; padding: 9px 16px !important; border: 1px solid var(--line); border-radius: 999px; scroll-snap-align: center; }
  .client__i, .client__m, .client.is-on::before { display: none; }
  .client__n { font-size: 18px; }
  .client.is-on { background: var(--accent); color: var(--ink); border-color: var(--accent); }
  .stage { border-radius: 22px; }
  .media, .media--grid { display: flex; width: auto; max-width: none !important; overflow-x: auto; margin-block: 0; margin-inline: calc(clamp(16px, 2vw, 28px) * -1); padding-inline: clamp(16px, 2vw, 28px); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .media::-webkit-scrollbar { display: none; }
  .m { flex: none; scroll-snap-align: center; }
  .m--v { height: min(62svh, 520px); }
  .m--h { width: 84%; align-self: center; }
  .m--v:only-child { margin-inline: auto; }
  .m--h:only-child { width: 100%; }

  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:last-child { grid-column: 1 / -1; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { position: relative; top: 0; max-width: 320px; }
  .roles, .stats { grid-template-columns: 1fr; }
  .roles li { min-height: 0; }
  .hud__s { min-width: 0; }
  .cta { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .cta .btn--xl { align-self: stretch; justify-content: center; padding: 18px 20px; font-size: 15px; }
  .lb { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; }
  .lb__stage { grid-column: 1 / -1; grid-row: 2; }
  .lb__nav--p { grid-row: 3; justify-self: end; } .lb__nav--n { grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   FINITION — couche de polish (surfaces, hiérarchie des titres, détails)
   ===================================================================== */

/* fond : grille très légère qui s'efface vers le bas */
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 84px 84px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 15%, transparent 75%); }

/* surfaces : même matière pour toutes les cartes */
.stage, .cta, .svc, .roles li, .stats > div, .tcard, .hero__pill { background: linear-gradient(180deg, #161618, #0f0f11); border: 1px solid rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 60px -40px rgba(0, 0, 0, .9); }
.reel__frame, .about__photo, .m, .hcard { border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }

/* titres de section : une seule échelle, raisonnable */
.work, .about, .contact { padding-top: clamp(64px, 8vw, 120px); }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }
.head__k { padding-top: 0; color: var(--accent); }
.head__t { font-size: clamp(30px, calc(var(--cw) * .046), 56px); line-height: 1; }
.head__p { max-width: 54ch; color: var(--mute); }
.trust__head h2 { font-size: clamp(28px, calc(var(--cw) * .04), 48px); line-height: 1; }
.trust__head { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-start; flex-wrap: nowrap; gap: 12px; }
.trust__head .mono, .reel__label .mono, .services__head .mono { color: var(--accent); }
.trust { background: linear-gradient(180deg, #0c0c0d, #09090a); }

main { overflow-x: clip; }

/* haut de page */
.btn--accent { box-shadow: 0 12px 32px -12px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn--accent:hover { box-shadow: none; }
.hero__visual::before { content: ''; position: absolute; inset: 8% 12%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 40%, transparent), transparent); filter: blur(50px); opacity: .55; pointer-events: none; }
.hero__title .line { padding-bottom: .16em; margin-bottom: -.16em; }
.mark { position: relative; display: inline-block; }
.scribble { position: absolute; left: -1%; right: -1%; bottom: -.13em; width: 102%; height: .16em; overflow: visible; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s var(--ease) 2.9s forwards; opacity: .9; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sticker { position: absolute; z-index: 4; left: 2%; top: 6%; padding: 9px 14px; border-radius: 14px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 600; rotate: -7deg; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); animation: bob 5s ease-in-out infinite; }
.sticker b { font-family: var(--display); font-weight: 400; font-size: 20px; margin-right: 3px; letter-spacing: .01em; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* projets */
.stage { border-radius: 28px; }
.stage::before { height: 280px; background: linear-gradient(color-mix(in srgb, var(--accent) 16%, transparent), transparent); }
.client { transition: color .3s, padding .4s var(--ease), background .3s; }
.client.is-on { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }

.media-rows { display: flex; flex-direction: column; gap: 12px; margin: auto; width: 100%; }
.media-rows .media { margin: 0 auto; }

/* services */
.svc { transition: border-color .3s, translate .4s var(--ease); }
.svc:hover { translate: 0 -4px; }

/* à propos */
.about__big { font-size: clamp(22px, 2.7vw, 38px); line-height: 1.2; letter-spacing: -.015em; }
.roles li { min-height: 0; padding: 18px 20px; }
.stats { border-top: 0; padding-top: 0; margin-top: 12px; }
.stats > div { padding: 18px 20px; border-radius: 20px; }
.stats dt { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.roles { margin-top: clamp(24px, 3vw, 40px); }

/* contact */
.cta { border-color: color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, .09)); }

@media (max-width: 900px) {
  .sticker { left: 0; top: 2%; font-size: 12px; padding: 7px 11px; }
  .client.is-on { background: var(--accent); }
  .stage { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .scribble path { stroke-dashoffset: 0; } }
