/* =========================================================
   MIRRUCI — Atelier de flocage thermocollant · Nice
   Feuille de style partagée (toutes les pages)
   Direction artistique : « Darkroom product editorial »
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs */
  --cream: #ffedd7;          /* Warm Cream — tout le texte */
  --walnut: #100904;         /* Walnut Shadow — fond */
  --bark: #382416;           /* Bark Brown — seul aplat (CTA plein) */
  --cork: #40372e;           /* Cork Border — filets pointillés */
  --drift: #6c5f51;          /* Driftwood — gris chaud secondaire */
  --ember: #dc5000;          /* Ember — accent éditorial uniquement (jamais un bouton) */

  --cream-70: rgba(255, 237, 215, .7);
  --cream-50: rgba(255, 237, 215, .5);
  --cream-30: rgba(255, 237, 215, .3);
  --cream-14: rgba(255, 237, 215, .14);
  --cream-06: rgba(255, 237, 215, .06);
  --walnut-60: rgba(16, 9, 4, .6);

  /* Typographie */
  --font: 'Inter', 'Söhne', 'Neue Haas Grotesk Display', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-legal: Arial, system-ui, sans-serif;

  --t-legal: 8px;
  --t-micro: 10px;
  --t-label: 12px;
  --t-small: 14px;
  --t-sub: 18px;
  --t-hsm: clamp(20px, 1rem + .7vw, 28px);
  --t-body: clamp(19px, .9rem + .85vw, 29px);
  --t-body-sm: clamp(15px, .85rem + .2vw, 18px);
  --t-heading: clamp(34px, 1rem + 3.4vw, 72px);
  --t-display: clamp(44px, 1rem + 6vw, 120px);

  /* Espacements */
  --g: 24px;                 /* gouttière latérale */
  --gap: 18px;               /* element gap */
  --sec: clamp(96px, 14vh, 204px);
  --nav-h: 72px;

  /* Rayons — vocabulaire complet */
  --r-card: 12px;
  --r-ghost: 22.5px;
  --r-pill: 36px;
  --r-full: 9999px;

  /* Mouvement */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

@media (max-width: 767px) {
  :root { --g: 16px; --nav-h: 64px; }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--walnut);
  color: var(--cream);
  font-family: var(--font);
  font-feature-settings: "ss01" on, "cv11" on;
  font-weight: 500;
  font-size: var(--t-label);
  line-height: 1.2;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-transform: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--cream); color: var(--walnut); }
:focus-visible { outline: 1px dashed var(--cream); outline-offset: 4px; }

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

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  padding: 10px 16px; background: var(--bark); border-radius: var(--r-pill);
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Typographie ---------- */
.t-display { font-size: var(--t-display); line-height: .9; font-weight: 500; }
.t-heading { font-size: var(--t-heading); line-height: .9; font-weight: 500; }
.t-hsm     { font-size: var(--t-hsm); line-height: 1.09; font-weight: 500; }
.t-sub     { font-size: var(--t-sub); line-height: 1; }
.t-small   { font-size: var(--t-small); line-height: 1.2; }
.t-label   { font-size: var(--t-label); line-height: 1.2; }
.t-micro   { font-size: var(--t-micro); line-height: 1.2; }
.t-legal   { font-family: var(--font-legal); font-size: var(--t-legal); line-height: 1.2; }

/* La seule voix « conversationnelle » : 400 / casse mixte */
.t-body {
  font-size: var(--t-body); line-height: 1.26; font-weight: 400;
  text-transform: none; text-align: left;
}
.t-body-sm {
  font-size: var(--t-body-sm); line-height: 1.45; font-weight: 400;
  text-transform: none; text-align: left;
}

.muted { color: var(--cream-50); }
.ember { color: var(--ember); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- 4. Éléments structurels ---------- */
.dash {
  display: block; width: 100%; height: 1px;
  background-image: linear-gradient(90deg, var(--cork) 0 6px, transparent 6px 12px);
  background-size: 12px 1px;
  transform-origin: left center;
}
.dash--drift { background-image: linear-gradient(90deg, var(--drift) 0 6px, transparent 6px 12px); }
.dash--v {
  width: 1px; height: 100%;
  background-image: linear-gradient(180deg, var(--cork) 0 6px, transparent 6px 12px);
  background-size: 1px 12px;
  transform-origin: center top;
}

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: var(--t-label);
}
.eyebrow__num { color: var(--cream-50); font-variant-numeric: tabular-nums; }
.eyebrow .dash { flex: 1; }

.section { position: relative; padding: var(--sec) var(--g); background: var(--walnut); }

/* Image éditoriale : bords francs, étalonnage chaud */
.media { position: relative; overflow: hidden; background: #1a110a; }
.media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.42) saturate(.72) contrast(1.06) brightness(.74);
  will-change: transform;
}
.media--tall img { height: 118%; margin-top: -9%; }

/* Étiquette des visuels temporaires */
.ph-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--r-ghost);
  background: var(--walnut-60); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--cream-14);
  font-size: var(--t-micro); color: var(--cream);
}
.ph-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }

/* ---------- 5. Boutons & liens ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-size: var(--t-label); font-weight: 500; line-height: 1; text-transform: uppercase;
  white-space: nowrap; isolation: isolate;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn--filled {
  background: var(--bark); color: var(--cream);
  border-radius: var(--r-pill); padding: 17px 26px;
}
.btn--filled:hover { background: #4a3020; }

.btn--ghost {
  border: 1px solid var(--cream); color: var(--cream);
  border-radius: var(--r-ghost); padding: 11px 18px;
  overflow: hidden;
}
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cream); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn--ghost:hover { color: var(--walnut); }
.btn--ghost:hover::before { transform: translateY(0); }

/* Roulement du libellé */
.roll { position: relative; display: block; overflow: hidden; }
.roll > span { display: block; transition: transform .6s var(--ease); }
.roll::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%;
  transition: transform .6s var(--ease);
}
a:hover > .roll > span, button:hover > .roll > span,
a:hover > .roll::after, button:hover > .roll::after { transform: translateY(-100%); }

.btn__icon {
  width: 22px; height: 22px; border-radius: var(--r-full);
  display: grid; place-items: center;
  border: 1px solid currentColor;
  transition: transform .6s var(--ease);
}
.btn__icon svg { width: 9px; height: 9px; }
.btn:hover .btn__icon { transform: rotate(-45deg); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-label); padding-bottom: 3px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform .7s var(--ease);
}
.link:hover::after { transform-origin: left; animation: underline .8s var(--ease); }
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 49% { transform: scaleX(0); transform-origin: right; } 50% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- 6. Grain, curseur, transitions ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 150; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.cursor { position: fixed; top: 0; left: 0; z-index: 160; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot {
  position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: var(--r-full); background: var(--cream);
  transition: opacity .3s;
}
.cursor__ring {
  position: absolute; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: var(--r-full); background: var(--cream); color: var(--walnut);
  display: grid; place-items: center; font-size: var(--t-micro);
  transform: scale(0); transition: transform .5s var(--ease);
}
.cursor.is-label .cursor__ring { transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-link .cursor__dot { transform: scale(2.6); opacity: .35; }
.cursor__dot { transition: transform .4s var(--ease), opacity .3s; }

.pt {
  position: fixed; inset: 0; z-index: 250; pointer-events: none;
  background: var(--bark);
  clip-path: inset(100% 0 0 0);
  display: grid; place-items: center;
}
.pt__word { font-size: clamp(40px, 10vw, 160px); line-height: .9; overflow: hidden; }
.pt__word span { display: block; }

/* ---------- 7. Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 260;
  background: var(--walnut);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: var(--g);
  clip-path: inset(0 0 0% 0);
}
.loader__row { display: flex; justify-content: space-between; gap: 24px; }
.loader__word {
  align-self: center; justify-self: center;
  display: flex; overflow: hidden;
  font-size: clamp(56px, 15vw, 240px); line-height: .86;
  padding-bottom: .02em;
}
.loader__word .ch { display: inline-block; transform: translateY(105%); }
.loader__count { font-variant-numeric: tabular-nums; }
.loader__bar {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--cream); transform: scaleX(0); transform-origin: left;
}
.no-js .loader, .reduced .loader { display: none; }

/* ---------- 8. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--g);
  transition: transform .8s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 9, 4, .88) 0%, rgba(16, 9, 4, .55) 55%, rgba(16, 9, 4, 0) 100%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.menu-open .nav { transform: none; }
.menu-open .nav::before { opacity: 0; }

.nav__logo { font-size: var(--t-small); display: inline-flex; align-items: baseline; gap: 10px; }
.nav__logo small { font-size: var(--t-micro); color: var(--cream-50); }

.nav__links { display: flex; gap: clamp(16px, 2vw, 32px); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background-image: linear-gradient(90deg, var(--cream) 0 3px, transparent 3px 6px);
  background-size: 6px 1px;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__burger {
  display: none; align-items: center; gap: 10px;
  height: 40px; padding: 0 16px;
  border: 1px solid var(--cream); border-radius: var(--r-ghost);
}
.nav__burger-lines { position: relative; width: 14px; height: 7px; }
.nav__burger-lines::before, .nav__burger-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .6s var(--ease), top .6s var(--ease);
}
.nav__burger-lines::before { top: 0; }
.nav__burger-lines::after { top: 6px; }
.menu-open .nav__burger-lines::before { top: 3px; transform: rotate(45deg); }
.menu-open .nav__burger-lines::after { top: 3px; transform: rotate(-45deg); }

@media (max-width: 1099px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
}

/* Menu plein écran */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--walnut);
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--nav-h) + 24px) var(--g) var(--g);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  overflow-y: auto;
}
.menu__links { align-self: center; display: flex; flex-direction: column; gap: 4px; }
.menu__link {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(38px, 9vw, 104px); line-height: .9;
  overflow: hidden;
  padding-top: .14em; margin-top: -.1em;
}
.menu__link > span { display: inline-block; }
.menu__link small { font-size: var(--t-label); color: var(--cream-50); }
.menu__link[aria-current="page"] { color: var(--cream-50); }
.menu__foot {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
  padding-top: 24px; position: relative;
}
.menu__foot .dash { position: absolute; top: 0; left: 0; }
.menu__foot p { color: var(--cream-50); margin-bottom: 6px; }
@media (max-width: 767px) {
  .menu__foot { grid-template-columns: 1fr 1fr; }
  .menu__foot > :last-child { grid-column: 1 / -1; }
}

/* ---------- 9. Boutons flottants ---------- */
.fab {
  position: fixed; right: var(--g); bottom: var(--g); z-index: 100;
  display: flex; gap: 8px;
  transform: translateY(160%); transition: transform .9s var(--ease);
}
.fab.is-visible { transform: none; }
.menu-open .fab { transform: translateY(160%); }
.fab a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: var(--r-ghost);
  border: 1px solid var(--cream-30);
  background: rgba(16, 9, 4, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .4s, background-color .4s, color .4s;
}
.fab a:hover { border-color: var(--cream); background: var(--cream); color: var(--walnut); }
.fab__tel { width: 44px; padding: 0 !important; border-radius: var(--r-full) !important; }
.fab svg { width: 16px; height: 16px; }

/* ---------- 10. Pied de page ---------- */
.footer {
  position: relative; overflow: hidden;
  padding: 96px var(--g) 0;
  background: var(--walnut);
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--gap);
  padding-bottom: 72px;
}
.footer__col h3 { font-size: var(--t-label); color: var(--cream-50); font-weight: 500; margin-bottom: 18px; }
.footer__col li + li { margin-top: 10px; }
.footer__brand .t-body-sm { max-width: 32ch; color: var(--cream-70); margin-top: 18px; }
.footer__bottom {
  position: relative;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 18px 0;
}
.footer__bottom .dash { position: absolute; top: 0; left: 0; }
.footer__word {
  font-size: 23.4vw; line-height: .74; white-space: nowrap;
  margin: 0 0 -.04em -.06em;
  color: var(--cream);
  user-select: none;
}
.footer__word .ch { display: inline-block; }
@media (max-width: 899px) {
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- 11. Révélations (état initial géré par JS) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.w__i { display: inline-block; will-change: transform; }

/* =========================================================
   PAGE D'ACCUEIL
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  background: var(--walnut);
}
.hero__frame { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 30%; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media-in { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  filter: sepia(.5) saturate(.62) contrast(1.1) brightness(.6);
}
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 9, 4, .7) 0%, rgba(16, 9, 4, .12) 30%, rgba(16, 9, 4, .1) 52%, rgba(16, 9, 4, .9) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(220, 120, 40, .12), transparent 60%);
}
.hero__veil { position: absolute; inset: 0; background: var(--walnut); opacity: 0; pointer-events: none; }

.hero__inner {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-rows: auto auto 1fr auto;
  padding: calc(var(--nav-h) + 8px) var(--g) var(--g);
}
.hero__tags { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__tags p:last-child { text-align: right; }

.hero__word {
  margin-top: clamp(16px, 2vw, 34px);
  font-size: 19.6vw; line-height: .78;
  white-space: nowrap; overflow: hidden;
  padding-bottom: .04em;
}
.hero__word-in { display: inline-block; margin-left: -.055em; }
.hero__word .ch { display: inline-block; }

.hero__bottom {
  grid-row: 4;
  display: grid; grid-template-columns: minmax(0, 560px) 1fr auto; align-items: end; gap: var(--gap);
}
.hero__card {
  position: relative;
  padding: 24px;
  border-radius: var(--r-card);
  background: rgba(16, 9, 4, .42);
  border: 1px solid var(--cream-14);
  backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
}
.hero__title { font-size: clamp(30px, 1rem + 2.2vw, 51px); line-height: .9; font-weight: 500; }
.hero__card .dash { margin: 20px 0 18px; }
.hero__card .t-body-sm { color: var(--cream-70); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.hero__thumb {
  grid-column: 3;
  width: 230px; border-radius: var(--r-card); overflow: hidden;
  background: rgba(16, 9, 4, .42); border: 1px solid var(--cream-14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero__thumb .media { height: 132px; }
.hero__thumb-cap { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; font-size: var(--t-micro); }
.hero__thumb-cap span:last-child { color: var(--cream-50); }

.side-label {
  position: absolute; right: var(--g); top: 50%; z-index: 3;
  writing-mode: vertical-rl; transform: translateY(-50%);
  font-size: var(--t-micro); color: var(--cream-70);
  display: flex; gap: 14px; align-items: center;
}
.side-label i { width: 1px; height: 48px; background: var(--cream-30); display: block; }

.hero__scroll {
  position: absolute; left: 50%; bottom: var(--g); z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: var(--t-micro);
}
.hero__scroll i { position: relative; width: 1px; height: 44px; background: var(--cream-14); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%;
  background: var(--cream); animation: scrollcue 2s var(--ease-io) infinite;
}
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(240%); } }

@media (max-width: 1199px) {
  .hero__thumb { display: none; }
  .hero__scroll { left: auto; right: var(--g); transform: none; }
}
@media (max-width: 767px) {
  .hero { min-height: 560px; }
  .hero__tags p:last-child { display: none; }
  .hero__word { margin-top: 14px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__card { padding: 18px; }
  .hero__card .t-body-sm { display: none; }
  .hero__card .dash { margin: 16px 0 0; }
  .hero__ctas { margin-top: 16px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .side-label, .hero__scroll { display: none; }
}

/* Les sections suivantes recouvrent la Hero */
.over { position: relative; z-index: 2; background: var(--walnut); }

/* ---------- Intro / Manifeste ---------- */
.intro { padding-top: clamp(110px, 18vh, 220px); }
.intro__statement {
  margin-top: clamp(40px, 7vh, 80px);
  font-size: clamp(34px, 1rem + 4.4vw, 96px); line-height: .9;
  max-width: 17ch;
}
.intro__grid {
  margin-top: clamp(72px, 14vh, 160px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap); align-items: end;
}
.intro__grid h3 { max-width: 14ch; }
.intro__img { aspect-ratio: 4 / 5; }
.intro__side { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
@media (max-width: 899px) {
  .intro__grid { grid-template-columns: 1fr 1fr; }
  .intro__grid h3 { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__img { aspect-ratio: 4 / 4.4; }
}

/* ---------- Le flocage (section épinglée) ---------- */
.press {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(var(--nav-h) + 12px) var(--g) var(--g);
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(56, 36, 22, .55), transparent 70%),
    var(--walnut);
}
.press__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--gap); align-items: center;
}
.press__stack { position: relative; display: grid; }
.press__stack > * { grid-area: 1 / 1; }
.press__left { align-self: center; }
.press__right { align-self: center; }
.press__step-label { display: block; color: var(--cream-50); margin-bottom: 18px; font-size: var(--t-label); }
.press__visual {
  position: relative; justify-self: center;
  width: min(100%, 46vh, 560px);
  aspect-ratio: 400 / 440;
  perspective: 1200px;
}
.press__obj { width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.press__obj svg { width: 100%; height: 100%; overflow: visible; }
.press__obj text { font-family: var(--font); font-weight: 500; }
.press__shadow {
  position: absolute; left: 12%; right: 12%; bottom: -6%; height: 9%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .7), transparent 70%);
  filter: blur(6px);
}
.press__meta {
  position: absolute; z-index: 2; font-size: var(--t-micro); color: var(--cream-50);
  display: flex; flex-direction: column; gap: 4px;
}
.press__meta--tl { top: 4%; left: -6%; }
.press__meta--br { bottom: 6%; right: -6%; text-align: right; }

.press__progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.press__tick { display: flex; flex-direction: column; gap: 12px; }
.press__tick-bar { position: relative; height: 1px; }
.press__tick-bar .dash { position: absolute; inset: 0; }
.press__tick-fill { position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: left; }
.press__tick span { display: flex; justify-content: space-between; color: var(--cream-50); transition: color .4s; }
.press__tick.is-on span { color: var(--cream); }

@media (max-width: 899px) {
  .press { grid-template-rows: auto 1fr auto; }
  .press__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 14px;
  }
  .press__left { order: 1; }
  .press__visual { order: 2; width: min(76vw, 38vh); }
  .press__right { order: 3; }
  .press__left .t-heading { font-size: clamp(28px, 8vw, 44px); }
  .press__right .t-body { font-size: 16px; line-height: 1.4; }
  .press__meta { display: none; }
  .press__step-label { margin-bottom: 10px; }
}

/* ---------- Prestations ---------- */
.services__head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap);
  align-items: end; margin-top: clamp(40px, 7vh, 80px);
}
.services__head .t-body { max-width: 30ch; justify-self: end; }
.svc { margin-top: clamp(56px, 10vh, 120px); }
.svc__row { position: relative; }
.svc__row > .dash { position: absolute; left: 0; top: 0; }
.svc__row:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background-image: linear-gradient(90deg, var(--cork) 0 6px, transparent 6px 12px); background-size: 12px 1px;
}
.svc__link {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 340px) 44px;
  gap: var(--gap); align-items: center;
  padding: clamp(20px, 3.2vh, 34px) 0;
  transition: opacity .5s var(--ease);
}
.svc__num { color: var(--cream-50); font-variant-numeric: tabular-nums; }
.svc__title {
  font-size: clamp(26px, 1rem + 2.8vw, 64px); line-height: .9;
  transition: transform .7s var(--ease);
}
.svc__desc { color: var(--cream-50); transition: color .5s; }
.svc__arrow {
  width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--cream-30);
  display: grid; place-items: center;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s, transform .7s var(--ease);
}
.svc__arrow svg { width: 12px; height: 12px; }
@media (hover: hover) {
  .svc:hover .svc__link { opacity: .32; }
  .svc .svc__link:hover { opacity: 1; }
  .svc__link:hover .svc__title { transform: translateX(18px); }
  .svc__link:hover .svc__desc { color: var(--cream); }
  .svc__link:hover .svc__arrow { background: var(--cream); color: var(--walnut); border-color: var(--cream); transform: rotate(-45deg); }
}
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(220px, 20vw, 320px); aspect-ratio: 4 / 5;
  border-radius: var(--r-card); overflow: hidden;
  transform: scale(0);
  background: #1a110a;
}
.svc-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.42) saturate(.72) contrast(1.06) brightness(.8);
  opacity: 0; transform: scale(1.15);
  transition: opacity .5s var(--ease), transform .9s var(--ease);
}
.svc-preview img.is-on { opacity: 1; transform: scale(1); }

.scope {
  margin-top: clamp(56px, 10vh, 110px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap);
  padding: var(--g);
  border: 1px solid var(--cork); border-radius: var(--r-card);
}
.scope h3 { font-size: var(--t-hsm); line-height: 1.09; max-width: 14ch; }
.scope__list li {
  position: relative; display: flex; gap: 12px; align-items: baseline; padding: 10px 0;
  font-size: var(--t-small);
}
.scope__list li + li { border-top: 1px dashed var(--cork); }
.scope__list li::before { content: "+"; color: var(--cream-50); width: 12px; }
.scope__list--no li { color: var(--cream-50); }
.scope__list--no li::before { content: "—"; }
.scope__col p { margin-bottom: 8px; color: var(--cream-50); font-size: var(--t-micro); }
.scope__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 18px; border-top: 1px dashed var(--cork); }
.scope__foot .t-body-sm { color: var(--cream-70); max-width: 62ch; }

@media (max-width: 899px) {
  .services__head { grid-template-columns: 1fr; }
  .services__head .t-body { justify-self: start; }
  .svc__link { grid-template-columns: 44px minmax(0, 1fr) 40px; row-gap: 10px; }
  .svc__desc { grid-column: 2 / 3; grid-row: 2; }
  .svc__arrow { grid-column: 3; grid-row: 1; width: 40px; height: 40px; }
  .scope { grid-template-columns: 1fr; }
}

/* ---------- Interlude image ---------- */
.interlude {
  position: relative; height: 140vh; z-index: 2;
  background: var(--walnut);
}
.interlude__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.interlude__media {
  position: absolute; inset: 0;
  clip-path: inset(18% 32% 18% 32% round 12px);
}
.interlude__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: sepia(.5) saturate(.6) contrast(1.12) brightness(.58); transform: scale(1.3); }
.interlude__text {
  position: relative; z-index: 2; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); width: 100%;
  padding: 0 var(--g);
  font-size: var(--t-heading); line-height: .9;
  pointer-events: none;
}
.interlude__text span:last-child { justify-self: end; }
.interlude__cap {
  position: absolute; left: var(--g); right: var(--g); bottom: var(--g); z-index: 2;
  display: flex; justify-content: space-between; gap: 18px; font-size: var(--t-micro);
}
@media (max-width: 767px) {
  .interlude__media { clip-path: inset(22% 12% 22% 12% round 12px); }
  .interlude__text { grid-template-columns: 1fr; font-size: clamp(30px, 9vw, 44px); }
  .interlude__text span:last-child { justify-self: start; }
}

/* ---------- Réalisations (défilement horizontal) ---------- */
.works { position: relative; z-index: 2; background: var(--walnut); overflow: hidden; }
.works__pin { position: relative; height: 100vh; height: 100svh; min-height: 620px; display: flex; flex-direction: column; }
.works__track {
  flex: 1; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px);
  padding: calc(var(--nav-h) + 8px) var(--g) 24px;
  width: max-content;
  will-change: transform;
}
.works__intro { width: clamp(300px, 30vw, 480px); flex-shrink: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding: 12px 0 0; }
.works__intro .t-body-sm { color: var(--cream-70); max-width: 36ch; margin: 24px 0 28px; }

.work { flex-shrink: 0; width: clamp(260px, 24vw, 420px); display: flex; flex-direction: column; gap: 14px; }
.work--wide { width: clamp(360px, 38vw, 640px); }
.work:nth-child(odd) { transform: translateY(4vh); }
.work:nth-child(even) { transform: translateY(-4vh); }
.work__media { aspect-ratio: 4 / 5; border-radius: 0; }
.work--wide .work__media { aspect-ratio: 4 / 3; }
.work__media img { width: 120%; max-width: none; margin-left: -10%; height: 100%; }
.work__cap { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.work__cap .num { color: var(--cream-50); }
.work__cap .cat { grid-column: 2; color: var(--cream-50); font-size: var(--t-micro); }

.works__end {
  flex-shrink: 0; width: clamp(280px, 26vw, 420px); aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--g);
  border: 1px solid var(--cork); border-radius: var(--r-card);
  transition: border-color .6s var(--ease), background-color .6s var(--ease);
}
.works__end:hover { border-color: var(--cream); background: var(--cream-06); }
.works__end .t-heading { font-size: clamp(30px, 1rem + 2vw, 56px); }
.works__end-arrow {
  width: 72px; height: 72px; border-radius: var(--r-full); border: 1px solid var(--cream);
  display: grid; place-items: center; transition: transform .8s var(--ease), background-color .5s, color .5s;
}
.works__end-arrow svg { width: 18px; height: 18px; }
.works__end:hover .works__end-arrow { transform: rotate(-45deg); background: var(--cream); color: var(--walnut); }

.works__bar {
  display: flex; align-items: center; gap: 18px;
  padding: 0 var(--g) var(--g);
}
.works__bar-track { position: relative; flex: 1; height: 1px; }
.works__bar-track .dash { position: absolute; inset: 0; }
.works__bar-fill { position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: left; }

@media (max-width: 767px) {
  .works__pin { height: auto; min-height: 0; padding: var(--sec) 0 0; }
  .works__track {
    width: auto; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 var(--g) 24px; align-items: flex-start;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .works__track::-webkit-scrollbar { display: none; }
  .works__intro { display: none; }
  .work, .work--wide, .works__end { width: 78vw; scroll-snap-align: start; transform: none !important; }
  .work--wide .work__media { aspect-ratio: 4 / 5; }
  .works__mobile-head { display: block !important; padding: 0 var(--g) 32px; }
  .works__bar { display: none; }
}
.works__mobile-head { display: none; }
.works__mobile-head .t-body-sm { color: var(--cream-70); margin-top: 18px; }

/* ---------- Pour qui ? ---------- */
.clients__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 120px);
  margin-top: clamp(40px, 7vh, 80px);
}
.clients__sticky { position: sticky; top: 18vh; align-self: start; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.clients__sticky .t-body { max-width: 24ch; color: var(--cream-70); }
.client { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px var(--gap); padding: 30px 0; }
.client > .dash { position: absolute; top: 0; left: 0; }
.client__num { color: var(--cream-50); padding-top: 6px; font-variant-numeric: tabular-nums; }
.client h3 { font-size: clamp(26px, 1rem + 1.8vw, 48px); line-height: .9; font-weight: 500; }
.client .t-body-sm { grid-column: 2; color: var(--cream-70); max-width: 46ch; }
@media (max-width: 899px) {
  .clients__grid { grid-template-columns: 1fr; }
  .clients__sticky { position: relative; top: 0; }
  .client { grid-template-columns: 40px minmax(0, 1fr); }
}

/* ---------- Pourquoi Mirruci ---------- */
.why { padding-left: 0; padding-right: 0; overflow: hidden; }
.why > .eyebrow, .why__grid { margin-left: var(--g); margin-right: var(--g); }
.band { margin: clamp(48px, 9vh, 100px) 0; white-space: nowrap; }
.band__in { display: inline-flex; gap: .35em; font-size: clamp(56px, 1rem + 9vw, 180px); line-height: .9; will-change: transform; }
.band__in span { display: inline-flex; align-items: center; gap: .35em; }
.band__in em { font-style: normal; color: var(--drift); }
.band__dot { width: .16em; height: .16em; border-radius: var(--r-full); background: var(--cream); display: inline-block; }

.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.adv { position: relative; padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.adv > .dash { position: absolute; top: 0; left: 0; }
.adv__num { font-size: var(--t-label); color: var(--cream-50); }
.adv h3 { font-size: var(--t-hsm); line-height: 1.09; font-weight: 500; max-width: 12ch; }
.adv .t-body-sm { color: var(--cream-70); }
@media (max-width: 1023px) { .why__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 599px) { .why__grid { grid-template-columns: 1fr; row-gap: 36px; } }

/* ---------- Comment ça marche ---------- */
.process__head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); align-items: end;
  margin-top: clamp(40px, 7vh, 80px);
}
.process__head .t-body { max-width: 28ch; justify-self: end; color: var(--cream-70); }
.process__line { position: relative; height: 1px; margin: clamp(64px, 11vh, 120px) 0 0; }
.process__line .dash { position: absolute; inset: 0; }
.process__line-fill { position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: left; }
.process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step { position: relative; padding-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.step__dot {
  position: absolute; top: -9px; left: 0;
  width: 18px; height: 18px; border-radius: var(--r-full);
  border: 1px solid var(--cream); background: var(--walnut);
  transition: background-color .5s var(--ease), transform .6s var(--ease);
}
.step.is-on .step__dot { background: var(--cream); transform: scale(1.15); }
.step__label { color: var(--cream-50); }
.step h3 { font-size: clamp(26px, 1rem + 1.6vw, 44px); line-height: .9; font-weight: 500; }
.step .t-body-sm { color: var(--cream-70); max-width: 30ch; }
.process__foot { margin-top: clamp(56px, 9vh, 96px); display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 899px) {
  .process__head { grid-template-columns: 1fr; }
  .process__head .t-body { justify-self: start; }
  .process__line { display: none; }
  .process__steps { grid-template-columns: 1fr; gap: 0; margin-top: 48px; position: relative; padding-left: 36px; }
  .process__steps::before {
    content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px;
    background-image: linear-gradient(180deg, var(--cork) 0 6px, transparent 6px 12px); background-size: 1px 12px;
  }
  .step { padding: 0 0 44px; }
  .step__dot { top: 0; left: -36px; }
}

/* ---------- Zone d'intervention ---------- */
.zone { padding-left: 0; padding-right: 0; overflow: hidden; }
.zone > .eyebrow, .zone__grid { margin-left: var(--g); margin-right: var(--g); }
.zone__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); align-items: end;
  margin-top: clamp(40px, 7vh, 80px);
}
.zone__aside { display: flex; flex-direction: column; gap: 24px; }
.zone__aside .t-body { color: var(--cream-70); max-width: 28ch; }
.zone__note {
  padding: 24px; border-radius: var(--r-card); border: 1px solid var(--cork);
  display: flex; flex-direction: column; gap: 12px;
}
.zone__note .t-body-sm { color: var(--cream-70); }
.marquee { margin-top: clamp(56px, 10vh, 110px); white-space: nowrap; overflow: hidden; }
.marquee + .marquee { margin-top: 10px; }
.marquee__in { display: inline-flex; will-change: transform; }
.marquee__in span {
  display: inline-flex; align-items: center; gap: .4em; padding-right: .4em;
  font-size: clamp(40px, 1rem + 5.4vw, 112px); line-height: .95;
}
.marquee__in span::after { content: ""; width: .12em; height: .12em; border-radius: var(--r-full); background: var(--drift); }
.marquee--muted .marquee__in span { color: var(--drift); }
@media (max-width: 899px) { .zone__grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 40px) var(--g) var(--g);
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(56, 36, 22, .7), transparent 70%),
    var(--walnut);
}
.cta__title { font-size: clamp(56px, 1rem + 11vw, 232px); line-height: .86; }
.cta__title .line { display: block; overflow: hidden; padding-bottom: .03em; }
.cta__title .line:nth-child(2) { padding-left: 12vw; }
.cta__title .ch { display: inline-block; }
.cta__bottom {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap); align-items: end;
  margin-top: 64px;
}
.cta__bottom .t-body { max-width: 30ch; color: var(--cream-70); }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; justify-self: end; }
.cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta__contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.cta__badge {
  position: absolute; right: var(--g); top: calc(var(--nav-h) + 24px);
  width: clamp(110px, 11vw, 168px); aspect-ratio: 1;
}
.cta__badge svg { width: 100%; height: 100%; overflow: visible; }
.cta__badge text { font-family: var(--font); font-size: 10.4px; font-weight: 500; fill: var(--cream); letter-spacing: 1.6px; }
.cta__badge-core { position: absolute; inset: 34%; border-radius: var(--r-full); background: var(--bark); display: grid; place-items: center; font-size: var(--t-label); }
@media (max-width: 899px) {
  .cta__bottom { grid-template-columns: 1fr; }
  .cta__actions { justify-self: start; }
  .cta__badge { top: auto; bottom: 46%; width: 96px; }
  .cta__title .line:nth-child(2) { padding-left: 0; }
}

.intro__img img { height: 120%; margin-top: -10%; }
.client h3 { transition: transform .7s var(--ease); }
@media (hover: hover) { .client:hover h3 { transform: translateX(12px); } }

/* ---------- États initiaux (avant l'intro animée) ---------- */
.js:not(.reduced) .hero__word .ch { transform: translateY(112%); }
.js:not(.reduced) .hero__media { clip-path: inset(24% 34% 24% 34%); }
.js:not(.reduced) [data-hero-card],
.js:not(.reduced) [data-hero-fade],
.js:not(.reduced) .nav > * { opacity: 0; }
.seen .loader, .pt-in .loader { display: none; }
.pt-in .pt { clip-path: inset(0 0 0 0); }
.menu-open .menu { visibility: visible; }
.reduced.menu-open .menu { clip-path: none; }

/* ---------- Mode statique (mouvement réduit ou scripts indisponibles) ---------- */
.reduced .press { height: auto; min-height: 100vh; }
.reduced .press__stack > [data-stage]:not(:last-child) { display: none; }
.reduced .d-film, .reduced .d-plate, .reduced .d-heat, .reduced .d-waves, .reduced .d-guide { display: none; }
.reduced .press__tick-fill { transform: scaleX(1); }
.reduced .press__tick span { color: var(--cream); }
.reduced .interlude { height: auto; }
.reduced .interlude__sticky { position: relative; }
.reduced .interlude__media { clip-path: none; }
.reduced .interlude__media img { transform: none; }

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
  .interlude__media { clip-path: inset(0 round 0); }
}

/* ---------- Ajustements ---------- */
/* Étalonnage chaud commun : harmonise les photos claires avec la palette */
.media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--bark); mix-blend-mode: multiply; opacity: .55;
}
.media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 9, 4, 0) 55%, rgba(16, 9, 4, .45) 100%);
}
.works__intro .t-display { font-size: clamp(40px, 1rem + 3.4vw, 84px); }
/* Libellés roulants : espace réservé aux accents des capitales (É, À, Ê) */
.roll > span, .roll::after { padding-top: .32em; }
.btn--filled { padding-top: 13px; }
.btn--ghost { padding-top: 7px; }
.nav__links a, .menu__link { -webkit-tap-highlight-color: transparent; }
@media (max-width: 899px) {
  .press { padding-bottom: 76px; }
  .press__grid { grid-template-rows: auto auto auto; align-content: space-evenly; }
  .press__visual { width: min(70vw, 34vh); }
}
@media (max-width: 767px) {
  .menu__link { font-size: clamp(30px, 8.4vw, 104px); }
}
@media (max-width: 767px) {
  .works__track { scroll-padding-inline: var(--g); }
  .cta__title { font-size: 12.4vw; }
}

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */

/* ---------- En-tête de page ---------- */
.phero {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: calc(var(--nav-h) + 16px) var(--g) var(--g);
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 82% 8%, rgba(56, 36, 22, .65), transparent 70%),
    var(--walnut);
}
.phero--compact { min-height: 74vh; min-height: 74svh; }
.phero__top { display: flex; align-items: center; gap: 14px; }
.phero__top .dash { flex: 1; }
.phero__title {
  grid-row: 3; font-size: 12vw; line-height: .86; font-weight: 500;
  margin-left: -.045em;
}
.phero__title .line { display: block; overflow: hidden; padding: .14em 0 .03em; margin: -.14em 0 -.03em; }
.phero__title .line > span { display: inline-block; white-space: nowrap; }
.phero__title .line.indent { padding-left: 9vw; }
.phero__bottom {
  grid-row: 4; position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: end;
  margin-top: clamp(28px, 5vh, 56px); padding-top: 20px;
}
.phero__bottom > .dash { position: absolute; top: 0; left: 0; }
.phero__bottom .t-body { max-width: 34ch; }
.phero__aside { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; color: var(--cream-70); }
.phero__glow {
  position: absolute; right: -10vw; top: 10vh; width: 60vw; aspect-ratio: 1; border-radius: var(--r-full);
  background: radial-gradient(closest-side, rgba(220, 120, 40, .12), transparent); pointer-events: none;
}
.js:not(.reduced) .phero__title .ch { transform: translateY(115%); }
.js:not(.reduced) [data-intro] { opacity: 0; }
@media (max-width: 767px) {
  .phero { min-height: 86svh; }
  .phero--compact { min-height: 62svh; }
  .phero__bottom { grid-template-columns: 1fr; }
  .phero__aside { justify-self: start; align-items: flex-start; text-align: left; }
  .phero__title .line.indent { padding-left: 0; }
}

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); align-items: end;
  margin-top: clamp(40px, 7vh, 80px);
}
.section-head .t-body { max-width: 30ch; justify-self: end; color: var(--cream-70); }
@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .t-body { justify-self: start; }
}

/* ---------- Galerie (Nos réalisations) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-ghost);
  border: 1px solid var(--cream-30); font-size: var(--t-label);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.filter sup { font-size: var(--t-micro); color: var(--cream-50); transition: color .5s; }
.filter:hover { border-color: var(--cream); }
.filter.is-active { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.filter.is-active sup { color: var(--walnut); }
.gallery-bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: calc(var(--nav-h) - 8px) 0 18px;
  background: linear-gradient(180deg, var(--walnut) 75%, rgba(16, 9, 4, 0));
}
.gallery-bar__count { color: var(--cream-50); }
.gallery { columns: 3 300px; column-gap: var(--gap); margin-top: 24px; }
.g-item { display: block; break-inside: avoid; margin-bottom: clamp(24px, 3vw, 44px); cursor: zoom-in; }
.g-item .media { aspect-ratio: 4 / 5; }
.g-item--paysage .media { aspect-ratio: 4 / 3; }
.g-item img { transition: transform 1.4s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item__cap { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding-top: 14px; }
.g-item__cap .num, .g-item__cap .cat { color: var(--cream-50); }
.g-item__cap .cat { grid-column: 2; font-size: var(--t-micro); }
.g-item.is-hidden { display: none; }
.g-empty { display: none; padding: 80px 0; color: var(--cream-50); }
.g-empty.is-visible { display: block; }

.lb {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(16, 9, 4, .97);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px;
  padding: var(--g);
  visibility: hidden; opacity: 0;
}
.lb__top, .lb__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.lb__stage { position: relative; min-height: 0; display: grid; place-items: center; }
.lb__img { max-width: 100%; max-height: 100%; object-fit: contain; filter: sepia(.25) saturate(.85) contrast(1.04); }
.lb__cap { display: flex; flex-direction: column; gap: 6px; }
.lb__cap span:last-child { color: var(--cream-50); }
.lb__nav { display: flex; gap: 8px; }
.round-btn {
  width: 52px; height: 52px; border-radius: var(--r-full); border: 1px solid var(--cream-30);
  display: grid; place-items: center;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.round-btn:hover { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.round-btn svg { width: 14px; height: 14px; }

/* ---------- Prestations ---------- */
.gestures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 8vh, 96px); perspective: 1200px; }
.gesture {
  position: relative; min-height: 400px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: var(--g); border: 1px solid var(--cork); border-radius: var(--r-card);
  transition: background-color .6s var(--ease), border-color .6s var(--ease);
}
.gesture:hover { background: var(--cream-06); border-color: var(--drift); }
.gesture__num { font-size: clamp(64px, 1rem + 5vw, 120px); line-height: .8; color: var(--drift); }
.gesture h3 { font-size: var(--t-hsm); line-height: 1.09; font-weight: 500; margin-bottom: 14px; }
.gesture .t-body-sm { color: var(--cream-70); }
.gesture svg { width: 64px; height: 64px; }
@media (max-width: 899px) { .gestures { grid-template-columns: 1fr; } .gesture { min-height: 300px; } }

.equation {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .35em;
  font-size: clamp(40px, 1rem + 5.6vw, 120px); line-height: .92;
  margin-top: clamp(48px, 8vh, 96px);
}
.equation .op { color: var(--drift); }
.equation .res { color: var(--cream); border-bottom: 1px dashed var(--drift); }

.group-head { padding-top: clamp(64px, 12vh, 140px); }
.sd {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 120px); align-items: center;
  padding: clamp(48px, 9vh, 110px) 0;
  scroll-margin-top: 40px;
}
.sd > .dash { position: absolute; top: 0; left: 0; }
.sd--flip .sd__media { order: 2; }
.sd__media { aspect-ratio: 4 / 5; max-height: 78vh; width: 100%; }
.sd__media img { height: 116%; margin-top: -8%; }
.sd__body { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.sd__num { color: var(--cream-50); }
.sd__body .t-body { color: var(--cream-70); max-width: 32ch; }
.ideal { width: 100%; max-width: 460px; }
.ideal p { color: var(--cream-50); margin-bottom: 8px; }
.ideal li { padding: 11px 0; border-top: 1px dashed var(--cork); font-size: var(--t-small); display: flex; gap: 12px; }
.ideal li::before { content: "+"; color: var(--cream-50); }
@media (max-width: 899px) {
  .sd { grid-template-columns: 1fr; }
  .sd--flip .sd__media { order: 0; }
  .sd__media { aspect-ratio: 4 / 4.2; }
}

.faq { margin-top: clamp(48px, 8vh, 96px); }
.faq__item { position: relative; }
.faq__item > .dash { position: absolute; top: 0; left: 0; }
.faq__item:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background-image: linear-gradient(90deg, var(--cork) 0 6px, transparent 6px 12px); background-size: 12px 1px;
}
.faq__q {
  width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; align-items: center; gap: var(--gap);
  padding: 26px 0; text-align: left;
  font-size: var(--t-hsm); line-height: 1.09;
}
.faq__q .num { font-size: var(--t-label); color: var(--cream-50); }
.faq__icon {
  width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--cream-30);
  display: grid; place-items: center; position: relative;
  transition: transform .6s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; width: 12px; height: 1px; background: currentColor; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.faq__a { height: 0; overflow: hidden; }
.faq__a p { padding: 0 0 28px calc(56px + var(--gap)); max-width: calc(62ch + 56px); color: var(--cream-70); }
.no-js .faq__a, .reduced .faq__item.is-open .faq__a { height: auto; }
@media (max-width: 767px) {
  .faq__q { grid-template-columns: 32px minmax(0, 1fr) 40px; }
  .faq__a p { padding-left: 0; }
}

/* ---------- Comment ça marche ---------- */
.howto {
  position: relative; z-index: 2; background: var(--walnut);
  height: 100vh; height: 100svh; min-height: 640px;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: calc(var(--nav-h) + 12px) var(--g) var(--g);
  overflow: hidden;
}
.hsteps { position: relative; }
.hstep {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: var(--gap); align-items: center;
}
.hstep__num { font-size: clamp(140px, 22vw, 400px); line-height: .8; overflow: hidden; padding-top: .06em; }
.hstep__num span { display: inline-block; }
.hstep__icon {
  justify-self: center; width: min(100%, 40vh, 380px); aspect-ratio: 1;
  border: 1px dashed var(--cork); border-radius: var(--r-full);
  display: grid; place-items: center; position: relative;
}
.hstep__icon::before { content: ""; position: absolute; inset: 14%; border-radius: var(--r-full); background: radial-gradient(closest-side, rgba(56, 36, 22, .9), transparent); }
.hstep__icon svg { position: relative; width: 44%; height: 44%; overflow: visible; }
.hstep__body { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hstep__body h2 { font-size: var(--t-heading); line-height: .9; }
.hstep__body .t-body { color: var(--cream-70); max-width: 28ch; }
.hstep__list { width: 100%; max-width: 420px; }
.hstep__list li { padding: 10px 0; border-top: 1px dashed var(--cork); font-size: var(--t-small); display: flex; gap: 12px; }
.hstep__list li::before { content: "+"; color: var(--cream-50); }
.howto__progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }

@media (max-width: 899px) {
  .howto { height: auto; min-height: 0; display: block; padding-bottom: var(--sec); }
  .hsteps { margin-top: 40px; }
  .hstep { position: relative; inset: auto; grid-template-columns: 1fr; gap: 24px; padding: 40px 0; border-top: 1px dashed var(--cork); }
  .hstep__num { font-size: 96px; }
  .hstep__icon { justify-self: start; width: 120px; }
  .howto__progress { display: none; }
}

.prep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); margin-top: clamp(48px, 8vh, 96px); }
.card {
  position: relative; padding: var(--g); border: 1px solid var(--cork); border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 20px;
}
.card h3 { font-size: var(--t-hsm); line-height: 1.09; font-weight: 500; }
.card .t-body-sm { color: var(--cream-70); }
.checklist li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px dashed var(--cork); font-size: var(--t-small); }
.checklist li span:first-child { color: var(--cream-50); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .prep { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 120px); align-items: start; margin-top: clamp(40px, 7vh, 80px); }
.todo-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px dashed var(--drift); border-radius: var(--r-card);
  background: repeating-linear-gradient(135deg, rgba(255, 237, 215, .018) 0 2px, transparent 2px 14px);
}
.todo-card .t-body { color: var(--cream-70); }
.todo-tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-micro); color: var(--ember); }
.todo-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
@media (max-width: 899px) { .story { grid-template-columns: 1fr; } }

.slots {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--gap); margin-top: clamp(48px, 8vh, 96px); height: min(120vh, 1100px);
}
.slot {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: var(--g);
  border: 1px dashed var(--cork); border-radius: var(--r-card);
  background: repeating-linear-gradient(135deg, rgba(255, 237, 215, .02) 0 2px, transparent 2px 16px), #140c07;
}
.slot--big { grid-row: span 2; }
.slot__icon { width: 56px; height: 56px; border-radius: var(--r-full); border: 1px solid var(--cream-30); display: grid; place-items: center; }
.slot__icon svg { width: 22px; height: 22px; }
.slot h3 { font-size: var(--t-hsm); line-height: 1.09; font-weight: 500; }
.slot p { color: var(--cream-50); }
/* Ajoutez simplement une balise <img> dans un .slot : elle remplit le cadre */
.slot > img {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.42) saturate(.72) contrast(1.06) brightness(.74);
}
.slot > img ~ * { position: relative; z-index: 1; }
.slot:has(> img) { border-style: solid; }
.slot:has(> img) .slot__icon, .slot:has(> img) .todo-tag { display: none; }
@media (max-width: 767px) {
  .slots { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .slot { min-height: 280px; }
  .slot--big { grid-row: auto; min-height: 420px; }
}

/* ---------- Contact & devis ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 140px); align-items: start; }
.contact__aside { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 32px; }
.cinfo li { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px dashed var(--cork); }
.cinfo li:last-child { border-bottom: 1px dashed var(--cork); }
.cinfo li > span:first-child { color: var(--cream-50); }
.cinfo a:hover { color: var(--cream-70); }
.cbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.cbtns .btn svg { width: 14px; height: 14px; }
.zone-list { display: flex; flex-wrap: wrap; gap: 6px; }
.zone-list li { padding: 7px 12px; border: 1px solid var(--cork); border-radius: var(--r-ghost); font-size: var(--t-micro); }
@media (max-width: 899px) {
  .contact { grid-template-columns: 1fr; }
  .contact__aside { position: relative; top: 0; order: 2; }
}

.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px var(--gap); }
.form__full { grid-column: 1 / -1; }
.form__legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.form__legend .dash { flex: 1; }
.form__legend .eyebrow__num { color: var(--cream-50); }
.field { position: relative; display: flex; flex-direction: column; gap: 10px; }
.field > label, .field > .field__label { font-size: var(--t-label); }
.field .opt { color: var(--cream-50); }
.input {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--cream); border: 0; border-radius: 0;
  border-bottom: 1px solid var(--cream-30);
  font: 400 var(--t-body-sm)/1.4 var(--font); text-transform: none;
  padding: 10px 2px 12px;
  transition: border-color .4s var(--ease);
}
.input::placeholder { color: var(--cream-30); }
.input:focus { outline: none; border-bottom-color: var(--cream); }
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cream); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); pointer-events: none; }
.input:focus ~ .field__line { transform: scaleX(1); }
textarea.input { min-height: 150px; resize: vertical; }
select.input {
  cursor: pointer; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffedd7' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
select.input option { background: var(--walnut); color: var(--cream); }
.field.is-invalid .input { border-bottom-color: var(--ember); }
.field__error { font-size: var(--t-micro); color: var(--ember); min-height: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 11px 16px; border-radius: var(--r-ghost); border: 1px solid var(--cream-30); font-size: var(--t-label);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.chip span:hover { border-color: var(--cream); }
.chip input:checked + span { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.chip input:focus-visible + span { outline: 1px dashed var(--cream); outline-offset: 3px; }

.drop {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 22px var(--g); border: 1px dashed var(--drift); border-radius: var(--r-card);
  cursor: pointer; transition: border-color .4s, background-color .4s;
}
.drop:hover, .drop.is-over { border-color: var(--cream); background: var(--cream-06); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--r-full); border: 1px solid var(--cream-30); display: grid; place-items: center; }
.drop__icon svg { width: 18px; height: 18px; }
.drop__txt { display: flex; flex-direction: column; gap: 6px; }
.drop__txt .t-body-sm { color: var(--cream-70); }
.drop__files { font-size: var(--t-micro); color: var(--cream); }

.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check__box { flex-shrink: 0; width: 20px; height: 20px; border: 1px solid var(--cream-50); border-radius: 4px; display: grid; place-items: center; margin-top: 2px; transition: background-color .3s, border-color .3s; }
.check__box svg { width: 12px; height: 12px; opacity: 0; color: var(--walnut); transition: opacity .3s; }
.check input:checked + .check__box { background: var(--cream); border-color: var(--cream); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 1px dashed var(--cream); outline-offset: 3px; }
.check .t-body-sm { color: var(--cream-70); font-size: 14px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }

.form__submit { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form__submit .muted { max-width: 40ch; text-transform: none; font-weight: 400; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; }

.sent {
  display: none; flex-direction: column; gap: 24px; align-items: flex-start;
  padding: clamp(24px, 4vw, 48px); border: 1px solid var(--cork); border-radius: var(--r-card);
}
.is-sent .sent { display: flex; }
.is-sent .form { display: none; }
.sent .t-heading { max-width: 14ch; }
.sent .t-body { color: var(--cream-70); max-width: 34ch; }
@media (max-width: 599px) { .form { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 4px; }
.legal__toc p { color: var(--cream-50); margin-bottom: 10px; }
.legal__toc a { padding: 6px 0; color: var(--cream-70); transition: color .3s; }
.legal__toc a:hover { color: var(--cream); }
.prose { max-width: 760px; }
.prose section { position: relative; padding: 36px 0; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose section > .dash { position: absolute; top: 0; left: 0; }
.prose h2 { font-size: var(--t-hsm); line-height: 1.09; font-weight: 500; margin-bottom: 18px; }
.prose p, .prose li { font: 400 var(--t-body-sm)/1.6 var(--font); text-transform: none; color: var(--cream-70); }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 10px; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before { content: "—"; position: absolute; left: 0; color: var(--cream-30); }
.prose strong { color: var(--cream); font-weight: 500; }
.prose a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.todo { color: var(--ember); border-bottom: 1px dashed var(--ember); font-weight: 500; }
@media (max-width: 899px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: relative; top: 0; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-content: center start; gap: 32px; padding: var(--nav-h) var(--g) var(--g); }
.nf__num { font-size: clamp(120px, 34vw, 520px); line-height: .8; color: var(--bark); }
.reduced .howto { height: auto; display: block; }
.reduced .hstep { position: relative; inset: auto; padding: 48px 0; border-top: 1px dashed var(--cork); }
.reduced .howto__progress { display: none; }
.lb { background: var(--walnut); }
.lb__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.hstep__icon { border-color: var(--drift); }
.hstep__icon svg { width: 54%; height: 54%; }
/* Le titre géant ne doit jamais élargir la grille (il est ajusté en JS) */
.phero { grid-template-columns: minmax(0, 1fr); }
.phero > * { min-width: 0; }
@media (max-width: 767px) {
  .filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--g) * -1); padding: 0 var(--g);
    -webkit-overflow-scrolling: touch;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .gallery-bar { padding-top: 14px; }
}

/* =========================================================
   RESPONSIVE — MOBILE & TABLETTE (passe d'optimisation)
   ========================================================= */

/* Les adresses e-mail longues ne font jamais déborder la page */
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Champs : 16 px minimum pour éviter le zoom automatique sur iPhone */
.input { font-size: max(16px, var(--t-body-sm)); }

/* ---------- Écrans tactiles : zones de tap ≥ 44 px ---------- */
@media (hover: none), (max-width: 1099px) {
  .nav__logo { min-height: 44px; display: inline-flex; align-items: center; }
  .nav__burger { height: 44px; }
  .btn--ghost { min-height: 44px; }
  .btn--filled { min-height: 48px; }
  .filter, .chip span { min-height: 44px; }
  .footer__col li { margin: 0; }
  .footer__col li + li { margin-top: 0; }
  .footer__col .link, .footer__col li { min-height: 40px; display: flex; align-items: center; }
  .footer__col .link { display: inline-flex; }
  .cta__contacts .link, .intro__side .link, .sd__body .link { min-height: 44px; }
  .menu__foot a { display: inline-flex; min-height: 40px; align-items: center; }
  .legal__toc a { padding: 10px 0; }
  .cinfo a { display: inline-flex; min-height: 32px; align-items: center; }
  .grain { animation: none; inset: 0; }
  .t-micro, .ph-tag, .work__cap .cat, .g-item__cap .cat { font-size: 11px; }
}

/* ---------- Tablette (768 → 1099) ---------- */
@media (min-width: 768px) and (max-width: 1099px) {
  .work { width: 40vw; }
  .work--wide { width: 58vw; }
  .works__intro { width: 46vw; }
  .works__end { width: 40vw; }
  .press__right .t-body { font-size: 20px; line-height: 1.35; }
  .cta__badge { top: calc(var(--nav-h) + 16px); bottom: auto; width: 104px; }
  .services__head .t-body, .section-head .t-body { max-width: 36ch; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .process__steps { grid-template-columns: 1fr 1fr; column-gap: var(--gap); padding-left: 0; }
  .process__steps::before { display: none; }
  .step { padding: 40px 0 44px; border-top: 1px dashed var(--cork); }
  .step__dot { top: -9px; left: 0; }
  .step .t-body-sm { max-width: none; }
}
@media (max-width: 599px) {
  .press__right .t-body { font-size: 16px; line-height: 1.4; }
}

/* ---------- Petits mobiles (≤ 480) ---------- */
@media (max-width: 480px) {
  .cinfo li { grid-template-columns: 1fr; gap: 4px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .scope { padding: 18px; }
  .work, .work--wide, .works__end { width: 84vw; }
  .footer__grid { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .faq__q { font-size: 18px; }
}
@media (max-width: 360px) {
  .nav__logo small { display: none; }
  .hero__title { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Téléphones en paysage / écrans bas ---------- */
@media (max-height: 599px) {
  .menu__link { font-size: clamp(26px, 8vh, 64px); }
  .menu { padding-top: calc(var(--nav-h) + 8px); }
  .hero { min-height: 360px; height: 100svh; }
  .hero__inner { padding-top: var(--nav-h); }
  .hero__word { margin-top: 6px; }
  .hero__card { padding: 16px 18px; }
  .hero__card .t-body-sm { display: none; }
  .hero__card .dash { margin: 12px 0 0; }
  .hero__ctas { margin-top: 12px; flex-direction: row; }
  .hero__title { font-size: clamp(22px, 6vh, 34px); }
  .hero__bottom { grid-template-columns: minmax(0, 520px); }
  .side-label, .hero__scroll { display: none; }
}
/* Section « flocage » non épinglée quand l'écran est trop bas */
.press--static { height: auto; min-height: 0; padding-bottom: var(--sec); }
.press--static .press__stack > [data-stage]:not(:last-child),
.press--static .d-film, .press--static .d-plate, .press--static .d-heat,
.press--static .d-waves, .press--static .d-guide, .press--static .press__progress { display: none; }
.press--static .press__visual { width: min(60vw, 340px); }

/* Galerie horizontale → glisser au doigt quand l'écran est trop bas */
@media (min-width: 768px) and (max-height: 599px) {
  .works__pin { height: auto; min-height: 0; padding: var(--sec) 0 0; }
  .works__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--g) 24px; align-items: flex-start; scrollbar-width: none; scroll-padding-inline: var(--g); }
  .works__track::-webkit-scrollbar { display: none; }
  .works__intro, .works__bar { display: none; }
  .work, .work--wide, .works__end { width: 42vw; scroll-snap-align: start; transform: none !important; }
  .work--wide .work__media { aspect-ratio: 4 / 5; }
  .works__mobile-head { display: block !important; padding: 0 var(--g) 32px; }
}
/* Étapes « comment ça marche » empilées quand l'écran est trop bas */
@media (min-width: 900px) and (max-height: 599px) {
  .howto { height: auto; min-height: 0; display: block; padding-bottom: var(--sec); }
  .hsteps { margin-top: 40px; }
  .hstep { position: relative; inset: auto; padding: 40px 0; border-top: 1px dashed var(--cork); }
  .hstep__num { font-size: 120px; }
  .hstep__icon { width: 180px; }
  .howto__progress { display: none; }
}
.cta__title .line { white-space: nowrap; }
.press { min-height: 600px; }
/* Grands titres : jamais coupés sur petits écrans */
@media (max-width: 480px) {
  :root { --t-display: clamp(32px, 10.4vw, 48px); --t-heading: clamp(28px, 9vw, 40px); }
  .nf__num { font-size: 42vw; }
}
.gestures { overflow-x: clip; padding-bottom: 4px; }
@media (hover: none), (max-width: 1099px) {
  .phero__aside .link { min-height: 44px; }
  .cinfo a { min-height: 40px; }
  .legal__toc a { padding: 12px 0; }
}
.press--static .press__grid { margin-top: 24px; gap: 20px; }

/* =========================================================
   PHOTOS RÉELLES DES RÉALISATIONS
   Couleurs fidèles, simple harmonisation avec la palette chaude
   ========================================================= */
.media img, .svc-preview img, .slot > img { filter: contrast(1.03) saturate(1.02); }
.media::before { opacity: .12; }
.media::after { background: linear-gradient(180deg, rgba(16, 9, 4, 0) 70%, rgba(16, 9, 4, .28) 100%); }
.work--wide .work__media, .g-item--paysage .media { aspect-ratio: 6 / 5; }
.lb__img { filter: none; }
/* Hero et interlude : ambiance plus sombre pour garder la lisibilité du texte crème */
.hero__media img { filter: saturate(.85) contrast(1.08) brightness(.62); object-position: 50% 50%; }
.interlude__media img { filter: saturate(.9) contrast(1.06) brightness(.66); object-position: 50% 50%; }
/* Écrans horizontaux : le slogan du T-shirt passe sous le logotype, sans le chevaucher */
@media (min-aspect-ratio: 1/1) {
  .hero__media img { object-position: 50% 0%; }
  .hero__media-in { top: 6%; }
}
@media (min-aspect-ratio: 1/1) and (min-width: 768px) {
  .hero__media-in { left: 9%; right: -9%; }
}
.interlude__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 9, 4, .5), rgba(16, 9, 4, .35) 50%, rgba(16, 9, 4, .6)); pointer-events: none; }
.interlude__media img { filter: saturate(.9) contrast(1.05) brightness(.8); }
.reduced .d-pshadow, .press--static .d-pshadow, .reduced .d-heat, .press--static .d-heat { display: none; }
