/* ==========================================================================
   ARBCORDE — Élagage & soin des arbres
   Direction artistique « vélin & herbier » : fond sable, encre presque noire,
   une seule famille typographique, photographie botanique comme unique couleur.
   --------------------------------------------------------------------------
    1. Variables            9. Bandeau défilant     17. Contact & formulaire
    2. Base                10. L'approche           18. Pied de page
    3. Typographie         11. Prestations          19. Visionneuse
    4. Éléments communs    12. Méthode              20. Page légale
    5. Chargement, curseur 13. Chiffres             21. Adaptations écran
    6. En-tête & menu      14. Réalisations         22. Sans animation
    7. Hero                15. Calendrier
    8. Fig. 01             16. À propos, avis, FAQ
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------ */
:root {
  --vellum: #f4e6cd;        /* fond principal */
  --linen: #edddc3;         /* surface secondaire */
  --ink: #1e211e;           /* texte & filets */
  --black: #000000;         /* grands titres */
  --bronze: #8f774b;        /* dégradé du hero uniquement */
  --hay: #ba9d6a;
  --wheat: #d6bd97;

  --ink-70: rgb(30 33 30 / .72);
  --ink-50: rgb(30 33 30 / .5);
  --ink-25: rgb(30 33 30 / .25);
  --ink-12: rgb(30 33 30 / .12);

  --wash: linear-gradient(184deg, var(--bronze) -14%, var(--hay) 9%, var(--wheat) 30%, var(--vellum) 58%);

  --font: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(4.25rem, min(14.5vw, 21vh), 15rem);
  --fs-xxl: clamp(3.4rem, 10.6vw, 10.8rem);
  --fs-xl: clamp(2.6rem, 7.4vw, 7.625rem);
  --fs-l: clamp(2.1rem, 4.6vw, 4.6875rem);
  --fs-m: clamp(1.7rem, 3.1vw, 3.125rem);
  --fs-lead: clamp(1.6rem, 3vw, 2.75rem);
  --fs-s: clamp(1.25rem, 1.65vw, 1.625rem);
  --fs-body: clamp(1rem, .94rem + .22vw, 1.125rem);
  --fs-cap: .875rem;

  --gutter: clamp(16px, 2.6vw, 40px);
  --section-y: clamp(96px, 12vw, 184px);
  --header-h: 72px;
  --radius: 4px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--vellum);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--vellum);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--vellum); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }

.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;
  left: var(--gutter); top: 12px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--vellum);
  font-size: var(--fs-cap);
  transform: translateY(-200%);
  transition: transform .4s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Lenis (défilement doux) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html.menu-open, html.lb-open { overflow: hidden; }

/* 3. Typographie ---------------------------------------------------------- */
.cap {
  font-size: var(--fs-cap);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.h-xl {
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.042em;
  color: var(--black);
}

.h-l {
  font-size: var(--fs-l);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--black);
}

.lead {
  font-size: var(--fs-s);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.012em;
}

.prose { max-width: 34em; }
.prose p + p { margin-top: 14px; }

.cap-fig {
  margin-top: 12px;
  font-size: var(--fs-cap);
  line-height: 1.4;
  color: var(--ink-70);
}

/* Lignes découpées par SplitText : on laisse de la place aux accents (É, À…) */
.ln-mask { padding-block: .12em .2em; margin-block: -.12em -.2em; }

/* 4. Éléments communs ----------------------------------------------------- */
.section { position: relative; padding: var(--section-y) var(--gutter); }

.section__head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0 16px;
  margin-bottom: clamp(40px, 6vw, 88px);
}
.section__head .cap { overflow: clip; }

.rule {
  display: block;
  height: 1px;
  background: var(--ink);
  transform-origin: left center;
}

/* Lien souligné : le trait s'efface vers la droite puis revient par la gauche */
.link-u {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  padding-bottom: 3px;
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
}
.link-u:hover::after,
.link-u:focus-visible::after { animation: line-swap .9s var(--ease-io); }
@keyframes line-swap {
  0%    { transform: scaleX(1); transform-origin: right center; }
  45%   { transform: scaleX(0); transform-origin: right center; }
  55%   { transform: scaleX(0); transform-origin: left center; }
  100%  { transform: scaleX(1); transform-origin: left center; }
}
.arrow { display: inline-block; transition: transform .6s var(--ease-out); }
.link-u:hover .arrow, .link-u:focus-visible .arrow { transform: rotate(45deg); }

/* Texte qui « roule » au survol (navigation) */
.roll { display: inline-flex; overflow: hidden; height: 1.25em; line-height: 1.25; vertical-align: top; }
.roll__c {
  display: inline-block;
  white-space: pre;
  text-shadow: 0 1.25em 0 currentColor;
  transition: transform .55s var(--ease-out);
  transition-delay: calc(var(--i) * 16ms);
}
a:hover .roll__c, a:focus-visible .roll__c { transform: translateY(-1.25em); }

/* Cadre photo : coins 4 px, image légèrement plus haute pour le parallaxe */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--linen);
}
.media > img, .media > picture img, .work__zoom > img {
  position: absolute;
  left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover;
}
.media--43 { aspect-ratio: 4 / 3; }
.media--45 { aspect-ratio: 4 / 5; }
.media--34 { aspect-ratio: 3 / 4; }
.media--32 { aspect-ratio: 3 / 2; }
.media--1610 { aspect-ratio: 16 / 10; }

/* Texture papier, très discrète */
.grain {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .13 0 0 0 0 .12 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barre de progression de lecture */
.progress {
  position: fixed;
  left: 0; top: 0; right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}

/* 5. Chargement & curseur ------------------------------------------------- */
.loader { display: none; }
.js:not(.reduced) .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--gutter) + 6px) var(--gutter) var(--gutter);
  background: var(--wash), var(--vellum);
  color: var(--ink);
  /* sécurité : si le JS ne charge pas, l'écran disparaît seul */
  animation: loader-failsafe .6s 7s forwards;
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

.loader__top { display: flex; align-items: center; gap: 14px; }
/* Le logo apparaît au centre, entouré d'un anneau qui suit le compteur */
.loader__logo {
  /* centré par les marges (et non par un translate, que l'animation de sortie écraserait) */
  position: absolute;
  inset: 0 0 8vh;
  margin: auto;
  width: clamp(190px, 24vw, 320px);
  height: clamp(190px, 24vw, 320px);
  display: grid;
  place-items: center;
}
.loader__pic { width: 82%; animation: logo-in 1.4s var(--ease-out) .1s both, logo-float 4s ease-in-out 1.5s infinite alternate; }
.loader__pic img { display: block; width: 100%; height: auto; }
@keyframes logo-in { from { opacity: 0; transform: scale(.72) rotate(-14deg); filter: blur(8px); } }
@keyframes logo-float { to { transform: translateY(-6px) rotate(1.5deg); } }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.loader__ring circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: .6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.loader__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.loader__count {
  font-size: var(--fs-xxl);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  color: var(--black);
}
.loader__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}

.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed;
  left: 0; top: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.has-cursor .cursor.is-visible { opacity: 1; }
.cursor__ball {
  position: absolute;
  left: -5px; top: -5px;
  width: 10px; height: 10px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--ink);
  transition: left .5s var(--ease-out), top .5s var(--ease-out), width .5s var(--ease-out), height .5s var(--ease-out), background-color .4s, border-color .4s, opacity .3s;
}
.cursor__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vellum);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.cursor.is-link .cursor__ball { left: -23px; top: -23px; width: 46px; height: 46px; background: transparent; border-color: var(--ink); }
.cursor.is-view .cursor__ball { left: -46px; top: -46px; width: 92px; height: 92px; }
.cursor.is-view .cursor__label { opacity: 1; transform: none; }
.cursor.is-hidden .cursor__ball { left: 0; top: 0; width: 0; height: 0; opacity: 0; }

/* 6. En-tête & menu ------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  transition: transform .8s var(--ease-io), background-color .5s;
}
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-io);
}
.header.is-scrolled { background: var(--vellum); }
.header.is-scrolled::after { transform: scaleX(1); }
.header.is-hidden { transform: translateY(-101%); }
.menu-open .header { background: transparent; }
.menu-open .header::after { transform: scaleX(0); }

.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand__logo { flex: none; width: 50px; height: auto; transition: transform 1.2s var(--ease-out); }
.brand:hover .brand__logo { transform: rotate(-16deg) scale(1.1); }
.brand__name {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.brand__name span + span { font-weight: 400; letter-spacing: .045em; color: var(--ink-70); }

.nav ul { display: flex; gap: clamp(18px, 2.3vw, 38px); }
.nav a { display: inline-block; font-size: var(--fs-cap); text-transform: uppercase; letter-spacing: .045em; }

.header__cta {
  justify-self: end;
  font-size: var(--fs-cap);
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  justify-self: end;
  height: 44px;
  font-size: var(--fs-cap);
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.menu-toggle__labels { display: grid; overflow: hidden; height: 1.5em; line-height: 1.5; }
.menu-toggle__labels > span { grid-area: 1 / 1; transition: transform .7s var(--ease-io); }
.menu-toggle__labels > span + span { transform: translateY(110%); }
.menu-toggle[aria-expanded="true"] .menu-toggle__labels > span:first-child { transform: translateY(-110%); }
.menu-toggle[aria-expanded="true"] .menu-toggle__labels > span + span { transform: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--header-h) + 20px) var(--gutter) calc(var(--gutter) + 8px);
  background: var(--vellum);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__list li { position: relative; overflow: hidden; }
.menu__list li::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s var(--ease-io);
}
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0 8px;
  font-size: clamp(2.4rem, 11vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.menu__list a > * { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); }
.menu__num { font-size: var(--fs-cap); letter-spacing: .045em; font-weight: 500; }
.menu.is-open .menu__list li::before { transform: scaleX(1); transition-delay: calc(.2s + var(--i) * .06s); }
.menu.is-open .menu__list a > * { transform: none; transition-delay: calc(.3s + var(--i) * .06s); }
.menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: var(--fs-s); }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + clamp(12px, 2.5vh, 32px)) var(--gutter) clamp(20px, 3.4vh, 40px);
  overflow: clip;
  isolation: isolate;
}
.hero__wash { position: absolute; inset: 0; z-index: -2; background: var(--wash); }

.hero__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 3; }
.hero__meta p { overflow: clip; }
.hero__meta p > span { display: inline-block; }
.hero__meta p:nth-child(2) { text-align: center; }
.hero__meta p:nth-child(3) { text-align: right; }

.hero__title {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 2vh;
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: .87;
  letter-spacing: -.052em;
  color: var(--black);
}
.hero__line { display: block; overflow: clip; padding: .14em 0 .22em; margin: -.14em 0 -.22em; }
.hero__line:nth-child(2) { padding-left: .62em; }
.hero__line-in { display: inline-block; white-space: nowrap; }

/* Spécimen botanique : le fond blanc de la photo disparaît dans le vélin (multiply) */
.hero__specimen {
  position: absolute;
  right: -2vw;
  bottom: -5vh;
  z-index: 1;
  width: min(66vw, 1240px);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__specimen-img {
  width: 100%;
  transform-origin: 94% 98%;
  filter: brightness(1.07) contrast(1.06) saturate(.94);
  -webkit-mask-image: linear-gradient(100deg, transparent 6%, #000 30%);
  mask-image: linear-gradient(100deg, transparent 6%, #000 30%);
}
.hero__fig {
  position: absolute;
  right: calc(2vw + var(--gutter));
  top: 6%;
  color: var(--ink-70);
  mix-blend-mode: normal;
}

.hero__bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 30em) auto minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 3vw, 56px);
  margin-top: clamp(28px, 5vh, 64px);
}
.hero__intro { max-width: 30em; }

.badge {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(104px, 8.6vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge__ring text {
  font-family: var(--font);
  font-size: 10.6px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  fill: var(--ink);
}
.badge__logo, .badge__arrow { grid-area: 1 / 1; transition: transform .8s var(--ease-out), opacity .4s; }
.badge__logo { width: 64%; }
.badge__logo img { display: block; width: 100%; height: auto; }
.badge__arrow { font-size: clamp(24px, 2vw, 32px); line-height: 1; opacity: 0; transform: scale(.4) rotate(45deg); }
.badge:hover .badge__logo, .badge:focus-visible .badge__logo { opacity: 0; transform: scale(.5) rotate(-60deg); }
.badge:hover .badge__arrow, .badge:focus-visible .badge__arrow { opacity: 1; transform: rotate(-45deg) scale(1.15); }

.scroll-cue {
  justify-self: end;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-cap);
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue__line { position: relative; width: 1px; height: 64px; overflow: hidden; background: var(--ink-25); }
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* 8. Fig. 01 — l'image s'ouvre en plein écran ---------------------------- */
.fig {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: clip;
}
.fig__frame {
  position: absolute;
  inset: 0;
  clip-path: inset(30% 37% 30% 37% round 4px);
  will-change: clip-path;
  background: var(--linen);
}
.fig__frame picture, .fig__frame img, .fig__video { display: block; width: 100%; height: 100%; }
.fig__frame img, .fig__video { object-fit: cover; transform-origin: 50% 50%; }
.fig__video { background: var(--linen); }
.fig__word {
  position: absolute;
  top: 50%;
  margin-top: -.5em;
  font-size: clamp(3rem, 6.8vw, 7.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--black);
  overflow: clip;
  padding: .1em 0;
}
.fig__word > span { display: inline-block; }
.fig__word--l { right: calc(63% + 2.4vw); }
.fig__word--r { left: calc(63% + 2.4vw); }
.fig__caption { position: absolute; left: 0; right: 0; top: calc(70% + 16px); text-align: center; color: var(--ink-70); }

/* 9. Bandeau défilant ----------------------------------------------------- */
.marquee {
  position: relative;
  padding: clamp(26px, 3.6vw, 52px) 0;
  overflow: clip;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(var(--rule, 1));
  transform-origin: left center;
}
.marquee::before { top: 0; }
.marquee::after { bottom: 0; transform-origin: right center; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__word {
  padding: 0 .2em;
  font-size: clamp(3.4rem, 8.6vw, 9rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: var(--black);
}
.marquee__img {
  flex: none;
  width: 1.5em;
  height: .86em;
  margin: 0 .14em;
  font-size: clamp(3.4rem, 8.6vw, 9rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--linen);
}
.marquee__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.marquee:hover .marquee__img img { transform: scale(1.12); }

/* 10. L'approche ---------------------------------------------------------- */
.manifesto {
  max-width: 22.5em;
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.026em;
  color: var(--black);
}
.inline-img {
  display: inline-block;
  width: 1.7em;
  height: .8em;
  margin: 0 .06em;
  vertical-align: -.06em;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--linen);
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; }

.approach__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--gutter);
  align-items: start;
  margin-top: clamp(64px, 9vw, 150px);
}
.approach__main { grid-column: 1 / 8; }
.approach__text { grid-column: 9 / 13; padding-top: clamp(0px, 4vw, 72px); }
.approach__text .lead { margin-bottom: 22px; }
.approach__text .link-u { margin-top: 28px; }
.approach__small { grid-column: 10 / 13; margin-top: clamp(48px, 7vw, 120px); }

/* 11. Prestations --------------------------------------------------------- */
.services__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px var(--gutter);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 112px);
}
.services__intro h2 { grid-column: 1 / 9; }
.services__lede { grid-column: 9 / 13; max-width: 26em; }

.services__list { position: relative; }
.services__list::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}
.service { position: relative; }
.service::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 2;
  height: 1px;
  background: var(--ink);
  transform: scaleX(var(--rule, 1));
  transform-origin: left center;
}
.service__h { font: inherit; }
.service__head {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  grid-template-columns: 8% minmax(0, 1fr) 27% 48px;
  align-items: center;
  padding: clamp(18px, 2.3vw, 34px) 0;
}
.service__head::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: var(--linen);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .7s var(--ease-io);
}
.service__head:hover::before,
.service.is-open .service__head::before { transform: scaleY(1); transform-origin: bottom center; }
.service__num { font-size: var(--fs-cap); font-weight: 500; letter-spacing: .045em; transition: transform .7s var(--ease-out); }
.service__title {
  font-size: var(--fs-l);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.042em;
  color: var(--black);
  transition: transform .8s var(--ease-out);
}
.service__sub { font-size: var(--fs-s); color: var(--ink-70); transition: transform .8s var(--ease-out) .04s; }
.service__head:hover .service__title,
.service.is-open .service__title { transform: translateX(clamp(10px, 1.6vw, 28px)); }
.service__head:hover .service__sub { transform: translateX(clamp(6px, .8vw, 14px)); }
.service__plus { position: relative; justify-self: end; width: 22px; height: 22px; }
.service__plus::before, .service__plus::after, .qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: currentColor;
  transition: transform .7s var(--ease-io);
}
.service__plus::after, .qa__icon::after { transform: rotate(90deg); }
.service.is-open .service__plus::before, .qa.is-open .qa__icon::before { transform: rotate(180deg); }
.service.is-open .service__plus::after, .qa.is-open .qa__icon::after { transform: rotate(180deg); }

.service__panel, .qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .8s var(--ease-io);
}
.service.is-open .service__panel, .qa.is-open .qa__a { grid-template-rows: 1fr; }
.service__panel-inner, .qa__a > div {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s .8s;
}
.service.is-open .service__panel-inner, .qa.is-open .qa__a > div { visibility: visible; transition-delay: 0s; }
.service__content {
  display: grid;
  grid-template-columns: 8% minmax(0, 1fr) 27% 48px;
  align-items: start;
  padding: 10px 0 clamp(28px, 3vw, 48px);
}
.service__body { grid-column: 2; max-width: 34em; padding-right: var(--gutter); }
.service__points { margin-top: 22px; border-bottom: 1px solid var(--ink-25); }
.service__points li {
  padding: 9px 0;
  border-top: 1px solid var(--ink-25);
  font-size: var(--fs-cap);
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.service__thumb { grid-column: 3 / 5; width: min(100%, 300px); }

.services__preview {
  position: fixed;
  left: 0; top: 0;
  z-index: 30;
  width: clamp(220px, 19vw, 320px);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  visibility: hidden;
}
.services__preview-inner {
  position: absolute;
  inset: 0;
  translate: -50% -50%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--linen);
}
.services__preview-inner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
}
.services__preview-inner img:first-child { clip-path: inset(0 0 0 0); }

.services__urgent {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: clamp(32px, 4vw, 56px);
  font-size: var(--fs-s);
}

/* 12. Méthode (défilement horizontal sur ordinateur) ---------------------- */
.method { position: relative; overflow: clip; }
.method__inner { display: flex; flex-direction: column; }
.method__head { padding: 0 var(--gutter); }
.method__head .section__head { margin-bottom: clamp(20px, 3vh, 36px); }
.method__track { display: flex; }
.step { position: relative; display: flex; flex-direction: column; }
.step__num {
  font-size: min(8.6vw, 15vh);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.06em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
.step__title { margin-top: clamp(16px, 2.6vh, 30px); font-size: var(--fs-s); font-weight: 500; letter-spacing: -.012em; }
.step__text { margin-top: 8px; max-width: 26em; }
.step__fig { margin-top: 22px; }
.step--cta { justify-content: center; gap: 28px; }
.step__cta-title { font-size: var(--fs-m); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; color: var(--black); }
.step__cta-link { font-size: var(--fs-s); align-self: flex-start; }
.method__progress { position: relative; height: 1px; margin: 0 var(--gutter); background: var(--ink-25); }
.method__progress span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left center; }

@media (min-width: 900px) {
  .method { height: 100vh; }
  .method__inner { height: 100%; padding: calc(var(--header-h) + 12px) 0 26px; }
  .method__viewport { flex: 1; min-height: 0; margin-top: clamp(20px, 4vh, 48px); margin-bottom: 22px; }
  .method__track { height: 100%; width: max-content; padding-left: var(--gutter); }
  .step { height: 100%; width: clamp(340px, 38vw, 600px); padding: 0 clamp(20px, 2.2vw, 36px); border-left: 1px solid var(--ink); }
  .step__fig { flex: 1 1 0; min-height: 90px; max-height: 300px; }
  .step--cta { width: clamp(340px, 36vw, 560px); padding-right: calc(var(--gutter) * 2); }
}

/* 13. Chiffres ------------------------------------------------------------ */
.stats { padding: clamp(72px, 9vw, 140px) var(--gutter) 0; }
.stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stat { padding: clamp(20px, 2.4vw, 32px) clamp(12px, 1.6vw, 24px) 0 0; }
.stat + .stat { padding-left: clamp(12px, 1.6vw, 24px); border-left: 1px solid var(--ink-25); }
.stat__num {
  display: flex;
  align-items: baseline;
  gap: .08em;
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__unit { font-size: .38em; letter-spacing: -.02em; }
.stat__inf { width: 1.5em; height: .75em; overflow: visible; align-self: center; }
.stat__inf path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.stat__label { margin-top: 14px; max-width: 15em; color: var(--ink-70); }

/* 14. Réalisations -------------------------------------------------------- */
.gallery__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px var(--gutter);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 128px);
}
.gallery__intro h2 { grid-column: 1 / 9; }
.gallery__lede { grid-column: 9 / 13; max-width: 26em; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(56px, 7vw, 120px) var(--gutter);
  align-items: start;
}
/* Photos verticales : grandes (4/5) et petites (3/4) en quinconce */
.work--1 { grid-column: 1 / 6; }
.work--2 { grid-column: 8 / 12; margin-top: clamp(80px, 16vw, 280px); }
.work--3 { grid-column: 2 / 5; }
.work--4 { grid-column: 7 / 12; margin-top: clamp(40px, 9vw, 160px); }
.work--5 { grid-column: 1 / 5; }
.work--6 { grid-column: 7 / 13; margin-top: clamp(40px, 6vw, 110px); }

.work__btn { display: block; width: 100%; }
.work__media { display: block; }
.work__zoom {
  position: absolute;
  inset: 0;
  transition: transform 1.3s var(--ease-out), filter 1s;
}
.work__btn:hover .work__zoom, .work__btn:focus-visible .work__zoom { transform: scale(1.05); }
.work__cap {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  align-items: baseline;
  gap: 2px 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-25);
}
.work__title { font-size: var(--fs-s); font-weight: 500; letter-spacing: -.012em; transition: transform .6s var(--ease-out); }
.work__meta { grid-column: 2; font-size: var(--fs-cap); color: var(--ink-70); transition: transform .6s var(--ease-out) .03s; }
.work:hover .work__meta { transform: translateX(8px); }
.work:hover .work__title { transform: translateX(8px); }

/* 15. À propos, avis, questions ------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gutter);
  align-items: start;
}
.about__fig { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 24px); }
.about__text { grid-column: 7 / 13; }
.about__text h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.about__text .lead { margin-bottom: 20px; max-width: 24em; }
.creds { margin-top: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--ink-25); }
.creds li {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--ink-25);
}
.creds li:first-child { border-top-color: var(--ink); }

.reviews__stage { display: grid; }
.review { grid-area: 1 / 1; visibility: hidden; }
.review.is-active { visibility: visible; }
.review blockquote p {
  max-width: 21em;
  font-size: clamp(1.75rem, 3.7vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.032em;
  color: var(--black);
}
.review figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 32px; }
.review__name { font-size: var(--fs-s); font-weight: 500; }
.reviews__nav { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: clamp(40px, 5vw, 64px); }
.reviews__count { font-variant-numeric: tabular-nums; }
.reviews__progress { position: relative; flex: 0 1 220px; height: 1px; background: var(--ink-25); }
.reviews__progress span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left center; }

.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gutter);
  align-items: start;
}
.faq__aside { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__aside .section__head { margin-bottom: clamp(32px, 4vw, 56px); }
.faq__more { margin-top: 28px; }
.faq__list { grid-column: 6 / 13; border-bottom: 1px solid var(--ink); }
.qa { border-top: 1px solid var(--ink); }
.qa h3 { font: inherit; }
.qa__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2vw, 28px) 0;
  font-size: var(--fs-s);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.012em;
}
.qa__q > span:first-child { transition: transform .7s var(--ease-out); }
.qa__q:hover > span:first-child { transform: translateX(10px); }
.qa__icon { position: relative; flex: none; width: 18px; height: 18px; }
.qa__a p { max-width: 36em; padding: 0 0 clamp(22px, 2.4vw, 32px); color: var(--ink-70); }

/* 16. Contact & formulaire ------------------------------------------------ */
.contact { overflow: clip; isolation: isolate; background: var(--vellum); }
.contact__specimen {
  position: absolute;
  top: 0;
  right: -2vw;
  z-index: 0;
  width: min(40vw, 640px);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.contact__specimen img {
  width: 100%;
  transform-origin: 50% 0;
  filter: brightness(1.04) contrast(1.05);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 92%);
}
.contact__specimen .cap-fig { position: absolute; right: calc(2vw + var(--gutter)); top: 56%; mix-blend-mode: normal; }
.contact .section__head, .contact__title, .contact__grid { position: relative; z-index: 1; }
.contact__title {
  font-size: var(--fs-xxl);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--black);
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 56px var(--gutter);
  align-items: start;
  margin-top: clamp(56px, 8vw, 128px);
}
.contact__info { grid-column: 1 / 6; display: flex; flex-direction: column; align-items: flex-start; }
.contact__big {
  font-size: var(--fs-m);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.032em;
  color: var(--black);
}
.contact__big + .contact__big { margin-top: 10px; }
.contact__big--mail { font-size: clamp(1.25rem, 2.3vw, 2.25rem); }
.contact__meta { width: 100%; max-width: 30em; margin-top: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--ink-25); }
.contact__meta > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--ink-25); }

/* Fiche contact : une étiquette d'herbier (filet encre, fond lin) */
.vcard {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--linen);
}
.vcard__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-self: stretch;
  padding-bottom: 12px;
  margin-bottom: clamp(18px, 2vw, 26px);
  border-bottom: 1px solid var(--ink);
}
.vcard__head h3 { font-weight: 500; }
.vcard__id { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 2.6vw, 34px); }
.vcard__logo { flex: none; width: 76px; transition: transform 1.4s var(--ease-out); }
.vcard__logo img { display: block; width: 100%; height: auto; }
.vcard:hover .vcard__logo { transform: rotate(-12deg) scale(1.06); }
.vcard__name { font-size: var(--fs-s); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; color: var(--black); }
.vcard__role { margin-top: 4px; font-size: var(--fs-cap); color: var(--ink-70); }
.vcard .contact__big--mail { font-size: clamp(1.1rem, 1.9vw, 1.9rem); overflow-wrap: anywhere; }
.vcard .contact__meta { max-width: none; margin-top: clamp(26px, 3vw, 40px); }
.vcard__foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  align-self: stretch;
  margin-top: clamp(22px, 2.6vw, 34px);
}
.vcard__qr {
  position: relative;
  display: block;
  width: clamp(120px, 10vw, 148px);
  aspect-ratio: 1;
  padding: 9px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--vellum);
  color: var(--black);
}
.vcard__qr-code { display: block; width: 100%; height: 100%; }
/* Survol : une ligne de lecture balaie le code */
.vcard__scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--bronze);
  opacity: 0;
}
.vcard:hover .vcard__scan { animation: qr-scan 1.8s var(--ease-io) infinite; }
@keyframes qr-scan {
  0% { top: 0; opacity: 0; }
  12%, 88% { opacity: 1; }
  100% { top: calc(100% - 2px); opacity: 0; }
}
.vcard__save-wrap p { max-width: 24em; margin-bottom: 10px; font-size: .9375rem; line-height: 1.45; color: var(--ink-70); }
.vcard__hint-touch { display: none; }
.vcard__save { font-weight: 500; color: var(--black); }
.vcard__dl { display: inline-block; margin-left: .2em; }
.vcard__save:hover .vcard__dl, .vcard__save:focus-visible .vcard__dl { animation: dl-drop 1s var(--ease-io) infinite; }
@keyframes dl-drop {
  0% { transform: translateY(0); opacity: 1; }
  45% { transform: translateY(.55em); opacity: 0; }
  46% { transform: translateY(-.55em); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
/* Sur un téléphone, scanner son propre écran n'a pas de sens : on garde le bouton seul */
@media (hover: none) and (pointer: coarse) {
  .vcard__qr, .vcard__hint-qr { display: none; }
  .vcard__hint-touch { display: inline; }
  .vcard__foot { grid-template-columns: minmax(0, 1fr); }
}

.form { grid-column: 7 / 13; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); }
.field { margin-bottom: 20px; }
.field__control { position: relative; padding-top: 20px; }
.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--ink-50);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-s);
  line-height: 1.35;
  outline: none;
  resize: vertical;
  appearance: none;
}
.field textarea { min-height: 110px; }
.field label {
  position: absolute;
  left: 0; top: 28px;
  font-size: var(--fs-s);
  color: var(--ink-70);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .55s var(--ease-out), color .3s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { transform: translateY(-27px) scale(.6); color: var(--ink); }
.field__line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s var(--ease-io);
}
.field input:focus ~ .field__line, .field textarea:focus ~ .field__line { transform: scaleX(1); }
.field.is-invalid .field__line { transform: scaleX(1); height: 2px; }
.field__error { display: block; min-height: 0; margin-top: 6px; font-size: var(--fs-cap); font-weight: 500; }
.field__error:empty { display: none; }
.field__error::before { content: "× "; }

.choices { border: 0; padding: 0; margin: 10px 0 26px; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 14px; }
.choices__list { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice__box { position: relative; flex: none; width: 14px; height: 14px; border: 1px solid var(--ink); }
.choice__box::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--ink);
  transform: scale(0);
  transition: transform .45s var(--ease-out);
}
.choice input:checked + .choice__box::after { transform: scale(1); }
.choice input:focus-visible + .choice__box { outline: 1px solid var(--ink); outline-offset: 3px; }
.choice:hover .choice__box::after { transform: scale(.45); }
.choice:hover input:checked + .choice__box::after { transform: scale(1); }
.choice--consent { align-items: flex-start; font-size: var(--fs-cap); line-height: 1.5; color: var(--ink-70); }
.choice--consent .choice__box { margin-top: 3px; }
.consent { margin-bottom: 28px; }

.form__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.submit {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .4em;
  padding-bottom: 6px;
  font-size: var(--fs-m);
  font-weight: 500;
  letter-spacing: -.032em;
  color: var(--black);
}
.submit::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
}
.submit:hover::after, .submit:focus-visible::after { animation: line-swap .9s var(--ease-io); }
.submit:hover .arrow, .submit:focus-visible .arrow { transform: rotate(45deg); }
.form.is-sending .submit { opacity: .45; pointer-events: none; }
.form__status { min-height: 1.5em; max-width: 34em; }

/* 17. Pied de page -------------------------------------------------------- */
.footer { position: relative; padding: var(--section-y) var(--gutter) var(--gutter); overflow: clip; }
.footer::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--ink); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer__claim { font-size: var(--fs-l); font-weight: 500; line-height: 1; letter-spacing: -.035em; color: var(--black); }
.footer__cta { font-size: var(--fs-s); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px var(--gutter);
  margin-top: clamp(64px, 8vw, 120px);
}
.footer__cols .cap { margin-bottom: 14px; color: var(--ink-70); }
.footer__cols li + li { margin-top: 6px; }
.footer__logo { display: flex; justify-content: flex-end; align-items: flex-start; }
.footer__pic { width: clamp(120px, 12vw, 180px); transition: transform 1.4s var(--ease-out); }
.footer__pic img { display: block; width: 100%; height: auto; }
.footer__logo:hover .footer__pic { transform: rotate(-10deg) scale(1.05); }
.footer__mark { margin-top: clamp(56px, 8vw, 120px); overflow: clip; padding-top: .14em; }
.footer__word {
  display: inline-block;
  font-size: 23vw;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.06em;
  white-space: nowrap;
  color: var(--black);
}
.fl, .fl__in { display: inline-block; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-25);
}

/* 18. Visionneuse --------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 20px;
  padding: var(--gutter);
  background: var(--vellum);
}
.lightbox[hidden] { display: none; }
.lightbox__top, .lightbox__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox__nav { font-size: var(--fs-s); }
.lightbox__figure { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox__img { min-height: 0; max-width: 100%; max-height: calc(100% - 3em); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__caption { font-size: var(--fs-body); text-align: center; color: var(--ink-70); }

/* 19. Page légale --------------------------------------------------------- */
.legal { padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) var(--gutter) var(--section-y); }
.legal h1 { font-size: var(--fs-xl); font-weight: 500; line-height: .95; letter-spacing: -.045em; color: var(--black); margin-bottom: clamp(48px, 6vw, 96px); }
.legal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gutter); }
.legal__block { grid-column: 4 / 11; padding: 28px 0; border-top: 1px solid var(--ink); }
.legal__block h2 { font-size: var(--fs-s); font-weight: 500; letter-spacing: -.012em; margin-bottom: 14px; }
.legal__block p + p, .legal__block ul { margin-top: 10px; }
.legal__block li { padding-left: 1em; text-indent: -1em; }
.legal__block li::before { content: "• "; }
.legal__block a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__back { display: inline-flex; margin-top: 48px; }
.header.header--simple { grid-template-columns: minmax(0, 1fr) auto; }
.header.header--simple .header__cta { display: inline-flex; }
.footer.footer--legal { padding-top: 0; }
.footer--legal::before { display: none; }

/* 20. Adaptations écran ---------------------------------------------------- */
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .header { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 899px) {
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta p:nth-child(2) { display: none; }
  .hero__title { padding-top: 7vh; font-size: clamp(4rem, 19.5vw, 9rem); }
  .hero__line:nth-child(2) { padding-left: .5em; }
  .hero__specimen {
    position: relative;
    right: auto; bottom: auto;
    width: 128vw;
    margin: -12vw -32vw -6vw auto;
  }
  .hero__fig { top: 16%; right: calc(32vw + var(--gutter)); }
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; margin-top: 0; }
  .hero__intro { grid-column: 1 / -1; }
  .scroll-cue { display: inline-flex; writing-mode: horizontal-tb; flex-direction: row; }
  .scroll-cue__line { width: 56px; height: 1px; }
  .scroll-cue__line::after { animation-name: cue-x; }
  @keyframes cue-x { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

  .approach__main, .approach__text, .approach__small { grid-column: 1 / -1; }
  .approach__text { padding-top: 40px; }
  .approach__small { width: 62%; margin-left: auto; margin-top: 56px; }

  .services__intro h2, .services__lede,
  .gallery__intro h2, .gallery__lede { grid-column: 1 / -1; }
  .service__head { grid-template-columns: 2.6em minmax(0, 1fr) 32px; }
  .service__sub { display: none; }
  .service__content { grid-template-columns: 2.6em minmax(0, 1fr); }
  .service__body { grid-column: 2; padding-right: 0; }
  .service__thumb { grid-column: 2; width: min(100%, 360px); margin-top: 24px; }
  .services__preview { display: none; }

  .method { padding-top: var(--section-y); }
  .method__viewport { margin-top: 32px; }
  .method__track { flex-direction: column; padding: 0 var(--gutter); }
  .step { padding: 28px 0 36px; border-top: 1px solid var(--ink); }
  .step__num { font-size: clamp(4.5rem, 22vw, 8rem); }
  .step__fig { aspect-ratio: 4 / 3; margin-top: 24px; }
  .step--cta { padding-top: 48px; }
  .method__progress { display: none; }

  .stats__list { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ink-25); margin-top: 28px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; gap: 56px var(--gutter); }
  .work { margin-top: 0; }
  .work:nth-child(odd) { grid-column: 1; }
  .work:nth-child(even) { grid-column: 2; margin-top: 96px; }

  .about__fig { grid-column: 1 / -1; position: relative; top: auto; width: 82%; }
  .about__text { grid-column: 1 / -1; }

  .faq__aside, .faq__list { grid-column: 1 / -1; position: relative; top: auto; }

  .contact__specimen { width: 70vw; right: -18vw; opacity: .9; }
  .contact__info, .form { grid-column: 1 / -1; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .legal__block { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .fig__frame { clip-path: inset(29% 11% 29% 11% round 4px); }
  .fig__word { left: 0; right: 0; text-align: center; font-size: clamp(3rem, 16vw, 5.5rem); margin-top: 0; }
  .fig__word--l { top: auto; bottom: calc(71% + 10px); }
  .fig__word--r { top: calc(71% + 10px); }
  .fig__caption { display: none; }
}

@media (max-width: 599px) {
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta p:nth-child(3) { text-align: left; }
  .form__row--2 { grid-template-columns: 1fr; }
  .creds li, .contact__meta > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__logo { justify-content: flex-start; }
  .work:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .work:nth-child(even) { width: 78%; justify-self: end; }
}

@media (hover: none) {
  .services__preview { display: none; }
}

/* 21. Sans animation (mouvement réduit ou scripts indisponibles) ---------- */
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .nav { display: block; }

.no-anim .fig { height: auto; padding: var(--section-y) var(--gutter) 0; display: grid; gap: 24px; }
.no-anim .fig__frame { position: relative; clip-path: none; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.no-anim .fig__word, .no-anim .fig__caption { position: static; margin: 0; text-align: left; }
.no-anim .fig__word--r { display: none; }
.no-anim .marquee__track { flex-wrap: wrap; width: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
