/* ============================================================
   WOOD YOU · Direction artistique
   Palette extraite du branding : nuit, gris-bleu, crème.
   Typographie : Jost (géométrique, héritée du logo Century Gothic).
   ============================================================ */

:root {
  /* Couleurs exactes charte graphique WOOD YOU */
  --night: #131525;         /* bleu foncé charte  #131525 */
  --night-deep: #0d0f1c;
  --night-soft: #1c1f35;
  --mist: #9fabbd;          /* bleu clair charte  #9fabbd */
  --mist-soft: #b0bece;
  --cream: #ebe5dc;         /* beige clair charte #ebe5dc */
  --beige: #c4b7ab;         /* beige foncé charte #c4b7ab */
  --ink: #ebe5dc;           /* texte clair = beige clair */
  --ink-dim: rgba(235, 229, 220, 0.55);

  /* Typo — Avenir Next Rounded Pro (charte) → Nunito (libre, formes arrondies identiques) */
  --font: "Nunito", "Avenir Next Rounded", "Avenir Next", "Century Gothic", "Futura", sans-serif;

  /* Rythme */
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --section-gap: clamp(6rem, 14vw, 13rem);
  --content-max: 1440px; /* largeur de contenu max — disposition cohérente 14" → grand moniteur */

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--night);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain subtil sur tout le site */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; font-weight: 300; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--mist); color: var(--night); }

/* ============================================================
   PRELOADER — logo carré avec cadre animé
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--night-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.9s var(--ease-soft), visibility 0.9s;
}
.preloader.done { opacity: 0; visibility: hidden; }

.preloader__square {
  position: relative;
  width: clamp(160px, 22vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

/* Cadre qui se dessine dans le sens des aiguilles d'une montre */
.preloader__border {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.preloader__border .pframe {
  stroke: var(--mist);
  stroke-width: 1.5;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawFrame 1.2s var(--ease-soft) 0.2s forwards;
}
@keyframes drawFrame { to { stroke-dashoffset: 0; } }

/* Logo à l'intérieur du carré */
.preloader__logo {
  width: 72%;
  height: auto;
  opacity: 0;
  transform: scale(0.88);
  animation: fadeInLogo 0.7s var(--ease-out) 1s forwards;
}
@keyframes fadeInLogo { to { opacity: 1; transform: scale(1); } }

.preloader__word {
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  font-weight: 500;
  color: var(--cream);
}
.preloader__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  animation: riseLetter 0.7s var(--ease-out) forwards;
}
.preloader__word .thin { font-weight: 200; color: var(--mist); }
.preloader__word span:nth-child(1) { animation-delay: 0.5s; }
.preloader__word span:nth-child(2) { animation-delay: 0.58s; }
.preloader__word span:nth-child(3) { animation-delay: 0.66s; }
.preloader__word span:nth-child(4) { animation-delay: 0.74s; }
.preloader__word span:nth-child(5) { animation-delay: 0.9s; }
.preloader__word span:nth-child(6) { animation-delay: 0.98s; }
.preloader__word span:nth-child(7) { animation-delay: 1.06s; }

@keyframes riseLetter { to { opacity: 1; transform: none; } }

/* ============================================================
   CURSEUR PERSONNALISÉ
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  pointer-events: none;
  z-index: 2500;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s;
  display: grid;
  place-content: center;
}
.cursor.is-label {
  width: 76px; height: 76px;
  background: var(--mist);
  mix-blend-mode: normal;
}
.cursor__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night);
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.5s;
}
.nav.scrolled {
  background: rgba(14, 16, 32, 0.75);
  backdrop-filter: blur(14px);
  padding-block: 0.9rem;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 84px;
  width: auto;
  transition: height 0.5s var(--ease-out);
}
.nav.scrolled .nav__logo img { height: 64px; }

.nav__links { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); }
.nav__links a {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--mist);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: 0.6rem;
}
.lang-btn {
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.35rem;
  transition: color 0.3s;
  line-height: 1;
}
.lang-btn:hover { color: var(--mist); }
.lang-btn.active { color: var(--cream); }

.nav__right { display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.4rem); }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.3s;
}
.nav__phone svg { width: 17px; flex-shrink: 0; }
.nav__phone:hover { color: var(--mist); }

.nav__cta {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(162, 176, 197, 0.4);
  border-radius: 999px;
  color: var(--cream);
  white-space: nowrap;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.nav__cta:hover { background: var(--cream); color: var(--night); border-color: var(--cream); }

.nav__burger { display: none; width: 38px; height: 38px; position: relative; z-index: 1102; }
.nav__burger span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), opacity 0.3s;
}
.nav__burger span:nth-child(1) { top: 9px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger.open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--night-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-soft);
}
.menu.open { clip-path: inset(0 0 0% 0); }
.menu__close {
  position: absolute;
  top: 1.6rem;
  right: 1.2rem;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1;
}
.menu__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 1.5px;
  background: var(--cream);
  transition: background 0.3s;
}
.menu__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.menu__close:hover span { background: var(--mist); }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 200;
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
  color: var(--ink);
  border-bottom: 1px solid rgba(162, 176, 197, 0.15);
}
.menu__links a i { font-style: normal; font-size: 0.85rem; color: var(--mist); letter-spacing: 0.2em; }
.menu__lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.6rem;
}
.menu__lang .lang-btn {
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  padding: 0.5rem 0.6rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.menu__lang-sep { color: var(--ink-dim); opacity: 0.5; }
.menu__tag { margin-top: 1.6rem; color: var(--ink-dim); letter-spacing: 0.08em; }
.menu__tag b { color: var(--cream); font-weight: 500; }

/* ============================================================
   SECTIONS · COMMUN
   ============================================================ */
section {
  padding-block: var(--section-gap);
  padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2));
  position: relative;
}

.section-index {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.section-index::after {
  content: "";
  height: 1px;
  width: clamp(60px, 10vw, 140px);
  background: linear-gradient(90deg, var(--mist), transparent);
}

/* Révélation générique au scroll */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(7rem, 16vh, 10rem);
  overflow: hidden;
}

/* bloc de contenu : le panneau gris-bleu s'ancre dessus et l'encadre toujours */
.hero__content {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  padding: clamp(1.8rem, 4vh, 3.2rem) clamp(1.4rem, 4vw, 4rem) clamp(1.8rem, 4vh, 3.2rem) 0;
}

/* panneau gris-bleu asymétrique, écho au site d'origine :
   il épouse le texte et fuit vers le bord gauche de l'écran */
.hero__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: calc(-1 * var(--gutter));
  background: var(--mist);
  opacity: 0.12;
  border-radius: 0 4px 4px 0;
  transform-origin: left center;
  z-index: -1;
}

/* Logo carré (Wood carré charte) · côté droit du hero */
.hero__square {
  position: absolute;
  right: clamp(2rem, 6vw, 8rem);
  top: 50%;
  translate: 0 -50%;
  width: clamp(220px, 32vw, 500px);
  aspect-ratio: 1;
  background: var(--mist);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
}
.hero__square-logo {
  width: 72%;
  height: auto;
  display: block;
}

.hero__title {
  font-size: clamp(2.9rem, 9.5vw, 8.6rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; transform: translateY(110%); }
.hero__title .accent .word { font-weight: 500; color: var(--mist-soft); }

.hero__sub {
  max-width: 32rem;
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-dim);
  position: relative;
  z-index: 2;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  padding: 1rem 2.2rem;
  border: 1px solid rgba(239, 232, 221, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  width: fit-content;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: color 0.45s var(--ease-out), border-color 0.45s;
}
.hero__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}
.hero__btn:hover { color: var(--night); border-color: var(--cream); }
.hero__btn:hover::before { transform: translateY(0); }
.btn__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(235, 229, 220, 0.1);
  border: 1px solid rgba(235, 229, 220, 0.18);
  display: grid;
  place-content: center;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-out), background 0.4s;
}
.hero__btn:hover .btn__arrow { transform: translateX(5px); background: rgba(235, 229, 220, 0.22); }
.btn__arrow svg { width: 14px; }

.hero__meta {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 7vh, 5rem);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero__meta span { position: relative; padding-left: 1.4rem; }
.hero__meta span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  border: 1px solid var(--mist);
  border-radius: 50%;
  translate: 0 -50%;
}


/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(162, 176, 197, 0.18);
  padding: 1.1rem 0;
  background: var(--night-deep);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee__track span {
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   2. HISTOIRE
   ============================================================ */
.story__statement { margin-bottom: clamp(4rem, 9vw, 8rem); }
.story__big {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 200;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.story__big .sline { display: block; opacity: 0.18; transition: opacity 0.6s var(--ease-soft); }
.story__big .sline.lit { opacity: 1; }
.story__big .indent { padding-left: clamp(2rem, 12vw, 12rem); }
.story__big em { color: var(--mist-soft); }
.story__big .final { margin-top: 0.5em; font-weight: 400; }

.story__grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}

.story__portrait {
  background: var(--night-soft);
  border: 1px solid rgba(162, 176, 197, 0.15);
  padding: 1.2rem;
  position: relative;
}
.story__portrait img { width: 100%; height: auto; }
.story__name {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream);
}
.story__name span { font-weight: 300; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--mist); }

.story__text { max-width: 38rem; display: grid; gap: 1.6rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-dim); }
.story__text strong { color: var(--cream); font-weight: 500; }
.story__invite {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  color: var(--mist-soft);
  border-left: 1px solid var(--mist);
  padding-left: 1.5rem;
}

/* ============================================================
   3. SERVICES · liste éditoriale
   ============================================================ */
.services { background: var(--cream); color: var(--night); }
.services .section-index { color: var(--night); opacity: 0.6; }
.services .section-index::after { background: linear-gradient(90deg, var(--night), transparent); }

.services__title {
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  font-weight: 300;
  line-height: 1.12;
  text-transform: uppercase;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.services__title em { font-weight: 500; }

.services__list li {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.1rem, 2.4vw, 1.8rem) 0;
  border-bottom: 1px solid rgba(20, 23, 43, 0.18);
  position: relative;
  cursor: pointer;
  transition: padding-left 0.5s var(--ease-out);
  opacity: 0;
  transform: translateY(30px);
}
.services__list li.in {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), padding-left 0.5s var(--ease-out);
}
.services__list li:hover { padding-left: clamp(0.8rem, 2vw, 2rem); }

.services__list .num {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 0.45;
  min-width: 2.4em;
}
.services__list .name {
  font-size: clamp(1.4rem, 3.6vw, 2.8rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: font-weight 0.2s;
}
.services__list li:hover .name { font-weight: 500; }

.services__list li::after {
  content: attr(data-note);
  position: absolute;
  right: 0;
  bottom: 1.1rem;
  font-size: 0.85rem;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
  max-width: 40%;
  text-align: right;
}
.services__list li:hover::after { opacity: 0.75; transform: none; }

@media (min-width: 901px) {
  .services__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(4rem, 8vw, 10rem);
  }
  .services__list li:nth-last-child(-n+2) { border-bottom: none; }
}

/* ============================================================
   4. RÉALISATIONS
   ============================================================ */
.works__title {
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  font-weight: 200;
  line-height: 1.12;
  text-transform: uppercase;
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
}
.works__title em { font-weight: 500; color: var(--mist-soft); }

.works__gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.work { position: relative; }
.works__gallery .work:nth-child(1) { grid-column: 1 / span 7; }
.works__gallery .work:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(9rem, 20vw, 20rem); }
.works__gallery .work:nth-child(3) { grid-column: 1 / span 5; margin-top: clamp(3rem, 7vw, 6rem); }
.works__gallery .work:nth-child(4) { grid-column: 6 / span 7; margin-top: clamp(1rem, 2vw, 2rem); }

.work__media {
  overflow: hidden;
  background: var(--night-soft);
  border: 1px solid rgba(162, 176, 197, 0.12);
  position: relative;
  aspect-ratio: auto;
}
.work__media img {
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease-out);
  will-change: transform;
}
.work:hover .work__media img { transform: scale(1.05); }

.work figcaption { margin-top: 1.4rem; max-width: 30rem; }
.work__num {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--mist);
}
.work h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.4rem 0 0.5rem;
}
.work p { font-size: 0.95rem; color: var(--ink-dim); }

.works__more {
  margin-top: clamp(4rem, 8vw, 7rem);
  text-align: center;
  color: var(--ink-dim);
  font-size: 1.05rem;
}
.works__more a {
  color: var(--cream);
  border-bottom: 1px solid var(--mist);
  transition: color 0.3s, border-color 0.3s;
}
.works__more a:hover { color: var(--mist-soft); border-color: var(--cream); }

/* ============================================================
   5. ILS PARLENT DE NOUS
   ============================================================ */
.press {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
}
.press__title {
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  font-weight: 200;
  line-height: 1.12;
  text-transform: uppercase;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.press__title em { font-weight: 500; color: var(--mist-soft); }

.press__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: stretch;
}

.press__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--mist);
  color: var(--night);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out);
}
.press__card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 320px;
  border: 1px solid rgba(20, 23, 43, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 28px transparent, inset 0 0 0 18px rgba(20, 23, 43, 0.06);
  pointer-events: none;
  transition: transform 0.8s var(--ease-out);
}
.press__card:hover { transform: translateY(-6px); }
.press__card:hover::after { transform: scale(1.08) rotate(4deg); }

.press__source {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.65;
}
.press__headline {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 300;
  line-height: 1.25;
}
.press__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(20, 23, 43, 0.4);
  width: fit-content;
  padding-bottom: 4px;
}
.press__cta svg { width: 16px; transition: transform 0.4s var(--ease-out); }
.press__card:hover .press__cta svg { transform: translate(3px, -3px); }

.press__video { display: flex; flex-direction: column; gap: 1.2rem; align-items: center; }
.press__player {
  /* largeur dérivée de la hauteur : la vidéo verticale est toujours entière à l'écran */
  width: min(100%, calc(78vh * 9 / 16), 400px);
  background: var(--night-deep);
  border: 1px solid rgba(162, 176, 197, 0.18);
}
.press__player video {
  display: block;
  width: 100%;
  height: auto;
}
.press__videolink {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist-soft);
  width: fit-content;
  border-bottom: 1px solid rgba(162, 176, 197, 0.4);
  padding-bottom: 3px;
  transition: color 0.3s;
}
.press__videolink:hover { color: var(--cream); }
.press__videolink svg { width: 14px; }

/* ============================================================
   6. PROCESSUS
   ============================================================ */
.process { background: var(--night-deep); }
.process__title {
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  font-weight: 200;
  line-height: 1.12;
  text-transform: uppercase;
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}
.process__title em { font-weight: 500; color: var(--mist-soft); }

.process__track { position: relative; padding-left: clamp(2.5rem, 6vw, 5rem); }
.process__line {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
}
.process__line path { stroke: var(--mist); }

.process__steps { display: grid; gap: clamp(3.5rem, 8vw, 6.5rem); }
.step {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: baseline;
  opacity: 0;
  transform: translateY(40px);
}
.step.in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }

.step__num {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 200;
  color: var(--mist);
  line-height: 1;
  min-width: 2em;
}
.step h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.step p { max-width: 34rem; color: var(--ink-dim); }

/* ============================================================
   6. CONTACT
   ============================================================ */
.contact { padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 2rem;
}
.contact__big {
  font-size: clamp(2.4rem, 7.5vw, 6.4rem);
  font-weight: 200;
  line-height: 1.08;
  text-transform: uppercase;
}
.contact__big .line { display: block; overflow: hidden; }
.contact__big .word { display: inline-block; transform: translateY(110%); }
.contact__big em { font-weight: 500; color: var(--mist-soft); }
.contact__sub { margin-top: 1.8rem; color: var(--ink-dim); max-width: 30rem; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.contact__form { display: grid; gap: 2.2rem; }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
}
.field input, .field textarea {
  font: inherit;
  font-weight: 300;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(162, 176, 197, 0.35);
  padding: 0.7rem 0;
  color: var(--ink);
  font-size: 1.1rem;
  resize: vertical;
  transition: border-color 0.4s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cream);
}
.field ::placeholder { color: rgba(233, 237, 244, 0.3); }

.contact__send {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  padding: 1rem 2.2rem;
  border: 1px solid var(--mist);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease-out);
}
.contact__send::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mist);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.contact__send:hover { color: var(--night); }
.contact__send:hover::before { transform: translateY(0); }
.contact__send span, .contact__send .btn__arrow { position: relative; z-index: 1; }
.contact__send:hover .btn__arrow { transform: translateX(5px); background: rgba(19, 21, 37, 0.18); }

.contact__info {
  font-style: normal;
  display: grid;
  gap: 1.4rem;
  align-content: start;
  color: var(--ink-dim);
  font-size: 1.02rem;
  border-left: 1px solid rgba(162, 176, 197, 0.2);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}
.contact__who strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--cream);
}
.contact__info a { transition: color 0.3s; }
.contact__info a:hover { color: var(--cream); }
.contact__socials { display: flex; gap: 1.6rem; }
.contact__socials a {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(162, 176, 197, 0.4);
  padding-bottom: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) 2rem;
  overflow: hidden;
}
.footer__logo {
  width: min(420px, 70vw);
  height: auto;
  margin: 0 auto;
  /* SVG beige clair (#ebe5dc) — couleur native correcte */
  user-select: none;
}
.footer__legal {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin-top: 1.5rem;
}

/* ============================================================
   RÉALISATIONS · affordance cliquable + carousel mobile
   ============================================================ */

/* Overlay gradient + icône expand */
.work__expand-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.9rem;
  background: linear-gradient(to top, rgba(19, 21, 37, 0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.work:hover .work__expand-hint { opacity: 1; }

.work__expand-icon {
  width: 38px; height: 38px;
  border: 1px solid rgba(235, 229, 220, 0.55);
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: var(--cream);
  background: rgba(19, 21, 37, 0.35);
  backdrop-filter: blur(6px);
  transform: scale(0.75);
  transition: transform 0.4s var(--ease-out);
}
.work:hover .work__expand-icon { transform: scale(1); }

/* Sur mobile (tactile) : affordance toujours visible */
@media (hover: none), (pointer: coarse) {
  .work__expand-hint {
    opacity: 1;
  }
  .work__expand-icon {
    transform: scale(1);
  }
}

/* Dots indicateurs de galerie multi-images */
.work__dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: 6px;
  pointer-events: auto;
  z-index: 3;
}
.work__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(235, 229, 220, 0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.work__dot.active {
  background: var(--cream);
  transform: scale(1.35);
}

/* Flèches de navigation inline (slide desktop, sans ouvrir la lightbox) */
.work__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(235, 229, 220, 0.28);
  background: rgba(19, 21, 37, 0.55);
  color: var(--cream);
  display: grid;
  place-content: center;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.35s var(--ease-out), background 0.3s, border-color 0.3s;
}
.work__nav.prev { left: 0.8rem; }
.work__nav.next { right: 0.8rem; }
.work__nav svg { width: 18px; }
.work__nav:hover { background: rgba(19, 21, 37, 0.78); border-color: rgba(235, 229, 220, 0.5); }
.work:hover .work__nav { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .work__nav { opacity: 0.82; width: 36px; height: 36px; }
}

/* Curseur pointer sur les cartes (mobile n'a pas data-cursor) */
.work[data-gallery] { cursor: pointer; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2600;
  background: rgba(14, 16, 32, 0.92);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-soft), visibility 0.5s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__content { max-width: min(86vw, 1100px); max-height: 84vh; }
.lightbox__content svg, .lightbox__content img {
  max-height: 84vh;
  width: auto;
  max-width: 86vw;
  border: 1px solid rgba(162, 176, 197, 0.25);
}
.lightbox__close {
  position: absolute;
  top: 1.4rem; right: 2rem;
  font-size: 2.6rem;
  font-weight: 200;
  color: var(--cream);
  line-height: 1;
  z-index: 2;
}
.lightbox__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 56px; height: 56px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(239, 232, 221, 0.35);
  border-radius: 50%;
  color: var(--cream);
  transition: background 0.3s, color 0.3s;
  z-index: 2;
}
.lightbox__arrow:hover { background: var(--cream); color: var(--night); }
.lightbox__arrow svg { width: 22px; }
.lightbox__arrow.prev { left: clamp(0.8rem, 3vw, 2.5rem); }
.lightbox__arrow.next { right: clamp(0.8rem, 3vw, 2.5rem); }
.lightbox__arrow[hidden] { display: none; }
.lightbox__counter {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  translate: -50% 0;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--mist-soft);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablette + mobile (≤ 900px) ---- */
@media (max-width: 900px) {
  .nav__links, .nav__cta, .lang-switch { display: none; }

  /* Téléphone : icône tactile à gauche (miroir du burger) */
  .nav__phone {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    margin-top: -22px;
    width: 44px;
    height: 44px;
    justify-content: center;
    gap: 0;
  }
  .nav__phone svg { width: 21px; }
  .nav__phone-num { display: none; }

  /* Burger : zone tactile 44×44px, 3 barres */
  .nav__burger {
    display: block;
    width: 44px;
    height: 44px;
  }
  .nav__burger span:nth-child(1) { top: 12px; }
  .nav__burger span:nth-child(2) { top: 21px; }
  .nav__burger span:nth-child(3) { top: 30px; }
  .nav__burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav__burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

  /* Logo centré, imposant (style maison de luxe) */
  .nav { justify-content: center; padding: 0 1.2rem; min-height: 96px; }
  .nav.scrolled { min-height: 74px; }
  .nav__logo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
  .nav__logo img { height: 86px; }
  .nav.scrolled .nav__logo img { height: 64px; }
  .nav__burger { position: absolute; right: 0.4rem; top: 50%; margin-top: -22px; }

  /* Hero square : recentré verticalement en haut, taille réduite */
  .hero__square {
    width: min(46vw, 240px);
    right: 0;
    top: clamp(6rem, 13vh, 9rem);
    translate: 0 0;
  }

  /* Grilles en colonne unique */
  .story__grid { grid-template-columns: 1fr; }
  .story__portrait { max-width: 380px; }

  .works__gallery { grid-template-columns: 1fr; gap: 3rem; }
  .works__gallery .work:nth-child(1),
  .works__gallery .work:nth-child(2),
  .works__gallery .work:nth-child(3),
  .works__gallery .work:nth-child(4) {
    grid-column: 1 / -1;
    margin-top: 0;
    margin-left: 0;
  }

  .services__list li::after { display: none; }

  .press__grid { grid-template-columns: 1fr; }
  .press__player { max-width: 100%; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__info {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(162, 176, 197, 0.2);
    padding-top: 2.5rem;
  }
}

/* ---- Tablette portrait ≥ 600px — square visible, texte à gauche ---- */
@media (min-width: 600px) and (max-width: 900px) {
  .hero__square { display: grid; }
}

/* ---- Mobile portrait (≤ 599px) ---- */
@media (max-width: 599px) {
  /* Hero square : masqué (superpose le titre sur petit écran) */
  .hero__square { display: none; }

  /* Titre hero : réduit pour tenir sur 360–414px */
  .hero__title { font-size: clamp(1.9rem, 9vw, 2.6rem); }

  /* Contenu hero : padding-right réduit sans le carré */
  .hero__content {
    padding-right: clamp(0.5rem, 3vw, 1.5rem);
  }

  /* Méta hero : wrap pour éviter débordement */
  .hero__meta { flex-wrap: wrap; gap: 0.6rem 1.2rem; }

  /* Bouton hero : zone tactile 44px min */
  .hero__btn { min-height: 44px; }


  /* Services : noms longs restent lisibles */
  .services__list .name { font-size: clamp(1.15rem, 5.5vw, 1.8rem); }
  .services__list li { padding-block: clamp(0.9rem, 2.5vw, 1.3rem); }

  /* Portrait histoire : pleine largeur */
  .story__portrait { max-width: 100%; }

  /* Indent du grand texte réduit */
  .story__big .indent { padding-left: clamp(0.8rem, 5vw, 2.5rem); }

  /* Bouton contact : zone tactile */
  .contact__send { min-height: 44px; }

  /* Footer : texte légal passe à la ligne */
  .footer__legal { font-size: 0.72rem; line-height: 1.7; }

  /* Process : padding latéral réduit */
  .process__track { padding-left: 1.6rem; }

  /* Lightbox : cible de fermeture accessible */
  .lightbox__close {
    top: 0.6rem;
    right: 0.6rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    font-size: 2rem;
    line-height: 1;
  }

  /* Lightbox flèches : repositionnées en bas, hors image */
  .lightbox__arrow {
    top: auto;
    bottom: 3.5rem;
    translate: 0 0;
    width: 44px;
    height: 44px;
  }
  .lightbox__arrow.prev { left: 0.8rem; }
  .lightbox__arrow.next { right: 0.8rem; }

  /* Lightbox image : prend presque toute la fenêtre */
  .lightbox__content { max-width: 96vw; max-height: 78vh; }
  .lightbox__content img,
  .lightbox__content svg {
    max-width: 96vw;
    max-height: 74vh;
  }
}

/* ---- Très petits écrans (≤ 374px) ---- */
@media (max-width: 374px) {
  .hero__title   { font-size: clamp(1.7rem, 9.5vw, 1.95rem); }
  .story__big    { font-size: clamp(1.55rem, 7vw, 2rem); }
  .menu__links a { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .step__num     { font-size: clamp(2rem, 6vw, 2.6rem); min-width: 1.8em; }
}

/* ============================================================
   ACCESSIBILITÉ · mouvement réduit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .step, .services__list li { opacity: 1 !important; transform: none !important; }
  .hero__title .word, .contact__big .word { transform: none !important; }
  .hero__square { opacity: 1 !important; transform: none !important; }
  .story__big .sline { opacity: 1 !important; }
  html { scroll-behavior: auto; }
}

/* Focus visible pour navigation clavier */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--mist);
  outline-offset: 3px;
}
