/* marvingustave.com v2 — trois pistes de charte sur les mêmes jetons */

:root {
  /* Piste A · Bruit bleu : encre de nuit, bleu électrique, cyan */
  --dark: #0b0d18;
  --dark-2: #141829;
  --light: #eeebe4;
  --ink: #0b0d18;
  --paper-ink: #eef0f7;
  --c1: #2f5bff;
  --c2: #00c8ff;
  --c3: #8a5cff;
  --studio-1: #1a2350;
  --studio-2: #05060c;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-text: "Manrope", system-ui, sans-serif;
  --display-weight: 700;
  --display-style: normal;
  --display-stretch: 100%;
  --track: -0.035em;
}

:root {
  --radius-block: clamp(20px, 3vw, 40px);
  --radius-card: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ui: var(--paper-ink);
  color-scheme: dark;
}

*, *::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(--dark);
  color: var(--paper-ink);
  font-family: var(--font-text);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .6s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--c2); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--light); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.display, .title, .hero__name, .contact__title, .scene__name, .step__role, .manifeste__end text, .stat__n {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-style: var(--display-style);
  font-stretch: var(--display-stretch);
  letter-spacing: var(--track);
}
.title { font-size: clamp(44px, 7vw, 112px); line-height: .95; text-align: center; }
.sub { text-align: center; opacity: .7; margin-top: 14px; }
.kicker { font-family: var(--font-text); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 22px; border-radius: 999px;
  background: var(--c1); color: var(--dark);
  font-weight: 600; text-decoration: none;
  transition: transform .4s var(--ease), background-color .3s;
}
.btn { color: #fff; }
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--small { padding: 9px 16px; font-size: 14px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: var(--dark);
  transition: clip-path 1s var(--ease) .1s, visibility 0s 1.2s;
  clip-path: inset(0 0 0 0 round 0);
}
[data-loader="skip"] .loader, .is-loaded .loader { clip-path: inset(50% 50% 50% 50% round 40px); visibility: hidden; }
[data-loader="skip"] .loader { transition: none; }
.loader__mark {
  width: 96px; height: 96px; position: relative;
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: color-mix(in srgb, var(--paper-ink) 14%, transparent);
}
.loader__fill { position: absolute; inset: 0; background: linear-gradient(0deg, var(--c1), var(--c2)); transform-origin: bottom; transform: scaleY(var(--p, 0)); transition: transform .3s linear; }

/* ---------- En-tête ---------- */
.top {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--ui);
  transition: transform .5s var(--ease), color .4s;
}
.top.is-hidden { transform: translateY(-120%); }
.top__logo img { width: 36px; height: 36px; filter: var(--logo-filter, none); }
.capsule {
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--dark) 45%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper-ink) 14%, transparent);
  font-size: 14px;
}
.capsule > a { padding: 8px 14px; border-radius: 999px; text-decoration: none; transition: background-color .3s; }
.capsule > a:hover { background: color-mix(in srgb, var(--paper-ink) 12%, transparent); }
.lang { display: flex; margin-left: 6px; padding-left: 6px; border-left: 1px solid color-mix(in srgb, var(--paper-ink) 20%, transparent); }
.lang__a { padding: 8px 8px; text-decoration: none; opacity: .55; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lang__a.is-on { opacity: 1; color: var(--c2); }
body.on-light .top { --ui: var(--ink); }
body.on-light .top__logo img { filter: invert(1); }
body.on-light .capsule { background: color-mix(in srgb, var(--light) 60%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); }
body.on-light .lang { border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
body.on-light .lang__a.is-on { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .capsule > a { display: none; }
  .lang { margin: 0; padding: 0; border: 0; }
}

/* Indicateur de sections */
.ticks { position: fixed; left: var(--gutter); bottom: 28px; z-index: 40; display: grid; gap: 7px; }
.ticks a { display: block; height: 2px; width: 12px; background: var(--ui); opacity: .45; border-radius: 2px; transition: width .4s var(--ease), opacity .3s; }
.ticks a.near { width: 28px; opacity: .7; }
.ticks a.on { width: 48px; opacity: 1; }
body.on-light .ticks { --ui: var(--ink); }
@media (max-width: 860px) { .ticks { display: none; } }

/* ---------- Hero ---------- */
.hero { height: 100svh; padding: clamp(8px, 1.4vw, 16px); position: relative; }
.hero__frame {
  position: relative; height: 100%; border-radius: var(--radius-block); overflow: hidden;
  background:
    radial-gradient(60% 70% at var(--mx, 70%) var(--my, 30%), color-mix(in srgb, var(--c2) 55%, transparent), transparent 70%),
    radial-gradient(70% 80% at 15% 85%, color-mix(in srgb, var(--c3) 60%, transparent), transparent 70%),
    linear-gradient(160deg, var(--c1), var(--dark-2) 80%);
  transform-origin: 50% 0;
}
.hero__name {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  display: grid; justify-items: center; pointer-events: none;
  font-size: clamp(64px, 17vw, 300px); line-height: .82;
  color: color-mix(in srgb, var(--paper-ink) 88%, transparent);
  mix-blend-mode: overlay;
}
.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vw, 44px);
  display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 16px; align-items: end;
}
.hero__role { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.hero__line { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.4; }
@media (max-width: 700px) { .hero__foot { grid-template-columns: 1fr; } .hero__hint { display: none; } }

/* ---------- Manifeste ---------- */
.manifeste { background: var(--light); color: var(--ink); padding: 22vh var(--gutter) 16vh; }
.exps { max-width: 1240px; margin: 14vh auto 0; }
.exps__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: color-mix(in srgb, var(--ink) 14%, transparent); border-radius: var(--radius-card); overflow: hidden; }
.exp { background: var(--light); padding: 28px 26px 30px; display: grid; gap: 10px; align-content: start; }
.exp__n { font-size: 13px; opacity: .5; }
.exp__t { font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); font-stretch: var(--display-stretch); font-size: 30px; letter-spacing: var(--track); line-height: 1.05; }
.exp__d { opacity: .78; }
.exp__p { font-size: 14px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.stat { display: grid; justify-items: center; text-align: center; margin-top: 12vh; }
.stat__n { font-size: clamp(110px, 20vw, 300px); line-height: .85; background: linear-gradient(100deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { font-size: clamp(20px, 2vw, 28px); margin-top: 10px; }
.stat__s { opacity: .6; margin-top: 6px; font-size: 15px; }

/* ---------- Parcours ---------- */
.parcours { height: calc(var(--n) * 90vh + 100vh); background: var(--dark); position: relative; }
.parcours__pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; padding: 0 var(--gutter); overflow: hidden; }
.parcours .kicker { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; width: min(1100px, 100%); }
.step { grid-area: 1 / 1; text-align: center; display: grid; justify-items: center; gap: 12px; opacity: 0; transform: translateY(40px) rotate(-2deg); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step.past { transform: translateY(-40px) rotate(2deg); }
.step__years { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--c2); }
.step__role { font-size: clamp(48px, 8.5vw, 140px); line-height: .92; }
.step__org { font-size: clamp(18px, 1.6vw, 24px); opacity: .85; }
.step__d { max-width: 52ch; opacity: .65; }
.parcours__bar { position: absolute; left: 50%; bottom: 72px; width: min(320px, 60vw); height: 2px; transform: translateX(-50%); background: color-mix(in srgb, var(--paper-ink) 15%, transparent); border-radius: 2px; overflow: hidden; }
.parcours__bar span { display: block; height: 100%; width: 100%; background: var(--c2); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.parcours__formation { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font-size: 13px; opacity: .5; padding: 0 var(--gutter); }

/* ---------- Outils : cartes en verre ---------- */
.toolkit { position: relative; padding: 18vh var(--gutter); background: var(--dark); overflow: hidden; isolation: isolate; }
.toolkit__blobs { position: absolute; inset: 0; z-index: -1; filter: blur(70px); opacity: .75; }
.toolkit__blobs i { position: absolute; border-radius: 50%; width: 46vw; height: 46vw; }
.toolkit__blobs i:nth-child(1) { background: var(--c1); left: -10vw; top: 10%; animation: drift 18s ease-in-out infinite alternate; }
.toolkit__blobs i:nth-child(2) { background: var(--c3); right: -12vw; top: 35%; animation: drift 22s ease-in-out infinite alternate-reverse; }
.toolkit__blobs i:nth-child(3) { background: var(--c2); left: 30%; bottom: -20vw; width: 34vw; height: 34vw; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(8vw, -6vw) scale(1.15); } }
.decks { max-width: 1240px; margin: 9vh auto 0; display: grid; gap: 8vh; }
.deck__t { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 20px; }
.deck__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; perspective: 900px; }
.glass {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 18px;
  background: linear-gradient(150deg, color-mix(in srgb, #fff 16%, transparent), color-mix(in srgb, #fff 4%, transparent));
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 22%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 45%, transparent), 0 20px 40px -20px rgba(0,0,0,.6);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
.glass__shine { position: absolute; inset: 0; background: radial-gradient(60% 50% at var(--gx, 30%) var(--gy, 0%), rgba(255,255,255,.35), transparent 60%); pointer-events: none; }
.glass__logo { width: 44%; aspect-ratio: 1; background: var(--paper-ink); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.glass__name { font-size: 14px; font-weight: 600; letter-spacing: .01em; }

/* ---------- Réalisations : scènes studio ---------- */
.realisations { background: var(--dark); padding-top: 18vh; }
.realisations__head { padding: 0 var(--gutter) 10vh; }
.scene {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr);
  align-items: center; gap: clamp(20px, 3vw, 48px); padding: 6vh var(--gutter);
}
.scene__studio {
  position: relative; height: min(78svh, 760px); border-radius: var(--radius-block); overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--studio-1), var(--studio-2) 70%);
  isolation: isolate;
}
.scene:nth-of-type(3n+2) .scene__studio { background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c1) 55%, var(--studio-2)), var(--studio-2) 72%); }
.scene:nth-of-type(3n) .scene__studio { background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c3) 45%, var(--studio-2)), var(--studio-2) 72%); }
.scene__light { position: absolute; inset: 0; z-index: 0; background: radial-gradient(35% 45% at var(--lx, 50%) var(--ly, 30%), rgba(255,255,255,.22), transparent 70%); transition: background .2s; }
.scene__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 0; background: radial-gradient(60% 40% at 50% 30%, rgba(255,255,255,.07), transparent 70%), linear-gradient(to bottom, transparent, rgba(0,0,0,.5)); }
.mbp::after, .phone::after, .imac::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -5%; height: 8%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); z-index: -1; }
.devices { position: absolute; inset: 0; z-index: 1; }

/* iMac */
.imac { position: absolute; left: 50%; top: 9%; width: 58%; transform: translateX(-50%); }
.imac__screen { aspect-ratio: 16 / 10; background: #0c0c0e; border-radius: 12px 12px 0 0; padding: 2.2%; box-shadow: 0 30px 60px -25px rgba(0,0,0,.8); }
.imac__page { width: 100%; height: 100%; border-radius: 3px; background-size: 100% auto; background-repeat: no-repeat; background-position: 50% var(--scroll, 0%); background-color: #fff; }
.imac__chin { height: 0; padding-bottom: 7%; background: linear-gradient(#d9dbe0, #b9bcc3); border-radius: 0 0 12px 12px; }
.imac__stand { width: 22%; margin: 0 auto; height: 0; padding-bottom: 13%; background: linear-gradient(90deg, #a9acb3, #d7d9de 50%, #a9acb3); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.imac__stand::after { content: ""; display: block; }
/* MacBook */
.mbp { position: absolute; left: 4%; bottom: 8%; width: 40%; }
.mbp__lid { background: #0c0c0e; border-radius: 10px 10px 0 0; padding: 2.4% 2.4% 1.6%; box-shadow: 0 30px 50px -20px rgba(0,0,0,.85); }
.mbp__screen { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: #fff; }
.mbp__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mbp__base { height: 0; padding-bottom: 3.2%; margin: 0 -6%; background: linear-gradient(#e2e4e8, #9fa2a9); border-radius: 0 0 14px 14px; }
/* iPhone */
.phone { position: absolute; right: 7%; bottom: 7%; width: 15%; aspect-ratio: 9 / 19.5; background: #111; border-radius: 18% / 8.5%; padding: 4.5%; box-shadow: inset 0 0 0 2px #3a3a3e, 0 30px 50px -18px rgba(0,0,0,.9); }
.phone__screen { width: 100%; height: 100%; border-radius: 14% / 6.6%; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__island { position: absolute; top: 6%; left: 50%; width: 32%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 99px; }

.scene__info { display: grid; gap: 14px; align-content: center; }
.scene__num { font-size: 13px; letter-spacing: .14em; opacity: .55; }
.scene__name { font-size: clamp(40px, 4.6vw, 76px); line-height: .95; }
.scene__meta { color: var(--c2); font-size: 15px; }
.scene__facts { margin: 8px 0 6px; display: grid; gap: 14px; }
.scene__facts div { padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--paper-ink) 15%, transparent); }
.scene__facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin-bottom: 4px; }
.scene__facts dd { margin: 0; opacity: .88; }
.scene__info .btn { justify-self: start; }
@media (max-width: 960px) {
  .scene { grid-template-columns: 1fr; min-height: auto; padding-block: 8vh; }
  .scene__studio { height: 62vw; min-height: 300px; }
}

/* ---------- Playground : sphère ---------- */
.playground { background: var(--light); color: var(--ink); padding: 18vh var(--gutter) 14vh; overflow: hidden; }
.orb { height: min(70vh, 640px); margin-top: 6vh; perspective: 1400px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; outline-offset: 8px; }
.orb:active { cursor: grabbing; }
.orb__ring { list-style: none; margin: 0; padding: 0; position: relative; width: clamp(200px, 24vw, 320px); aspect-ratio: 4 / 5; transform-style: preserve-3d; transform: rotateX(-6deg) rotateY(var(--rot, 0deg)); }
.orb__item { position: absolute; inset: 0; transform: rotateY(calc(var(--k) * (360deg / 7))) translateZ(clamp(300px, 36vw, 520px)); backface-visibility: hidden; }
.orb__item figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 10px; }
.orb__item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); background: var(--dark); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.orb__item img[src$=".svg"] { object-fit: contain; padding: 18%; }
.orb__item figcaption { font-size: 14px; text-align: center; }
.orb__help { text-align: center; opacity: .6; font-size: 14px; margin-top: 2vh; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); padding: 20vh var(--gutter) 28px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.contact__title { font-size: clamp(72px, 15vw, 260px); line-height: .85; background: linear-gradient(95deg, var(--c3), var(--c1) 45%, var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.contact__text { max-width: 40ch; font-size: clamp(18px, 1.6vw, 22px); opacity: .85; }
.contact__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.foot { width: 100%; max-width: 1240px; margin-top: 10vh; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--paper-ink) 14%, transparent); display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; font-size: 14px; opacity: .8; text-align: left; }
.foot img { width: 90px; height: auto; }
.foot__legal summary { cursor: pointer; }
.foot__legal p { margin-top: 6px; opacity: .75; max-width: 46ch; }

/* Apparitions */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .parcours { height: auto; }
  .parcours__pin { position: static; height: auto; padding: 14vh var(--gutter); }
  .parcours .kicker { position: static; transform: none; margin-bottom: 40px; }
  .steps { gap: 64px; }
  .step { grid-area: auto; opacity: 1; transform: none; }
  .parcours__bar { display: none; }
  .parcours__formation { position: static; margin-top: 40px; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= v2 fidèle à la référence ================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__name { z-index: 0; mix-blend-mode: normal; color: var(--paper-ink); transition: opacity .6s; }
.gl-ready .hero__name { opacity: 0; }
.hero__foot { z-index: 1; }

/* Textes sur courbe */
.manifeste { padding: 0 0 16vh; }
.curve { height: 280vh; position: relative; }
.curve__svg { position: sticky; top: 0; width: 100%; height: 100svh; display: block; overflow: visible; }
.curve__svg text { font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: 150px; fill: var(--ink); }
.curve__end { position: sticky; bottom: 20vh; margin-top: -40vh; text-align: center; padding: 0 var(--gutter); font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: clamp(48px, 9vw, 150px); line-height: .95; opacity: 0; }
.curve--end { height: 240vh; margin: -20vh calc(var(--gutter) * -1) 0; width: calc(100% + var(--gutter) * 2); }
.curve--end .curve__svg text { font-size: 220px; fill: url(#grad-end); }
@media (max-width: 700px) { .curve__svg text { font-size: 210px; } .curve--end .curve__svg text { font-size: 280px; } }

/* Parcours : un mot par écran */
.step__word { font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: clamp(72px, 13vw, 220px); line-height: .9; margin-bottom: 18px; background: linear-gradient(95deg, var(--paper-ink), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__role { font-size: clamp(30px, 4vw, 60px); }

/* Outils : piles épinglées qui s'ouvrent en éventail */
.toolkit { padding: 0; height: calc(4 * 130vh); overflow: visible; }
.toolkit__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; justify-items: center; padding-top: 14vh; isolation: isolate; }
.decks { margin: 0; width: 100%; position: relative; display: block; max-width: none; }
.deck { position: absolute; inset: 0; display: grid; justify-items: center; align-content: start; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.deck.on { opacity: 1; pointer-events: auto; }
.deck__t { margin: 10px 0 0; font-size: 15px; letter-spacing: .02em; text-transform: none; opacity: .75; }
.deck__cards { position: relative; display: block; width: 100%; height: 340px; margin-top: 8vh; perspective: none; }
.glass { position: absolute; left: 50%; top: 0; width: clamp(120px, 13vw, 180px); margin-left: calc(clamp(120px, 13vw, 180px) / -2);
  transform: translate(var(--fx, 0px), var(--fy, 0px)) rotate(var(--fr, 0deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease); z-index: calc(10 + var(--i)); }
.glass:hover { z-index: 40; }

/* Réalisations : titres en italique, scène studio au survol */
.realisations { background: var(--light); color: var(--ink); padding: 18vh var(--gutter) 20vh; position: relative; }
.realisations .title { font-size: clamp(28px, 3vw, 44px); }
.realisations .sub { font-size: 14px; }
.projs { list-style: none; margin: 8vh auto 0; padding: 0; display: grid; justify-items: center; gap: 6px; position: relative; z-index: 2; }
.proj { text-align: center; }
.proj__t { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; padding: 4px 10px;
  font-family: var(--font-display); font-style: italic; font-weight: 400; font-stretch: var(--display-stretch); letter-spacing: var(--track);
  font-size: clamp(36px, 5.6vw, 92px); line-height: 1.05; opacity: .7; transition: opacity .3s, transform .5s var(--ease); }
.proj:hover .proj__t, .proj__t:focus-visible, .proj__t[aria-expanded="true"] { opacity: 1; transform: translateX(10px); }
.proj__d { max-width: 560px; margin: 10px auto 30px; text-align: left; background: color-mix(in srgb, var(--light) 80%, transparent); backdrop-filter: blur(10px); padding: 18px 22px; border-radius: var(--radius-card); }
.proj__d .scene__meta { color: var(--ink); opacity: .7; }
.proj__d .scene__facts div { border-color: color-mix(in srgb, var(--ink) 14%, transparent); }
.visuals { position: sticky; top: 12vh; height: 0; z-index: 1; pointer-events: none; }
.visuals .scene__studio { position: absolute; left: 50%; top: 0; width: min(980px, 88vw); height: min(76svh, 640px); transform: translate(-50%, 30px) scale(.94); opacity: 0; transition: opacity .45s var(--ease), transform .7s var(--ease); }
.visuals .scene__studio.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.visuals .scene__studio.on .imac__page { animation: page-scroll 9s linear infinite alternate; }
@keyframes page-scroll { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }
.realisations:has(.scene__studio.on) .proj__t { color: var(--paper-ink); opacity: .55; }
.realisations:has(.scene__studio.on) .proj:hover .proj__t { opacity: 1; }
@media (hover: none) { .visuals { display: none; } }

/* Playground : études faites maison */
.study { width: 100%; height: 100%; border-radius: var(--radius-card); -webkit-mask-size: 62%; mask-size: 62%; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.orb__item figure { grid-template-rows: 1fr auto; position: relative; }
.orb__item figure > div { position: relative; }
.orb__item figure::before { content: ""; position: absolute; inset: 0 0 34px; border-radius: var(--radius-card); background: var(--dark); z-index: -1; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.study--0 { background: radial-gradient(circle at 30% 20%, var(--c2), transparent 60%), linear-gradient(160deg, var(--c1), var(--c3)); }
.study--1 { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.25) 40%, rgba(255,255,255,.7) 60%, rgba(255,255,255,.2)); }
.study--2 { background: var(--paper-ink); }
.study--3 { background: repeating-linear-gradient(0deg, var(--c2) 0 3px, transparent 3px 9px); }
.study--4 { background: radial-gradient(circle at 50% 30%, #fff, var(--c2) 30%, var(--dark) 75%); }
.study--5 { background: conic-gradient(from 90deg, var(--c1), var(--c2), var(--c3), var(--c1)); }
.study--6 { background: linear-gradient(90deg, var(--c1) 0 33%, var(--c2) 33% 66%, var(--c3) 66%); }

/* Fin */
.contact { padding-top: 0; }
.contact__title { font-size: clamp(56px, 10vw, 180px); }

/* Transition entre les pages */
.page-transition { position: fixed; inset: 0; z-index: 95; pointer-events: none; background: var(--light); clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); transition: clip-path .65s cubic-bezier(.86, 0, .07, 1); }
.page-transition.go { clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%)); }

@media (prefers-reduced-motion: reduce) {
  .curve { height: auto; } .curve__svg { position: static; height: 60vh; } .curve__end { position: static; margin: 0; opacity: 1; }
  .toolkit { height: auto; } .toolkit__pin { position: static; height: auto; padding-bottom: 10vh; }
  .deck { position: static; opacity: 1; margin-bottom: 4vh; } .deck__cards { height: 260px; }
}

/* Hero épinglé : le logotype glisse, le monogramme tourne, puis le cadre se resserre */
.hero { height: 280vh; padding: 0; }
.hero__frame { position: sticky; top: clamp(8px, 1.4vw, 16px); height: calc(100svh - 2 * clamp(8px, 1.4vw, 16px)); margin: 0 clamp(8px, 1.4vw, 16px); }
.top__spacer { width: 36px; }
@media (prefers-reduced-motion: reduce) { .hero { height: 100svh; } }

/* Outils : cartes en verre rangées par catégorie, sur un seul écran */
.toolkit { height: auto; padding: 16vh var(--gutter) 14vh; overflow: hidden; }
.toolkit .decks { max-width: 1240px; margin: 7vh auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5vh 40px; }
.toolkit .deck { position: static; opacity: 1; pointer-events: auto; display: block; }
.toolkit .deck__t { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.toolkit .deck__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; height: auto; margin: 0; }
.toolkit .glass { position: relative; left: auto; top: auto; width: auto; margin: 0; aspect-ratio: 1; gap: 10px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.toolkit .glass__logo { width: 38%; }
.toolkit .glass__name { font-size: 12px; text-align: center; padding: 0 6px; line-height: 1.2; }
@media (max-width: 860px) { .toolkit .decks { grid-template-columns: 1fr; } }

/* Réalisations : une grande photo studio par projet, iMac et MacBook Pro en alternance */
.realisations { background: var(--dark); color: var(--paper-ink); padding: 16vh 0 0; }
.realisations > .title { margin-bottom: 8vh; }
.pj { position: relative; height: 100svh; overflow: hidden; }
.pj__studio { position: absolute; inset: 0; overflow: hidden; }
.pj__photo { position: absolute; left: 50%; top: 50%; width: max(100%, calc(100svh * 1.7872)); aspect-ratio: 1344 / 752; transform: translate(-50%, -50%) scale(var(--zoom, 1.08)); background-size: cover; transition: transform .2s linear; }
.pj__screen { position: absolute; overflow: hidden; background: #000; }
.pj__screen--imac { left: 30.65%; top: 21.01%; width: 38.84%; height: 37.1%; }
.pj__screen--mbp { left: 29.9%; top: 19.5%; width: 40.85%; height: 44%; border-radius: .4% .4% 0 0; }
.screen__page { width: 100%; height: 100%; background-size: cover; background-position: 50% 0; }
.screen__page.is-long { background-size: 100% auto; background-position: 50% var(--scroll, 0%); }
.pj__cap { position: absolute; left: var(--gutter); bottom: 7vh; max-width: 440px; display: grid; gap: 8px; z-index: 2; }
.pj--mbp .pj__cap { left: auto; right: var(--gutter); text-align: right; justify-items: end; }
.pj__num { font-size: 13px; letter-spacing: .14em; opacity: .6; }
.pj__name { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: clamp(36px, 4.4vw, 72px); line-height: .95; }
.pj__meta { color: var(--c1); font-size: 14px; }
.pj__line { opacity: .8; font-size: 15px; }
.pj__link { margin-top: 6px; color: var(--paper-ink); font-weight: 600; }
.pj::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 35%); }
@media (max-width: 700px) { .pj { height: 85svh; } .pj__photo { width: 200%; } .pj__cap, .pj--mbp .pj__cap { left: var(--gutter); right: var(--gutter); text-align: left; justify-items: start; } }

/* Fin, comme la référence */
.contact { padding: 18vh var(--gutter) 28px; }
.next__t { font-size: 15px; opacity: .65; }
.next__pg { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: clamp(30px, 4vw, 64px); text-decoration: none; }
.next__pg:hover { color: var(--c1); }
.next__a { margin-top: 14vh; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.2; }
.curve--end { margin-top: -16vh; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; text-align: left; }
.foot__brand { display: grid; gap: 10px; }
.foot__col { display: grid; gap: 6px; }
.foot__h { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { color: var(--c1); }
.foot__base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--paper-ink) 12%, transparent); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } }
.playground--page { min-height: 100svh; padding-top: 16vh; }
.pg__back { text-align: center; margin-top: 4vh; }
.contact--short { padding-top: 8vh; }

/* Écran projeté en perspective dans la photo */
.pj__screen { left: 0; top: 0; transform-origin: 0 0; border-radius: 0; box-shadow: inset 0 0 40px rgba(0,0,0,.25); }
.pj__screen--imac { left: 0; top: 0; width: 1600px; height: 900px; }
.pj__screen--mbp { left: 0; top: 0; width: 1512px; height: 982px; border-radius: 0; }
.pj__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 40%); pointer-events: none; }
.pj--left .pj__cap { left: var(--gutter); right: auto; text-align: left; justify-items: start; }
.pj--right .pj__cap { left: auto; right: var(--gutter); text-align: right; justify-items: end; }

/* Mobile : photo de projet plein cadre, légende dessous ; outils plus compacts */
@media (max-width: 700px) {
  .pj { height: auto; padding-bottom: 7vh; }
  .pj::after { display: none; }
  .pj__studio { position: relative; height: 112vw; }
  .pj__photo { width: calc(112vw * 1.7872); }
  .pj__cap, .pj--left .pj__cap, .pj--right .pj__cap { position: static; margin: 0 var(--gutter); text-align: left; justify-items: start; }
  .toolkit .deck__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .toolkit .glass__name { font-size: 10px; }
  }

/* ================= Deuxième passe : grain, manifeste, parcours, fluide ================= */
/* Grain du hero, par-dessus la scène 3D */
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .28; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero { height: 420vh; }

/* Fond fluide grainé */
[data-fluid] { position: relative; isolation: isolate; overflow: hidden; }
.fluid__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.fluid--static { background: linear-gradient(135deg, var(--c1), var(--c3)); }

/* Manifeste : ligne de lettres qui défile */
.manifeste { padding: 0; }
.wave { height: 360vh; position: relative; }
.wave__line { position: sticky; top: 50vh; display: inline-block; white-space: nowrap; margin: 0; will-change: transform;
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--track);
  font-size: clamp(64px, 10vw, 170px); line-height: 1; color: var(--ink); }
.ltr { display: inline-block; will-change: transform; }

/* Parcours : titre dispersé, puis phrases, puis panneaux grainés qui se rejoignent */
.parcours { height: calc((var(--n) + 1.6) * 100vh); }
.scatter { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; z-index: 2; transition: opacity .4s;
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: clamp(56px, 9vw, 150px); }
.parcours .kicker { display: none; }
.steps { position: relative; z-index: 2; }
.step__word { background: none; color: var(--paper-ink); -webkit-text-fill-color: currentColor; }
.step__line { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: clamp(30px, 4.4vw, 72px); line-height: 1.02; }
.bridge { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bridge__l, .bridge__r { position: absolute; top: 50%; height: calc(28vh + var(--b2, 0) * 72vh); width: calc(26vw + var(--b2, 0) * 25.5vw); border-radius: calc(var(--radius-block) * (1 - var(--b2, 0))); transform: translateY(-50%); }
.bridge__l { left: calc(-30vw + var(--b1, 0) * 30vw + var(--b2, 0) * 0vw); }
.bridge__r { right: calc(-30vw + var(--b1, 0) * 30vw); }
.parcours.is-bridged .step.on .step__word { opacity: 0; }

/* Outils : le fond fluide remplace les taches */
.toolkit { background: var(--dark); }
.toolkit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, color-mix(in srgb, var(--dark) 55%, transparent), transparent 30%, transparent 70%, color-mix(in srgb, var(--dark) 55%, transparent)); pointer-events: none; }

/* Réalisations : la photo glisse légèrement avec le pointeur */
.pj__photo { transform: translate(calc(-50% + var(--px, 0) * 1px), calc(-50% + var(--py, 0) * 1px)) scale(var(--zoom, 1.08)); }

/* Fin : phrase sur courbe, mot final en dégradé */
.curve--end .curve__svg text { fill: var(--paper-ink); font-size: 150px; }
.curve--end .curve__grad { fill: url(#grad-end); font-size: 260px; }
.curve--end { height: 320vh; margin-top: 8vh; }

/* Pied de page : carte grainée */
.foot { border-radius: var(--radius-block); padding: clamp(28px, 4vw, 56px); border-top: 0; opacity: 1; margin-top: 4vh; color: #fff; }
.foot__lead { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: clamp(26px, 3vw, 46px); line-height: 1.05; max-width: 16ch; margin-bottom: 18px; }
.foot__base { border-top-color: rgba(255,255,255,.25); }
.foot a:hover { color: #fff; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  .hero { height: 100svh; } .wave { height: auto; padding: 18vh 0; } .wave__line { position: static; white-space: normal; transform: none !important; padding: 0 var(--gutter); }
  .parcours { height: auto; } .scatter { position: static; transform: none; margin-bottom: 8vh; } .bridge { display: none; } .curve--end { height: auto; }
}

/* ================= Réalisations : cartes empilées ================= */
.realisations { padding: 16vh var(--gutter) 10vh; }
.realisations > .sub { margin-bottom: 8vh; }
.cards { max-width: 1320px; margin: 0 auto; }
.card { position: sticky; top: calc(9vh + var(--i) * 0.9vh); height: 82svh; margin-bottom: 8vh; }
.card__inner { position: relative; height: 100%; border-radius: var(--radius-block); overflow: hidden; background: var(--dark-2); transform-origin: 50% 0; will-change: transform, filter;
  box-shadow: 0 -20px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px color-mix(in srgb, var(--paper-ink) 8%, transparent); }
.card__media { position: absolute; inset: 0; cursor: crosshair; }
.card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .4s; }
.card.is-gl .card__gl { opacity: 1; }
.card__inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(5,7,16,.88), rgba(5,7,16,.2) 45%, transparent 70%); }
.card__cap { position: absolute; left: clamp(20px, 3.4vw, 52px); right: clamp(20px, 3.4vw, 52px); bottom: clamp(20px, 4vw, 48px); z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 40px; pointer-events: none; }
.card__cap a { pointer-events: auto; }
.card__num { grid-column: 1 / -1; font-size: 13px; letter-spacing: .14em; opacity: .65; }
.card__name { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--track); font-size: clamp(44px, 7.4vw, 128px); line-height: .9; }
.card__meta { grid-column: 1; color: var(--c2); font-size: 15px; }
.card__line { grid-column: 1; max-width: 52ch; opacity: .85; }
.card__link { grid-column: 2; grid-row: 2 / span 3; align-self: end; padding: 14px 22px; border-radius: 999px; background: var(--paper-ink); color: var(--dark); font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .4s var(--ease); }
.card__link:hover { transform: translateY(-2px); }
@media (max-width: 700px) {
  .card { height: 72svh; }
  .card__cap { grid-template-columns: 1fr; }
  .card__link { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .card { position: relative; top: auto; } }

/* Hero : liquide grainé derrière la scène 3D */
.hero__fluid { position: absolute; inset: 0; }
.hero__gl { z-index: 1; }

/* Cartes : nom et infos lisibles sur la vidéo */
.card__inner::after { background: linear-gradient(90deg, rgba(5,7,16,.86) 0%, rgba(5,7,16,.55) 34%, transparent 62%), linear-gradient(to top, rgba(5,7,16,.9), transparent 55%); }
.card__cap { left: 0; right: 0; bottom: 0; padding: clamp(22px, 3.6vw, 52px); }
.card__name, .card__line, .card__num { text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.card__meta { color: var(--c2); font-weight: 600; letter-spacing: .02em; }
.card__line { font-size: clamp(15px, 1.15vw, 18px); color: #fff; opacity: .92; }

/* Invitation à défiler : un mot et une ligne où un point descend en boucle */
.hero__scroll { position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); z-index: 2; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--paper-ink); text-decoration: none; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; transition: opacity .5s; }
.hero__scroll i { position: relative; width: 1px; height: 46px; background: color-mix(in srgb, var(--paper-ink) 30%, transparent); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: -2px; top: -8px; width: 5px; height: 8px; border-radius: 3px; background: var(--paper-ink); animation: scroll-dot 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(56px); opacity: 0; } }
body.is-scrolled .hero__scroll { opacity: 0; pointer-events: none; }

/* « ensemble » : le liquide du hero à travers les lettres */
.curve__sticky { position: sticky; top: 0; height: 100svh; }
.curve--end .curve__sticky .curve__svg { position: absolute; inset: 0; height: 100%; }
.curve__cover { fill: var(--dark); }
.curve--end .curve__svg text { fill: var(--paper-ink); }
.curve--end .curve__grad { fill: none; }
.curve--end mask .curve__grad { fill: #000; }
.curve--end mask .curve__plain { fill: #fff; }

/* Manifeste : comètes */
.comets { position: sticky; top: 0; display: block; width: 100%; height: 100svh; margin-bottom: -100svh; pointer-events: none; }
.wave__line { z-index: 1; }

/* Parcours : phrase explicative, liquide qui remonte */
.step__d { max-width: 46ch; margin: 18px auto 0; font-size: clamp(16px, 1.3vw, 20px); opacity: .75; }
.parcours__fluid { position: absolute; inset: 0; z-index: 1; opacity: 0; }
.parcours.is-bridged .step.on .step__word { opacity: 1; }

/* Outils : flottaison légère, en plus de l'inclinaison au survol */
.toolkit .glass { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.toolkit .glass:hover { animation-play-state: paused; scale: 1.06; }

/* Réalisations : un écran XDR épinglé */
.realisations { padding-left: 0; padding-right: 0; }
.xdr { height: calc(var(--n) * 90vh + 100vh); position: relative; }
.xdr__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1400px; }
.xdr__photo { position: absolute; left: 50%; top: 50%; width: max(100%, calc(100svh * 1.7872)); aspect-ratio: 1344 / 752; transform: translate(-50%, -50%); background-size: cover; transform-style: preserve-3d; }
.xdr__screen { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; overflow: hidden; background: #000; }
.xdr__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s var(--ease); }
.xdr__v.on { opacity: 1; }
.xdr__caps { position: absolute; left: var(--gutter); bottom: 6vh; width: min(440px, 80vw); height: 230px; }
.xdr__cap { position: absolute; left: 0; bottom: 0; display: grid; gap: 6px; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.xdr__cap.on { opacity: 1; transform: none; pointer-events: auto; }
.xdr__cap .card__name { font-size: clamp(36px, 4.4vw, 72px); }
.xdr__cap .card__link { justify-self: start; margin-top: 8px; }
.xdr__dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.xdr__dots i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--paper-ink) 30%, transparent); transition: background .3s, scale .3s; }
.xdr__dots i.on { background: var(--paper-ink); scale: 1.4; }
@media (max-width: 700px) { .xdr__photo { width: 210%; top: 42%; } .xdr__caps { bottom: 4vh; } }

/* Fin : on entre dans une lettre, puis le pied de page sur le liquide du hero */
.curve--end .curve__sticky { overflow: hidden; }
.curve--end .curve__svg { will-change: transform; }
.contact { padding-bottom: 0; }
.foot { width: calc(100% + var(--gutter) * 2); max-width: none; margin: 0 calc(var(--gutter) * -1); border-radius: 0; min-height: 100svh; align-content: center; padding: 14vh max(var(--gutter), calc((100vw - 1240px) / 2)); }
.foot__photo { width: clamp(110px, 11vw, 170px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; filter: grayscale(1); box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 20px 50px -20px rgba(0,0,0,.6); margin-bottom: 22px; }

/* En-tête calé à l'intérieur du cadre du hero, hors du bord noir */
.top { inset: calc(clamp(8px, 1.4vw, 16px) + clamp(14px, 1.6vw, 22px)) calc(clamp(8px, 1.4vw, 16px) + clamp(14px, 2vw, 30px)) auto; }
.ticks { left: calc(clamp(8px, 1.4vw, 16px) + clamp(14px, 2vw, 30px)); }
.xdr__caps { left: var(--gutter); top: 50%; bottom: auto; transform: translateY(-50%); width: min(15vw, 260px); height: 60vh; }
.xdr__cap { top: 50%; bottom: auto; transform: translateY(calc(-50% + 24px)); }
.xdr__cap.on { transform: translateY(-50%); }
.xdr__cap .card__name { font-size: clamp(28px, 2.6vw, 46px); }
.xdr__cap .card__line { font-size: 14px; }
@media (max-width: 1100px) { .xdr__caps { top: auto; bottom: 4vh; transform: none; width: calc(100% - var(--gutter) * 2); height: 200px; } .xdr__cap, .xdr__cap.on { top: auto; bottom: 0; transform: none; } }

/* Fond liquide partagé entre « Aujourd'hui » et les outils */
.bg-fluid { position: fixed !important; inset: 0; z-index: 0; opacity: 0; pointer-events: none; }
.parcours, .toolkit { background: var(--dark); }
.parcours__pin { position: sticky; z-index: 1; }
.toolkit { background: transparent; position: relative; z-index: 1; }
.toolkit::after { display: none; }
.realisations, .contact, .manifeste, .hero { position: relative; z-index: 2; }
.parcours { position: static; }

/* ================= Cinquième passe ================= */
/* Charte retenue : couleurs et texte de la piste A, titres de la piste C */
:root { --font-display: "Archivo", system-ui, sans-serif; --display-weight: 800; --display-style: normal; --display-stretch: 115%; --track: -0.02em; }

/* Comètes : contenues dans le manifeste */
.wave { clip-path: inset(0); }

/* Hero : le logotype est en verre et laisse passer la couleur */
.hero__glassname { position: absolute; left: 50%; top: 50%; z-index: 1; width: min(62vw, 70vh * 1.548); aspect-ratio: 108.8 / 70.3; transform: translate(-50%, -50%);
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
  background: linear-gradient(150deg, rgba(255,255,255,.42), rgba(255,255,255,.10) 45%, rgba(255,255,255,.28));
  backdrop-filter: blur(10px) saturate(1.9) brightness(1.18); -webkit-backdrop-filter: blur(10px) saturate(1.9) brightness(1.18);
  pointer-events: none; will-change: transform, opacity; }
.hero__gl { z-index: 2; }
@media (max-width: 700px) { .hero__glassname { width: 88vw; } }

/* Fondus entre sections : le noir mange le haut de la couleur, et l'inverse */
.fade { position: relative; z-index: 2; height: 70vh; pointer-events: none; }
.fade--dark { background: linear-gradient(to bottom, var(--light), color-mix(in srgb, var(--light) 55%, var(--dark)) 35%, var(--dark)); margin-bottom: -1px; }
.fade--dark::after, .fade--eat::after { content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  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='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.parcours { height: calc((var(--n) + 1) * 100vh); }
.realisations { background: transparent; padding-top: 0; }
.fade--eat { height: 80vh; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--dark) 70%, transparent) 50%, var(--dark)); }
.xdr { background: var(--dark); }

/* Textes qui s'écrivent, lettre après lettre */
.writable .ltr { opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity .35s var(--ease), transform .5s var(--ease), filter .4s; transition-delay: 0ms; }
.step.on .writable .ltr, .writable.is-written .ltr { opacity: 1; transform: none; filter: none; transition-delay: var(--d); }
.step { transition: opacity .3s; }
.step.on .step__d { opacity: .75; transform: none; transition: opacity .6s .5s, transform .8s .5s var(--ease); }
.step__d { opacity: 0; transform: translateY(12px); }

/* Outils : la carte vole jusqu'à sa place, puis pivote en 3D sous le pointeur */
.toolkit .deck__cards { perspective: 700px; }
.tool { list-style: none; }
.toolkit .glass { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s var(--ease); }
.toolkit .glass__logo { transform: translateZ(26px); }
.toolkit .glass__name { transform: translateZ(14px); }

/* Réalisations : entrée animée et interface autour de l'écran */
.xdr__photo { opacity: 0; scale: .86; filter: blur(10px); transition: opacity 1s var(--ease), scale 1.2s var(--ease), filter 1s; }
.xdr.is-in .xdr__photo { opacity: 1; scale: 1; filter: none; }
.xdr__head { position: absolute; left: var(--gutter); top: calc(clamp(8px, 1.4vw, 16px) + 92px); z-index: 3; display: flex; align-items: baseline; gap: 18px; }
.xdr__title { font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight); font-size: clamp(30px, 3vw, 46px); letter-spacing: var(--track); }
.xdr__count { font-size: 13px; letter-spacing: .14em; opacity: .7; font-variant-numeric: tabular-nums; }
.xdr__count b { color: var(--c2); font-weight: 600; }
.xdr__list { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); z-index: 3; width: min(17vw, 250px); }
.xdr__list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.xdr__nav { display: flex; gap: 12px; width: 100%; min-height: 40px; align-items: center; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--paper-ink); font: 500 15px/1.2 var(--font-text); text-align: left; cursor: pointer; opacity: .5; transition: opacity .25s, background-color .25s, padding .3s var(--ease); }
.xdr__nav span { font-size: 11px; letter-spacing: .1em; opacity: .7; font-variant-numeric: tabular-nums; }
.xdr__nav:hover { opacity: .85; background: color-mix(in srgb, var(--paper-ink) 7%, transparent); }
.xdr__nav.on { opacity: 1; background: color-mix(in srgb, var(--c1) 22%, transparent); padding-left: 16px; }
.xdr__caps { position: absolute; right: var(--gutter); left: auto; top: 50%; bottom: auto; transform: translateY(-50%); width: min(17vw, 270px); height: 60vh; }
.xdr__cap { position: absolute; left: 0; right: 0; top: 50%; bottom: auto; display: grid; gap: 10px; transform: translateY(calc(-50% + 20px)); }
.xdr__cap.on { transform: translateY(-50%); }
.xdr__logo { height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left; filter: brightness(0) invert(1); margin-bottom: 6px; }
.xdr__logo--txt { height: auto; filter: none; font-family: var(--font-display); font-style: var(--display-style); font-size: 34px; line-height: 1; }
.xdr__cap .card__line { font-size: 14px; line-height: 1.5; }
.xdr__dots { display: none; }
.xdr__bar { position: absolute; left: 50%; bottom: 6vh; width: min(36vw, 520px); height: 2px; transform: translateX(-50%); background: color-mix(in srgb, var(--paper-ink) 18%, transparent); border-radius: 2px; overflow: hidden; z-index: 3; }
.xdr__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--c1), var(--c2)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 1100px) {
  .xdr__list { display: none; }
  .xdr__caps { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 10vh; transform: none; height: 220px; }
  .xdr__cap, .xdr__cap.on { top: auto; bottom: 0; transform: none; }
}

/* Fin : le pied de page s'affiche sur la couleur, dans la même scène */
.curve--end { height: 420vh; }
.foot-wrap { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; opacity: 0; pointer-events: none; }
.foot-wrap .foot { min-height: 0; margin: 0 auto; width: 100%; padding: 0 max(var(--gutter), calc((100vw - 1240px) / 2)); background: none; }
.contact { padding: 0; }
.contact > .foot { display: none; }

/* Pied de page : une composition centrée, une seule action principale */
.foot-wrap .foot { display: grid; grid-template-rows: 1fr auto; min-height: 100svh; padding: 120px max(var(--gutter), calc((100vw - 1240px) / 2)) 32px; gap: 0; text-align: center; color: #fff; }
.foot__hero { display: grid; justify-items: center; align-content: center; gap: 24px; }
.foot__photo { width: clamp(112px, 10vw, 152px); margin: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 24px 56px -24px rgba(5,7,16,.7); }
.foot__lead { max-width: 18ch; margin: 0; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; text-shadow: 0 4px 40px rgba(5,7,16,.25); }
.foot__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.foot__mail { background: #fff; color: var(--dark); min-height: 48px; padding: 0 24px; font-size: 16px; }
.foot__cta .btn--ghost { min-height: 48px; padding: 0 22px; color: #fff; }
.foot__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.28); text-align: left; font-size: 14px; }
.foot__logo { width: 72px; height: auto; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.foot__nav a { color: #fff; text-decoration: none; opacity: .85; min-height: 44px; display: inline-flex; align-items: center; }
.foot__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot__meta { display: flex; gap: 24px; align-items: center; opacity: .85; }
.foot__meta .foot__legal p { position: absolute; }
@media (max-width: 800px) { .foot__bar { grid-template-columns: 1fr; justify-items: center; text-align: center; } .foot__meta { flex-direction: column; gap: 8px; } }
/* Photo de l'écran : plus grande que la scène, aucun bord visible */
.xdr__photo { width: max(118%, calc(118svh * 1.7872)); }
.xdr__stage { background: #070a1c; }
.foot-wrap .foot { grid-template-columns: 1fr; align-items: stretch; }
.foot-wrap .foot .foot__mail { color: var(--dark); }
.foot-wrap .foot .foot__mail:hover { color: var(--dark); opacity: 1; }
.foot__bar > * { min-width: 0; }

/* Transitions : le liquide noir monte et grignote la scène (wipe.js) */
.wipe { position: relative; z-index: 2; height: 150vh; pointer-events: none; }
.wipe--light { background: var(--light); }
.wipe-gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; opacity: 0; }
.wipe--static.wipe--light { background: linear-gradient(to bottom, var(--light), var(--dark)); }
.wipe--static:not(.wipe--light) { background: linear-gradient(to bottom, transparent, var(--dark)); }
.step__word { font-size: clamp(52px, 9vw, 160px); white-space: nowrap; }

/* Réalisations : colonnes alignées de part et d'autre de l'écran, compteur sur la barre */
.xdr__photo { width: max(112%, calc(112svh * 1.7872)); top: 53%; }
.xdr__head { display: none; }
.xdr__list { width: min(15vw, 230px); transform: translateY(-50%); }
.xdr__title { font-size: clamp(26px, 2.2vw, 38px); margin: 0 0 18px 10px; }
.xdr__caps { width: min(15vw, 240px); }
.xdr__cap { justify-items: start; text-align: left; gap: 12px; }
.xdr__cap > * { margin: 0; }
.xdr__cap .card__link { grid-column: auto; grid-row: auto; justify-self: start; align-self: start; margin-top: 4px; }
.xdr__logo { margin-bottom: 4px; }
.xdr__progress { position: absolute; left: 50%; bottom: 5vh; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 16px; }
.xdr__progress .xdr__bar { position: static; transform: none; width: min(30vw, 440px); }
.xdr__count { margin: 0; }
/* Menu plus haut sur les écrans d'ordinateur */
@media (min-width: 861px) { .top { top: 14px; } }
@media (max-width: 1100px) { .xdr__list { display: none; } .xdr__caps { width: auto; } }

/* Pied de page : indicateur de sections masqué, mentions légales dans le menu */
.ticks { transition: opacity .3s; }
body.at-foot .ticks { opacity: 0; pointer-events: none; }
.foot__nav { align-items: center; }
.foot__legal { position: relative; }
.foot__legal summary { list-style: none; cursor: pointer; color: #fff; opacity: .85; min-height: 44px; display: inline-flex; align-items: center; }
.foot__legal summary::-webkit-details-marker { display: none; }
.foot__legal summary::marker { content: ""; }
.foot__legal summary:hover, .foot__legal[open] summary { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot__legal-pop { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(340px, 80vw); padding: 16px 18px; border-radius: 14px; background: rgba(8,10,22,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-size: 13px; line-height: 1.5; text-align: left; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.foot__legal-pop p { position: static; margin: 0; opacity: .9; }
.foot__legal-pop p + p { margin-top: 8px; }
.foot__meta .foot__legal p { position: static; }
.foot__photo { width: clamp(150px, 15vw, 230px); }

/* ================= Septième passe ================= */
.wipe { height: 95vh; }

/* Outils : la scène reste en place et apparaît à la place d'« Aujourd'hui » */
.toolkit { height: 230vh; margin-top: -100vh; padding: 0; overflow: visible; }
.toolkit__stage { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; padding: 0 var(--gutter); opacity: 0; }
.toolkit__stage .decks { margin-top: 5vh; }

/* Réalisations : la scène part du noir, la lumière s'allume derrière l'écran, puis l'écran s'allume */
.xdr { height: calc(var(--n) * 90vh + 200vh); }
.xdr__photo { opacity: 1 !important; scale: 1 !important; filter: brightness(calc(.04 + .96 * var(--light, 0))) saturate(calc(.6 + .4 * var(--light, 0))) !important; transition: none !important; }
.xdr__screen { opacity: var(--screen, 0); }
.xdr__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(40% 45% at 50% 42%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 70%); opacity: calc(var(--light, 0) * (1 - var(--light, 0)) * 2.4); mix-blend-mode: screen; }
.xdr__list, .xdr__caps, .xdr__progress { opacity: var(--ui, 0); transition: opacity .2s; }
/* Menu et logo : un peu plus bas que le bord noir du hero, sans toucher l'écran des réalisations */
@media (min-width: 861px) { .top { top: 30px; } }
.xdr__photo { top: 55%; }
/* Haut et bas de la photo fondus dans le noir, comme les côtés */
.xdr__stage::before, .xdr__stage::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.xdr__stage::before { top: 0; height: 24vh; background: linear-gradient(to bottom, #070a1c 20%, transparent); }
.xdr__stage::after { bottom: 0; height: 16vh; background: linear-gradient(to top, #070a1c 10%, transparent); }
/* La règle générique « .foot img » fixait toutes les images du pied de page à 90 px : la photo et le logo ont leur propre taille */
.foot .foot__photo { width: clamp(150px, 15vw, 230px); height: auto; }
.foot .foot__logo { width: 72px; height: auto; }
/* Écran de l'iMac : toujours noir, la vidéo s'y allume directement */
.xdr__screen { opacity: 1 !important; background: #000; }
.xdr__v.on { opacity: var(--screen, 0); transition: none; }
.xdr { height: calc(var(--n) * 90vh + 160vh); }

/* Zones de transition : courtes, le liquide les parcourt sur un écran et demi */
.wipe.wipe--light { height: 55vh; }
.wipe:not(.wipe--light) { height: 12vh; }
/* Réalisations : de l'air entre les colonnes de texte et l'écran, même sur un 14 pouces */
.xdr__photo { width: max(104%, calc(104svh * 1.7872)); }
.xdr__list { left: clamp(20px, 2.6vw, 48px); width: min(13vw, 210px); }
.xdr__caps { right: clamp(20px, 2.6vw, 48px); width: min(13vw, 210px); }
.xdr__nav { font-size: 14px; }
.xdr__list, .xdr__caps { width: min(11.5vw, 200px); } .xdr__cap .card__line { font-size: 13px; }

/* Sélecteur de langue : FR par défaut, la liste s'ouvre au clic */
.lang { position: relative; margin-left: 6px; padding-left: 6px; border-left: 1px solid color-mix(in srgb, var(--paper-ink) 20%, transparent); display: block; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: inherit; font: 600 13px/1 var(--font-text); letter-spacing: .06em; cursor: pointer; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: color-mix(in srgb, var(--paper-ink) 12%, transparent); }
.lang__btn svg { transition: transform .25s var(--ease); }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 170px; margin: 0; padding: 6px; list-style: none; border-radius: 16px;
  background: color-mix(in srgb, var(--dark) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper-ink) 14%, transparent), 0 18px 40px -18px rgba(0,0,0,.6); }
.lang__menu[hidden] { display: none; }
.lang__menu a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--paper-ink); text-decoration: none; font-size: 14px; opacity: 1; }
.lang__menu a b { width: 22px; font-size: 12px; letter-spacing: .06em; opacity: .6; }
.lang__menu a:hover { background: color-mix(in srgb, var(--paper-ink) 10%, transparent); }
.lang__menu a.is-on { background: color-mix(in srgb, var(--c1) 30%, transparent); }
body.on-light .lang__menu { background: color-mix(in srgb, var(--light) 88%, transparent); }
body.on-light .lang__menu a { color: var(--ink); }
.xdr { height: calc(var(--n) * 38vh + 160vh); } /* une réalisation tous les 38 % d'écran : un long défilement enchaîne plusieurs projets */

.parcours.is-under-wipe { background: var(--light); }
.parcours.is-under-wipe .parcours__pin { visibility: hidden; }

/* Ciel du désert : nuit profonde en haut, lueur de la charte près de l'horizon */
.hero__fluid::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--dark) 92%, transparent) 0%, color-mix(in srgb, var(--dark) 78%, transparent) 38%, color-mix(in srgb, var(--dark) 35%, transparent) 62%, transparent 80%); }

/* Frise du parcours : rail horizontal, un point par expérience, le point du moment au centre */
.frise { --w: clamp(240px, 26vw, 380px); position: relative; width: 100vw; margin: clamp(20px, 4vh, 44px) calc(50% - 50vw) 0; overflow: hidden; text-align: left;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.frise[data-k="1"] { --w: min(620px, 90vw); -webkit-mask-image: none; mask-image: none; }
.frise__track { --f: 0; position: relative; display: flex; padding-left: calc(50vw - var(--w) / 2); transform: translateX(calc(var(--f) * var(--w) * -1)); transition: transform .7s var(--ease); }
.frise__rail { position: absolute; top: 7px; left: 50vw; width: calc((var(--k) - 1) * var(--w)); height: 1px; background: color-mix(in srgb, var(--paper-ink) 22%, transparent); }
.frise__fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(calc(var(--f) / max(1, var(--k) - 1))); background: linear-gradient(90deg, var(--c1), var(--c2)); transition: transform .7s var(--ease); }
.frise__pt { flex: 0 0 var(--w); padding: 0 22px; display: grid; justify-items: center; align-content: start; text-align: center; gap: 6px; opacity: .35; transition: opacity .5s; }
.frise__pt.is-on { opacity: 1; }
.frise__pt.is-past { opacity: .55; }
.frise__dot { position: relative; width: 15px; height: 15px; border-radius: 50%; background: var(--dark); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--paper-ink) 45%, transparent); margin-bottom: 10px; transition: box-shadow .5s, background .5s, transform .5s var(--ease); }
.frise__pt.is-past .frise__dot { background: var(--c1); box-shadow: inset 0 0 0 2px var(--c1); }
.frise__pt.is-on .frise__dot { background: var(--c2); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c2) 22%, transparent), 0 0 24px var(--c2); transform: scale(1.15); }
.frise__y { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c2); }
.frise__t { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.15; }
.frise__d { margin: 0; max-width: 34ch; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease); }
.frise[data-k="1"] .frise__d { max-width: 52ch; }
.frise__pt.is-on .frise__d { opacity: .78; transform: none; }
.step__word { font-size: clamp(48px, 7.4vw, 132px); }
.step__line { font-size: clamp(26px, 3.6vw, 60px); }
@media (prefers-reduced-motion: reduce) {
  .frise { width: auto; margin: 32px 0 0; -webkit-mask-image: none; mask-image: none; }
  .frise__track { transform: none; padding: 0; flex-direction: column; gap: 28px; } .frise__rail { display: none; }
  .frise__pt { opacity: 1; flex-basis: auto; } .frise__d { opacity: .78; transform: none; }
}
@media (max-width: 760px) {
  .frise { --w: 78vw; }
  .frise__d { max-width: 30ch; }
}

/* Comètes : toile fixée à l'écran, elles tombent jusqu'à passer sous la vague noire */
.comets { position: fixed; inset: 0; width: 100%; height: 100svh; margin: 0; z-index: 3; }
.wave__line { z-index: 4; }

/* Jeu du pied de page : icônes qui montent, viseur, score */
.game { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
body.game-on .curve--end, body.game-on .curve--end * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='20' cy='20' r='11'/%3E%3Cpath d='M20 2v10M20 28v10M2 20h10M28 20h10'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='2' fill='white'/%3E%3C/svg%3E") 20 20, crosshair; }
body.game-on .curve--end a, body.game-on .curve--end button, body.game-on .curve--end summary { cursor: pointer; }
.game__hud { position: fixed; right: 24px; top: 96px; z-index: 41; display: flex; align-items: baseline; gap: 6px; padding: 10px 16px; border-radius: 999px; color: #fff; font-size: 13px;
  background: color-mix(in srgb, var(--dark) 45%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); opacity: 0; transform: translateY(-12px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
body.game-on .game__hud { opacity: 1; transform: none; }
.game__hud b { font-family: var(--font-display); font-size: 20px; font-variant-numeric: tabular-nums; }
.game__hud span { opacity: .7; }
.game__hud i { width: 1px; height: 14px; background: rgba(255,255,255,.3); margin: 0 6px; align-self: center; }
.game__hint { margin-right: 10px; opacity: .85 !important; }
.game__hud.is-hit b:first-of-type { animation: gameHit .35s var(--ease); }
@keyframes gameHit { 40% { transform: scale(1.35); color: var(--c2); } }
@media (max-width: 760px) { .game__hint { display: none; } .game__hud { right: 16px; top: 84px; } }
.game__x { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--dark); background: linear-gradient(90deg, var(--c2), #ffe08a); padding: 2px 8px; border-radius: 999px; margin-right: 6px; align-self: center; animation: gameHit .35s var(--ease); }
body.game-on.game-big .curve--end, body.game-on.game-big .curve--end * { cursor: none; }
body.game-on.game-big .curve--end a, body.game-on.game-big .curve--end button, body.game-on.game-big .curve--end summary { cursor: pointer; }
/* Pendant le jeu, seuls le mail et LinkedIn restent cliquables : photo, textes et menu ne captent plus les tirs */
body.game-on { -webkit-user-select: none; user-select: none; }
body.game-on .curve--end * { pointer-events: none !important; -webkit-user-drag: none; }
body.game-on .curve--end .foot__cta a { pointer-events: auto !important; }

/* Frise en blanc : le point du moment en blanc plein, les autres en blanc atténué, le rail reste gris */
.frise__fill { background: color-mix(in srgb, #fff 70%, transparent); }
.frise__y { color: color-mix(in srgb, #fff 60%, transparent); }
.frise__pt.is-on .frise__y { color: #fff; }
.frise__pt.is-past .frise__dot { background: color-mix(in srgb, #fff 70%, transparent); box-shadow: inset 0 0 0 2px transparent; }
.frise__pt.is-on .frise__dot { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.16), 0 0 22px rgba(255,255,255,.55); }
/* Icônes de l'expérience : outils, livrables, logos du groupe ; elles changent avec le point du moment */
.frise__icons { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; max-width: 46ch; }
.frise[data-k="1"] .frise__icons { max-width: none; gap: 18px 30px; margin-top: 26px; }
.fi { width: 26px; height: 26px; display: grid; place-items: center; color: #fff; opacity: 0; transform: translateY(10px) scale(.8); transition: opacity .45s, transform .55s var(--ease); }
.fi svg { width: 100%; height: 100%; }
.fi img { max-width: 100%; max-height: 100%; filter: brightness(0) invert(1); }
.fi--logo { width: auto; height: 30px; }
.fi--logo img { height: 30px; width: auto; max-width: 110px; }
.frise__pt.is-on .fi { opacity: .72; transform: none; }
.frise__pt.is-on .fi:nth-child(2) { transition-delay: .06s; } .frise__pt.is-on .fi:nth-child(3) { transition-delay: .12s; }
.frise__pt.is-on .fi:nth-child(4) { transition-delay: .18s; } .frise__pt.is-on .fi:nth-child(5) { transition-delay: .24s; }
.frise__pt.is-on .fi:nth-child(6) { transition-delay: .3s; } .frise__pt.is-on .fi:nth-child(7) { transition-delay: .36s; } .frise__pt.is-on .fi:nth-child(8) { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) { .fi { opacity: .72; transform: none; } }
.fi--raw img { filter: none; }

/* Hero : contour d'iPad en fin de défilement */
.hero__bezel { position: absolute; z-index: 6; top: 2px; bottom: 2px; left: calc(var(--bx, 0px) + 2px); right: calc(var(--bx, 0px) + 2px); pointer-events: none;
  border: calc(var(--bk) * clamp(12px, 1.3vw, 20px)) solid #07080c; border-radius: var(--br, 22px);
  outline: 2px solid color-mix(in srgb, #c3c8d0 calc(var(--bk) * 100%), transparent); outline-offset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255, calc(var(--bk) * .08)); opacity: min(1, calc(var(--bk) * 3)); }
.hero__bezel::before { content: ""; position: absolute; left: 50%; top: calc(var(--bk) * clamp(12px, 1.3vw, 20px) * -0.5 - 3px); width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a4560, #10131c 70%); opacity: var(--bk); }
.step[data-step="0"] .step__word { font-size: clamp(40px, 6.2vw, 112px); }

/* ================= L'iPad fil conducteur : écran d'accueil, app du manifeste, vague noire ================= */
.hero { height: 1020vh; }
.manif-static { display: none; }
.hero__fluid::after { opacity: calc(1 - var(--home, 0)); }
.ipad-screen { position: absolute; z-index: 5; overflow: hidden; pointer-events: none;
  --bw: calc(var(--bk, 0) * clamp(12px, 1.3vw, 20px));
  top: calc(2px + var(--bw)); bottom: calc(2px + var(--bw)); left: calc(var(--bx, 0px) + 2px + var(--bw)); right: calc(var(--bx, 0px) + 2px + var(--bw));
  border-radius: calc(var(--br, 22px) - var(--bw)); }
.hero__frame:not(.is-ipad) .ipad-screen { visibility: hidden; }
/* Écran d'accueil */
.ipad-home { position: absolute; inset: 0; color: #fff; opacity: calc(var(--home, 0) * (1 - var(--open, 0))); }
.ipad-bar { position: absolute; top: 14px; left: 26px; right: 26px; display: flex; justify-content: space-between; align-items: center; font: 600 13px/1 var(--font-text); }
.ipad-bar span { display: flex; gap: 8px; align-items: center; }
.ipad-wifi { width: 15px; height: 11px; background: #fff; clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%); }
.ipad-batt { width: 24px; height: 11px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.ipad-batt::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: #fff; border-radius: 1px; }
.ipad-grid { list-style: none; margin: 0; padding: 0; position: absolute; top: 15%; left: 8%; right: 8%; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(18px, 3.6vh, 40px) 4%; justify-items: center; }
.app { display: grid; justify-items: center; gap: 8px; opacity: min(1, calc(var(--home, 0) * 3 - var(--i) * 0.16)); transform: scale(calc(0.6 + 0.4 * min(1, var(--home, 0) * 3 - var(--i) * 0.16))); }
.app small { font: 500 12px/1 var(--font-text); color: rgba(255,255,255,.92); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.app__ic { width: clamp(44px, 5.6vw, 76px); aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c1) 92%, #fff 8%), var(--c3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 18px -8px rgba(0,0,0,.45); }
.app__ic img { width: 46%; height: 46%; object-fit: contain; filter: brightness(0) invert(1); }
.app__ic--mg { background: linear-gradient(145deg, #2a2f3d, #07080c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 8px 18px -8px rgba(0,0,0,.6); transform: scale(calc(1 - var(--tap, 0) * 0.12)); }
.app__ic--mg img { width: 54%; height: 54%; }
.ipad-dock { position: absolute; left: 50%; bottom: 3.5%; transform: translateX(-50%); display: flex; gap: clamp(12px, 1.6vw, 22px); padding: 12px 16px; border-radius: 30px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  opacity: min(1, calc(var(--home, 0) * 2)); }
/* L'app du manifeste s'ouvre depuis l'icône MG du dock */
.ipad-app { position: absolute; inset: 0; overflow: hidden; background: var(--light); color: var(--ink); transform-origin: var(--ox, 40%) var(--oy, 92%); transform: scale(calc(0.06 + 0.94 * var(--open, 0)));
  border-radius: calc((1 - var(--open, 0)) * 40px); opacity: min(1, calc(var(--open, 0) * 4)); }
.ipad-app .wave__line { position: absolute; top: 50%; left: 0; font-size: clamp(54px, 8.6vw, 150px); }
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100svh; } .ipad-screen { display: none; }
  .manif-static { display: block; background: var(--light); color: var(--ink); padding: 18vh var(--gutter); }
  .manif-static p { margin: 0 auto; max-width: 22ch; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(36px, 6vw, 90px); line-height: 1.02; }
}
.hero__frame.is-black { background: var(--dark); }
.hero__frame.is-black > * { visibility: hidden; }

/* Outils : dock d'iPad d'où les cartes décollent */
.tk-dock { position: absolute; left: 50%; bottom: 6vh; z-index: 3; display: flex; gap: 16px; padding: 12px 16px; border-radius: 30px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; pointer-events: none; }
.tk-dock .app__ic { width: 56px; }
.tk-dock.is-up { transform: translate(-50%, 0); opacity: 1; }
.tk-dock.is-launch .app__ic { animation: tkBounce .5s var(--ease); }
.tk-dock.is-gone { transform: translate(-50%, 140%); opacity: 0; transition-delay: .3s; }
@keyframes tkBounce { 40% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .tk-dock { display: none; } }
body.tk-in .parcours__pin { opacity: 0 !important; transition: opacity .6s; }

/* Écran d'accueil : icônes façon iOS ; la phrase traverse ensuite l'écran sur le fond coloré */
.ios { display: block; width: clamp(44px, 5.6vw, 76px); aspect-ratio: 1; border-radius: 22.5%; overflow: hidden; box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); }
.ios svg { display: block; width: 100%; height: 100%; }
.ipad-dock .ios { opacity: 1; }
.ipad-home { opacity: calc(var(--home, 0) * (1 - var(--open, 0))); transform: scale(calc(1 + var(--open, 0) * 0.08)); }
.ipad-app { background: none; color: #fff; transform: none; border-radius: 0; opacity: var(--open, 0); }
.ipad-app .wave__line { color: #fff; text-shadow: 0 2px 30px rgba(10, 12, 40, .25); }
/* Les icônes restent pendant le passage de la phrase : une seule rangée en haut et le dock en bas, la phrase passe entre les deux */
.ipad-home { opacity: var(--home, 0); transform: none; }
.ipad-grid .app:nth-child(n+7) { display: none; }
.ipad-grid { top: 11%; }
/* Parcours : plus de titre en lettres dispersées, un petit « Mon parcours » au-dessus de la première étape */
.parcours .scatter { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0 !important; }
.step__kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, #fff 62%, transparent); }
/* Les points et leur halo ne sont plus coupés par le haut de la frise */
.frise { padding-top: 30px; margin-top: clamp(0px, 1.2vh, 14px); }

/* App MG : le monogramme sur fond blanc, il apparaît quand le MG 3D s'y pose */
.ios--mg { display: grid; place-items: center; background: #fff; opacity: 0; transition: opacity .25s; }
.ios--mg img { width: 58%; height: 58%; object-fit: contain; filter: brightness(0); }
.app--mg.is-in .ios--mg { opacity: 1; }
.app--mg { opacity: var(--home, 0) !important; transform: none !important; }

/* Le parcours chevauche la fin du hero : il attend sur le noir, puis s'écrit sur place */
.parcours { position: relative; margin-top: -118vh; z-index: 3; background: transparent; }
.parcours:not(.is-live) .parcours__pin { visibility: hidden; }
.parcours:not(.is-live) .ltr { opacity: 0 !important; transition: none !important; }
.parcours:not(.is-live) .step__kicker, .parcours:not(.is-live) .frise { opacity: 0; transition: none; }
.step__kicker, .frise { transition: opacity .6s .5s; }
@media (prefers-reduced-motion: reduce) { .parcours { margin-top: 0; } .parcours:not(.is-live) .parcours__pin { visibility: visible; } .parcours:not(.is-live) .ltr { opacity: 1 !important; } }
.hero { height: 920vh; }

/* Aujourd'hui : plus d'air au-dessus des logos du groupe */
.frise[data-k="1"] .frise__icons { margin-top: 48px; }
/* Outils puis iMac : l'iMac est déjà épinglé sous les outils, l'écran des outils s'y pose */
.toolkit { height: 330vh; z-index: 4; }
.bg-fluid { z-index: 3; }
.realisations { margin-top: -200vh; padding-top: 0; background: transparent; }
.xdr { height: calc(var(--n) * 38vh + 260vh); }
.toolkit__stage { transform-origin: 50% 50%; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .toolkit { height: auto; } .realisations { margin-top: 0; } }

/* Outils vers l'iMac : moins de défilement, et un bord noir arrondi comme celui de l'iMac */
.toolkit { height: 250vh; }
.tk-bezel { position: absolute; z-index: 5; opacity: 0; pointer-events: none; border: 0 solid #050507; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }

/* Ébauche « Premier lancement » (?maquette=arrivee) */
.intro-shade { position: fixed; z-index: 89; pointer-events: none; box-shadow: 0 0 0 200vmax var(--dark); outline: 1.5px solid color-mix(in srgb, var(--c2) 80%, transparent); outline-offset: -1px; }
.intro-shade.is-open { transition: left 1.1s cubic-bezier(.2,.85,.25,1), top 1.1s cubic-bezier(.2,.85,.25,1), width 1.1s cubic-bezier(.2,.85,.25,1), height 1.1s cubic-bezier(.2,.85,.25,1), border-radius 1.1s, outline-color 1.1s .2s; outline-color: transparent; }
body.intro-pending .hero__glassname { opacity: 0 !important; translate: 0 14vh; filter: blur(14px); }
body.intro-run .hero__glassname { transition: opacity 1.3s, translate 1.4s cubic-bezier(.2,.85,.25,1), filter 1.4s; }
body.intro-ui-pending .top, body.intro-ui-pending .ticks, body.intro-ui-pending .hero__scroll { opacity: 0; translate: 0 -10px; }
body.intro-run .top, body.intro-run .ticks, body.intro-run .hero__scroll { transition: opacity .7s, translate .8s cubic-bezier(.2,.85,.25,1); }
body.intro-pending .hero__fluid { opacity: 0; }
body.intro-run .hero__fluid { transition: opacity 1.4s; }
body.intro-pending .hero__frame { background: var(--dark); }
.look-monument .hero__glassname { opacity: 0 !important; }
.look-planete .hero__fluid { opacity: .18; }
.look-planete .hero__frame { background: radial-gradient(120% 80% at 50% 110%, #101a4a, #06070f 70%); }
.look-planete .hero__frame { cursor: grab; }
.look-planete .hero__frame.is-grabbing { cursor: grabbing; }
.jump-veil { position: fixed; inset: 0; z-index: 95; background: var(--dark); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.jump-veil.on { opacity: 1; }
/* Fin du hero : le cadre noir garde son noir aussi avec la planète (la lueur bleue du fond ne monte plus sur « J’ai commencé par ») */
html .hero__frame.is-black { background: var(--dark); }
/* Réalisations : de l’air entre le logo, le type de projet, la phrase et le bouton */
.xdr__cap { gap: 0; }
.xdr__cap .xdr__logo { margin: 0 0 28px; }
.xdr__cap .card__meta { margin: 0 0 16px; line-height: 1.45; }
.xdr__cap .card__line { margin: 0 0 32px; line-height: 1.6; }
.xdr__cap .card__link { margin-top: 0; }
/* Défilement retenu (icônes des outils en vol) : aussi au toucher et à la barre de défilement */
html.lenis-stopped { overflow: hidden; }
/* Outils : scène et titre en entier dès le décollage des icônes */
body.tk-in .toolkit__stage { opacity: 1 !important; transition: opacity .35s; }

/* Passage à « Aujourd'hui » : la ligne du temps file jusqu'au point d'aujourd'hui, la couleur s'ouvre depuis lui */
.today-line { position: fixed; left: 0; z-index: 3; height: 2px; margin-top: -1px; transform-origin: left; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55) 70%, #fff); box-shadow: 0 0 14px rgba(255,255,255,.55); }
.today-ring { position: fixed; z-index: 3; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.55), 0 0 40px 6px color-mix(in srgb, var(--c2) 45%, transparent), inset 0 0 60px color-mix(in srgb, var(--c2) 35%, transparent); }
.frise__pt.is-lit .frise__dot { animation: todayPulse .9s var(--ease); }
@keyframes todayPulse { 0% { transform: scale(1.15); } 35% { transform: scale(2.1); box-shadow: 0 0 0 10px rgba(255,255,255,.18), 0 0 40px #fff; } 100% { transform: scale(1.15); } }

/* App MG : la tuile et le MG sont en 3D (métal sur noir verni), l'icône du DOM ne garde que son nom */
.look-planete .ios--mg { background: transparent !important; box-shadow: none !important; }
.look-planete .ios--mg img { visibility: hidden; }

/* Lancement du jeu : annonce en haut de l'écran */
.game__start { position: fixed; left: 50%; top: 104px; z-index: 42; display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 999px; color: #fff; pointer-events: none;
  background: color-mix(in srgb, var(--dark) 45%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 18px 40px -18px rgba(0,0,0,.5);
  opacity: 0; transform: translate(-50%, -14px) scale(.92); transition: opacity .45s, transform .6s var(--ease); }
.game__start.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.game__start b { font-family: var(--font-display); font-size: 18px; letter-spacing: .01em; }
.game__start span:last-child { font-size: 13px; opacity: .72; }
.game__start-dot { width: 9px; height: 9px; border-radius: 50%; background: #ffe08a; box-shadow: 0 0 0 0 rgba(255,224,138,.7); animation: gameDot 1.2s infinite; }
@keyframes gameDot { 70% { box-shadow: 0 0 0 10px rgba(255,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(255,224,138,0); } }
@media (max-width: 760px) { .game__start { top: 84px; } .game__start span:last-child { display: none; } }
/* Header planète : plus de logotype vitré derrière la planète */
/* Planète bleue et blanche : textes blancs de l iPad détachés des nuages clairs */
.look-planete .app small { text-shadow: 0 1px 5px rgba(5,13,31,.7); }
.look-planete .ipad-app .wave__line { text-shadow: 0 2px 26px rgba(5,13,31,.5), 0 1px 3px rgba(5,13,31,.35); }

/* Curseur 3D chrome : remplace la flèche du système ; le viseur du jeu reprend la main pendant la partie */
.cursor3d { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
html.has-cursor3d, html.has-cursor3d * { cursor: none !important; }
html.has-cursor3d body.game-on .curve--end, html.has-cursor3d body.game-on .curve--end * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='20' cy='20' r='11'/%3E%3Cpath d='M20 2v10M20 28v10M2 20h10M28 20h10'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='2' fill='white'/%3E%3C/svg%3E") 20 20, crosshair !important; }
html.has-cursor3d body.game-big .curve--end, html.has-cursor3d body.game-big .curve--end * { cursor: none !important; }
body.game-on .cursor3d { opacity: 0 !important; }
html.has-cursor3d body.game-on .curve--end .foot__cta a { cursor: pointer !important; }

/* Ouverture du header planète : le chargement s'efface en douceur, le MG du chargement s'élargit et se dissout */
html.look-planete .is-loaded .loader { clip-path: none; opacity: 0; transition: opacity 1s ease .15s, visibility 0s 1.2s; }
html.look-planete .is-loaded .loader__mark { transform: scale(1.5); opacity: 0; filter: blur(6px); transition: transform 1s cubic-bezier(.2,.85,.25,1), opacity .8s ease, filter .8s ease; }

/* Le logotype de verre reste caché jusqu'à la fin de l'ouverture, puis monte du bas une seule fois */
body:not(.op-shown) .hero__glassname { opacity: 0 !important; translate: 0 14vh; filter: blur(14px); transition: none; }
@media (prefers-reduced-motion: reduce) { body:not(.op-shown) .hero__glassname { opacity: .5 !important; translate: none; filter: none; } }

/* Voile de l'ouverture : la page reste en nuit jusqu'au lever de la planète, puis le voile s'efface en douceur */
html.op-veil::after { content: ""; position: fixed; inset: 0; z-index: 88; background: var(--dark); pointer-events: none; opacity: 1; transition: opacity 1s ease; }
html.op-veil-out::after { opacity: 0; }
html.op-veil:not(.op-veil-out) .top, html.op-veil:not(.op-veil-out) .ticks, html.op-veil:not(.op-veil-out) .hero__scroll { opacity: 0; }
/* « Défiler » hors du header */
.scroll-hint { position: fixed; left: 50%; bottom: clamp(18px, 3.5vh, 36px); z-index: 30; transform: translate(-50%, 8px); display: grid; justify-items: center; gap: 10px; color: var(--paper-ink);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .6s, transform .6s var(--ease); text-shadow: 0 1px 8px rgba(5,7,19,.5); }
.scroll-hint.on { opacity: .85; transform: translate(-50%, 0); }
.scroll-hint i { position: relative; width: 1px; height: 46px; background: color-mix(in srgb, var(--paper-ink) 30%, transparent); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: -2px; top: -8px; width: 5px; height: 8px; border-radius: 3px; background: var(--paper-ink); animation: scroll-dot 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
@media (max-width: 700px) { .scroll-hint { bottom: 14px; } }

/* Outils : une phrase sous le titre relie la section à l'histoire */
.toolkit__sub { margin: 14px auto 36px; max-width: 52ch; text-align: center; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .6s .35s, transform .7s .35s var(--ease); }
.toolkit .title.is-written ~ .toolkit__sub, body.tk-in .toolkit__sub { opacity: .8; transform: none; }
/* Parcours : la frise reste à la même hauteur d une étape à l autre (étapes calées en haut, titre de hauteur fixe) */
.parcours__pin { place-items: start center; padding-top: clamp(84px, 10.5vh, 118px); }
.steps { align-self: start; }
.step { align-content: start; }
.step__word { height: calc(clamp(48px, 7.4vw, 132px) * 0.95); display: flex; align-items: flex-end; justify-content: center; line-height: .95; }
.step__line { min-height: calc(clamp(26px, 3.6vw, 60px) * 2.08); }
/* Aujourd hui : tous les sites du groupe cités dans le CV, sur trois rangées */
.frise[data-k="1"] .frise__icons { max-width: 760px; gap: 16px 28px; }
.frise[data-k="1"] .fi--logo, .frise[data-k="1"] .fi--logo img { height: 26px; }
.frise[data-k="1"] .fi--logo img { max-width: 96px; }
@media (max-width: 760px) { .frise[data-k="1"] .frise__icons { gap: 12px 18px; } .frise[data-k="1"] .fi--logo, .frise[data-k="1"] .fi--logo img { height: 19px; } .frise[data-k="1"] .fi--logo img { max-width: 72px; } }
/* Hero mesuré sur la hauteur réelle de la fenêtre (mobile : barre d adresse), pour que ses étapes tombent juste */
.hero { height: calc(var(--ih, 1vh) * 920); }
/* Aujourd hui : logos espacés sur deux rangées, les logos larges (Leapmotor, GWM) gardent leur hauteur */
@media (min-width: 761px) { .frise[data-k="1"] { --w: min(1180px, 94vw); } .frise[data-k="1"] .frise__icons { max-width: 1180px; gap: 26px 46px; } .frise[data-k="1"] .fi--logo, .frise[data-k="1"] .fi--logo img { height: 28px; } .frise[data-k="1"] .fi--logo img { max-width: 175px; } .frise[data-k="1"] .frise__d { max-width: 62ch; margin-left: auto; margin-right: auto; } }
/* Aujourd hui : logos plus grands, les logos carrés (Peugeot, Big In, Baguet) un cran au-dessus pour peser autant que les logos larges */
@media (min-width: 761px) { .frise[data-k="1"] .frise__icons { gap: 30px 52px; } .frise[data-k="1"] .fi--logo, .frise[data-k="1"] .fi--logo img { height: 38px; } .frise[data-k="1"] .fi--logo img { max-width: 210px; } .frise[data-k="1"] .fi--sq, .frise[data-k="1"] .fi--sq img { height: 54px; } }
@media (max-width: 760px) { .frise[data-k="1"] .fi--sq, .frise[data-k="1"] .fi--sq img { height: 28px; } }
