/* =========================================================
   Alliage Ferronnerie — feuille de style
   Direction artistique : Studio.Design style reference
   ========================================================= */

:root {
  /* Couleurs */
  --color-studio-canvas: #eeeeee;
  --color-paper-white: #ffffff;
  --color-charcoal-ink: #222222;
  --color-graphite: #333333;
  --color-soft-ash: #555555;
  --color-absolute-black: #000000;
  --color-link-light: #f7f7f7;
  --gradient-absolute-black: linear-gradient(180deg, #000000 0%, #eeeeee 100%);
  --line: rgba(34, 34, 34, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  /* Typo */
  --font-inter: 'Inter', Arial, 'Helvetica Neue', sans-serif;
  --font-inter-tight: 'Inter Tight', 'Inter', 'Arial Narrow', sans-serif;

  --text-legal: 11px;
  --text-nav: 15px;
  --text-body: 16px;
  --text-section-heading: clamp(34px, 4.2vw, 48px);
  --text-editor-heading: clamp(36px, 5vw, 64px);
  --text-hero-display: clamp(44px, 6.2vw, 80px);

  /* Espacements */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-28: 28px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-56: 56px;
  --spacing-60: 60px;
  --spacing-64: 64px;
  --spacing-100: 100px;
  --spacing-140: 140px;
  --section-gap: 60px;
  --element-gap: 16px;
  --gutter: clamp(16px, 4vw, 56px);
  --section-y: clamp(96px, 12vw, 160px);

  /* Rayons */
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Ombre */
  --shadow-md: rgba(0, 0, 0, 0.1) 0px 2px 15px 0px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::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; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--color-studio-canvas);
  color: var(--color-charcoal-ink);
  font-family: var(--font-inter);
  font-size: var(--text-body);
  line-height: 1.5;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--color-charcoal-ink); outline-offset: 3px; border-radius: 2px; }
.services :focus-visible, .promise :focus-visible, .menu :focus-visible { outline-color: var(--color-paper-white); }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  background: var(--color-charcoal-ink); color: var(--color-paper-white);
  padding: 12px 20px; border-radius: var(--radius-lg);
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-inter-tight);
  font-size: var(--text-nav); font-weight: 500; line-height: 1.4;
  color: var(--color-soft-ash);
  margin-bottom: var(--spacing-24);
}
.eyebrow--light { color: rgba(255,255,255,.62); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-charcoal-ink); flex: none; }

.section-title {
  font-size: var(--text-section-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-inter);
  font-size: 16px; font-weight: 600; line-height: 22.4px; letter-spacing: -0.64px;
  white-space: nowrap;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), background-color .3s;
  will-change: transform;
}
.btn:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: .1s; }
.btn--dark { background: var(--color-charcoal-ink); color: var(--color-paper-white); }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--color-paper-white); color: var(--color-graphite); border: 1px solid var(--color-charcoal-ink); }
.btn--arrow { border-radius: var(--radius-md); padding: 12px 20px 12px 24px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--big { min-height: 60px; padding: 16px 24px 16px 28px; font-size: 18px; }

/* Libellé qui roule au survol */
.btn__roll { position: relative; display: inline-block; overflow: hidden; height: 22.4px; line-height: 22.4px; vertical-align: top; }
.btn--big .btn__roll { height: 25px; line-height: 25px; }
.btn__roll > span { display: block; transition: transform .55s var(--ease); }
.btn__roll > span::after { content: attr(data-label); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__roll > span { transform: translateY(-100%); }

/* Lien souligné qui se dessine */
.link-draw {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-inter-tight); font-size: var(--text-nav); font-weight: 500;
  color: var(--color-charcoal-ink);
}
.link-draw::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform .6s var(--ease);
}
.link-draw:hover::after { animation: redraw .8s var(--ease); }
@keyframes redraw {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}
.link-draw--light { color: var(--color-paper-white); }

/* ---------- Intro (rideau) ---------- */
.loader { display: none; }
.js.has-intro .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 150;
  background: var(--color-charcoal-ink); color: var(--color-paper-white);
}
.loader__inner { width: min(560px, 80vw); }
.loader__word {
  display: flex; overflow: hidden;
  font-size: clamp(56px, 11vw, 120px); font-weight: 600; letter-spacing: -0.05em; line-height: 1;
}
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__seam { position: relative; height: 1px; margin: 28px 0 14px; background: rgba(255,255,255,.14); }
.loader__seam i {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: var(--color-paper-white);
}
.loader__seam i::after {
  content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 4px rgba(255, 220, 170, .75), 0 0 30px 10px rgba(255, 170, 90, .35);
}
.loader__meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-inter-tight); font-size: var(--text-nav); font-weight: 500; color: rgba(255,255,255,.6);
}
.loader__count { font-variant-numeric: tabular-nums; color: var(--color-paper-white); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: var(--spacing-20);
  transition: transform .6s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.header__bar {
  display: flex; align-items: center; gap: var(--spacing-24);
  height: 56px;
}
.header::before {
  content: ""; position: absolute; inset: 0 0 -12px 0; z-index: -1;
  background: rgba(238, 238, 238, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .4s;
}
.header.is-scrolled::before { opacity: 1; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; }
.brand__mark { width: 28px; height: 28px; }
.brand__mark rect { fill: var(--color-charcoal-ink); }
.brand__mark path { fill: none; stroke: var(--color-paper-white); stroke-width: 2.6; stroke-linejoin: round; }
.brand__name { font-size: 19px; font-weight: 700; letter-spacing: -0.04em; }
.brand__sub {
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash);
  padding-left: 10px; border-left: 1px solid var(--line);
}
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__mark { transition: transform .5s var(--ease); }

.nav { display: flex; gap: var(--spacing-24); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-inter-tight); font-size: var(--text-nav); font-weight: 500; line-height: 21px;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 48px; height: 48px; border-radius: var(--radius-lg); background: var(--color-charcoal-ink); position: relative; }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--color-paper-white);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* Menu sombre plein écran */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--color-charcoal-ink); color: var(--color-paper-white);
  padding-top: calc(var(--header-h) + 40px);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__label { font-family: var(--font-inter); font-size: 16px; font-weight: 700; line-height: 26.56px; margin-bottom: 12px; color: var(--color-paper-white); opacity: .6; }
.menu__nav > a {
  font-size: clamp(34px, 9vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15;
  color: var(--color-link-light); padding: 4px 0;
}
.menu__foot { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-light); font-family: var(--font-inter-tight); font-size: 15px; color: rgba(255,255,255,.7); padding-bottom: 40px; }
.menu__mail { color: var(--color-paper-white); min-height: 44px; display: inline-flex; align-items: center; }

.header.menu-open::before { opacity: 0; }
.header.menu-open .brand__name, .header.menu-open .brand__sub { color: var(--color-paper-white); }
.header.menu-open .brand__sub { border-color: var(--line-light); }
.header.menu-open .brand__mark rect { fill: var(--color-paper-white); }
.header.menu-open .brand__mark path { stroke: var(--color-charcoal-ink); }
.header.menu-open .burger { background: var(--color-paper-white); }
.header.menu-open .burger span { background: var(--color-charcoal-ink); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__inner { position: relative; height: 100%; }
.hero__eyebrow { position: absolute; top: calc(var(--header-h) + clamp(40px, 8vh, 96px)); left: var(--gutter); margin: 0; z-index: 3; }
.hero__title {
  position: absolute; z-index: 3;
  left: var(--gutter);
  top: calc(var(--header-h) + clamp(84px, 14vh, 150px));
  font-size: var(--text-hero-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__line { display: block; }
.hero__line .line-mask, .hero__line { padding-bottom: .06em; }

.hero__art {
  position: absolute; z-index: 1;
  top: calc(var(--header-h) + 8px);
  right: 0;
  width: 58%;
  bottom: 32px;
}
.tile { position: absolute; margin: 0; will-change: transform; }
.tile__clip { width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius-md); }
.tile img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.tile--1 { left: 26%; top: 2%;  width: 44%; height: 58%; }
.tile--1 .tile__clip { border-radius: var(--radius-lg); }
.tile--2 { left: 4%;  top: 56%; width: 36%; height: 32%; z-index: 2; }
.tile--3 { left: 60%; top: 44%; width: 26%; height: 26%; z-index: 3; }
.tile--4 { left: 76%; top: 0;   width: 24%; height: 40%; }
.tile--4 .tile__clip { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.tile--5 { left: 29%; top: 76%; width: 13%; height: 18%; z-index: 4; }
.tile--5 .tile__clip { border-radius: var(--radius-lg); }

.hero__aside {
  position: absolute; z-index: 5;
  right: var(--gutter); bottom: 40px;
  width: min(400px, 32vw);
  background: var(--color-studio-canvas);
  padding: 20px 0 0 20px;
  border-top-left-radius: var(--radius-lg);
}
.hero__lead { font-size: 16px; line-height: 1.5; color: var(--color-graphite); margin-bottom: var(--spacing-20); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-16) var(--spacing-24); }

.hero__foot {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 40px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash);
}
.scroll-cue { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.scroll-cue i { position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--color-charcoal-ink); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* États initiaux avant l'intro (JS seulement) */
.js.has-intro .hero__line,
.js.has-intro .hero__eyebrow,
.js.has-intro .hero__aside,
.js.has-intro .hero__foot,
.js.has-intro .header { visibility: hidden; }

/* ---------- MANIFESTE ---------- */
.manifest { padding: var(--section-y) 0 calc(var(--section-y) * .8); }
.manifest__text {
  font-size: var(--text-section-heading);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.04em;
  max-width: 22ch;
}
.manifest__text .word { color: var(--color-charcoal-ink); }
.clients {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-32);
  margin-top: clamp(64px, 9vw, 120px);
}
.clients__item { border-top: 1px solid var(--line); padding-top: var(--spacing-20); }
.clients__num { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash); }
.clients__item h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; margin: 28px 0 8px; }
.clients__item p { color: var(--color-graphite); max-width: 34ch; }
.manifest__more { margin-top: var(--spacing-48); }

/* ---------- BANDE IMAGE QUI S'OUVRE ---------- */
.reveal-band { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.reveal-band__frame {
  position: relative; height: 100%; overflow: hidden;
  background: var(--color-absolute-black);
}
.reveal-band__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.reveal-band__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.65) 100%); }
.reveal-band__title {
  position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 80px);
  color: var(--color-paper-white);
  font-size: var(--text-hero-display); font-weight: 600; line-height: 1; letter-spacing: -0.04em;
}
.reveal-band__title span { display: block; }

/* ---------- SERVICES ---------- */
.services { background: var(--color-charcoal-ink); color: var(--color-paper-white); position: relative; }
.services__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 32px) 0 40px; overflow: hidden; }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vh, 56px); }
.services__track {
  display: flex; gap: var(--spacing-24);
  padding-inline: var(--gutter);
  width: max-content;
}
.svc { width: clamp(300px, 30vw, 440px); flex: none; }
.svc__link { display: block; }
.svc__media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.4; background: var(--color-absolute-black);
  max-height: 52vh;
  width: 100%;
}
.svc__media img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-left: -9%; transition: scale .9s var(--ease); }
.svc__link:hover .svc__media img { scale: 1.03; }
.svc__body { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding-top: 20px; }
.svc__num { font-family: var(--font-inter-tight); font-size: 15px; color: rgba(255,255,255,.55); padding-top: 6px; }
.svc__title { font-size: 28px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }
.svc__body p { grid-column: 2; color: rgba(255,255,255,.72); margin-top: 6px; max-width: 36ch; font-size: 15px; line-height: 1.5; }
.services__progress { margin-top: clamp(24px, 4vh, 40px); }
.services__progress::before { content: ""; display: block; height: 1px; background: var(--line-light); }
.services__progress i { display: block; height: 1px; margin-top: -1px; background: var(--color-paper-white); transform-origin: left; transform: scaleX(0); }

/* ---------- MATÉRIAUX ---------- */
.materials { padding: var(--section-y) 0; }
.materials__grid {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 100px); row-gap: var(--spacing-56);
  grid-template-areas: "intro visual" "list visual" "finishes visual";
  align-items: start;
}
.materials__intro { grid-area: intro; }
.materials__list { grid-area: list; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mat {
  position: relative; text-align: left; display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  color: var(--color-soft-ash);
  transition: color .4s;
}
.mat::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--color-charcoal-ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.mat.is-active::before { transform: scaleX(1); }
.mat:hover, .mat.is-active { color: var(--color-charcoal-ink); }
.mat__name { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; transition: transform .5s var(--ease); }
.mat:hover .mat__name { transform: translateX(6px); }
.mat__text { font-size: 15px; line-height: 1.5; }
.materials__visual {
  grid-area: visual; position: sticky; top: calc(var(--header-h) + 24px);
  aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 48px);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--color-absolute-black);
}
.materials__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease), scale 1.4s var(--ease); scale: 1.12;
}
.materials__visual img.is-active { clip-path: inset(0 0 0 0); scale: 1; z-index: 1; }
.finishes { grid-area: finishes; display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-24); }
.finishes h3 { font-size: 16px; font-weight: 700; line-height: 1.66; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; line-height: 1.4;
  padding: 8px 14px; border-radius: var(--radius-md); background: var(--color-paper-white); color: var(--color-graphite);
  transition: background-color .3s, color .3s;
}
.chips li:hover { background: var(--color-charcoal-ink); color: var(--color-paper-white); }

/* ---------- RÉALISATIONS (mosaïque) ---------- */
.work { padding: calc(var(--section-y) * .6) 0 var(--section-y); }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(48px, 7vw, 100px); }
.mosaic { position: relative; height: clamp(720px, 78vw, 1120px); }
.mosaic__tile {
  position: absolute; display: block; overflow: hidden; background: var(--color-absolute-black);
  border-radius: var(--radius-md);
}
.mosaic__tile:nth-child(even) { border-radius: var(--radius-lg); }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease), opacity .5s; }
.mosaic__tile:hover img { scale: 1.03; }
.tag {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; line-height: 1.4;
  background: var(--color-paper-white); color: var(--color-charcoal-ink);
  padding: 6px 12px; border-radius: var(--radius-md);
  transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.mosaic__tile:hover .tag, .mosaic__tile:focus-visible .tag { transform: none; opacity: 1; }
.m1 { left: 0;    top: 4%;  width: 40%; height: 34%; }
.m2 { left: 34%;  top: 0;   width: 26%; height: 50%; z-index: 2; }
.m3 { left: 66%;  top: 2%;  width: 34%; height: 40%; }
.m4 { left: 6%;   top: 46%; width: 28%; height: 44%; z-index: 2; }
.m5 { left: 40%;  top: 58%; width: 22%; height: 36%; }
.m6 { left: 70%;  top: 56%; width: 30%; height: 44%; z-index: 2; }

/* ---------- PROCESSUS ---------- */
.process { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.process__side { position: sticky; top: calc(var(--header-h) + 32px); }
.process__counter {
  display: flex; align-items: baseline; gap: 8px; margin: var(--spacing-32) 0;
  font-size: clamp(64px, 8vw, 120px); font-weight: 600; letter-spacing: -0.06em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.process__counter small { font-size: 20px; letter-spacing: -0.02em; color: var(--color-soft-ash); }
.process__img { width: min(100%, 360px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: #000; }
.process__img img { width: 100%; height: 130%; object-fit: cover; }

.steps { position: relative; padding-left: 0; }
.steps__line { position: absolute; left: 22px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: var(--color-charcoal-ink); transform-origin: top; transform: scaleY(0); }
.step {
  position: relative; display: grid; grid-template-columns: 45px 1fr; gap: clamp(20px, 3vw, 40px);
  padding: 0 0 clamp(48px, 7vh, 80px);
}
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative; z-index: 1;
  width: 45px; height: 45px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 700;
  background: var(--color-studio-canvas); border: 1px solid var(--line);
  transition: background-color .4s, color .4s, border-color .4s;
}
.step.is-on .step__num { background: var(--color-charcoal-ink); color: var(--color-paper-white); border-color: var(--color-charcoal-ink); }
.step h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; padding-top: 6px; margin-bottom: 10px; }
.step p { color: var(--color-graphite); max-width: 46ch; }
.step__time {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500;
  padding: 6px 12px; border-radius: var(--radius-md); background: var(--color-paper-white);
}

/* ---------- ENGAGEMENTS ---------- */
.promise { padding: 0 0; }
.promise__panel {
  background: var(--color-absolute-black); color: var(--color-paper-white);
  padding: var(--section-y) 0;
  border-radius: var(--radius-lg);
  will-change: clip-path;
}
.promise__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.included { margin-top: var(--spacing-48); }
.included li {
  font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1;
  color: rgba(255,255,255,.16);
  display: flex; align-items: center; gap: 18px;
}
.included li::before {
  content: ""; width: .5em; height: 2px; background: currentColor; flex: none;
  transform: scaleX(.4); transform-origin: left; transition: transform .6s var(--ease);
}
.included li.is-on { color: var(--color-paper-white); }
.included li.is-on::before { transform: scaleX(1); }
.included li { transition: color .6s var(--ease); }
.promise__side { padding-top: 6px; }
.promise__lead { font-size: 20px; line-height: 1.4; letter-spacing: -0.02em; color: rgba(255,255,255,.86); max-width: 40ch; }
.pledges { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-32) var(--spacing-24); margin-top: var(--spacing-56); }
.pledges div { border-top: 1px solid var(--line-light); padding-top: 18px; }
.pledges dt { font-size: 16px; font-weight: 700; line-height: 1.66; }
.pledges dd { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 4px; }
.promise__note { margin-top: var(--spacing-48); font-size: 15px; color: rgba(255,255,255,.55); max-width: 46ch; font-family: var(--font-inter-tight); }

/* ---------- ZONE ---------- */
.zone { padding: var(--section-y) 0 calc(var(--section-y) * .8); overflow: hidden; }
.zone__title { display: flex; flex-direction: column; }
.zone__big {
  display: block;
  font-size: clamp(72px, 17vw, 260px); font-weight: 600; letter-spacing: -0.06em; line-height: .9;
  transform-origin: left bottom;
}
.zone__small { font-size: var(--text-section-heading); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-top: 12px; color: var(--color-soft-ash); }
.zone__row { margin-top: clamp(48px, 7vw, 96px); border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; }
.zone__marquee { display: flex; gap: 32px; width: max-content; white-space: nowrap; }
.zone__marquee span, .zone__marquee b { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }
.zone__marquee b { font-weight: 400; color: var(--color-soft-ash); }
.zone__foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-32); margin-top: var(--spacing-48); }
.zone__foot p { max-width: 52ch; color: var(--color-graphite); font-size: 18px; line-height: 1.5; }
.zone__foot .zone__muted { color: var(--color-soft-ash); font-size: 16px; font-family: var(--font-inter-tight); }

/* ---------- CONTACT ---------- */
.close { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.close__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: end; }
.close__title { font-size: clamp(52px, 8vw, 120px); font-weight: 600; letter-spacing: -0.05em; line-height: .95; }
.close__title span { display: inline-block; }
.close__side p { color: var(--color-graphite); font-size: 18px; margin-bottom: var(--spacing-32); max-width: 40ch; }
.close__info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: var(--spacing-48); font-family: var(--font-inter-tight); font-size: 15px; color: var(--color-soft-ash); }

/* ---------- FOOTER ---------- */
.footer { padding: var(--spacing-64) 0 var(--spacing-32); border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: var(--spacing-48); }
.footer__blurb { max-width: 40ch; color: var(--color-graphite); font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: var(--spacing-48); }
.footer__cols > div { display: flex; flex-direction: column; gap: 4px; }
.footer__cols h3 { font-size: 16px; font-weight: 700; line-height: 1.66; margin-bottom: 8px; }
.footer__cols a, .footer__cols span, .footer__cols address {
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; line-height: 21px; color: var(--color-charcoal-ink);
}
.footer__cols a { display: inline-flex; align-items: center; min-height: 32px; width: fit-content; transition: color .3s; }
.footer__cols a:hover { color: var(--color-soft-ash); }
.footer__cols span, .footer__cols address { color: var(--color-soft-ash); padding: 5px 0; }
.footer__legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: var(--spacing-24); border-top: 1px solid var(--line);
  font-size: var(--text-legal); line-height: 1.66; letter-spacing: -0.11px; color: var(--color-soft-ash);
}
.footer__top-link { min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- Curseur ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--color-charcoal-ink); color: var(--color-paper-white);
  display: grid; place-items: center;
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500;
  transform: scale(0); opacity: 0;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Animations de survol des éléments qui montent ---------- */
[data-rise] { will-change: transform; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .brand__sub { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header { padding-top: 10px; }

  .hero { height: auto; min-height: 100svh; }
  .hero__inner { display: flex; flex-direction: column; padding-top: calc(var(--header-h) + 32px); padding-bottom: 32px; min-height: 100svh; }
  .hero__eyebrow, .hero__title, .hero__aside, .hero__foot, .hero__art { position: relative; inset: auto; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__title { order: 1; }
  .hero__art { order: 2; width: 100%; height: clamp(260px, 52vw, 460px); margin: 28px 0 24px; flex: 1 0 auto; max-height: 46vh; }
  .hero__aside { order: 3; width: 100%; max-width: 560px; padding: 0; background: none; }
  .hero__foot { display: none; }
  .tile--1 { left: 22%; top: 0;  width: 46%; height: 72%; }
  .tile--2 { left: 0;   top: 46%; width: 40%; height: 46%; }
  .tile--3 { left: 58%; top: 52%; width: 36%; height: 40%; }
  .tile--4 { left: 74%; top: 4%; width: 26%; height: 52%; }
  .tile--4 .tile__clip { border-radius: var(--radius-lg); }
  .tile--5 { display: none; }

  .clients { grid-template-columns: 1fr; gap: 0; }
  .clients__item { padding: 20px 0 28px; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; }
  .clients__item h3 { margin: 0 0 6px; grid-column: 2; }
  .clients__item p { grid-column: 2; }
  .clients__num { padding-top: 4px; }

  .materials__grid { grid-template-columns: 1fr; grid-template-areas: "intro" "visual" "list" "finishes"; row-gap: 36px; }
  .materials__visual { position: relative; top: 0; aspect-ratio: 4 / 3; max-height: none; }

  .process__grid { grid-template-columns: 1fr; }
  .process__side { position: relative; top: 0; }
  .process__counter, .process__img { display: none; }

  .promise__grid { grid-template-columns: 1fr; }
  .close__grid { grid-template-columns: 1fr; align-items: start; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .zone__foot { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 767px) {
  .services__pin { padding-top: calc(var(--header-h) + 24px); }
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__track { flex-direction: column; width: 100%; gap: 40px; }
  .svc { width: 100%; }
  .svc__media { max-height: none; aspect-ratio: 4 / 3.4; }
  .services__progress { display: none; }

  .work__head { flex-direction: column; align-items: flex-start; }
  .mosaic { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .mosaic__tile { position: relative; inset: auto; width: auto; height: auto; aspect-ratio: 3 / 4; }
  .mosaic__tile:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16 / 10; }
  .tag { opacity: 1; transform: none; }

  .pledges { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
  .btn--big { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .reveal-band { height: 80svh; min-height: 480px; }
  .step { grid-template-columns: 45px 1fr; gap: 16px; }
}

/* Mouvement réduit : tout est visible, rien ne bouge */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js.has-intro .loader { display: none; }
  .js.has-intro .hero__line, .js.has-intro .hero__eyebrow, .js.has-intro .hero__aside, .js.has-intro .hero__foot, .js.has-intro .header { visibility: visible; }
  .included li { color: var(--color-paper-white); }
}
