/* ==========================================================================
   L'Atelié — feuille de style
   Direction : noir & blanc, lignes fines, grands espaces, logo 3D.
   ========================================================================== */

:root {
  --black: #070707;
  --white: #f4f3ef;
  --bg: var(--black);
  --fg: var(--white);
  --muted: rgba(244, 243, 239, .5);
  --hair: rgba(244, 243, 239, .18);

  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --accent: #3d8be0; /* bleu grec, clair */
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html[data-accent="champagne"] { --accent: #c9a96e; }
html[data-accent="red"] { --accent: #e3261b; }
html[data-accent="none"] body { --accent: var(--fg); }
html[data-accent="none"] .porte__inside .sq { fill: var(--bg); }

/* L'accent, avec parcimonie : le cube du logo, les poignées, l'onde du contact,
   et de rares mots mis en avant (.hl). */
.hl { color: var(--accent); transition: color .6s var(--ease); }

/* Grec : Newsreader et Jost n'ont pas de glyphes grecs, équivalents les plus proches */
html[lang="el"] {
  --serif: "Noto Serif Display", "Newsreader", "Times New Roman", serif;
  --sans: "Manrope", "Jost", "Helvetica Neue", Arial, sans-serif;
}

body[data-tone="light"] {
  --bg: var(--white);
  --fg: var(--black);
  --muted: rgba(7, 7, 7, .5);
  --hair: rgba(7, 7, 7, .16);
}

*, *::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(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 1.1s var(--ease), color 1.1s var(--ease);
  overflow-x: hidden;
}
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
::selection { background: var(--fg); color: var(--bg); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Couches fixes ----------------------------------------------------------- */

#gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 60;
  width: 200%; height: 200%;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
body[data-tone="light"] .grain {
  opacity: .08;
  /* même bruit, en noir : évite un filtre invert() sur une couche plein écran */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 5%); }
  100% { transform: translate(-2%, 6%); }
}

/* Curseur */
.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #fff;
  display: none;
}
body.has-cursor .cursor { display: block; }
.cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: currentColor;
}
.cursor__ring {
  position: absolute;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform .5s var(--ease-out), border-radius .5s var(--ease-out), background-color .5s;
}
body.cursor-hover .cursor__ring { transform: scale(1.8); border-radius: 0; background: rgba(255,255,255,.1); }

/* Préloader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  background: var(--black);
  color: var(--white);
}
.loader__num {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(64px, 12vw, 180px);
  line-height: .9;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.loader__bar {
  height: 1px;
  margin-top: 28px;
  background: rgba(244, 243, 239, .18);
}
.loader__bar i { display: block; width: 0; height: 100%; background: var(--white); }
.loader__tag {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, .5);
}

/* Typo utilitaires ------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(28px, 5vh, 56px);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: currentColor;
  flex: none;
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: 1;
  letter-spacing: -.02em;
}
.display em { font-style: italic; font-weight: 200; }

.lead {
  max-width: 34em;
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--muted);
}

/* Logo en masque : prend la couleur du texte */
.mark {
  display: block;
  aspect-ratio: 480 / 275;
  background: currentColor;
  -webkit-mask: url("../logo/logo-atelie-noir.svg") center / contain no-repeat;
          mask: url("../logo/logo-atelie-noir.svg") center / contain no-repeat;
}

/* Header ------------------------------------------------------------------ */
/* Sur PC, la barre = le header entier. Sur mobile, seule .header__bar bouge :
   le header reste un simple conteneur fixe, sans transform ni flou, pour que
   le menu plein écran (position: fixed) reste calé sur la fenêtre. */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
  pointer-events: none;
  color: var(--fg);
  opacity: 0;
  border-bottom: 1px solid transparent;
  transition:
    opacity 1.2s var(--ease) .3s,
    transform .7s var(--ease-out),
    padding .5s var(--ease),
    background-color .6s var(--ease),
    color 1.1s var(--ease),
    border-color .6s var(--ease);
}
body.is-loaded .header { opacity: 1; }
.header > *, .header__bar > * { pointer-events: auto; }
.header__bar { display: flex; align-items: center; gap: 24px; }

/* Dès qu'on a quitté le haut de page : fond opaque assorti à la section, hauteur réduite */
body.is-scrolled .header {
  padding-block: 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-color: var(--hair);
  pointer-events: auto;
}
/* On descend : le header s'efface ; on remonte : il revient */
body.is-scrolled.nav-hidden:not(.menu-open) .header { transform: translateY(-100%); }

.header__logo {
  width: 84px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
body.is-past-hero .header__logo,
.header__logo.is-on { opacity: 1; transform: none; }

.nav { display: flex; gap: clamp(22px, 3vw, 48px); }
.nav a,
.menu-toggle {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 2px; right: .3em; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

/* Sélecteur de langue */
.lang {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: clamp(6px, 1.2vw, 16px);
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--hair);
  transition: border-color 1.1s var(--ease);
}
.nav .lang a {
  padding: 6px 0;
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--muted);
  transition: color .4s var(--ease);
}
.nav .lang a::after { display: none; }
.nav .lang a:hover { color: var(--fg); }
.nav .lang a.is-current { color: var(--fg); }

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

/* Progression */
.progress {
  position: fixed;
  right: var(--gutter);
  bottom: 30px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--muted);
  transition: color 1.1s var(--ease), opacity .5s var(--ease), transform .5s var(--ease);
}
/* Le pied de page est atteint : l'indicateur (à 100 de toute façon) s'efface pour ne pas chevaucher le copyright */
body.at-footer .progress { opacity: 0; transform: translateY(8px); }
.progress i {
  position: relative;
  width: 11px; height: 11px;
  border: 1px solid var(--fg);
  transition: border-color 1.1s var(--ease);
}
.progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fg);
  transition: background-color 1.1s var(--ease);
  transform-origin: bottom;
  transform: scaleY(var(--progress, 0));
}

/* Sections ---------------------------------------------------------------- */

main { position: relative; z-index: 2; }
section { position: relative; scroll-margin-top: 72px; }
.section { padding: clamp(120px, 18vh, 220px) var(--gutter); }

/* Ancrages du logo 3D : zones invisibles que le logo vient occuper */
.anchor { position: absolute; pointer-events: none; }

/* Hero ------------------------------------------------------------------- */

.hero { height: 100vh; height: 100svh; overflow: hidden; }
.hero__anchor {
  left: 50%; top: 44%;
  width: min(66vw, 820px, 74vh); /* borné par la hauteur : écrans courts (portables) */
  transform: translate(-50%, -50%);
  aspect-ratio: 480 / 275;
}
.hero__fallback {
  position: absolute;
  inset: 0;
  fill: var(--fg);
  display: none;
}
body.no-gl .hero__fallback { display: block; }

.hero__tagline {
  position: absolute;
  left: 50%;
  top: 66%;
  width: min(92vw, 960px);
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(19px, 2.3vw, 34px);
  line-height: 1.3;
}
.hero__tagline em { font-style: italic; }
/* slogan sous le logo, au-dessus de l'accroche */
.hero__tagline small {
  display: block;
  margin-bottom: clamp(16px, 2.6vh, 28px);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__tagline--narrow { display: none; } /* version courte, mobile uniquement */

.hero__side {
  position: absolute;
  bottom: 40px;
  left: var(--gutter);
  display: flex;
  gap: 40px;
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__hint i {
  position: relative;
  width: 1px; height: 52px;
  overflow: hidden;
  background: var(--hair);
}
.hero__hint i::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 1px; height: 100%;
  background: var(--fg);
  animation: hint 2.4s var(--ease) infinite;
}
@keyframes hint { to { top: 100%; } }

/* Écrans courts (portables 720 px) : accroche plus haute et plus petite */
@media (min-width: 901px) and (max-height: 780px) {
  .hero__tagline { top: 63%; font-size: clamp(18px, 2vw, 27px); }
  .hero__anchor { width: min(66vw, 820px, 60vh); top: 40%; }
}

/* Bandeau défilant -------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(22px, 2.6vw, 40px);
  white-space: nowrap;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee span { padding: 0 .8em; }
.marquee i {
  display: inline-block;
  width: 9px; height: 9px;
  margin: 0 0 .1em;
  background: var(--fg);
  vertical-align: middle;
}

/* Manifeste --------------------------------------------------------------- */

.manifesto {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "head anchor" "foot anchor";
  align-content: center;
  align-items: center;
  column-gap: var(--gutter);
  padding: 0 var(--gutter);
}
.manifesto__head { grid-area: head; align-self: end; }
.manifesto__foot { grid-area: foot; align-self: start; }
.manifesto__text {
  max-width: 15em;
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(32px, 4.6vw, 76px);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.manifesto__text .word { opacity: .1; }
.manifesto__text em { font-style: italic; }
.manifesto__foot { margin-top: clamp(40px, 7vh, 80px); }
.manifesto__anchor { grid-area: anchor; position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
/* Deux portes ---------------------------------------------------------------- */
/* Deux battants au trait qui s'ouvrent au défilement (--open : 0 → 1, piloté par
   GSAP) et au survol ; l'intérieur, en négatif, révèle une icône et une phrase. */
.portes { padding: clamp(30px, 6vh, 80px) var(--gutter) clamp(110px, 17vh, 200px); }
.portes .eyebrow { justify-content: center; }
.portes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 5vw, 90px);
  max-width: 940px;
  margin: 0 auto;
}
.porte { display: flex; flex-direction: column; align-items: center; --open: 0; --hover: 0; }
.porte:hover, .porte:focus-visible { --hover: 1; }
.porte__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 54vh;
  perspective: 1100px;
  background: var(--fg);
  transition: background-color 1.1s var(--ease);
}
.porte__inside {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(14px, 2.4vh, 26px);
  padding: 10% 7% 10% 37%; /* le battant ouvert occupe le côté des gonds */
  text-align: center;
  color: var(--bg);
}
.porte:nth-child(2) .porte__inside { padding: 10% 37% 10% 7%; }
.porte__inside svg { width: clamp(64px, 44%, 150px); overflow: visible; }
.porte__inside .ln {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - max(var(--open), var(--hover)));
  transition: stroke-dashoffset 1.2s var(--ease-out);
}
.porte__inside .sq { fill: currentColor; }
.porte__inside p {
  margin: 0;
  max-width: 13em;
  font-family: var(--serif);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(12px, 1.35vw, 20px);
  line-height: 1.35;
}
.porte__leaf {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(14px, 2.4vw, 34px);
  border: 1px solid var(--fg);
  background: var(--bg);
  transform-origin: left center;
  transform: rotateY(calc(max(var(--open), var(--hover)) * 80deg)); /* vers l'intérieur */
  transition: transform .7s var(--ease-out), background-color 1.1s var(--ease), border-color 1.1s var(--ease);
}
/* le second battant s'ouvre dans l'autre sens : une double porte */
.porte:nth-child(2) .porte__leaf {
  transform-origin: right center;
  transform: rotateY(calc(max(var(--open), var(--hover)) * -80deg));
  align-items: flex-end;
}
.porte__num { font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.porte__title {
  margin: clamp(20px, 3.4vh, 34px) 0 clamp(16px, 2.6vh, 26px);
  max-width: 9em;
  min-height: 2.16em; /* deux lignes réservées : les deux boutons restent alignés */
  text-align: center;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.porte__handle {
  position: absolute;
  top: 50%;
  right: clamp(10px, 1.6vw, 22px);
  width: 9px; height: 9px;
  background: var(--accent);
}
.porte:nth-child(2) .porte__handle { right: auto; left: clamp(10px, 1.6vw, 22px); }

/* Porte coulissante : le panneau glisse dans le mur le long d'un rail */
.porte::before {
  content: "";
  width: 100%;
  height: 4px;
  margin-bottom: 5px;
  border: 1px solid var(--fg);
  transition: border-color 1.1s var(--ease);
}
.porte__frame { overflow: hidden; perspective: none; }
/* l'encadrement reste fermé quand le panneau est rentré dans le mur */
.porte__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--fg);
  pointer-events: none;
  transition: border-color 1.1s var(--ease);
}
.porte__leaf {
  transform: translateX(calc(max(var(--open), var(--hover)) * -93%));
  transition: transform .9s var(--ease-out), background-color 1.1s var(--ease), border-color 1.1s var(--ease);
}
.porte:nth-child(2) .porte__leaf { transform: translateX(calc(max(var(--open), var(--hover)) * 93%)); }
/* moulure du panneau */
.porte__leaf::before {
  content: "";
  position: absolute;
  inset: clamp(8px, 1.4vw, 18px);
  border: 1px solid var(--hair);
  pointer-events: none;
}
/* poignée : une barre verticale sur le bord d'attaque */
.porte__handle {
  width: 3px;
  height: clamp(34px, 16%, 76px);
  transform: translateY(-50%);
  right: clamp(7px, 1.1vw, 14px);
}
.porte:nth-child(2) .porte__handle { right: auto; left: clamp(7px, 1.1vw, 14px); }
.porte__num { position: relative; margin: clamp(8px, 1.4vw, 18px); }
.porte__inside { padding: 10% 8% 10% 22%; }
.porte:nth-child(2) .porte__inside { padding: 10% 22% 10% 8%; }

/* Bouton : encadré, sans équivoque */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  background: transparent; /* un <button> a un fond gris par défaut : on l'annule */
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
  border: 1px solid var(--fg);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--fg);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color 1.1s var(--ease);
}
.btn i { width: 22px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.porte:hover .btn, .btn:hover { background: var(--fg); color: var(--bg); }
.porte:hover .btn i, .btn:hover i { width: 34px; }

.work__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.work__link i {
  width: 28px; height: 1px;
  background: currentColor;
  transition: width .6s var(--ease);
}
.work__link:hover i { width: 48px; }

/* Savoir-faire / 360° ----------------------------------------------------- */

.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
  margin-top: clamp(60px, 10vh, 120px);
}
.orbit {
  position: sticky;
  top: 20vh;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--hair);
  border-radius: 50%;
}
.orbit strong {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(56px, 6.6vw, 104px);
  line-height: 1;
  letter-spacing: -.03em;
}
.orbit small {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px 24px;
  padding: clamp(30px, 4.5vh, 46px) 0;
  border-top: 1px solid var(--hair);
}
.step:last-child { border-bottom: 1px solid var(--hair); }
.step__num {
  grid-row: span 2;
  padding-top: 10px;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
}
.step h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.1;
}
.step p { margin: 0; max-width: 32em; color: var(--muted); }

/* Réalisations : défilement horizontal ------------------------------------ */

.works { height: 100vh; height: 100svh; overflow: hidden; }
.works__stage {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
}
.works__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 0 var(--gutter);
  margin-bottom: clamp(20px, 4vh, 44px);
}
.works__head .display { font-size: clamp(34px, 4.8vw, 76px); }
.works__count {
  font-family: var(--serif);
  font-weight: 200;
  font-size: 28px;
  color: var(--muted);
  white-space: nowrap;
}
.works__count b { font-weight: 200; color: var(--fg); }
.works__track {
  display: flex;
  gap: clamp(28px, 5vw, 100px);
  width: max-content;
  padding: 0 var(--gutter);
  will-change: transform;
}

.work { width: clamp(260px, 30vw, 460px); flex: none; }
.work__art {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 36svh;
  border: 1px solid var(--hair);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: border-color .6s;
}
.work:hover .work__art { border-color: var(--fg); }
.work--link { color: inherit; }
.work--link:hover .work__link i { width: 48px; }
.work__art svg { width: 72%; height: 80%; overflow: visible; transition: transform .8s var(--ease-out); }
.work:hover .work__art svg { transform: scale(1.05); }
.work__art .ln {
  fill: none;
  stroke: var(--fg);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.6s var(--ease-out);
}
.work__art .ln--soft { stroke: var(--muted); }
.work__art .sq {
  fill: var(--fg);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(.2);
  transition: opacity 1s var(--ease) 1.6s, transform 1.2s var(--ease-out) 1.6s;
}
.work.is-in .ln { stroke-dashoffset: 0; }
/* motif vectorisé en aplat fin (ex. le Kong d'Orlinski) : apparition en fondu */
.work__art .shape { fill: var(--fg); opacity: 0; transition: opacity 2s var(--ease) .4s; }
.work.is-in .shape { opacity: 1; }
.work.is-in .sq { opacity: 1; transform: none; }
.work__idx {
  position: absolute;
  top: 18px; left: 20px;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--muted);
}
.work__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
}
.work__meta h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.1;
}
.work__meta p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.work__meta .work__text { margin-top: 12px; max-width: 30em; line-height: 1.65; }
.work__link { margin-top: 16px; }
.work__year { font-size: 11px; letter-spacing: .2em; color: var(--muted); padding-top: 8px; }

/* Artistes ---------------------------------------------------------------- */

.artists { min-height: 100vh; }
.artists__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--gutter);
  align-items: center;
}
.artists__anchor { position: relative; aspect-ratio: 1; width: 100%; }
.artists .display { max-width: 11em; margin-bottom: clamp(32px, 5vh, 56px); }
.artists__cta { margin-top: clamp(28px, 4.5vh, 48px); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(80px, 14vh, 160px);
}
.pillar { border-top: 1px solid var(--hair); padding-top: 28px; }
.pillar span { font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.pillar h3 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(28px, 2.6vw, 42px);
}
.pillar p { margin: 0; color: var(--muted); }

/* Contact & footer -------------------------------------------------------- */

.contact {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
/* Point de contact : le carré 3D vient s'y poser ; une onde fine s'en échappe */
.contact__mark {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
}
.contact__mark::before,
.contact__mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: ping 3.2s cubic-bezier(.2, .6, .3, 1) infinite;
}
.contact__mark::after { animation-delay: 1.6s; }
@keyframes ping {
  0% { transform: scale(.55); opacity: .45; }
  100% { transform: scale(2.4); opacity: 0; }
}
.contact .eyebrow { justify-content: center; }
.contact .display { max-width: 11em; font-size: clamp(44px, 7vw, 120px); }
.contact__mail { border: 0; background: none; color: inherit; cursor: inherit; }
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: clamp(40px, 7vh, 80px);
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(22px, 2.4vw, 38px);
  font-style: italic;
}
.contact__mail i {
  width: 56px; height: 1px;
  background: currentColor;
  transition: width .7s var(--ease);
}
.contact__mail:hover i { width: 120px; }
.contact__doors {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(36px, 6vh, 64px);
}

body.is-dash-3d .contact__mail i { opacity: 0; } /* la ligne 3D du logo tient lieu de tiret */

.footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 32px;
  padding: 40px var(--gutter) 34px;
  border-top: 1px solid var(--hair);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer p { margin: 0; }
.footer__logo { width: 88px; color: var(--fg); }
.footer__tag { text-align: center; }
.footer__tag b { font-weight: 300; color: var(--fg); }

/* Page projet ---------------------------------------------------------------- */

.loader--project { color: var(--white); }

/* 1. De la main à la pierre */
.ph { position: relative; height: 100vh; height: 100svh; }
.ph__stage { position: relative; height: 100%; overflow: hidden; background: var(--black); }
.ph__photo, .ph__lines, .ph__villa, .ph__veil, .ph__scrim {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.ph__photo { will-change: transform, opacity; }
.ph__veil { background: var(--black); opacity: 0; pointer-events: none; }
/* voile dégradé sous le titre : lisible même sur la feuille blanche de la photo */
.ph__scrim {
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(7,7,7,.92) 0%, rgba(7,7,7,.72) 28%, rgba(7,7,7,.25) 52%, rgba(7,7,7,0) 70%),
    linear-gradient(to right, rgba(7,7,7,.35) 0%, rgba(7,7,7,0) 55%);
}
.ph__lines {
  --wipe: 0;
  opacity: 1;
  object-fit: cover; /* même cadrage que la villa : le trait devient la pierre sans décalage */
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(160deg, #000 0%, #000 calc(var(--wipe) * 100% - 12%), transparent calc(var(--wipe) * 100% + 12%));
          mask-image: linear-gradient(160deg, #000 0%, #000 calc(var(--wipe) * 100% - 12%), transparent calc(var(--wipe) * 100% + 12%));
  -webkit-mask-size: 140% 140%; mask-size: 140% 140%;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.ph__villa { opacity: 0; object-fit: cover; }

.ph__title {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: clamp(70px, 12vh, 130px);
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.ph__title .eyebrow { color: rgba(244,243,239,.6); }
.ph__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(64px, 13vw, 220px);
  line-height: .92;
  letter-spacing: -.03em;
}
.ph__name em { font-style: italic; }
.ph__name .ch { display: inline-block; }
.ph__sub {
  margin: clamp(18px, 3vh, 30px) 0 0;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(244,243,239,.6);
}
.ph__steps { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); text-align: right; }
.ph__step {
  display: block;
  position: absolute; right: 0; top: 0;
  transform: translateY(14px);
  opacity: 0;
  white-space: nowrap;
  font-family: var(--serif);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(28px, 4vw, 64px);
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.ph__step::before {
  content: attr(data-step);
  display: block;
  margin-bottom: 6px;
  font: 400 10px/1 var(--sans);
  letter-spacing: .34em;
  color: rgba(244,243,239,.6);
}
.ph__cap {
  position: absolute;
  left: var(--gutter); bottom: 40px;
  display: flex; align-items: center; gap: 12px;
  margin: 0;
  padding: 14px 18px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
}
.ph__cap i { width: 7px; height: 7px; background: var(--accent); }
.ph__hint { left: auto; right: var(--gutter); bottom: 40px; transform: none; color: rgba(244,243,239,.6); }
.ph__hint i::after { background: var(--white); }

/* 2. Trois lignes */
.pstat { min-height: 100vh; display: flex; align-items: center; padding: clamp(110px, 16vh, 180px) var(--gutter); }
.pstat__stage { width: 100%; }
.pstat__text {
  max-width: 11em;
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(40px, 7vw, 120px);
  line-height: 1;
  letter-spacing: -.025em;
}
.pstat__text .word { opacity: .1; }
.pstat__text em { font-style: italic; }
.pstat__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 80px);
  max-width: 1100px;
  margin-top: clamp(48px, 8vh, 90px);
}

/* 3. Les faits */
.pfacts { padding: 0 var(--gutter) clamp(110px, 16vh, 180px); }
.pfacts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.pfact { border-top: 1px solid var(--hair); padding-top: 22px; }
.pfact span { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.pfact strong { display: block; margin-top: 14px; font-family: var(--serif); font-weight: 200; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.15; }

/* 3b. La villa */
.pvilla { padding-top: clamp(110px, 16vh, 180px); }
.pvilla__head { padding: 0 var(--gutter); max-width: 1100px; }
.pvilla__head .display { max-width: 9em; }
.pvilla__head .lead { margin-top: clamp(28px, 4vh, 44px); max-width: 38em; }
.pvilla__media {
  position: relative;
  margin: clamp(56px, 9vh, 110px) 0 0;
  overflow: hidden;
  aspect-ratio: 2400 / 1371;
  max-height: 92vh;
}
.pvilla__media img { display: block; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.pvilla__media figcaption {
  position: absolute;
  left: var(--gutter); bottom: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.pvilla__media figcaption i { width: 7px; height: 7px; background: var(--accent); }

/* 3c. Les signatures : générique épinglé.
   La scène est une grille à trois rangées (titre / maison / compteur) : rien ne peut se
   chevaucher, quelle que soit la hauteur de la fenêtre. */
.sigs { height: 100vh; height: 100svh; }
.sigs__stage {
  position: relative; height: 100%; overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2vh, 28px);
  padding: clamp(72px, 11vh, 110px) var(--gutter) clamp(28px, 5vh, 56px);
  background: var(--black); color: var(--white);
}
.sigs__head { grid-row: 1; max-width: 22em; }
.sigs__head .eyebrow { color: rgba(244,243,239,.5); margin-bottom: 10px; }
.sigs__title { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(20px, 2.6vh, 36px); line-height: 1.1; letter-spacing: -.015em; }
.sigs__title em { font-style: italic; }

.sigs__counter { grid-row: 3; position: relative; display: flex; align-items: baseline; gap: 14px; padding-bottom: 20px; }
.sigs__num { font-family: var(--serif); font-weight: 200; font-size: clamp(48px, 11vh, 128px); line-height: .9; letter-spacing: -.04em; }
.sigs__counter span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(244,243,239,.5); }
.sigs__bar { position: absolute; left: 0; bottom: 0; width: clamp(160px, 18vw, 280px); height: 1px; background: rgba(244,243,239,.18); }
.sigs__bar em { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* rangée centrale : toutes les maisons superposées dans la même cellule */
.sigs__list { grid-row: 2; list-style: none; margin: 0; padding: 0; position: relative; min-height: 0; }
.sig {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 100%; gap: clamp(24px, 4vw, 80px); align-items: center;
  opacity: 0; visibility: hidden;
}
/* le logo ne dépasse jamais sa rangée : hauteur relative à la cellule, bornée par la largeur */
.sig__logo { display: flex; align-items: center; justify-content: flex-start; height: 100%; max-height: 100%; color: var(--white); }
.sig__logo svg, .sig__logo img { display: block; height: min(55%, clamp(90px, 13vw, 210px)); width: auto; max-width: 100%; object-fit: contain; }
.sig__logo svg { fill: currentColor; }
.sig[data-i="1"] .sig__logo svg { height: min(78%, clamp(140px, 18vw, 280px)); }
.sig__meta { align-self: center; }
.sig__role { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(244,243,239,.55); }
.sig__role i { width: 6px; height: 6px; background: var(--accent); }
.sig__name { margin: 10px 0 0; font-family: var(--serif); font-weight: 200; font-size: clamp(22px, 2.4vw, 42px); line-height: 1.1; letter-spacing: -.015em; }
.sig__text { margin: 12px 0 0; max-width: 24em; font-size: 14px; line-height: 1.7; color: rgba(244,243,239,.62); }

.sigs__end { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: clamp(28px, 6vh, 72px); padding: 0 var(--gutter); text-align: center; opacity: 0; visibility: hidden; }
.sigs__endtitle { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(30px, 4.6vw, 80px); line-height: 1.05; letter-spacing: -.02em; }
.sigs__endtitle em { font-style: italic; }
.sigrow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 4vw, 64px) clamp(28px, 4vw, 72px); max-width: 1100px; }
.sigrow__item { height: clamp(26px, 2.6vw, 40px); color: var(--white); opacity: 0; transform: translateY(14px); }
.sigrow__item svg, .sigrow__item img { height: 100%; width: auto; display: block; }
.sigrow__item svg { fill: currentColor; }
.sigrow__item--liakos { height: clamp(52px, 4.8vw, 76px); }
.sigrow__item--bang-olufsen { height: clamp(18px, 1.8vw, 28px); } /* le mot-marque B&O est très étiré */
.sigrow__item--roche-bobois { height: clamp(28px, 2.8vw, 44px); }

/* 4. L'emblème */
.pquote {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: var(--gutter);
  min-height: 100vh;
  padding: clamp(100px, 14vh, 160px) var(--gutter);
  overflow: hidden;
}
.pquote__text {
  margin: 0;
  max-width: 12em;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(34px, 4.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.pquote__text em { font-style: italic; }
.pquote__symbol { margin: 0; justify-self: center; width: min(100%, 36vw); }
.pquote__symbol img { width: 100%; height: auto; will-change: transform; }

/* 5. Sur invitation */
.pmore { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.pmore .display { max-width: 11em; }
.pmore .lead { margin-top: clamp(28px, 4vh, 44px); }
.pmore__actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: clamp(36px, 6vh, 64px); }
.pmore__actions .contact__mark { width: 14px; height: 14px; margin-right: 4px; }
.btn--ghost { border-color: var(--hair); color: var(--muted); }
.pmore__back { display: inline-block; margin-top: clamp(48px, 8vh, 90px); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); transition: color .5s var(--ease); }
.pmore__back:hover { color: var(--fg); }

/* Popup de contact ------------------------------------------------------------ */

.lead-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.lead-modal[hidden] { display: none; }
.lead__backdrop { position: absolute; inset: 0; background: rgba(7,7,7,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s var(--ease); }
.lead-modal.is-open .lead__backdrop { opacity: 1; }
.lead__panel {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: clamp(28px, 4vw, 48px);
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(244,243,239,.18);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.lead-modal.is-open .lead__panel { opacity: 1; transform: none; }
.lead__panel .eyebrow { color: rgba(244,243,239,.5); margin-bottom: 14px; }
.lead__panel .eyebrow::before { background: var(--accent); }
.lead__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.lead__close i { position: absolute; left: 10px; top: 50%; width: 20px; height: 1px; background: var(--white); transform: rotate(45deg); }
.lead__close i + i { transform: rotate(-45deg); }
.lead__title { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.lead__switch { display: flex; gap: 24px; margin: 22px 0 10px; border-bottom: 1px solid rgba(244,243,239,.18); }
.lead__switch button {
  padding: 12px 0; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px;
  background: none; color: rgba(244,243,239,.5); font: 400 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; cursor: pointer;
  transition: color .4s, border-color .4s;
}
.lead__switch button[aria-selected="true"] { color: var(--white); border-color: var(--accent); }
.lead__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 16px; }
.lead__field { display: flex; flex-direction: column; gap: 8px; }
.lead__field--wide { grid-column: 1 / -1; }
.lead__field[hidden] { display: none; }
.lead__field span { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(244,243,239,.55); }
.lead__field span em { font-style: normal; letter-spacing: .1em; text-transform: none; opacity: .7; }
.lead__field input, .lead__field textarea {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(244,243,239,.25); border-radius: 0;
  background: none; color: var(--white); font: 300 16px/1.4 var(--sans); outline: none; resize: vertical;
  transition: border-color .4s;
}
.lead__field input:focus, .lead__field textarea:focus { border-bottom-color: var(--accent); }
.lead__field.is-invalid input, .lead__field.is-invalid textarea { border-bottom-color: #e3261b; }
.lead__field.is-invalid span { color: #f0847c; }
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__error { margin: 14px 0 0; font-size: 13px; color: #f0847c; }
.lead__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.lead__panel .btn { border-color: var(--white); color: var(--white); }
.lead__panel .btn:hover { background: var(--white); color: var(--black); }
.lead__panel .btn:disabled { opacity: .5; pointer-events: none; }
.lead__consent { flex: 1 1 220px; margin: 0; font-size: 11px; line-height: 1.6; color: rgba(244,243,239,.45); }
.lead__done { text-align: center; padding: 20px 0; }
.lead__done .contact__mark { display: inline-block; width: 18px; height: 18px; margin-bottom: 26px; }
.lead__done .lead { margin: 18px auto 30px; max-width: 26em; color: rgba(244,243,239,.6); }
.lead__done .lead__title { font-size: clamp(34px, 4vw, 54px); }
body.lead-open { overflow: hidden; }

/* Landing ------------------------------------------------------------------------ */

.header--landing { pointer-events: auto; }
.header--landing .header__bar { width: 100%; justify-content: space-between; }
.header__cta { padding: 12px 18px; font-size: 10px; }
.nav--landing { display: none; }
.lpitch { padding: clamp(110px, 16vh, 180px) 0 clamp(90px, 14vh, 160px); }
.lpitch__head { padding: 0 var(--gutter); }
.lpitch__head .lead { margin-top: clamp(28px, 4vh, 44px); max-width: 38em; }
.lpitch__media { margin-top: clamp(56px, 9vh, 110px); }
.lpitch__facts { padding: clamp(48px, 8vh, 90px) var(--gutter) 0; }

.wish {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
  min-height: 100vh;
  padding: clamp(110px, 16vh, 180px) var(--gutter);
}
.wish .display { max-width: 9em; }
.wish .lead { margin-top: clamp(24px, 4vh, 40px); }
.wish__points { list-style: none; margin: clamp(28px, 5vh, 48px) 0 0; padding: 0; display: grid; gap: 14px; }
.wish__points li { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.wish__points i { width: 7px; height: 7px; background: var(--accent); flex: none; }
.wish__form { display: grid; gap: 22px; padding: clamp(26px, 3.5vw, 44px); border: 1px solid var(--hair); position: sticky; top: 100px; }
.wish__form .lead__field span { color: var(--muted); }
.wish__form .lead__field input { color: var(--fg); border-bottom-color: var(--hair); }
.wish__submit { justify-content: center; margin-top: 6px; }
.wish__form .lead__consent { margin: 0; }
.wish__done { padding: clamp(26px, 3.5vw, 44px); border: 1px solid var(--hair); }
.wish__done .contact__mark { display: inline-block; width: 18px; height: 18px; margin-bottom: 22px; }
.wish__done .lead { margin: 14px 0 0; }
.footer--landing p a { color: var(--fg); }

.only-narrow { display: none; }
@media (max-width: 900px) { .only-wide { display: none; } .only-narrow { display: inline; } }

/* Landing : effets supplémentaires ---------------------------------------------- */

.lprogress { position: fixed; top: 0; left: 0; right: 0; z-index: 95; height: 2px; pointer-events: none; }
.lprogress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

.ph__scarcity {
  display: inline-flex; align-items: center; gap: 12px;
  margin: clamp(18px, 3vh, 28px) 0 0;
  padding: 10px 16px;
  border: 1px solid rgba(244,243,239,.28);
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(244,243,239,.75);
}
.ph__scarcity i { width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }

.marquee--landing { border-top: 0; }

.lcine { height: 100vh; height: 100svh; }
.lcine__stage { position: relative; height: 100%; overflow: hidden; background: var(--black); color: var(--white); }
.lcine__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.lcine__veil { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(7,7,7,.55) 0%, rgba(7,7,7,.35) 40%, rgba(7,7,7,.85) 85%); }
.lcine__lines { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); text-align: center; }
.lcine__line {
  grid-area: 1 / 1;
  margin: 0;
  max-width: 11em;
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(44px, 8vw, 150px); line-height: .98; letter-spacing: -.03em;
  opacity: 0;
  color: var(--white);
  text-shadow: 0 0 60px rgba(0,0,0,.9), 0 2px 16px rgba(0,0,0,.8);
}
.lcine__line em { font-style: italic; }
.lcine__line:last-child { font-size: clamp(30px, 4.6vw, 80px); }
.lcine__pitch {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(140px, 24vh, 240px);
  max-width: 34em; margin: 0 auto;
  text-align: center; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.7; color: rgba(244,243,239,.72);
  opacity: 0;
}
.lcine__facts {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 7vh, 72px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px);
  opacity: 0;
}
.lcine__facts .pfact { border-top-color: rgba(244,243,239,.25); }
.lcine__facts .pfact span { color: rgba(244,243,239,.55); }
.lcine__facts .pfact strong { font-size: clamp(18px, 1.8vw, 28px); }
.lcine__cap { bottom: auto; top: clamp(90px, 14vh, 130px); opacity: 0; transform: none; }

.wish { position: relative; overflow: hidden; }
.wish__emblem {
  position: absolute; right: -6vw; top: 50%; width: clamp(320px, 42vw, 640px); height: auto;
  transform: translateY(-50%) rotate(8deg);
  opacity: .14; pointer-events: none; will-change: transform;
}
.wish__intro, .wish__form, .wish__done { position: relative; }
.wish__form { background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.lsticky {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: none; justify-content: center;
  background: var(--black); color: var(--white); border-color: rgba(244,243,239,.3);
  transform: translateY(120%); transition: transform .6s var(--ease-out);
}
.lsticky i { background: var(--accent); }
body.lsticky-on .lsticky { transform: none; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header,
  body.is-scrolled .header,
  body.is-scrolled.nav-hidden:not(.menu-open) .header {
    display: block;
    padding: 0;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    transform: none;
  }
  .header__bar {
    position: relative;
    z-index: 1;
    justify-content: space-between;
    padding: 22px var(--gutter);
    border-bottom: 1px solid transparent;
    transition:
      transform .7s var(--ease-out),
      padding .5s var(--ease),
      background-color .6s var(--ease),
      border-color .6s var(--ease);
  }
  body.is-scrolled .header__bar {
    padding-block: 14px;
    background: color-mix(in srgb, var(--bg) 96%, transparent); /* pas de flou sur mobile : coûteux au scroll */
    border-color: var(--hair);
  }
  .grain { animation: none; inset: 0; width: 100%; height: 100%; } /* grain fixe : pas de recomposition toutes les 200 ms */
  body.is-scrolled.nav-hidden:not(.menu-open) .header__bar { transform: translateY(-100%); }
  body.menu-open .header__bar { background: var(--bg); border-color: transparent; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s var(--ease), visibility .6s;
  }
  .nav a { font-family: var(--serif); font-weight: 200; font-size: 38px; letter-spacing: 0; text-transform: none; }
  .nav a::after { display: none; }
  .nav .lang { margin: 22px 0 0; padding: 0; border: 0; gap: 30px; }
  .nav .lang a { font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: .32em; }
  body.menu-open .nav { opacity: 1; visibility: visible; }

  .hero__anchor { width: 88vw; top: 42%; }
  .hero__tagline { top: 63%; text-wrap: balance; }
  .hero__tagline small { font-size: 9.5px; letter-spacing: .26em; margin-bottom: 14px; }
  .hero__tagline--wide { display: none; }
  .hero__tagline--narrow { display: block; }
  .hero__side { display: none; }

  .manifesto {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "anchor" "foot";
    padding-block: 110px 40px;
    min-height: 0;
  }
  .manifesto__anchor { aspect-ratio: 4 / 3; max-width: none; margin: 8px 0 16px; }
  .manifesto__foot { margin-top: 0; }
  .manifesto__stat { margin-top: 40px; }

  .services__grid { grid-template-columns: 1fr; }
  .orbit { position: relative; top: 0; max-width: 280px; margin: 0 auto 40px; }
  .services__grid { margin-top: 48px; }

  .artists__grid { grid-template-columns: 1fr; gap: 0; }
  .artists__anchor { aspect-ratio: 4 / 3; order: 1; margin-top: 24px; }
  .pillars { grid-template-columns: 1fr; }
  .contact__doors { flex-direction: column; align-items: center; gap: 14px; }
  .portes { padding-top: 10px; padding-bottom: 90px; }
  .portes__grid { gap: 48px; } /* laisse passer la colonne de lettres entre les portes */
  .porte__frame { max-height: none; }
  .porte .btn { padding: 12px 10px; gap: 8px; font-size: 9.5px; letter-spacing: .16em; text-align: center; }
  .porte .btn i { display: none; }

  .ph__title { bottom: clamp(90px, 14vh, 140px); }
  .ph__steps { top: auto; bottom: 150px; right: var(--gutter); transform: none; }
  .ph__hint { display: none; }
  .ph__cap { bottom: 24px; }
  .pstat__grid { grid-template-columns: 1fr; gap: 20px; }
  .pfacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  /* Mobile : la photo entière, sans recadrage, et la légende en dessous plutôt que par-dessus */
  .sigs__stage { padding-top: 84px; }
  .sigs__head { max-width: none; }
  .sigs__title { font-size: 22px; }
  .sig { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .sig { grid-template-rows: auto auto; align-content: center; }
  .sig__logo { height: auto; }
  .sig__logo svg, .sig__logo img { height: 64px; }
  .sig[data-i="1"] .sig__logo svg { height: 96px; }
  .sig__name { font-size: 24px; }
  .sig__text { font-size: 13px; }
  .sigs__num { font-size: 56px; }
  .sigrow { gap: 22px 26px; }
  .sigrow__item { height: 20px; }
  .sigrow__item--liakos { height: 40px; }
  .sigrow__item--bang-olufsen { height: 14px; }
  .sigrow__item--roche-bobois { height: 22px; }
  .pvilla__media { aspect-ratio: auto; max-height: none; overflow: visible; }
  .pvilla__media img { height: auto; object-fit: contain; }
  .pvilla__media figcaption { position: static; display: inline-flex; margin: 0 var(--gutter); background: none; color: var(--muted); padding: 14px 0 0; }
  .pquote { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .lead-modal { padding: 0; align-items: end; }
  .lead__panel { width: 100%; max-height: 100dvh; min-height: 70dvh; border: 0; border-top: 1px solid rgba(244,243,239,.18); padding: 56px 20px 32px; }
  .lead__grid { grid-template-columns: 1fr; }
  .lead__switch { gap: 16px; }
  .lead__switch button { font-size: 10px; letter-spacing: .16em; }
  .wish { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-bottom: 120px; }
  .wish__emblem { right: -30vw; top: 12%; width: 90vw; transform: rotate(8deg); opacity: .1; }
  .lsticky { display: inline-flex; }
  .lcine__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; bottom: 28px; }
  .lcine__facts .pfact { padding-top: 12px; }
  .lcine__pitch { bottom: 200px; font-size: 13px; }
  /* la légende de la séquence reste un petit cartouche en haut (la règle mobile du hero la posait aussi en bas) */
  .lcine__cap { top: 84px; bottom: auto; right: auto; padding: 10px 12px; font-size: 9px; letter-spacing: .2em; }
  /* mentions courtes sur une seule ligne */
  .ph__title .eyebrow { font-size: 9.5px; letter-spacing: .22em; white-space: nowrap; }
  .ph__scarcity { padding: 8px 12px; font-size: 9px; letter-spacing: .18em; white-space: nowrap; }
  .lcine__line { max-width: 8em; }
  .lcine__img { object-position: 74% 50%; } /* sur mobile : la panthère et la baie, pas le mur */
  .wish__form { position: static; }
  .header__cta { padding: 10px 12px; font-size: 9px; letter-spacing: .18em; }
  .pquote__symbol { width: 62vw; order: -1; }
  .pmore__actions .btn { width: 100%; justify-content: center; }
  .footer { grid-template-columns: 1fr; justify-items: start; }
  .footer__tag { text-align: left; }
}

@media (max-width: 560px) {
  .step { grid-template-columns: 36px minmax(0, 1fr); }
  /* Réalisations : tout doit tenir dans 100svh, la section étant coupée à cette hauteur */
  .works__stage { justify-content: flex-start; padding-top: 72px; }
  .works__head { align-items: flex-end; margin-bottom: 18px; }
  .works__head .eyebrow { margin-bottom: 16px; }
  .works__head .display { font-size: clamp(30px, 8.5vw, 40px); }
  .works__count { font-size: 22px; padding-bottom: 4px; }
  .works__track { gap: 22px; }
  .work { width: min(64vw, 280px); }
  .work__art { max-height: min(34svh, 300px); }
  .work__meta .work__text { font-size: 12px; }
  .work__meta { padding-top: 14px; }
  .work__meta h3 { font-size: 22px; }
  .work__meta p { margin-top: 4px; font-size: 12px; }
  .manifesto__stat { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0s !important;
    animation: none !important;
  }
  .grain { display: none; }
  .manifesto__text .word { opacity: 1; }
  .works { height: auto; }
  .works__track { width: auto; overflow-x: auto; }
}
