/* =========================================================
   Vous Construisez Demain — styles
   Charte : Anton (titres) · Inter (texte) · #000000 · #F5EA6C
   ========================================================= */
:root {
  --black: #000000;
  --white: #ffffff;
  --accent: #F5EA6C;
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-mute: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.12);
  --line-accent: rgba(245, 234, 108, 0.35);
  --surface: #0b0b0b;

  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 24px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--black); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.container { width: 100%; max-width: calc(1280px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--accent); }

.h-xl, .h-lg {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: 0.005em;
}
.h-xl { font-size: clamp(44px, 7vw, 104px); }
.h-lg { font-size: clamp(36px, 4.4vw, 60px); }

/* Révélation par mots */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.wi { display: inline-block; will-change: transform; }

/* =========================================================
   Boutons & liens
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 9999px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 50%;
  transform: translateY(101%) scale(1.5);
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before { transform: translateY(0) scale(1.5); border-radius: 0; }
.btn--primary { background: var(--accent); color: var(--black); }
.btn--primary::before { background: var(--white); }
.btn--outline { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--outline::before { background: var(--accent); }
.btn--outline:hover { color: var(--black); }
.btn--lg { padding: 18px 28px; font-size: 15px; }
.btn__icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn__text { position: relative; display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.btn__text > span { display: block; transition: transform .55s var(--ease); }
.btn:hover .btn__text > span { transform: translateY(-100%); }

.link-accent {
  position: relative;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
}
.link-accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-accent:hover::after { transform: scaleX(1); transform-origin: left; }

.tag {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 9999px;
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
}
.tag--accent { background: var(--accent); border-color: var(--accent); color: var(--black); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text);
  transition: background .35s, color .35s, border-color .35s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }

/* =========================================================
   Préchargement
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--black);
}
.preloader__logo { width: min(460px, 72vw); opacity: 0; transform: translateY(20px); }
.preloader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute);
}
.preloader__count { font-family: var(--display); font-size: clamp(72px, 13vw, 180px); line-height: .8; color: var(--accent); font-variant-numeric: tabular-nums; }
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.06); }
.preloader__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   Curseur / progression / grain
   ========================================================= */
.cursor { display: none; }
.has-cursor { cursor: none; }
/* Curseur « D » du logo sur tout ce qui est cliquable (ordinateur uniquement) */
@media (hover: hover) and (pointer: fine) {
  a[href], button:not(:disabled), [role="button"], label[for], summary {
    cursor: url("../assets/cursor-d.svg?v=3") 11 1, pointer;
  }
}
.cursor__dot, .cursor__ring { transition-property: width, height, margin, background, border-color, opacity; }
.cursor.is-off .cursor__dot, .cursor.is-off .cursor__ring { opacity: 0; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 999; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(245,234,108,.55);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s;
}
.cursor__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--black); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease); }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(245,234,108,.14); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: .85; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.grain {
  position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .05;
  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");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); }
  60% { transform: translate(-6%,-2%); } 80% { transform: translate(5%,4%); } 100% { transform: translate(0,0); }
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 30px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(0,0,0,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { margin-right: auto; }
.nav__logo img { height: 38px; width: auto; transition: transform .5s var(--ease); }
.nav__logo:hover img { transform: scale(1.05) rotate(-2deg); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text); transition: color .3s; }
.nav__links a::before {
  content: ""; position: absolute; left: 50%; top: -10px; width: 6px; height: 6px; margin-left: -3px;
  background: var(--accent); transform: translateY(-6px) rotate(45deg);
  opacity: 0; transition: opacity .3s, transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--accent); }
.nav__links a:hover::before, .nav__links a.is-active::before { opacity: 1; transform: rotate(45deg); }
.nav__social { display: flex; gap: 8px; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 36px;
  padding: 120px var(--gutter) 48px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease);
  pointer-events: none;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a { font-family: var(--display); text-transform: uppercase; font-size: clamp(48px, 14vw, 80px); line-height: 1.02; display: flex; align-items: flex-start; gap: 12px; }
.menu__links small { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 12px; letter-spacing: .05em; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; pointer-events: none;
  background: radial-gradient(circle, rgba(245,234,108,.09), transparent 60%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(30px, 5vw, 80px); }
.hero__tags { display: flex; gap: 8px; margin-bottom: 30px; }
.hero__brand { margin: 0 0 30px; font-weight: 400; }
.hero__logo { width: 100%; max-width: 620px; height: auto; }
.hero__mention {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__lead { margin: 0 0 36px; max-width: 520px; color: var(--text); font-size: clamp(17px, 1.4vw, 20px); font-weight: 400; }
.hero__ctas { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.hero__right { position: relative; min-width: 0; }

/* Mosaïque de photos flottantes */
.mosaic {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;          /* l'animation reste dans la colonne */
  isolation: isolate;
  background: transparent;
}
.tile {
  --zoom: 1;
  position: absolute; margin: 0;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  z-index: var(--z);
  will-change: transform;
}
.tile__in { width: 100%; height: 100%; }
.tile__float {
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 6px;
  outline: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6);
  animation: tileFloat var(--dur, 7s) ease-in-out var(--del, 0s) infinite alternate;
  transition: outline-color .4s, box-shadow .4s;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: scale(calc(var(--zoom) * 1.06));
  transform-origin: var(--pos, 50% 50%);
  transition: transform 1.2s var(--ease);
}
.tile:hover img { transform: scale(calc(var(--zoom) * 1.14)); }
.tile:hover .tile__float { outline-color: var(--accent); }
.tile--main .tile__float { border-radius: 8px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.6); }
.tile--sm .tile__float { border-radius: 5px; }
.tile--xs .tile__float { border-radius: 4px; outline: 1.5px solid var(--accent); }
@keyframes tileFloat {
  0%   { transform: translate3d(0, -5px, 0) rotate(-.35deg); }
  100% { transform: translate3d(0, 6px, 0) rotate(.35deg); }
}
.tile__corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent); pointer-events: none; }
.tile__corner--tl { left: -8px; top: -8px; border-right: 0; border-bottom: 0; }
.tile__corner--br { right: -8px; bottom: -8px; border-left: 0; border-top: 0; }
.level {
  position: absolute; right: 0; top: var(--y); z-index: 10;
  padding: 3px 7px; border-radius: 4px;
  background: var(--black); color: var(--accent);
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  pointer-events: none;
}
.level::before { content: ""; position: absolute; right: 100%; top: 50%; width: 18px; height: 1px; background: var(--accent); opacity: .6; }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 30px;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute);
}
.hero__scroll i { position: relative; width: 60px; height: 1px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { padding: 30px 0; overflow: hidden; background: var(--accent); color: var(--black); transform: rotate(-1.5deg); margin: 30px -2vw; }
.marquee__row { display: flex; white-space: nowrap; }
.marquee__track { display: flex; align-items: center; flex-shrink: 0; gap: 36px; padding-right: 36px; will-change: transform; }
.marquee__track span { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 6vw, 84px); line-height: 1.05; }
.marquee__track b { font-size: clamp(20px, 2.4vw, 34px); font-weight: 400; }

/* =========================================================
   Arrière-plan : plans d'architecte
   ========================================================= */
main, .footer { position: relative; z-index: 1; }
.bp { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bp--static { position: absolute; bottom: auto; }
.bp__layer { position: absolute; left: 0; top: 0; width: 100%; overflow: visible; will-change: transform; }
.bp__layer--far { opacity: .45; }
.bp__layer--mid { opacity: .85; }
.bp path, .bp line, .bp circle, .bp rect, .hero__trace path, .hero__trace circle { fill: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.bp .y, .hero__trace .y { stroke: rgba(245, 234, 108, .42); }
.bp .y2, .hero__trace .y2 { stroke: rgba(245, 234, 108, .75); stroke-width: 1.25; }
.bp .g, .hero__trace .g { stroke: rgba(255, 255, 255, .17); }
.bp .h, .hero__trace .h { stroke: rgba(255, 255, 255, .1); }
.bp .dot, .hero__trace .dot { fill: var(--black); stroke: rgba(245, 234, 108, .8); stroke-width: 1.25; }
.bp text, .hero__trace text {
  fill: rgba(255, 255, 255, .42); stroke: none;
  font-family: var(--font); font-size: 10px; font-weight: 600; letter-spacing: .14em;
}
.bp text.ty, .hero__trace text.ty { fill: rgba(245, 234, 108, .7); }
.bp .d, .hero__trace .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bp--done .d { stroke-dashoffset: 0; }

/* Tracés autour de la mosaïque */
.hero__trace {
  position: absolute; z-index: 0; pointer-events: none; overflow: visible;
  left: -28px; top: -40px; width: calc(100% + 28px); height: calc(100% + 40px);
}

/* Mise en page « Dala » : scènes aérées, blocs alternés */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 96px); }
.split__visual { aspect-ratio: 1.15 / 1; }
.split__content .h-xl { font-size: clamp(44px, 5.6vw, 88px); }

/* =========================================================
   Pourquoi participer
   ========================================================= */
.why { padding: clamp(140px, 18vw, 240px) 0 clamp(80px, 10vw, 140px); }

.manifesto { padding: clamp(100px, 16vw, 220px) 0; }
.manifesto__text {
  margin: 0 auto; max-width: 1080px; text-align: center;
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 400; line-height: 1.25; letter-spacing: -0.02em;
}
.manifesto__text .sw { opacity: .16; }
.manifesto__text .sw.hl { color: var(--accent); }

.benefits-wrap { padding: 0 0 clamp(120px, 14vw, 200px); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.benefit { position: relative; padding: 6px 0 0 24px; border-left: 1px solid var(--line-accent); }
.benefit::before { content: ""; position: absolute; left: -4px; top: 0; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.benefit__n { display: block; font-family: var(--display); font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 36px; transition: color .4s; }
.benefit:hover .benefit__n { color: var(--accent); }
.benefit__t { margin: 0 0 14px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; }
.benefit p, .step p { margin: 0; color: var(--text-soft); font-size: 17px; }

/* =========================================================
   Déroulé : titre collant + étapes
   ========================================================= */
.steps { position: relative; padding: clamp(100px, 12vw, 180px) 0; }
.steps__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.steps__aside { position: sticky; top: 130px; }
.steps__cta { margin-top: 36px; }
.steps__list { position: relative; list-style: none; margin: 0; padding: 0 0 0 36px; }
.steps__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps__rail i { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.step {
  position: relative;
  display: grid; grid-template-columns: clamp(90px, 10vw, 150px) 1fr; gap: 24px; align-items: start;
  min-height: 52vh; padding: 12px 0 60px;
}
.step::before { content: ""; position: absolute; left: -40px; top: 22px; width: 9px; height: 9px; background: var(--black); border: 1.5px solid var(--accent); transform: rotate(45deg); }
.step__n {
  font-family: var(--display); font-size: clamp(110px, 11vw, 170px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  transition: color .5s;
}
.step:hover .step__n { color: var(--accent); }
.step__t { margin: 12px 0 12px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3vw, 46px); line-height: 1.02; }

/* =========================================================
   Thématiques
   ========================================================= */
.themes { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.themes__head { max-width: 900px; margin: 0 0 72px auto; text-align: right; }
.themes__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.theme {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) 48px; align-items: center; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.theme::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(245,234,108,.14), transparent 75%);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.theme:hover::before { transform: scaleY(1); }
.theme__n { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .05em; }
.theme__t { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 4vw, 58px); line-height: 1; transition: transform .6s var(--ease), color .4s; }
.theme__d { font-size: 16px; color: var(--text-soft); transition: color .4s; }
.theme__a { font-size: 30px; justify-self: end; color: var(--accent); transition: transform .6s var(--ease); }
.theme:hover .theme__t { transform: translateX(18px); color: var(--accent); }
.theme:hover .theme__d { color: var(--text); }
.theme:hover .theme__a { transform: rotate(45deg); }
.themes__list:hover .theme:not(:hover) .theme__t { color: rgba(255,255,255,.28); }

.themes__preview {
  position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
  width: 150px; height: 150px; margin: -75px 0 0 -75px;
  display: grid; place-items: center;
  opacity: 0; scale: .3;
  transition: opacity .4s, scale .6s var(--ease);
}
.themes__preview.is-on { opacity: 1; scale: 1; }
.themes__blob {
  position: absolute; inset: 0; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: var(--accent);
  animation: blob 6s linear infinite;
}
.themes__tri { position: relative; width: 52px; color: var(--black); } /* carré droit : pas de rotation */
.themes__label { position: absolute; bottom: -30px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@keyframes blob { 0% { transform: rotate(0); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } 50% { border-radius: 58% 42% 37% 63% / 56% 59% 41% 44%; } 100% { transform: rotate(360deg); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Vidéos
   ========================================================= */
.videos { padding: clamp(60px, 8vw, 120px) 0; }
.videos__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.shorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.short {
  position: relative; display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  isolation: isolate;
}
.short img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: grayscale(.6) brightness(.75); transition: transform 1s var(--ease), filter .6s; }
.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85)); z-index: 1; }
.short:hover img { transform: scale(1.1); filter: grayscale(0) brightness(.95); }
.short__play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--black);
  transition: transform .6s var(--ease);
}
.short__play svg { width: 26px; height: 26px; margin-left: 4px; }
.short:hover .short__play { transform: scale(1.18); }
.short__cta {
  position: absolute; left: 24px; bottom: 22px; z-index: 2;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  transition: transform .5s var(--ease);
}
.short:hover .short__cta { transform: translateX(6px); }

/* =========================================================
   Citation
   ========================================================= */
.statement { position: relative; padding: clamp(140px, 18vw, 260px) 0; text-align: center; }
.statement__bp { position: absolute; left: 50%; top: 50%; width: min(1100px, 92vw); aspect-ratio: 2.2 / 1; transform: translate(-50%, -50%); }
.statement .container { position: relative; }
.statement__text { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: 1; }
.statement__line { display: block; font-size: clamp(36px, 5.6vw, 84px); }
.statement__line--accent { margin-top: 18px; font-size: clamp(56px, 10vw, 150px); color: var(--accent); }

/* =========================================================
   Partenaires + invités
   ========================================================= */
.duo { padding: 0 0 clamp(96px, 12vw, 160px); }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); }
.duo__col { padding-top: 36px; border-top: 1px solid var(--line-accent); }
.duo__text { margin: 24px 0 0; color: var(--text-soft); max-width: 520px; }
.soon { margin-top: 30px; padding: 30px; border-radius: var(--radius); border: 1px dashed var(--line-accent); }
.soon__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 9999px; background: var(--accent); color: var(--black);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.soon__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--black); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.soon__title { margin: 18px 0 0; font-size: 22px; font-weight: 600; }
.soon .duo__text { margin-top: 8px; }

/* =========================================================
   CTA final
   ========================================================= */
.final { position: relative; padding: clamp(160px, 18vw, 260px) 0; text-align: center; }
.final__bp { position: absolute; left: 50%; top: 50%; width: min(980px, 92vw); aspect-ratio: 1.35 / 1; transform: translate(-50%, -50%); }
.final__inner { position: relative; }
.final__title { margin: 0 auto; max-width: 1000px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 8.6vw, 132px); line-height: .95; }
.final__row { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap; margin-top: 48px; }
.final__text { margin: 0 auto; max-width: 620px; color: var(--text); }
.final__ctas { justify-content: center; }
.final .eyebrow { justify-content: center; }
.final__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.final__badge { position: absolute; right: var(--gutter); top: -120px; width: 200px; height: 200px; display: grid; place-items: center; }
.final__badge-inner {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--accent); color: var(--black);
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  transition: transform .6s var(--ease), background .4s;
}
.final__badge:hover .final__badge-inner { transform: scale(1.12); background: var(--white); }
.final__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.final__ring text { fill: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.final__badge:hover .final__ring { animation-duration: 5s; }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: 96px 0 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__contact .eyebrow { margin-bottom: 6px; }
.footer__phone { font-family: var(--display); font-size: clamp(40px, 5vw, 72px); line-height: 1; transition: color .3s; }
.footer__phone:hover { color: var(--accent); }
.footer__social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 9999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
  transition: background .35s, color .35s, border-color .35s;
}
.social-pill svg { width: 18px; height: 18px; }
.social-pill:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }
.footer__big {
  display: flex; justify-content: space-between;
  margin: 80px 0 30px;
  font-family: var(--display); font-size: clamp(44px, 17.5vw, 258px); line-height: .82;
  white-space: nowrap;
  color: var(--accent);
}
.footer__big span { display: inline-block; will-change: transform; transition: color .3s; }
.footer__big span:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); }
.footer__logo { height: 52px; width: auto; }
/* Carrés animés de la grille (canvas d'arrière-plan) */
.bp__squares { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Le titre reste dans la page (accessibilité, mesure), mais ce sont les carrés qui le dessinent */
.footer__big.is-squares span { color: transparent; }
.footer__br { display: none; }
.footer__pages { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__pages a { color: var(--text-mute); transition: color .3s; }
.footer__pages a:hover, .footer__pages a[aria-current="page"] { color: var(--accent); }

/* Lien de la page courante dans le menu */
.nav__links a[aria-current="page"] { color: var(--accent); }
.nav__links a[aria-current="page"]::before { opacity: 1; transform: rotate(45deg); }
.menu__links a[aria-current="page"] { color: var(--accent); }

/* =========================================================
   Pages intérieures
   ========================================================= */
.page-hero { position: relative; padding: clamp(170px, 20vw, 240px) 0 clamp(100px, 12vw, 160px); }
.page-hero__inner { max-width: 1100px; }
.page-title {
  margin: 0 0 32px;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 9vw, 140px); line-height: .92;
}
.page-title em { font-style: normal; color: var(--accent); }
.page-lead { margin: 0 0 40px; max-width: 640px; font-size: clamp(18px, 1.5vw, 21px); color: var(--text); }
.page-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.page-hero__mark { display: block; width: 9px; height: 9px; margin-top: 64px; background: var(--accent); }

.sub-section { position: relative; padding: clamp(120px, 14vw, 200px) 0; }
.sub-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(36px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sub-head p { margin: 0; color: var(--text-soft); max-width: 520px; }

/* Le format en chiffres */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.fact { padding: 6px 0 0 20px; border-left: 1px solid var(--line-accent); }
.fact__v { display: block; font-family: var(--display); font-size: clamp(44px, 4.6vw, 72px); line-height: 1; color: var(--accent); }
.fact__l { display: block; margin-top: 12px; font-size: 15px; color: var(--text-soft); }

/* Extraits détaillés */
.extract { display: flex; flex-direction: column; gap: 22px; }
.extract__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.extract__tags .tag { font-size: 11px; padding: 5px 10px; }
.extract__title { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2vw, 30px); line-height: 1.05; }
.extract__guest { margin: 0; font-size: 14px; font-weight: 600; color: var(--accent); }
.extract__text { margin: 0; font-size: 16px; color: var(--text-soft); }
.extracts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Bloc éditorial (à propos) */
.prose-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.prose-split p { margin: 0 0 20px; color: var(--text-soft); font-size: 18px; }
.prose-split p strong { color: var(--text); font-weight: 600; }

/* Mentions légales */
.legal { max-width: 820px; }
.legal h2 { margin: 64px 0 18px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-soft); font-size: 17px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.todo { display: inline-block; padding: 1px 8px; border: 1px dashed var(--accent); border-radius: 4px; color: var(--accent); font-size: .92em; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .extracts { gap: 14px; }
}
@media (max-width: 899px) {
  .sub-head, .prose-split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extracts { grid-template-columns: 1fr; gap: 64px; }
  .extract .short { max-width: 380px; }
}
@media (max-width: 1100px) {
  .nav__social { display: none; }
}
@media (max-width: 1024px) {
  .benefits { grid-template-columns: 1fr; }
  .shorts { gap: 14px; }
  .final__badge { display: none; }
}

@media (max-width: 899px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo img { height: 32px; }

  .hero { padding: 104px 0 80px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__logo { max-width: 520px; }
  .hero__scroll { display: none; }

  .split { grid-template-columns: 1fr; }
  .split__visual { display: none; }
  .steps__grid { grid-template-columns: 1fr; }
  .steps__aside { position: relative; top: 0; }
  .step { min-height: 0; grid-template-columns: 76px 1fr; padding-bottom: 56px; }
  .step__n { font-size: 96px; }
  .benefits { grid-template-columns: 1fr; gap: 48px; }
  .themes__head { text-align: left; margin-left: 0; }
  .hero__trace { left: -8px; width: calc(100% + 8px); }

  .theme { grid-template-columns: 32px 1fr 28px; gap: 8px 12px; padding: 22px 0; }
  .theme__d { grid-column: 2 / 3; grid-row: 2; font-size: 15px; }
  .theme__a { grid-row: 1; grid-column: 3; }
  .themes__preview { display: none; }

  .shorts { grid-template-columns: repeat(3, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .shorts::-webkit-scrollbar { display: none; }
  .short { scroll-snap-align: center; }

  .duo__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .btn--lg { padding: 16px 22px; font-size: 14px; }
  .hero__ctas { gap: 20px; }
  .final__ctas .btn { width: 100%; justify-content: center; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mobile : finitions ---------- */
/* La bande inclinée ne doit pas élargir la page */
main { overflow-x: clip; }

/* Le remplissage au survol dépassait en bas des boutons */
@media (hover: none), (max-width: 899px) {
  .btn::before { display: none; }
}

/* « SUIVEZ- / NOUS » sur deux lignes */
@media (max-width: 640px) {
  .footer__big { flex-wrap: wrap; justify-content: center; column-gap: .012em; row-gap: 0; margin: 96px 0 40px; font-size: 30.5vw; line-height: 1; }
  .footer__br { display: block; flex: 0 0 100%; height: 0; }
  .footer__pages { flex-direction: column; gap: 0; }
  .footer__pages a, .footer__bottom > .link-accent { padding: 12px 0; }
  .step { grid-template-columns: 60px 1fr; }
}
@media (max-width: 400px) {
  .page-title { font-size: 14.8vw; }
}

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