/* Creator Studio : feuille de style principale
   Layout : une page sombre, une forme 3D Ynov fixe qui voyage d'une ancre à l'autre au fil du scroll. */
:root {
  --bg: #0a0006;
  --bg-2: #110a10;
  --card: #17101a;
  --card-2: #1e1622;
  --ink: #eaf0eb;
  --muted: #b9bdb8;
  --dim: #6f6c72;
  --eyebrow: #ff84ef;
  --line: rgba(255, 255, 255, .09);

  --red: #ff1a1a;
  --pink: #ff84ef;
  --magenta: #ff84ef;
  --violet: #859cff;
  --yellow: #eeff57;

  --pole-3d: #ff1a1a;
  --pole-av: #ff84ef;
  --pole-design: #eeff57;
  --pole-mkt: #00eaff;

  --grad-title: linear-gradient(90deg, #ff84ef 0%, #c79bff 50%, #859cff 100%);
  --grad-warm: linear-gradient(90deg, #ff1a1a 0%, #ff84ef 48%, #eeff57 100%);
  --grad-ynov: linear-gradient(90deg, #ff1a1a 0.6%, #ff84ef 13%, #eeff57 27.9%, #5affb6 46.6%, #00eaff 61.5%, #859cff 79.7%, #4a8cff 89.2%, #018e4d 98.6%);

  --font: 'LT Superior', 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --step--1: clamp(.82rem, .78rem + .2vw, .92rem);
  --step-0: clamp(1rem, .95rem + .25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.3rem, 1.6rem + 3.2vw, 4.4rem);
  --step-4: clamp(2.8rem, 1.6rem + 6vw, 7.5rem);

  --radius: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--pink); color: #0a0008; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.grad {
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  margin: 0;
  font-size: var(--step--1);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

/* Placeholders : tout ce qui est marqué .ph sera remplacé par les textes définitifs */
.ph { color: var(--dim); font-style: normal; }
.ph::before {
  content: "À compléter";
  display: inline-block;
  margin-right: .6em;
  padding: .1em .55em;
  font-size: .72em;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px dashed rgba(255, 255, 255, .25);
  border-radius: 99px;
  color: var(--muted);
  vertical-align: .12em;
}
.ph-tag {
  display: inline-block;
  padding: .3em .8em;
  font-size: var(--step--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px dashed rgba(255, 255, 255, .3);
  border-radius: 99px;
  color: var(--muted);
}

/* ---------- Fixed layers ---------- */
.shapes { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0; }
.shapes__holder { position: absolute; left: 0; top: 0; will-change: transform; }
.shapes__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.sphere-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.grain {
  position: fixed;
  inset: -50%;
  z-index: 50;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--grad-ynov);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

main, .footer { position: relative; z-index: 2; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter-r) 18px var(--gutter);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(5, 3, 7, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.brand__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--pink) 30%, var(--magenta) 60%, var(--yellow) 120%);
  box-shadow: 0 0 14px rgba(255, 132, 239, .7);
}
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: .98rem; }
.nav a { position: relative; color: var(--muted); transition: color .25s; }
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--ink) !important;
  transition: background .3s, border-color .3s;
}
.nav__cta:hover { background: rgba(255, 132, 239, .14); border-color: var(--pink); }
.header__ynov img { width: 78px; height: auto; }
.burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: .01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn--grad { background: var(--grad-warm); color: #120008; }
.btn--grad::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--yellow), var(--pink) 50%, var(--red));
  opacity: 0;
  transition: opacity .5s;
  z-index: 0;
}
.btn--grad:hover::before { opacity: 1; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .25); }
.btn--ghost::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .08);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: 0;
}
.btn--ghost:hover::before { transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 120px 90px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.hero__text { display: grid; gap: 22px; min-width: 0; }
.hero__title {
  margin: 0;
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero__lead { margin: 0; max-width: 36ch; font-size: var(--step-1); color: var(--muted); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.hero__visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.sphere-anchor { pointer-events: none; }
.hero__visual .sphere-anchor {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(380px, 70%);
  aspect-ratio: 1;
  transform: translateY(-50%);
}
.tagline {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-shadow: 0 2px 24px rgba(5, 3, 7, .6);
}
.tagline span { display: block; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--dim);
}
.scroll-cue__line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--pink), transparent);
  animation: cue 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero : le texte et les boutons sont visibles dès l'arrivée, l'animation accompagne sans retarder.
   Avec "réduire les animations", tout s'affiche directement. */
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .hero .eyebrow, .js .hero__title, .js .hero__lead, .js .hero__actions, .js .tagline span { animation: heroIn .7s var(--ease) both; }
.js .hero__title { animation-delay: .05s; }
.js .hero__lead { animation-delay: .1s; }
.js .hero__actions { animation-delay: .15s; }
.js .tagline span:nth-child(2) { animation-delay: .1s; }
.js .tagline span:nth-child(3) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero .eyebrow, .js .hero__title, .js .hero__lead, .js .hero__actions, .js .tagline span { animation: none; }
  .grain { animation: none; }
  .manifesto { height: auto; }
  .manifesto__sticky { position: static; height: auto; padding-block: 80px; }
  .mword { grid-area: auto; opacity: 1; transform: none; filter: none; margin-bottom: 48px; }
  .manifesto__dots { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(5, 3, 7, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding-block: 18px;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-size: var(--step-1);
  white-space: nowrap;
  color: var(--muted);
}
.marquee__track i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad-warm);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto (pinned) ---------- */
.manifesto { position: relative; height: 240vh; }
.manifesto__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sphere-anchor--center {
  position: absolute;
  left: 50%; top: 50%;
  width: min(520px, 78vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.manifesto__words { position: relative; z-index: 1; display: grid; width: 100%; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.mword {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  opacity: 0;
  transform: translateY(40px) scale(.96);
  filter: blur(8px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.mword.is-active { opacity: 1; transform: none; filter: none; }
.no-js .mword { position: static; opacity: 1; transform: none; filter: none; }
.mword h2 {
  margin: 0;
  font-size: var(--step-4);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.01em;
  mix-blend-mode: difference;
  color: #fff;
}
.mword__label { font-size: var(--step--1); letter-spacing: .28em; text-transform: uppercase; color: var(--eyebrow); }
.mword p {
  margin: 0;
  max-width: 44ch;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(5, 3, 7, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--muted);
}
.mword__label { padding: 4px 12px; border-radius: 99px; background: rgba(5, 3, 7, .62); }
.manifesto__dots {
  position: absolute;
  right: var(--gutter-r);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
}
.manifesto__dots i {
  width: 6px; height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .15);
  transition: background .4s;
}
.manifesto__dots i.is-active { background: var(--grad-warm); }

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(90px, 12vw, 170px); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__title {
  margin: 0;
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
  max-width: 18ch;
}

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Poles ---------- */
.poles { background: linear-gradient(180deg, transparent, rgba(5, 3, 7, .85) 18%, var(--bg)); }
.poles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.pole {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 30px 32px 28px 36px;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  outline-offset: 3px;
  transition: transform .6s var(--ease), background .4s;
}
.pole::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c);
  transition: width .7s var(--ease);
  z-index: -1;
}
.pole__glow {
  position: absolute;
  width: 360px; height: 360px;
  left: var(--mx, 50%); top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
  pointer-events: none;
}
.pole:hover .pole__glow, .pole:focus-visible .pole__glow { opacity: 1; }
.pole:hover, .pole:focus-visible { transform: translateY(-4px); background: var(--card-2); }
.pole h3 { margin: 0; font-size: var(--step-2); font-weight: 400; line-height: 1.1; max-width: 16ch; }
.pole p { margin: 0; font-size: var(--step-0); }
.pole__more {
  position: absolute;
  right: 28px; top: 28px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--c);
  transform: rotate(-45deg);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.pole:hover .pole__more { transform: rotate(0); background: var(--c); color: #0a0008; }

/* ---------- Objective ---------- */
.objective__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.objective__head { position: relative; display: grid; gap: 16px; }
.sphere-anchor--small { width: 180px; aspect-ratio: 1; margin-top: 30px; }
.objective__list { list-style: none; margin: 0; padding: 0; display: grid; }
.objective__list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-1);
  line-height: 1.35;
}
.objective__list li:first-child { border-top: 1px solid var(--line); }
.bullet {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--grad-warm);
  transform: translateY(-2px);
}

/* ---------- Film ---------- */
.film__frame { margin: 0; display: grid; gap: 18px; }
.film__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 75% 40%, rgba(255, 132, 239, .28), transparent 70%),
    radial-gradient(50% 60% at 20% 80%, rgba(255, 26, 26, .2), transparent 70%),
    var(--bg-2);
  border-bottom: 4px solid transparent;
  border-image: var(--grad-warm) 1;
}
.film__screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film__placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 20px; }
.film__play {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(255, 132, 239, .5);
  animation: pulse 2.4s infinite;
  transition: transform .4s var(--ease);
}
.film__play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 132, 239, .45); } 70% { box-shadow: 0 0 0 28px rgba(255, 132, 239, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 132, 239, 0); } }
.film figcaption { color: var(--muted); font-size: var(--step-0); }

/* ---------- Profile ---------- */
.profile { padding-block: clamp(40px, 6vw, 80px); }
.profile__card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(36px, 6vw, 80px) clamp(28px, 6vw, 80px);
  border-radius: 14px;
  background: var(--grad-warm);
  background-size: 160% 100%;
  animation: shift 9s ease-in-out infinite alternate;
  color: #12000a;
  overflow: hidden;
}
@keyframes shift { from { background-position: 0 0; } to { background-position: 100% 0; } }
.profile__kicker { margin: 0; font-size: var(--step--1); letter-spacing: .24em; text-transform: uppercase; font-weight: 700; }
.profile__text { margin: 0; font-size: var(--step-3); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; max-width: 20ch; }
.profile__text strong { font-weight: 700; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.contact__grid > div:first-child { display: grid; gap: 18px; }
.contact__lead { margin: 0; font-size: var(--step-1); }
.form-slot {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 32px;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: rgba(20, 17, 24, .6);
}
.form-slot .ph-tag { justify-self: start; }
.form-slot__fields { display: grid; gap: 14px; }
.form-slot__fields i {
  display: block;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
}
.form-slot__fields i.tall { height: 120px; }
.form-slot__fields i.short { width: 42%; height: 50px; border-radius: 99px; background: var(--grad-warm); opacity: .35; animation: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 30px calc(30px + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: var(--step--1);
}
.footer__inner p { margin: 0; }
.footer__inner img { width: 70px; height: auto; }
.footer__bar { height: 4px; background: var(--grad-ynov); }

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .has-cursor .cursor { display: block; }
  .cursor__dot, .cursor__ring {
    position: fixed;
    left: 0; top: 0;
    z-index: 90;
    pointer-events: none;
    border-radius: 50%;
    transform: translate3d(-100px, -100px, 0);
  }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
  .cursor__ring {
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border: 1px solid rgba(255, 255, 255, .5);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor.is-hover .cursor__ring {
    width: 70px; height: 70px; margin: -35px 0 0 -35px;
    background: rgba(255, 132, 239, .12);
    border-color: var(--pink);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    font-size: 1.8rem;
    background: rgba(5, 3, 7, .96);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { color: var(--ink); }
  .header__ynov { margin-left: auto; }
  .burger {
    display: grid;
    gap: 7px;
    width: 44px; height: 44px;
    place-content: center;
    background: none;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
  }
  .burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero { padding-block: 110px 90px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { min-height: 300px; order: -1; }
  .hero__visual .sphere-anchor { width: min(260px, 62vw); right: 0; }
  .tagline { font-size: var(--step-2); }
  .poles__grid, .objective__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .sphere-anchor--small { display: none; }
    .manifesto__dots { display: none; }
}
@media (max-width: 520px) {
  .pole { min-height: 180px; padding: 24px 22px 22px 26px; }
  .pole__more { width: 36px; height: 36px; right: 18px; top: 18px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
}

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

/* =========================================================
   Pages de contenu (textes de l'équipe)
   ========================================================= */
.hero__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); font-weight: 700; letter-spacing: -.005em; }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 90px);
}
.about__head { display: grid; gap: 16px; }
.about__body { display: grid; gap: 22px; }
.about__lead { margin: 0; font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.about__place { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.about__place strong { color: var(--ink); font-weight: 700; }
.pin {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: var(--grad-warm);
  box-shadow: 0 0 0 5px rgba(255, 132, 239, .14);
}
.poles__label { margin-bottom: 18px; }
.poles__grid--compact .pole { min-height: 120px; align-content: center; }
.poles__grid--compact .pole h3 { font-size: var(--step-1); max-width: none; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 30px 28px;
  background: var(--bg);
  transition: background .5s var(--ease);
}
.service::before {
  content: "";
  width: 34px; height: 4px; border-radius: 4px;
  background: var(--c);
  transition: width .6s var(--ease);
}
.service:hover { background: var(--card); }
.service:hover::before { width: 72px; }
.service h3 { margin: 0; font-size: var(--step-1); font-weight: 700; line-height: 1.2; }
.service p { margin: 0; color: var(--muted); }

.audience__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.audience__grid > div:first-child { display: grid; gap: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px 22px 28px;
  border-radius: var(--radius);
  background: var(--card);
}
.step::after {
  content: "";
  position: absolute; left: 22px; right: 22px; top: 0;
  height: 2px;
  background: var(--grad-warm);
  opacity: .5;
}
.step__n {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 1.2rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin: 0 0 6px; font-size: var(--step-1); font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: var(--step-0); line-height: 1.45; }
.step strong { color: var(--ink); }
.steps__cta { margin-top: 36px; }

.good__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.good__item {
  display: grid; gap: 8px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.good__item h3 { margin: 0; font-size: var(--step-1); font-weight: 700; }
.good__item p { margin: 0; color: var(--muted); }
.good__item strong { color: var(--ink); }
.good__item--wide {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, rgba(255, 26, 26, .14), rgba(255, 132, 239, .14), rgba(238, 255, 87, .12));
  border-color: rgba(255, 132, 239, .3);
}
.good__item--wide p { color: var(--ink); font-size: var(--step-1); }

.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.member {
  display: grid;
  gap: 18px;
  padding: 18px 18px 24px;
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .5s var(--ease), background .4s;
}
.member:hover { transform: translateY(-4px); background: var(--card-2); }
.member__photo {
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: 6px;
  overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 40%),
    linear-gradient(135deg, var(--red), var(--pink) 45%, var(--violet) 75%, var(--yellow));
  filter: hue-rotate(calc(var(--h, 0) * .12deg));
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo span { font-size: 3rem; font-weight: 700; color: rgba(10, 0, 8, .75); }
.member__body { display: grid; gap: 4px; padding-inline: 6px; }
.member__pole { margin: 0; font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--eyebrow); }
.member__name { margin: 0; font-size: var(--step-1); font-weight: 700; }
.member__role { margin: 0; color: var(--muted); }
.member__bio { margin: 6px 0 0; color: var(--muted); font-size: var(--step--1); }

.cta { padding-block: clamp(110px, 16vw, 220px); }
.cta__inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; }
.sphere-anchor--cta {
  position: absolute; left: 50%; top: 50%;
  width: min(420px, 80vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.cta__title { position: relative; margin: 0; font-size: var(--step-3); font-weight: 400; line-height: 1.05; text-wrap: balance; text-shadow: 0 4px 40px rgba(5, 3, 7, .7); }
.cta__text { position: relative; margin: 0; font-size: var(--step-1); color: var(--ink); text-shadow: 0 2px 20px rgba(5, 3, 7, .9); }
.btn--lg { padding: 18px 40px; font-size: 1.1rem; }
.footer__contact { white-space: nowrap; }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .about__grid, .audience__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .steps, .services__grid, .good__grid { grid-template-columns: minmax(0, 1fr); }
  .service { min-height: 0; }
}

/* =========================================================
   Page formulaire
   ========================================================= */
.req-page { padding-block: calc(120px + env(safe-area-inset-top, 0px)) 120px; }
.req-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.req-head h1 { margin: 0; font-size: var(--step-3); font-weight: 400; line-height: 1.05; text-wrap: balance; }
.req-head p { margin: 0; font-size: var(--step-1); color: var(--muted); max-width: 56ch; }
.req-note { font-size: var(--step--1) !important; color: var(--dim) !important; }
.req-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.req-steps { position: sticky; top: 110px; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: rs; }
.req-steps a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--muted);
  transition: background .3s, color .3s;
}
.req-steps a::before {
  counter-increment: rs; content: counter(rs);
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  font-size: .85rem; font-weight: 700;
}
.req-steps a.is-active { background: var(--card); color: var(--ink); }
.req-steps a.is-active::before { background: var(--grad-warm); color: #12000a; border-color: transparent; }
.req-steps a.is-done::before { border-color: var(--pink); color: var(--pink); }

.req-form { display: grid; gap: 28px; min-width: 0; }
.req-section {
  display: grid; gap: 22px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 12px;
  background: rgba(20, 17, 24, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.req-section h2 { margin: 0; display: flex; align-items: baseline; gap: 14px; font-size: var(--step-2); font-weight: 400; }
.req-section h2 span { font-size: var(--step--1); letter-spacing: .2em; color: var(--eyebrow); text-transform: uppercase; }
.req-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.fld { display: grid; gap: 8px; align-content: start; min-width: 0; }
.fld--full { grid-column: 1 / -1; }
.fld > label, .fld > .fld__label { font-weight: 700; font-size: 1rem; }
.fld .req { color: var(--pink); margin-left: 3px; }
.fld__help { margin: 0; font-size: var(--step--1); color: var(--dim); }
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=url], .fld input[type=date], .fld select, .fld textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(5, 3, 7, .6);
  color: var(--ink);
  font: inherit;
  transition: border-color .25s, box-shadow .25s;
}
.fld textarea { min-height: 130px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--dim); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 132, 239, .2); }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--muted);
  transition: all .25s;
}
.choice input:checked + span { background: var(--grad-warm); color: #12000a; border-color: transparent; font-weight: 700; }
.choice input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 3px; }
.choice:hover span { border-color: var(--pink); color: var(--ink); }
.other-input { margin-top: 4px; }
.consent { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-weight: 400 !important; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pink); flex: none; }
.fld__err { margin: 0; font-size: var(--step--1); color: #ff6b7f; min-height: 0; }
.fld.has-error input, .fld.has-error select, .fld.has-error textarea { border-color: #ff4d64; }
.fld.has-error .choice span { border-color: rgba(255, 77, 100, .6); }
.req-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.req-submit button { border: 0; cursor: pointer; font-size: 1.05rem; }
.req-submit button[disabled] { opacity: .6; cursor: progress; }
.req-status { margin: 0; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.req-done {
  display: grid; gap: 18px; justify-items: start;
  padding: clamp(30px, 6vw, 70px);
  border-radius: 14px;
  background: var(--grad-warm);
  color: #12000a;
}
.req-done h2 { margin: 0; font-size: var(--step-3); font-weight: 400; line-height: 1.05; }
.req-done p { margin: 0; font-size: var(--step-1); max-width: 50ch; }
.req-done .btn { background: #12000a; color: var(--ink); }
.sphere-anchor--req { position: absolute; right: 4%; top: 120px; width: min(300px, 30vw); aspect-ratio: 1; }
@media (max-width: 960px) {
  .req-layout { grid-template-columns: minmax(0, 1fr); }
  .req-steps { display: none; }
  .sphere-anchor--req { width: 150px; top: 90px; right: 0; }
}
@media (max-width: 640px) {
  .req-fields { grid-template-columns: minmax(0, 1fr); }
}
.fld[hidden] { display: none !important; }
.footer__right { display: flex; align-items: center; gap: 22px; }

/* =========================================================
   Version 2 (retours du 24/11/2026)
   ========================================================= */
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; }

/* Soulignement dégradé de la charte (rouge, rose, jaune) */
.hl {
  background-image: var(--grad-warm);
  background-repeat: no-repeat;
  background-size: 100% .11em;
  background-position: 0 92%;
  padding-bottom: .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Manifeste */
.manifest__inner { display: grid; gap: 22px; max-width: 1000px; }
.manifest__title { margin: 0; font-size: var(--step-3); font-weight: 700; line-height: 1.06; letter-spacing: -.005em; text-wrap: balance; }
.manifest__text { margin: 0; font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 60ch; }

/* L'agence : quatre pôles avec une phrase */
.poles__grid .pole { min-height: 170px; align-content: start; }
.poles__grid .pole h3 { font-size: var(--step-1); font-weight: 700; max-width: none; }
.poles__grid .pole p { color: var(--muted); }

/* Le studio */
.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.studio__head { display: grid; gap: 16px; }
.studio__lead { margin: 0; font-size: var(--step-1); color: var(--ink); max-width: 34ch; }
.objective__list li { font-size: var(--step-0); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 6vw, 70px); }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--card); }
.gallery figcaption { font-size: var(--step--1); color: var(--muted); }
.gallery__video { grid-column: 1 / -1; }
.gallery__video video, .gallery__video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: var(--card); }

/* Ce qu'on fait : 7 cartes, la dernière en pleine largeur */
.service--wide { grid-column: 1 / -1; min-height: 0; }

/* Réalisations */
.works__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.work { display: grid; align-content: start; gap: 14px; padding: 0 0 26px; border-radius: var(--radius); background: var(--card); overflow: hidden; }
.work__media img, .work__media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.work__body { display: grid; gap: 10px; padding: 0 24px; }
.work__meta { margin: 0; font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow); }
.work h3 { margin: 0; font-size: var(--step-1); font-weight: 700; }
.work dl { margin: 0; display: grid; gap: 8px; }
.work dt { font-size: var(--step--1); font-weight: 700; color: var(--ink); }
.work dd { margin: 0; color: var(--muted); }
.work blockquote { margin: 6px 0 0; padding-left: 14px; border-left: 3px solid var(--pink); color: var(--ink); }
.work blockquote footer { margin-top: 6px; font-size: var(--step--1); color: var(--muted); }
.work__logo { height: 34px; width: auto; object-fit: contain; }
.work__link { justify-self: start; color: var(--pink); font-weight: 700; }

/* Pour qui : trois portes */
.doors__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: transform .5s var(--ease), background .4s;
}
.door::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-warm); }
.door:hover, .door:focus-visible { transform: translateY(-4px); background: var(--card-2); }
.door__n { font-size: var(--step--1); letter-spacing: .24em; text-transform: uppercase; color: var(--eyebrow); }
.door h3 { margin: 0; font-size: var(--step-1); font-weight: 700; }
.door p { margin: 0; color: var(--muted); }
.door__go { margin-top: 8px; font-weight: 700; color: var(--ink); }


/* Bon à savoir */
.good__item--accent {
  background: linear-gradient(90deg, rgba(255, 26, 26, .14), rgba(255, 132, 239, .14), rgba(238, 255, 87, .12));
  border-color: rgba(255, 132, 239, .3);
}
.good__item--accent p { color: var(--ink); }

/* Questions fréquentes */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq__list { display: grid; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  font-size: var(--step-1);
  font-weight: 700;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); font-weight: 400; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); background: var(--grad-warm); color: #12000a; border-color: transparent; }
.qa p { margin: 0 0 22px; max-width: 60ch; color: var(--muted); }

/* L'équipe : onglets par rythme */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab {
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: all .25s;
}
.tab:hover { border-color: var(--pink); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--grad-warm); color: #12000a; border-color: transparent; font-weight: 700; }
.member__bio { font-size: var(--step-0); color: var(--ink); }
.member__link { justify-self: start; margin-top: 8px; color: var(--pink); font-size: var(--step--1); font-weight: 700; }
.member__body { align-content: start; }

/* Appel final */
.cta__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta__title { font-weight: 700; }

/* Pied de page */
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a, .footer__inner a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.footer__links a:hover, .footer__inner a:hover { color: var(--ink); }
.footer__legal { margin: 0; padding-bottom: 22px; color: var(--dim); font-size: .78rem; }

/* Pages légales */
.legal { padding-block: calc(130px + env(safe-area-inset-top, 0px)) 110px; }
.legal__inner { max-width: 780px; display: grid; gap: 18px; }
.legal h1 { margin: 0 0 10px; font-size: var(--step-3); font-weight: 700; line-height: 1.05; }
.legal h2 { margin: 26px 0 0; font-size: var(--step-1); font-weight: 700; }
.legal p, .legal li { margin: 0; color: var(--muted); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--pink); }
.legal .todo { color: var(--yellow); }

@media (max-width: 1100px) {
  .doors__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .studio__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer__right { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Formulaire version 2 : portes en cartes, rythme Ydays
   ========================================================= */
.choices--cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.choice--card { display: grid; }
.choice--card span {
  display: grid;
  align-content: start;
  gap: 8px;
  height: 100%;
  padding: 22px 22px 24px;
  border-radius: 12px;
  text-align: left;
  font-weight: 400;
}
.choice--card b { font-size: var(--step-1); color: var(--ink); }
.choice--card small { font-size: var(--step--1); line-height: 1.45; color: var(--muted); }
.choice--card input:checked + span b, .choice--card input:checked + span small { color: #12000a; }
.choice__date { display: block; font-size: .82rem; font-weight: 400; opacity: .85; }
.fld-info { padding: 16px 18px; border-left: 3px solid var(--pink); border-radius: 0 8px 8px 0; background: rgba(255, 132, 239, .08); color: var(--ink); }
.req-section[hidden] { display: none !important; }
.req-done .ref { font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) {
  .choices--cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .hero { min-height: auto; padding-block: 104px 70px; }
  .hero__visual { order: 0; min-height: 230px; }
  .hero__visual .sphere-anchor { width: min(210px, 52vw); }
}
.door { grid-template-rows: auto auto 1fr auto; }
