@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500&family=Inter+Tight:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400&display=swap');

/* ============================================================
   ÉTINCELLE — Rénovation tous corps d'état
   Système : grotesque unique en 400, canevas blanc, un or de marque
   ============================================================ */

/* --- reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

/* --- tokens ------------------------------------------------ */
:root {
  --ink: #090707;
  --graphite: #212529;
  --canvas: #ffffff;
  --black: #000000;
  --hairline: #c8ccd2;
  --grey-text: #868c96;
  --hairline-faint: #eceef1;
  --gold: #e3b23c;
  --gold-hi: #f6d780;
  --gold-deep: #8a6412;
  --accent: var(--gold-deep);
  --whisper: #eeeeee;

  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-ui: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --display: clamp(42px, 7.6vw, 96px);
  --heading: clamp(30px, 4.4vw, 62px);
  --editorial: clamp(21px, 2.5vw, 38px);
  --sub: clamp(18px, 1.5vw, 22px);
  --body: 15px;
  --meta: 11px;

  --pad: clamp(20px, 4.2vw, 56px);
  --band: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

body {
  background: var(--canvas);
  color: var(--graphite);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-feature-settings: "ss01" on, "cv11" on;
  overflow-x: hidden;
}

[data-dark] { --accent: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- type utilities ---------------------------------------- */
.display,
.heading {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}
.display { font-size: var(--display); }
.heading { font-size: var(--heading); }
.editorial {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--editorial);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: pretty;
}
.sub { font-size: var(--sub); line-height: 1.33; letter-spacing: -0.018em; }
.meta {
  font-family: var(--font-mono);
  font-size: var(--meta);
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.prose { max-width: 62ch; }
.muted { color: var(--graphite); opacity: 0.7; }

/* --- bands ------------------------------------------------- */
.band { padding: var(--band) var(--pad); }
.band--tight { padding-block: clamp(40px, 5vw, 72px); }
.band--flush { padding-inline: 0; }
.band--dark { background: var(--black); color: #fff; }
[data-dark] .display,
[data-dark] .heading,
[data-dark] .editorial { color: #fff; }

.rule { height: 1px; background: var(--hairline); border: 0; margin: 0 var(--pad); }
.rule--full { margin: 0; }

.eyebrow {
  display: flex; align-items: baseline; gap: 14px;
  color: var(--graphite);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.band--dark .eyebrow { color: rgba(255,255,255,.72); border-bottom-color: rgba(255,255,255,.26); }
.eyebrow b { font-weight: 400; color: var(--accent); }

/* --- buttons ----------------------------------------------- */
.btn {
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-radius: 0;
  font-size: 14px;
  letter-spacing: -0.014em;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn__label { position: relative; display: block; overflow: hidden; }
.btn__label span { display: block; transition: transform .45s var(--ease); }
.btn__label span::after {
  content: attr(data-t);
  position: absolute; inset: 100% 0 auto 0;
}
.btn:hover .btn__label span { transform: translateY(-100%); }
.btn__arrow { transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { box-shadow: inset 0 0 0 1px rgba(9,7,7,.42); }

.btn--ghost { border: 1px solid var(--graphite); color: var(--graphite); background: transparent; }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .5s var(--ease-io);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn--ghost:hover::before { transform: translateY(0); }

.btn--invert { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--invert:hover { color: var(--ink); border-color: var(--gold); }

.btn--lg { padding: 18px 22px; font-size: 16px; }

/* text link with gold underline growth */
.tlink { position: relative; display: inline-block; }
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }

/* --- scroll progress --------------------------------------- */
.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

/* --- custom cursor ----------------------------------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; display: none; }
.cursor__ring {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--accent); border-radius: 50%;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
  display: grid; place-items: center;
  will-change: transform;
}
.cursor__txt {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transition: opacity .25s var(--ease); white-space: nowrap;
}
.cursor.is-active .cursor__ring {
  width: 74px; height: 74px; margin: -37px 0 0 -37px;
  background: var(--gold); border-color: var(--gold);
}
.cursor.is-active .cursor__txt { opacity: 1; }
.cursor.is-dark .cursor__ring { border-color: var(--gold); }

.cursor__dot {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--gold-deep); border-radius: 50%;
  transition: opacity .3s var(--ease);
  will-change: transform;
}
.cursor.is-active .cursor__dot { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  .cursor-on .cursor { display: block; }
  .cursor-on body, .cursor-on a, .cursor-on button, .cursor-on summary { cursor: none; }
}

/* --- navigation -------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 56px; padding: 0 var(--pad);
  color: #fff;
  transition: transform .55s var(--ease), background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-light { background: var(--canvas); color: var(--graphite); border-bottom-color: var(--hairline); }
.nav.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: -0.02em; }
.brand__mark { width: 14px; height: 18px; display: grid; grid-template: repeat(7, 1fr) / repeat(5, 1fr); gap: 1px; }
.brand__mark i { background: currentColor; opacity: 0; }
.brand__mark i.on { opacity: 1; }
.brand:hover .brand__mark i.on { animation: flick .6s steps(2) 1; }
@keyframes flick { 50% { opacity: .25; } }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); font-size: 13px; }
.nav__link { position: relative; overflow: hidden; display: block; height: 1.3em; }
.nav__link span { display: block; transition: transform .45s var(--ease); }
.nav__link span::after { content: attr(data-t); position: absolute; inset: 100% 0 auto 0; color: var(--accent); }
.nav__link:hover span { transform: translateY(-100%); }

.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__locale { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.nav__div { width: 1px; height: 16px; background: currentColor; opacity: .3; }
.nav__cta { padding: 9px 15px; font-size: 13px; }

/* --- hero -------------------------------------------------- */
.hero {
  min-height: 72vh;
  padding: calc(56px + clamp(32px, 5.5vw, 72px)) var(--pad) clamp(26px, 3.2vw, 44px);
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vw, 56px);
  background: var(--black); color: #fff;
}
.hero__grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(140px, 0.9fr) 2.6fr;
  gap: clamp(24px, 4vw, 64px);
}
.hero__mark {
  width: 100%; max-width: 320px; aspect-ratio: 5 / 7;
  display: grid; grid-template: repeat(7, 1fr) / repeat(5, 1fr); gap: clamp(3px, .6vw, 7px);
}
.hero__mark i { background: var(--gold); opacity: 0; transform: scale(.4); }
.hero__mark i.on { animation: pixin .5s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes pixin { to { opacity: 1; transform: scale(1); } }
.hero__mark.is-hot i.on { animation: pixpulse .9s var(--ease) var(--d2, 0s); }
@keyframes pixpulse { 40% { transform: scale(.7); opacity: .45; } }

.hero h1 { font-size: var(--display); }
.hero__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: clamp(22px, 2.6vw, 34px); }
.hero__sub p { max-width: 46ch; color: rgba(255,255,255,.72); }

.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 32px; color: rgba(255,255,255,.6); }
.hero__meta span { display: flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; background: var(--accent); }

/* --- stats ticker ------------------------------------------ */
.ticker {
  background: var(--black); color: #fff;
  border-top: 1px solid rgba(255,255,255,.22);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.ticker__cell {
  padding: 18px var(--pad);
  display: flex; align-items: baseline; gap: 10px;
  border-left: 1px solid rgba(255,255,255,.16);
  position: relative; overflow: hidden;
}
.ticker__cell:first-child { border-left: 0; }
.ticker__cell b { font-family: var(--font-mono); font-weight: 400; font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ticker__cell small { color: rgba(255,255,255,.58); }

/* --- manifesto --------------------------------------------- */
.manifesto__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.word { display: inline-block; overflow: hidden; vertical-align: top; }
.word > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.is-in .word > span { transform: translateY(0); }
.spec { border-top: 1px solid var(--ink); }
.spec__row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--hairline);
  transition: padding-left .4s var(--ease), border-color .4s var(--ease);
}
.spec__row:hover { padding-left: 10px; border-bottom-color: var(--ink); }
.spec__row dt { color: var(--graphite); opacity: .7; }
.spec__row dd { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); }

/* --- technical drawing band -------------------------------- */
.plan { padding-inline: 0; }
.plan__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 0 var(--pad) 22px; }
.plan__frame { border-block: 1px solid var(--ink); padding: clamp(22px, 3.4vw, 52px) var(--pad); overflow: hidden; }
.plan__svg { width: 100%; height: auto; color: var(--ink); }
.plan__svg [data-draw] {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p, 0));
}
.plan__svg text { font-family: var(--font-mono); font-size: 13px; letter-spacing: .09em; fill: var(--graphite); }
.plan__svg .dim text { font-size: 12px; letter-spacing: 0; }
.plan__legend { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 20px var(--pad) 0; }

/* --- lots index -------------------------------------------- */
.lots { position: relative; }
.lots__list { border-top: 1px solid var(--ink); }
.lot {
  position: relative;
  display: grid; grid-template-columns: 92px 1fr auto;
  align-items: center; gap: clamp(12px, 2vw, 32px);
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--hairline);
  transition: border-color .4s var(--ease);
}
.lot::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .5s var(--ease);
}
.lot:hover { border-bottom-color: var(--ink); }
.lot:hover::before { transform: scaleY(1); }
.lot__no { color: var(--graphite); opacity: .7; transition: color .4s var(--ease), opacity .4s var(--ease), transform .5s var(--ease); }
.lot:hover .lot__no { color: var(--accent); opacity: 1; transform: translateX(12px); }
.lot__name {
  font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 48px);
  letter-spacing: -0.042em; line-height: 1.02; color: var(--ink);
  transition: transform .55s var(--ease);
}
.lot:hover .lot__name { transform: translateX(16px); }
.lot__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; max-width: 42ch; color: var(--graphite); opacity: .68; transition: opacity .4s var(--ease); }
.lot:hover .lot__tags { opacity: 1; }

.preview {
  position: fixed; top: 0; left: 0; z-index: 70; width: 290px;
  pointer-events: none; opacity: 0; transform: scale(.94);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  will-change: transform;
}
.preview.is-on { opacity: 1; transform: scale(1); }
.preview__card { background: var(--canvas); border: 1px solid var(--ink); }
.preview__top { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--hairline); color: var(--graphite); }
.preview__fig { padding: 14px 12px; }
.preview__fig svg { width: 100%; height: auto; color: var(--ink); }
.preview__foot { padding: 10px 12px; border-top: 1px solid var(--hairline); display: grid; gap: 4px; }
.preview__foot div { display: flex; justify-content: space-between; gap: 12px; }
.preview__foot b { font-weight: 400; font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: 0; }
.preview__pane { display: none; }
.preview__pane.is-shown { display: block; }

/* --- IA section -------------------------------------------- */
.ia__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.cap {
  position: relative; background: var(--canvas);
  padding: clamp(22px, 2.6vw, 38px);
  display: grid; gap: 14px; align-content: start;
  overflow: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.cap::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: translateY(100%); transition: transform .6s var(--ease-io); z-index: 0;
}
.cap > * { position: relative; z-index: 1; }
.cap:hover::after { transform: translateY(0); }
.cap:hover { color: rgba(255,255,255,.76); }
.cap:hover .cap__title, .cap:hover .cap__no { color: #fff; }
.cap__no { color: var(--graphite); opacity: .7; transition: color .4s var(--ease); }
.cap__title { font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.038em; line-height: 1.06; color: var(--ink); transition: color .4s var(--ease); }
.cap__out { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 4px; }
.cap__out span { border: 1px solid currentColor; padding: 3px 7px; opacity: .7; }

.scan__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: clamp(30px, 3.6vw, 52px) 0 14px; }
.scan { border: 1px solid var(--hairline); position: relative; background: var(--canvas); }
.scan__canvas { width: 100%; height: clamp(240px, 34vw, 380px); }
.scan__hud { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 10px 14px; border-top: 1px solid var(--hairline); color: var(--graphite); background: var(--canvas); }
.scan__hud b { font-weight: 400; color: var(--ink); font-family: var(--font-mono); }

/* --- process (horizontal pin) ------------------------------ */
.process { position: relative; height: 480vh; }
.process__pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vw, 40px);
  padding-block: 86px 0;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}
.process__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px; padding: 0 var(--pad); }
.process__track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--pad); will-change: transform; }
.stage {
  flex: 0 0 min(76vw, 460px);
  border: 1px solid var(--hairline);
  padding: clamp(20px, 2.4vw, 32px);
  display: grid; gap: 14px; align-content: start;
  transition: border-color .5s var(--ease);
}
.stage.is-near { border-color: var(--ink); }
.stage__no { font-family: var(--font-mono); font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.05em; color: var(--grey-text); line-height: .9; transition: color .5s var(--ease); }
.stage.is-near .stage__no { color: var(--accent); }
.stage__title { font-family: var(--font-display); font-size: clamp(21px, 2vw, 28px); letter-spacing: -0.038em; line-height: 1.08; color: var(--ink); }
.stage__list { display: grid; gap: 7px; padding-top: 4px; border-top: 1px solid var(--hairline); }
.stage__list li { display: flex; gap: 10px; color: var(--graphite); opacity: .72; }
.stage__list li::before { content: "—"; color: var(--accent); }
.process__railwrap { padding: 0 var(--pad) clamp(28px, 4vw, 52px); }
.process__rail { height: 1px; background: var(--hairline); position: relative; }
.process__rail i { position: absolute; inset: 0 auto 0 0; background: var(--accent); width: 0; display: block; }

/* --- réalisations ------------------------------------------ */
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 40px); }
.work {
  display: block; border: 1px solid var(--hairline); background: var(--canvas);
  transition: border-color .5s var(--ease), transform .6s var(--ease);
  will-change: transform;
}
.work:hover { border-color: var(--ink); }
.work__fig { overflow: hidden; border-bottom: 1px solid var(--hairline); background: var(--canvas); transition: border-color .5s var(--ease); }
.work:hover .work__fig { border-bottom-color: var(--ink); }
.work__fig svg { width: 100%; height: auto; color: var(--ink); transition: transform .9s var(--ease), opacity .6s var(--ease); }
.work:hover .work__fig svg { transform: scale(1.035); }
.work__body { padding: 16px; display: grid; gap: 10px; }
.work__top { display: flex; justify-content: space-between; gap: 12px; color: var(--graphite); opacity: .7; }
.work__title { font-size: 18px; letter-spacing: -0.02em; color: var(--ink); position: relative; display: inline-block; }
.work__title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.work:hover .work__title::after { transform: scaleX(1); }
.work__facts { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.work__open { display: flex; align-items: center; gap: 8px; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity .45s var(--ease), transform .5s var(--ease); }
.work:hover .work__open { opacity: 1; transform: translateX(0); }

/* --- questions --------------------------------------------- */
.qa { border-top: 1px solid var(--ink); }
.qa__item { border-bottom: 1px solid var(--hairline); }
.qa__btn {
  width: 100%; display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 16px;
  padding: clamp(16px, 2vw, 24px) 0; text-align: left;
  font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 26px); letter-spacing: -0.035em; color: var(--ink);
  transition: padding-left .45s var(--ease);
}
.qa__btn:hover { padding-left: 10px; }
.qa__sign { position: relative; width: 14px; height: 14px; justify-self: end; }
.qa__sign::before, .qa__sign::after { content: ""; position: absolute; background: var(--accent); transition: transform .45s var(--ease); }
.qa__sign::before { inset: 50% 0 auto 0; height: 1px; margin-top: -.5px; }
.qa__sign::after { inset: 0 50% auto auto; width: 1px; height: 100%; margin-right: -.5px; }
.qa__item.is-open .qa__sign::after { transform: scaleY(0); }
.qa__panel { overflow: hidden; height: 0; transition: height .55s var(--ease); }
.qa__panel > div { padding-bottom: clamp(18px, 2vw, 26px); max-width: 68ch; }

/* --- closing band + footer --------------------------------- */
.close { background: var(--black); color: #fff; padding: clamp(72px, 10vw, 150px) var(--pad) clamp(40px, 5vw, 70px); }
.close__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: end; }
.close h2 { font-size: var(--display); }
.close__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.close__contact { display: grid; gap: 12px; border-top: 1px solid rgba(255,255,255,.26); padding-top: 18px; }
.close__contact a { font-size: var(--sub); letter-spacing: -0.02em; }

.marquee { background: var(--black); color: #fff; overflow: hidden; border-block: 1px solid rgba(255,255,255,.22); padding: 16px 0; }
.marquee__track { display: flex; gap: 0; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.045em; padding-inline: clamp(16px, 2vw, 30px);
  display: flex; align-items: center; gap: clamp(16px, 2vw, 30px);
  white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; }

.foot { background: var(--black); color: rgba(255,255,255,.62); padding: clamp(40px, 5vw, 72px) var(--pad) 24px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.foot h3 { color: rgba(255,255,255,.58); margin-bottom: 14px; font-weight: 400; }
.foot ul { display: grid; gap: 8px; }
.foot__bottom {
  margin-top: clamp(36px, 5vw, 64px); padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
}

/* --- reveal states (JS only) ------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > :nth-child(1) { transition-delay: .02s; }
.js [data-reveal-stagger].is-in > :nth-child(2) { transition-delay: .08s; }
.js [data-reveal-stagger].is-in > :nth-child(3) { transition-delay: .14s; }
.js [data-reveal-stagger].is-in > :nth-child(4) { transition-delay: .2s; }
.js [data-reveal-stagger].is-in > :nth-child(5) { transition-delay: .26s; }
.js [data-reveal-stagger].is-in > :nth-child(6) { transition-delay: .32s; }
.js [data-reveal-stagger].is-in > :nth-child(7) { transition-delay: .38s; }
.js [data-reveal-stagger].is-in > :nth-child(8) { transition-delay: .44s; }
.js .word > span { transition-delay: var(--wd, 0s); }
[data-parallax] { will-change: transform; }

/* --- responsive -------------------------------------------- */
@media (max-width: 1000px) {
  .manifesto__grid, .ia__grid, .works__grid, .close__grid { grid-template-columns: 1fr; }
  .ia__grid { border: 0; background: none; gap: 0; }
  .cap { border: 1px solid var(--hairline); margin-top: -1px; }
  .ticker { grid-template-columns: repeat(2, 1fr); }
  .ticker__cell:nth-child(odd) { border-left: 0; }
  .ticker__cell:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .foot__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mark { max-width: 128px; }
  .lot { grid-template-columns: 56px 1fr; }
  .lot__tags { grid-column: 1 / -1; justify-content: flex-start; padding-left: 56px; }
  .process { height: auto; }
  .process__pin { position: static; height: auto; padding-block: clamp(56px, 9vw, 96px) 0; }
  .process__track { flex-direction: column; transform: none !important; }
  .stage { flex: none; }
  .process__railwrap { display: none; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* --- reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .word > span { transform: none; }
  .hero__mark i { opacity: 1; transform: none; }
  .process { height: auto; }
  .process__pin { position: static; height: auto; }
  .process__track { flex-direction: column; transform: none !important; }
  .plan__svg [data-draw] { stroke-dasharray: none; stroke-dashoffset: 0; }
  .cursor { display: none !important; }
}


/* accroche descriptive sous le titre du héros */
.hero__lead {
  font-size: var(--sub); line-height: 1.3; letter-spacing: -0.018em;
  color: #fff; max-width: 34ch;
  margin-top: clamp(16px, 2vw, 26px);
}

/* --- mentions légales --------------------------------------- */
.legal { padding-top: 56px; }
.legal h1 { margin-top: 10px; }
.legal__grid { display: grid; gap: clamp(34px, 4vw, 58px); margin-top: clamp(40px, 5vw, 72px); max-width: 880px; }
.legal__block { border-top: 1px solid var(--ink); padding-top: 18px; }
.legal__h { color: var(--graphite); margin-bottom: 16px; }
.legal__p { margin-top: 14px; }
.legal .spec__row dd { text-align: right; }
.todo {
  display: inline-block; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px solid var(--gold); padding: 2px 6px;
  white-space: normal;
}
@media (max-width: 620px) {
  .legal .spec__row { grid-template-columns: 1fr; gap: 4px; }
  .legal .spec__row dd { text-align: left; }
}

/* --- ajustements smartphone -------------------------------- */
.plan__hint { display: none; }

/* le plan coté reste lisible : il défile dans son cadre sous 900 px */
@media (max-width: 900px) {
  .plan__frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .plan__svg { min-width: 980px; }
  .plan__hint { display: inline; color: var(--gold-deep); opacity: 1; }
}

@media (max-width: 760px) {
  /* zones tactiles : 44 px minimum sur les commandes */
  .nav__cta { padding: 14px 16px; }
  .btn { padding: 15px 18px; }
  .foot ul { gap: 16px; }
  .foot ul a, .foot__bottom a, .close__contact a { display: inline-block; padding: 9px 0; }
  .foot__bottom { gap: 14px 24px; }
  .brand { padding: 6px 0; }
}
