:root {
  --black: #0a0a0a;
  --ink: #111;
  --white: #f4f2ee;
  --grey: #8a8a8a;
  --line: rgba(255, 255, 255, .14);
  --line-dark: rgba(0, 0, 0, .14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  /* Courbes douces pour des animations fluides */
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Défilement fluide (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--white); color: var(--black); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: grid; place-content: center; gap: 28px; justify-items: center;
  transition: clip-path 1.2s var(--ease) .15s;
  clip-path: inset(0 0 0 0);
}
.loader__logo { width: 110px; animation: pulse 1.8s ease-in-out infinite; }
.loader__bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--white); animation: load 1.1s var(--ease) forwards; transform-origin: left; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 50% { opacity: .55; transform: scale(.97); } }

/* ---------- Curseur ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  pointer-events: none;
  display: grid; place-content: center;
  transition: width .6s var(--ease-expo), height .6s var(--ease-expo), opacity .3s;
  will-change: transform;
}
.cursor__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-hover { width: 56px; height: 56px; }
.cursor.is-view { width: 90px; height: 90px; mix-blend-mode: normal; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 22px var(--pad);
  transition: transform .8s var(--ease-expo), padding .6s var(--ease-out), background .6s, border-color .6s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(10, 10, 10, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .32em; font-size: 15px; justify-self: start; }
.nav__brand img { width: 40px; transition: transform .9s var(--ease-expo); }
.nav__brand:hover img { transform: rotate(-12deg) scale(1.08); }

/* Catégories au centre, mises en avant */
.nav__cats { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 100px; background: rgba(10,10,10,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav__cats a { padding: 9px 20px; border-radius: 100px; transition: background .6s var(--ease-out), color .6s var(--ease-out); }
.nav__cats a:hover, .nav__cats a.is-current { background: var(--white); color: var(--black); }
.nav__cats .roll::after { top: calc(100% + 9px); left: 20px; }

.nav__right { display: flex; align-items: center; gap: 36px; justify-self: end; }
.nav__links { display: flex; gap: 32px; }
.nav__burger { display: none; width: 32px; height: 20px; position: relative; justify-self: end; }
.nav__burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--white); transition: transform .6s var(--ease-expo); }
.nav__burger span:first-child { top: 4px; }
.nav__burger span:last-child { bottom: 4px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-size: clamp(44px, 13vw, 76px); font-family: var(--serif); line-height: 1.12; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-expo); }
.mobile-menu a.small { font-family: var(--sans); font-size: 18px; line-height: 2; color: #bbb; }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-of-type(2) { transition-delay: .05s; }
.mobile-menu.is-open a:nth-of-type(3) { transition-delay: .1s; }
.mobile-menu.is-open a:nth-of-type(n+4) { transition-delay: .15s; }
.mobile-menu__sep { height: 1px; background: var(--line); margin: 20px 0; }

/* Effet "roulement" des lettres au survol */
.roll { position: relative; display: inline-block; overflow: hidden; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.roll span { display: block; }
.roll span, .roll::after { transition: transform .8s var(--ease-expo); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; font-family: var(--serif); font-style: italic; text-transform: none; font-size: 16px; letter-spacing: 0; line-height: 1.2; }
.roll:hover span, .roll:hover::after { transform: translateY(-100%); }
.nav__cats .roll:hover span, .nav__cats .roll:hover::after { transform: translateY(calc(-100% - 9px)); }

/* Soulignement animé */
.hover-line { position: relative; display: inline-block; }
.hover-line::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-expo); }
.hover-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 34px; border: 1px solid var(--white); border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color .7s var(--ease-out);
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); border-radius: 50% 50% 0 0; transform: translateY(101%); transition: transform .8s var(--ease-expo), border-radius .8s var(--ease-expo); }
.btn:hover { color: var(--black); }
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn--small { padding: 12px 22px; font-size: 12px; }
.btn--dark { border-color: var(--black); color: var(--black); }
.btn--dark::before { background: var(--black); }
.btn--dark:hover { color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow i { font-style: normal; display: inline-block; transition: transform .8s var(--ease-expo); }
.link-arrow:hover i { transform: translateX(8px) rotate(-45deg); }

.eyebrow { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--grey); margin-bottom: 24px; }

/* ---------- Accueil + catégories ---------- */
.hero { padding: 12px var(--pad) 0; }

/* ---------- Bannière ---------- */
.banner { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(48px, 8vh, 90px); isolation: isolate; }
.banner__media { position: absolute; inset: -4% 0 0; z-index: -3; will-change: transform; opacity: 0; transition: opacity 1.6s var(--ease-out); }
.banner__media.is-loaded { opacity: 1; }
.banner__media img, .banner__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.6s var(--ease-expo); }
body.is-ready .banner__media.is-loaded img, body.is-ready .banner__media.is-loaded video { transform: scale(1); }
.banner__media.is-bw img, .banner__media.is-bw video { filter: grayscale(1) contrast(1.12) brightness(.9); }
/* Dégradé pro : lisibilité du menu en haut, fondu vers la page en bas, vignettage et voile latéral pour le texte */
.banner__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10,10,10,.85) 0%, rgba(10,10,10,.35) 14%, rgba(10,10,10,0) 30%),
    linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,.92) 12%, rgba(10,10,10,.55) 34%, rgba(10,10,10,0) 62%),
    linear-gradient(100deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.25) 40%, rgba(10,10,10,0) 65%),
    radial-gradient(ellipse 120% 90% at 60% 40%, transparent 50%, rgba(0,0,0,.55) 100%);
}
.banner__grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.banner__content { width: 100%; will-change: transform, opacity; }
.banner .hero__title { font-size: clamp(48px, 8.5vw, 140px); line-height: .95; margin-bottom: clamp(28px, 4vw, 44px); }
.banner__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 60px; flex-wrap: wrap; }
.banner__bottom p { max-width: 400px; color: #cfcfcf; font-size: 17px; }
.banner__actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.banner__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; }
.banner__scroll i { display: block; width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.banner__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--white); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.hero__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero__title { font-weight: 300; font-size: clamp(42px, 6vw, 96px); line-height: .98; letter-spacing: -.035em; }
.hero__title em { letter-spacing: -.01em; }
.hero__side { max-width: 340px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; color: #bdbdbd; padding-bottom: 10px; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.split { display: inline-block; transform: translateY(110%); transition: transform 1.6s var(--ease-expo); }
body.is-ready .line:nth-child(1) .split { transition-delay: .15s; transform: none; }
body.is-ready .line:nth-child(2) .split { transition-delay: .28s; transform: none; }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 1.4s var(--ease-out) .5s, transform 1.6s var(--ease-expo) .5s; }
body.is-ready .fade-in { opacity: 1; transform: none; }

.cats { height: clamp(340px, 62vh, 620px); display: flex; gap: 12px; }
.cat {
  position: relative; flex: 1; overflow: hidden; border-radius: 4px; background: #151515;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 2.5vw, 36px);
  transition: flex-grow 1.1s var(--ease-expo);
  clip-path: inset(100% 0 0 0);
}
body.is-ready .cat { clip-path: inset(0 0 0 0); transition: flex-grow 1.1s var(--ease-expo), clip-path 1.6s var(--ease-expo); }
body.is-ready .cat:nth-child(1) { transition-delay: 0s, .35s; }
body.is-ready .cat:nth-child(2) { transition-delay: 0s, .47s; }
body.is-ready .cat:nth-child(3) { transition-delay: 0s, .59s; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55) contrast(1.1); transform: scale(1.15); transition: transform 1.6s var(--ease-expo), filter 1s var(--ease-out); }
/* Calque couleur révélé par un dégradé qui monte au survol */
.cat img.cat__color {
  filter: brightness(.78) saturate(1.15) contrast(1.05);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 60%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 60%, transparent 100%);
  -webkit-mask-size: 100% 250%; mask-size: 100% 250%;
  -webkit-mask-position: 0 0%; mask-position: 0 0%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: transform 1.6s var(--ease-expo), -webkit-mask-position 1.3s var(--ease-expo), mask-position 1.3s var(--ease-expo), filter 1s var(--ease-out);
}
.cat:hover img.cat__color, .cat.is-colored img.cat__color { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
body.is-ready .cat img { transform: scale(1.02); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 55%); }
.cat > span { position: relative; z-index: 1; }
.cat__num { position: absolute !important; top: clamp(20px, 2.5vw, 36px); left: clamp(20px, 2.5vw, 36px); font-size: 13px; color: #bbb; letter-spacing: .1em; }
.cat__name { font-weight: 300; font-size: clamp(32px, 4vw, 64px); line-height: 1; letter-spacing: -.03em; transition: transform 1s var(--ease-expo); }
.cat__more { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-top: 14px; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-expo); }
.cat__more i { font-style: normal; display: inline-block; margin-left: 6px; transition: transform 1s var(--ease-expo); }
@media (hover: hover) {
  .cats:hover .cat { flex-grow: .75; }
  .cats .cat:hover { flex-grow: 1.9; }
  .cats:hover .cat img:not(.cat__color) { filter: grayscale(1) brightness(.35) contrast(1.1); }
  .cats .cat:hover img { transform: scale(1.08); }
  .cat:hover .cat__name { transform: translateY(-6px); font-family: var(--serif); font-style: italic; }
  .cat:hover .cat__more { opacity: 1; transform: none; }
  .cat:hover .cat__more i { transform: translateX(6px); }
}

/* ---------- Bandeau ---------- */
/* ---------- Phrase d'accroche ---------- */
.statement { padding: clamp(110px, 16vw, 220px) var(--pad) clamp(40px, 6vw, 80px); max-width: 1500px; }
.statement__eyebrow { margin-bottom: 36px; }
.statement__text { font-weight: 300; font-size: clamp(34px, 5.6vw, 92px); line-height: 1.08; letter-spacing: -.035em; }
.statement__text em { letter-spacing: -.01em; }
.statement .w { color: rgba(244, 242, 238, .14); transition: color .6s var(--ease-out); }
.statement .w.is-lit { color: var(--white); }
/* Vignettes photo glissées dans le texte : elles s'ouvrent quand leur mot s'allume */
.statement__pic { display: inline-block; vertical-align: middle; height: .78em; width: 0; margin: 0 -.05em; border-radius: 100px; overflow: hidden; transform: translateY(-.06em); transition: width 1.1s var(--ease-expo), margin 1.1s var(--ease-expo); }
.statement__pic.is-lit { width: 1.7em; margin: 0 .08em; }
.statement__pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); transition: transform 1.4s var(--ease-expo); }
.statement__pic.is-lit img { transform: scale(1); }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 13vw, 180px) var(--pad); }
.section--light { background: var(--white); color: var(--ink); }
.section--light .eyebrow { color: #6b6b6b; }
.section__head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 90px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section__title { font-weight: 300; font-size: clamp(38px, 6vw, 88px); line-height: 1.02; letter-spacing: -.03em; }
.section__lead { margin-top: 28px; max-width: 560px; font-size: 18px; color: #555; }

/* Apparition au défilement : douce, avec léger flou */
.reveal { opacity: 0; transform: translateY(50px); filter: blur(6px); transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-expo), filter 1.2s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Portfolio ---------- */
.filters-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
/* Sélecteur Photos / Vidéos avec pastille glissante */
.types { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 100px; }
.types__pill { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 100px; background: rgba(255,255,255,.12); transition: transform .8s var(--ease-expo), width .8s var(--ease-expo); }
.type { position: relative; padding: 8px 18px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); transition: color .6s var(--ease-out); }
.type.is-active, .type:hover { color: var(--white); }
.grid__empty { color: var(--grey); padding: 40px 0; font-family: var(--serif); font-style: italic; font-size: 24px; }
.filter { padding: 11px 22px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; letter-spacing: .04em; transition: background .7s var(--ease-out), color .7s var(--ease-out), border-color .7s var(--ease-out); }
.filter:hover { border-color: var(--white); }
.filter.is-active { background: var(--white); color: var(--black); border-color: var(--white); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; grid-auto-flow: dense; gap: 16px; transition: opacity .45s var(--ease-out); }
.grid.is-switching { opacity: 0; }
.tile { position: relative; overflow: hidden; cursor: pointer; background: #1a1a1a; border-radius: 3px; }
.tile.reveal { filter: none; clip-path: inset(12% 0 0 0); transform: translateY(40px); transition: opacity 1.2s var(--ease-out), transform 1.6s var(--ease-expo), clip-path 1.6s var(--ease-expo); }
.tile.reveal.is-in { clip-path: inset(0 0 0 0); }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.92) saturate(1); transform: scale(1.06); transition: transform 1.8s var(--ease-expo), filter 1.2s var(--ease-out); }
.tile:hover img, .tile:hover video { transform: scale(1.12); filter: brightness(1) saturate(1.12) contrast(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%); opacity: 0; transition: opacity 1s var(--ease-out); }
.tile:hover::after { opacity: 1; }
.tile__badge { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 100px; background: rgba(10,10,10,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: opacity .6s var(--ease-out); }
.tile__badge i { width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.tile:hover .tile__badge { opacity: 0; }
.tile figcaption { position: absolute; left: 24px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; overflow: hidden; }
.tile figcaption span, .tile figcaption b { transform: translateY(120%); transition: transform 1s var(--ease-expo); }
.tile figcaption span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #bbb; }
.tile figcaption b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; transition-delay: .06s; }
.tile:hover figcaption span, .tile:hover figcaption b { transform: none; }
.tile.is-hidden { display: none; }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line-dark); }
.service {
  position: relative; display: grid; grid-template-columns: 80px 1fr auto 60px; gap: 30px; align-items: start;
  padding: 44px 0; border-bottom: 1px solid var(--line-dark); isolation: isolate;
}
.service::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease-expo); }
.service:hover::before { transform: scaleY(1); transform-origin: top; }
.service { transition: color .7s var(--ease-out); }
.service:hover { color: var(--white); }
.service__num { font-size: 13px; color: #888; padding-top: 14px; }
.service__title { font-weight: 300; font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; transition: transform 1s var(--ease-expo); }
.service:hover .service__title { transform: translateX(16px); font-family: var(--serif); font-style: italic; }
.service__main p { max-width: 580px; color: #555; margin-top: 18px; transition: color .7s var(--ease-out); }
.service__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: #777; margin-top: 16px; transition: color .7s var(--ease-out); }
.service__list li::before { content: "— "; }
.service:hover .service__main p { color: #bbb; }
.service:hover .service__list { color: #999; }
.service__cta { font-family: var(--serif); font-style: italic; font-size: 24px; padding-top: 12px; white-space: nowrap; }
.service__arrow { font-size: 28px; padding-top: 8px; justify-self: end; transform: rotate(-45deg); transition: transform 1s var(--ease-expo); }
.service:hover .service__arrow { transform: rotate(0); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(70px, 9vw, 120px); }
.process__step { padding: 28px; border: 1px solid var(--line-dark); border-radius: 3px; transition: background .8s var(--ease-out), color .8s var(--ease-out), transform 1s var(--ease-expo); }
.process__step:hover { background: var(--black); color: var(--white); transform: translateY(-8px); }
.process__step span { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; }
.process__step h4 { font-size: 18px; font-weight: 600; margin: 20px 0 8px; }
.process__step p { font-size: 15px; color: #666; transition: color .8s var(--ease-out); }
.process__step:hover p { color: #aaa; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.about__media { position: relative; }
.about__media > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; transition: transform 1.6s var(--ease-expo); }
.about__media:hover > img { transform: scale(1.02); }
.about__badge {
  position: absolute; right: -36px; bottom: -36px; width: 130px; height: 130px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--line); display: grid; place-content: center;
  animation: spin 22s linear infinite;
}
.about__badge img { width: 60px; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text > p:not(.eyebrow) { font-size: 18px; color: #bdbdbd; margin-top: 24px; max-width: 580px; }
.about__text .section__title { margin-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0; padding-top: 36px; border-top: 1px solid var(--line); }
.stat b { font-size: clamp(40px, 5vw, 64px); font-weight: 300; letter-spacing: -.03em; }
.stat span { font-family: var(--serif); font-style: italic; font-size: 32px; }
.stat p { font-size: 13px; color: var(--grey); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); }
.contact__intro > p:not(.eyebrow) { margin-top: 24px; font-size: 18px; color: #555; }
.contact__intro strong { color: var(--ink); font-weight: 600; }
.contact__info { list-style: none; margin-top: 48px; border-top: 1px solid var(--line-dark); }
.contact__info li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
.contact__info span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #888; padding-top: 3px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; align-content: start; }
.form.reveal { filter: none; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #bbb; padding: 22px 0 10px;
  font: inherit; font-size: 17px; color: var(--ink); outline: none; border-radius: 0; resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; }
.field--select::after { content: "↓"; position: absolute; right: 0; bottom: 12px; pointer-events: none; color: #888; }
.field label { position: absolute; left: 0; top: 22px; font-size: 17px; color: #888; pointer-events: none; transition: transform .7s var(--ease-expo), font-size .7s var(--ease-expo), color .5s; transform-origin: left; }
.field::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-expo); z-index: 1; }
.field:focus-within::before { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-24px); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-bottom-color: #c33; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: #666; }
.form__status { grid-column: 1 / -1; font-size: 15px; min-height: 1.5em; }

/* ---------- Footer ---------- */
.footer { padding: 60px var(--pad) 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { font-weight: 700; font-size: clamp(80px, 24vw, 380px); line-height: .8; letter-spacing: -.05em; text-align: center; margin-bottom: 50px; }
.roll-big { display: inline-block; background: linear-gradient(to right, var(--white) 50%, transparent 50%); background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px var(--white); color: transparent; transition: background-position 1.4s var(--ease-expo); }
.roll-big:hover { background-position: 0 0; }
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--grey); }
.footer__links { display: flex; gap: 28px; }
.footer__links a { color: var(--white); }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5,5,5,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease-out), visibility .7s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__media { transform: scale(.94); transition: transform 1s var(--ease-expo), opacity .4s var(--ease-out); }
.lightbox.is-open .lightbox__media { transform: none; }
.lightbox__media.is-changing { opacity: 0; }
.lightbox__media img, .lightbox__media video { display: block; max-width: 86vw; max-height: 80vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 24px; right: 28px; font-size: 22px; transition: transform .8s var(--ease-expo); }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; font-size: 28px; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%; transition: background .6s var(--ease-out), color .6s var(--ease-out); }
.lightbox__nav:hover { background: var(--white); color: var(--black); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__caption { position: absolute; bottom: 28px; font-family: var(--serif); font-style: italic; font-size: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
}
@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__cats, .nav__right { display: none; }
  .nav__burger { display: block; z-index: 101; }
  .cats { flex-direction: column; height: auto; }
  .filters-wrap { align-items: flex-start; }
  .filters { justify-content: flex-start; }
  .cat { flex: none; height: 200px; }
  .cat__more { opacity: 1; transform: none; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__badge { right: 16px; bottom: -40px; width: 100px; height: 100px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 50px 1fr; }
  .service__cta { grid-column: 2; padding-top: 0; font-size: 20px; }
  .service__arrow { display: none; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .tile--wide { grid-column: auto; }
  .tile--tall { grid-row: span 1; }
  .tile figcaption span, .tile figcaption b { transform: none; }
  .tile::after { opacity: 1; }
  .process { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 6px; }
  .service__cta { grid-column: auto; }
  .service__num { padding: 0; }
  .form { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .contact__info li { flex-direction: column; gap: 4px; }
  .lightbox__nav { top: auto; bottom: 70px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Menu : empêche les liens de passer sur deux lignes */
.nav a, .nav .btn { white-space: nowrap; }
@media (max-width: 1240px) { .nav__links { display: none; } }

/* Bouton "Voir plus" du portfolio */
.grid__more-wrap { display: flex; justify-content: center; margin-top: 56px; }
.grid__more[hidden] { display: none; }
.grid__more em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; opacity: .7; margin-left: 4px; }

/* Photos sans légende : pas de dégradé sombre au survol */
.tile--plain::after { display: none; }
