/* Eric Picard — Architecte & sculpteur. Thème « galerie » sombre. */

/* Polices hébergées sur le site (licence OFL) : plus rapide, et aucune donnée envoyée à Google */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }


:root {
  --paper: #0e0e0d;      /* fond */
  --paper-2: #181816;    /* fond secondaire */
  --paper-3: #22211e;
  --ink: #ece7de;        /* texte */
  --ink-2: #c4beb3;
  --muted: #9a948a;      /* 6,6:1 sur le fond */
  --line: #2e2c28;
  --line-2: #45423c;
  --accent: #d4553d;     /* brique — 4,9:1 sur le fond */
  --cream: #efe9df;      /* blocs clairs */
  --cream-ink: #161614;
  --night: #0a0a09;
  --night-2: #181816;
  --night-line: #2e2c28;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1520px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Grain argentique, très léger */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .055;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font: 500 11.5px/1.2 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow b { color: var(--accent); font-weight: 500; }
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.015em; margin: 0; }
p { margin: 0 0 1.1em; }
.outline { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ink);
  transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; transition: height .4s var(--ease); }
.site-header.scrolled .wrap { height: 64px; }
.brand { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.brand-name { font: 400 28px/1 var(--serif); letter-spacing: -.01em; }
.brand-name i { color: var(--accent); font-style: normal; }
.brand-tag { font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .6; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav a { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; position: relative; padding: 8px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.site-header.scrolled, .site-header.solid.scrolled {
  background: rgba(14, 14, 13, .78); border-bottom-color: var(--line);
  backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px);
}
/* Barre toujours visible ; sur une fiche projet, elle rappelle le projet en cours et propose le contact */
.h-context { display: none; align-items: center; gap: 14px; font: 400 20px/1 var(--serif); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 32vw; }
.h-context::before { content: ""; width: 1px; height: 20px; background: var(--line-2); flex: none; }
.site-header.scrolled .h-context { display: inline-flex; }
.site-header.scrolled .brand:has(.h-context) .brand-tag { display: none; }
.h-cta { display: none; flex: none; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: #fff; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: background .3s; }
.h-cta:hover { background: #b3311f; }
.site-header.scrolled .h-cta { display: inline-flex; }
@media (max-width: 1320px) { .site-header.scrolled .h-cta { display: none; } }
@media (max-width: 900px) { .h-context { max-width: 46vw; font-size: 17px; } }
@media (min-width: 901px) and (max-width: 1299px) { .site-header .h-context, .site-header.scrolled .h-context, .brand-tag { display: none; } }

@media (max-width: 900px) {
  .brand-tag { display: none; }
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0 var(--gutter); gap: 6px; background: var(--night);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav a { font: 400 clamp(44px, 12vw, 72px)/1.08 var(--serif); letter-spacing: -.01em; text-transform: none; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); font-style: italic; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .menu-btn span:first-child { top: 21.5px; transform: rotate(45deg); }
  body.menu-open .menu-btn span:last-child { top: 21.5px; transform: rotate(-45deg); }
}

/* ---------- Boutons, liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--ink); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-light { background: var(--cream); color: var(--cream-ink); border-color: var(--cream); }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(239, 233, 223, .35); }
.btn-ghost-light:hover { background: var(--cream); color: var(--cream-ink); border-color: var(--cream); }
.btn-dark { background: var(--cream-ink); color: var(--cream); border-color: var(--cream-ink); }
.btn-ghost-dark { background: transparent; color: var(--cream-ink); border-color: rgba(22, 22, 20, .3); }
.btn-ghost-dark:hover { background: var(--cream-ink); color: var(--cream); }
.link-arrow { display: inline-flex; align-items: center; gap: 14px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line-2); transition: border-color .3s, color .3s; }
.link-arrow svg { transition: transform .45s var(--ease); }
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow:hover svg { transform: translateX(8px); }
.cta-links { display: flex; flex-wrap: wrap; gap: 8px 36px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
  background: var(--night); color: #fff;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 115%; object-fit: cover; transform: scale(1.1); transition: transform 9s linear; will-change: transform; }
.hero-slide.active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,8,7,.55) 0%, rgba(8,8,7,0) 26%),
    linear-gradient(0deg, rgba(8,8,7,.92) 0%, rgba(8,8,7,.45) 32%, rgba(8,8,7,0) 60%),
    linear-gradient(90deg, rgba(8,8,7,.55) 0%, rgba(8,8,7,0) 55%);
}
/* Trame de colonnes : un clin d'œil au calque d'architecte */
.hero-grid { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero-grid i { border-left: 1px solid rgba(255,255,255,.07); }
.hero-grid i:last-child { border-right: 1px solid rgba(255,255,255,.07); }
.hero-side {
  position: absolute; left: calc(var(--gutter) * .35); top: 50%; z-index: 4; margin: 0;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font: 500 10.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.hero-coords { position: absolute; right: var(--gutter); top: 104px; z-index: 4; margin: 0; font: 500 10.5px/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); text-align: right; }
/* Sceau D.P.L.G : le diplôme, en signature */
.seal { position: absolute; z-index: 5; right: calc(var(--gutter) + 12px); top: 30%; width: clamp(130px, 12vw, 190px); aspect-ratio: 1; color: #fff; animation: fadeUp 1.2s .9s var(--ease-out) both; }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal-ring { transform-origin: 100px 100px; animation: spin 36s linear infinite; }
.seal-ring text { font: 500 11.6px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; fill: rgba(255,255,255,.88); }
.seal-inner { fill: var(--accent); }
.seal-big { font: 400 31px/1 var(--serif); fill: #fff; letter-spacing: .02em; }
.seal-small { font: italic 400 14px/1 var(--serif); fill: rgba(255,255,255,.85); }
@keyframes spin { to { transform: rotate(360deg); } }
.stat-dplg strong { font-size: clamp(48px, 5.4vw, 92px); }
@media (max-width: 900px) { .seal { top: 96px; right: var(--gutter); width: 112px; } }

.hero-content { position: absolute; inset: auto 0 0 0; z-index: 5; padding-bottom: clamp(28px, 5vh, 56px); }
.hero-content .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero-kicker { display: flex; align-items: center; gap: 16px; margin: clamp(18px, 2.4vw, 30px) 0 0; font: 500 clamp(13px, 1.15vw, 17px)/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.92); animation: fadeUp 1.2s .35s var(--ease-out) both; }
.hero-kicker::before { content: ""; flex: none; width: 48px; height: 1px; background: var(--accent); }
@media (max-width: 500px) { .hero-kicker { letter-spacing: .16em; gap: 12px; } .hero-kicker::before { width: 28px; } }
.hero h1 { font-size: clamp(76px, 15vw, 260px); line-height: .8; letter-spacing: -.045em; margin-left: -.04em; }
.hero h1 .l { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .l > span { display: inline-block; animation: lineUp 1.3s var(--ease-out) both; }
.hero h1 .l:nth-child(2) > span { animation-delay: .12s; }
.hero h1 em { font-style: italic; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.95); padding-left: .18em; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; animation: fadeUp 1.2s .5s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-caption { width: min(420px, 38vw); animation: fadeUp 1.2s .7s var(--ease-out) both; }
.hero-ctrl { display: flex; align-items: center; gap: 14px; }
.hero-ctrl .count { margin-right: auto; font: 400 14px/1 var(--sans); letter-spacing: .14em; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.hero-ctrl button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transition: background .3s, border-color .3s; }
.hero-ctrl button:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.hero-caption > a { display: block; margin-top: 16px; font: 400 clamp(22px, 1.9vw, 28px)/1.15 var(--serif); }
.hero-caption > a span { display: inline-block; transition: transform .4s var(--ease); color: var(--accent); }
.hero-caption > a:hover span { transform: translateX(8px); }
.hero-progress { margin-top: 16px; height: 1px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero-progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hero-progress i.run { animation: progress var(--slide-ms, 7000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 16px; }
.hero-dots button { position: relative; aspect-ratio: 4 / 3; overflow: hidden; opacity: .45; outline-offset: 2px; transition: opacity .4s; }
.hero-dots button img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: filter .4s, transform .6s var(--ease); }
.hero-dots button span { position: absolute; left: 5px; bottom: 4px; font: 500 9.5px/1 var(--sans); letter-spacing: .1em; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.hero-dots button:hover, .hero-dots button[aria-current] { opacity: 1; }
.hero-dots button[aria-current] img { filter: none; }
.hero-dots button[aria-current]::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); }
.scroll-cue { position: absolute; left: 50%; bottom: 0; z-index: 5; width: 1px; height: 64px; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--accent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (max-width: 900px) {
  .hero-content .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-caption { width: 100%; }
  .hero-side, .hero-coords, .scroll-cue, .hero-grid { display: none; }
  .hero h1 em { -webkit-text-stroke-width: 1px; }
}

/* ---------- Bandeau défilant ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px) 0; background: var(--paper); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { flex: none; display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); font: 400 clamp(44px, 6.6vw, 112px)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.marquee span:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee span::after { content: ""; width: .18em; height: .18em; background: var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) {
  .marquee { padding: 14px 0; }
  .marquee span { font-size: 38px; gap: 18px; padding-right: 18px; }
  .marquee-track { animation-duration: 32s; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 200px) 0; }
.section-tight { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(48px, 6vw, 96px); flex-wrap: wrap; }
.section-head .eyebrow { width: 100%; margin: 0 0 -8px; }
.section-head h2 { font-size: clamp(56px, 9vw, 152px); letter-spacing: -.035em; line-height: .88; }
.section-head h2 em { font-style: italic; color: var(--accent); }
.sec-num { font-family: var(--sans); font-weight: 500; color: var(--accent); margin-right: 10px; }

/* Dessins de l'architecte en filigrane */
.drawing { position: absolute; z-index: 0; pointer-events: none; overflow: hidden; opacity: .13; mix-blend-mode: screen; }
.drawing img { width: 100%; height: 100%; object-fit: cover; filter: invert(1) grayscale(1) contrast(1.6); }
.drawing-right { top: 4%; right: -6%; width: min(62vw, 980px); aspect-ratio: 4 / 3; -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }
.drawing-left { bottom: -4%; left: -8%; width: min(56vw, 860px); aspect-ratio: 4 / 3; -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent); mask-image: radial-gradient(closest-side, #000 35%, transparent); }
.section > .wrap, .section-tight > .wrap { position: relative; z-index: 1; }
/* Les dessins en filigrane et les numéros décalés ne doivent jamais élargir la page (mobile) */
.section, .section-tight, .page-head { overflow-x: clip; }
html, body { overflow-x: clip; }

/* ---------- Intro / manifeste ---------- */
.intro { display: grid; grid-template-columns: minmax(160px, 3fr) 9fr; gap: 32px; }
.intro .lead { font: 400 clamp(36px, 4.8vw, 76px)/1.04 var(--serif); letter-spacing: -.02em; margin: 0; }
.intro .lead em { font-style: italic; color: var(--accent); }
.lead-sub { margin: 32px 0 28px; max-width: 46ch; font-size: 18px; color: var(--muted); }
.intro-foot { margin-top: clamp(72px, 9vw, 140px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.stat { padding: 30px clamp(12px, 2vw, 32px) 4px; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: flex; align-items: baseline; gap: 8px; font: 400 clamp(64px, 8vw, 132px)/.85 var(--serif); letter-spacing: -.005em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; color: var(--paper); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.stat strong small { font: italic 400 .3em/1 var(--serif); letter-spacing: 0; color: var(--accent); -webkit-text-stroke: 0; }
.stat > span { display: block; margin-top: 18px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; }
  .intro-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Projets choisis : vitrine éditoriale ---------- */
.show { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(80px, 10vw, 150px); }
.show:last-child { margin-bottom: 0; }
.show-media { grid-column: 1 / span 8; grid-row: 1; position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; background: var(--paper-2); }
.show-media .parallax { position: absolute; inset: -8% 0; }
.show-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.show-media:hover img { transform: scale(1.04); }
.show-text { grid-column: 9 / span 4; grid-row: 1; position: relative; z-index: 2; padding-bottom: 8px; }
.show-num { display: block; font: 400 clamp(120px, 14vw, 230px)/.75 var(--serif); letter-spacing: -.005em; color: var(--paper); -webkit-text-stroke: 1.6px var(--accent); paint-order: stroke fill; margin: 0 0 22px calc(-1 * clamp(40px, 6vw, 110px)); position: relative; z-index: 1; }
.show h3 { font-size: clamp(34px, 3.4vw, 56px); line-height: 1; letter-spacing: -.025em; margin: 14px 0 0; }
.show h3 a { transition: color .3s; }
.show h3 a:hover { color: var(--accent); }
.show-place { margin: 16px 0 0; font: 500 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.show-desc { margin: 20px 0 26px; color: var(--muted); font-size: 16px; max-width: 40ch; }
.show.show-r .show-media { grid-column: 6 / span 7; aspect-ratio: 5 / 5.2; }
.show.show-r .show-text { grid-column: 1 / span 5; text-align: left; padding-right: clamp(0px, 3vw, 48px); }
.show.show-r .show-num { margin-left: 0; text-align: right; margin-right: calc(-1 * clamp(40px, 6vw, 110px)); }
.show.show-r h3 { margin: 14px 0 0; }
.show.show-r .show-media { grid-row: 1; }
@media (max-width: 860px) {
  .show { display: block; margin-bottom: 88px; }
  .show-media, .show.show-r .show-media { aspect-ratio: 4 / 3.4; }
  .show-text { margin-top: -54px; padding: 0 0 0 4px; }
  .show-num, .show.show-r .show-num { font-size: 96px; margin: 0 0 8px; text-align: left; }
  .show h3, .show.show-r h3 { margin: 6px 0 0; }
}

/* Cartes (pages de liste) */
.work-media { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }

/* ---------- Typologies ---------- */
.cats { border-top: 1px solid var(--line-2); }
.cat-row {
  position: relative; display: grid; grid-template-columns: 90px 1fr auto 48px; align-items: center; gap: 20px;
  padding: clamp(20px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.cat-row::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.cat-row > * { position: relative; z-index: 1; }
.cat-row .n { font: 500 12px/1 var(--sans); letter-spacing: .14em; color: var(--muted); transition: color .4s; }
.cat-row .t { font: 400 clamp(44px, 7vw, 116px)/.95 var(--serif); letter-spacing: -.03em; transition: transform .7s var(--ease), color .4s; }
.cat-row .c { font-size: 14px; color: var(--muted); transition: color .4s; }
.cat-row svg { justify-self: end; transition: transform .6s var(--ease); }
.cat-row:hover::before { transform: scaleY(1); }
.cat-row:hover .t { transform: translateX(18px); font-style: italic; color: #fff; }
.cat-row:hover .n, .cat-row:hover .c { color: rgba(255,255,255,.85); }
.cat-row:hover svg { transform: rotate(-45deg); color: #fff; }
.cat-preview {
  position: fixed; z-index: 40; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-3deg); transition: opacity .35s var(--ease), transform .45s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.cat-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.cat-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .cat-row { grid-template-columns: 36px 1fr auto; } .cat-row svg { display: none; } }
@media (hover: none) { .cat-preview { display: none; } }

/* ---------- Sculpture ---------- */
.dark { background: var(--night); color: var(--ink); }
.sculpt-feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.sculpt-copy { position: sticky; top: 130px; }
.sculpt-copy h2 { font-size: clamp(60px, 8.4vw, 148px); line-height: .86; letter-spacing: -.04em; margin: 18px 0 0; }
.sculpt-copy h2 em { display: block; font-style: italic; color: var(--accent); }
.sculpt-copy p { color: var(--ink-2); max-width: 40ch; margin: 30px 0 34px; font-size: 17px; }
.sculpt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.sculpt-cols .col { display: grid; gap: clamp(12px, 1.6vw, 24px); align-content: start; }
.sculpt-cols .col:nth-child(2) { margin-top: clamp(80px, 12vw, 200px); }
.sculpt-cols a { display: block; overflow: hidden; background: var(--paper-2); }
.sculpt-cols img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.sculpt-cols .col:first-child a:nth-child(2) img { aspect-ratio: 1; }
.sculpt-cols a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .sculpt-feature { grid-template-columns: 1fr; } .sculpt-copy { position: static; } }

/* ---------- Distinctions ---------- */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.cred { padding: 30px 26px 0 0; border-right: 1px solid var(--line); margin-right: 26px; }
.cred:last-child { border-right: 0; margin-right: 0; }
.cred h3 { font-size: 27px; line-height: 1.08; }
.cred p { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .creds { grid-template-columns: 1fr 1fr; row-gap: 30px; } .cred:nth-child(2) { border-right: 0; margin-right: 0; } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } .cred { border-right: 0; margin-right: 0; } }

/* ---------- Deux portes d'entrée ---------- */
.cta-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); }
.cta-card { position: relative; overflow: hidden; padding: clamp(32px, 4.4vw, 64px); background: var(--cream); color: var(--cream-ink); display: flex; flex-direction: column; min-height: 560px; }
.cta-card .eyebrow { color: #6b665e; }
.cta-card .eyebrow b { color: #b3311f; }
.cta-card h3 { font-size: clamp(36px, 3.8vw, 60px); line-height: .98; letter-spacing: -.025em; margin: 20px 0 28px; max-width: 15ch; }
.cta-card p { color: #3a3834; max-width: 44ch; }
.cta-card .btn { background: var(--cream-ink); color: var(--cream); border-color: var(--cream-ink); }
.cta-card .btn:hover { background: #b3311f; border-color: #b3311f; color: #fff; }
.cta-card .btn-ghost { background: transparent; color: var(--cream-ink); border-color: rgba(22,22,20,.3); }
.cta-card .btn-ghost:hover { background: var(--cream-ink); color: var(--cream); }
.cta-dark { background: var(--paper-2); color: var(--ink); }
.cta-dark .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-dark .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transition: transform 1.6s var(--ease), opacity .6s; }
.cta-dark:hover .cta-bg img { transform: scale(1.05); opacity: .48; }
.cta-dark::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,9,.2), rgba(10,10,9,.85)); }
.cta-dark > :not(.cta-bg) { position: relative; z-index: 2; }
.cta-dark .eyebrow { color: rgba(239,233,223,.75); }
.cta-dark .eyebrow b { color: var(--accent); }
.cta-dark p { color: rgba(239,233,223,.85); }
.cta-dark .btn { background: var(--cream); color: var(--cream-ink); border-color: var(--cream); }
.cta-dark .btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(239,233,223,.4); }
.missions { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid rgba(22,22,20,.15); }
.missions li { padding: 12px 0; border-bottom: 1px solid rgba(22,22,20,.15); font-size: 15.5px; display: flex; gap: 14px; }
.missions li::before { content: "—"; color: #b3311f; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 32px; }
.cta-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(22,22,20,.18); }
.cta-mail .eyebrow { width: 100%; margin: 0; }
.cta-mail a { font: 400 clamp(22px, 2vw, 30px)/1.1 var(--serif); word-break: break-all; }
.cta-mail a:hover { color: #b3311f; }
.copy-btn { padding: 9px 14px; border: 1px solid currentColor; border-radius: 999px; font: 500 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .8; transition: opacity .3s, background .3s, color .3s; }
.copy-btn:hover { opacity: 1; }
.copy-btn.done { background: #2f7d4a; border-color: #2f7d4a; color: #fff; opacity: 1; }
.cta-dark .cta-mail { border-color: rgba(239,233,223,.25); }
.cta-dark .cta-mail a:hover { color: var(--accent); }
.cta-card { scroll-margin-top: 110px; }
.cta-address { margin: 26px 0 0; font-size: 14px; color: var(--muted); }
.cta-address a:hover { color: var(--accent); }
@media (max-width: 860px) { .cta-duo { grid-template-columns: 1fr; } .cta-card { min-height: 0; } }

/* Contact (page) */
.contact-band h2 { font-size: clamp(56px, 10vw, 168px); line-height: .9; letter-spacing: -.03em; }
.contact-band h2 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease), color .3s; }
.contact-band h2 a:hover { background-size: 100% 2px; color: var(--accent); }
.contact-grid { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line-2); padding-top: 24px; }
.contact-grid a:hover { color: var(--accent); }
.contact-grid .eyebrow { display: block; margin-bottom: 10px; }
.contact-grid div { font-size: 19px; line-height: 1.45; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr !important; } }

/* ---------- Appel à l'action en fin de fiche projet ---------- */
.p-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; margin-top: clamp(72px, 9vw, 130px); padding: clamp(32px, 5vw, 64px); background: var(--cream); color: var(--cream-ink); }
.p-cta .eyebrow { color: #6b665e; }
.p-cta .eyebrow b { color: #b3311f; }
.p-cta h2 { font-size: clamp(40px, 5vw, 76px); line-height: .95; letter-spacing: -.03em; margin: 16px 0 18px; }
.p-cta h2 em { font-style: italic; color: #b3311f; white-space: nowrap; }
.p-cta p { margin: 0; color: #3a3834; max-width: 46ch; }
.p-cta .cta-actions { padding-top: 0; justify-content: flex-end; }
.p-cta .btn { background: var(--cream-ink); color: var(--cream); border-color: var(--cream-ink); }
.p-cta .btn:hover { background: #b3311f; border-color: #b3311f; color: #fff; }
.p-cta .btn-ghost { background: transparent; color: var(--cream-ink); border-color: rgba(22,22,20,.3); }
.p-cta .btn-ghost:hover { background: var(--cream-ink); color: var(--cream); }
.p-cta + .p-nav { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) { .p-cta { grid-template-columns: 1fr; } .p-cta .cta-actions { justify-content: flex-start; } }

/* ---------- Barre d'appel fixe (mobile) ---------- */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px;
    padding: 6px; border-radius: 999px; background: rgba(14,14,13,.88); border: 1px solid var(--line-2);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(140%); transition: transform .5s var(--ease-out);
  }
  .call-bar.is-visible { transform: none; }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
  .call-bar a:first-child { background: var(--accent); color: #fff; }
  .call-bar a:last-child { color: var(--ink); }
  body.menu-open .call-bar { display: none; }
  .site-footer .bottom { padding-bottom: 96px; }
}

/* ---------- Page « Architecte à Lyon » ---------- */
.page-head .cta-actions { padding-top: 32px; }
.missions-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.mission { padding: 36px 28px 40px 0; border-bottom: 1px solid var(--line); }
.mission:not(:nth-child(3n)) { border-right: 1px solid var(--line); margin-right: 28px; }
.mission .series-num { transform: none; margin: 0 0 18px; display: block; }
.mission h2 { font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -.02em; line-height: 1.02; }
.mission p { margin: 16px 0 0; color: var(--ink-2); font-size: 16px; }
.mission-links { font-size: 14.5px !important; line-height: 1.8; }
.mission-links .eyebrow { display: block; margin-bottom: 6px; }
.mission-links a { border-bottom: 1px solid var(--line-2); }
.mission-links a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 1000px) { .missions-grid { grid-template-columns: 1fr 1fr; } .mission:nth-child(n) { border-right: 0; margin-right: 0; } .mission:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 28px; } }
@media (max-width: 640px) { .missions-grid { grid-template-columns: 1fr; } .mission:nth-child(n) { border-right: 0; margin-right: 0; padding-right: 0; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps li { border-top: 1px solid var(--accent); padding-top: 20px; }
.steps span { font: 400 clamp(48px, 5vw, 76px)/1 var(--serif); color: var(--paper); -webkit-text-stroke: 1.4px var(--ink); paint-order: stroke fill; }
.steps h3 { font-size: 26px; margin: 14px 0 10px; line-height: 1.05; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line-2); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-family: var(--sans); font-size: 24px; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; max-width: 70ch; color: var(--ink-2); font-size: 17px; }

/* Indication de défilement : « Glissez » sur écran tactile */
.rail-hint .h-touch { display: none; }
@media (hover: none) { .rail-hint .h-mouse { display: none; } .rail-hint .h-touch { display: inline; } }

/* ---------- Page « Sculpture sur commande » ---------- */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.kind { display: block; }
.kind-img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); margin-bottom: 20px; }
.kind-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.kind:hover .kind-img img { transform: scale(1.05); }
.kind .series-num { transform: none; display: block; margin: 0 0 10px; }
.kind h3 { font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -.02em; transition: color .3s; }
.kind:hover h3 { color: var(--accent); }
.kind p { margin: 12px 0 0; color: var(--ink-2); font-size: 16px; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .kinds { grid-template-columns: 1fr; } .kind-img { aspect-ratio: 4 / 3.4; } .steps.steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps.steps-4 { grid-template-columns: 1fr; } }

/* ---------- Retour en haut ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 59; width: 54px; height: 54px; display: grid; place-items: center; padding: 0; margin: 0;
  border-radius: 50%; background: rgba(14,14,13,.85); border: 1px solid var(--line-2); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s, visibility .4s, transform .4s var(--ease-out), background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 760px) { .to-top { right: 16px; bottom: 82px; width: 48px; height: 48px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: var(--muted); padding: 88px 0 0; font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 56px; }
.site-footer .f-brand { font: 400 44px/1 var(--serif); color: var(--ink); }
.site-footer .f-brand i { color: var(--accent); font-style: normal; }
.site-footer p { margin: 16px 0 0; max-width: 40ch; }
.site-footer h3 { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #77726a; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 26px; border-top: 1px solid var(--line); flex-wrap: wrap; color: #77726a; }
.f-giant { font: 400 clamp(90px, 21vw, 360px)/.9 var(--serif); letter-spacing: -.005em; white-space: nowrap; color: var(--night); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-align: center; margin: 0 0 .04em; user-select: none; pointer-events: none; }
.f-giant em { color: var(--accent); -webkit-text-stroke: 0; font-style: normal; }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- En-têtes de pages ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(150px, 20vw, 250px) 0 clamp(48px, 7vw, 96px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(68px, 13vw, 210px); letter-spacing: -.045em; line-height: .84; }
.page-head h1 em { font-style: italic; color: var(--accent); }
.page-head .intro-text { margin-top: 32px; max-width: 58ch; font-size: 19px; color: var(--ink-2); }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); margin-bottom: 30px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Filtres + grille ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 4vw, 60px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 14px; transition: background .3s, color .3s, border-color .3s;
}
.chip sup { font-size: 11px; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-current="page"] sup { color: inherit; opacity: .6; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(44px, 5vw, 76px) clamp(16px, 2vw, 28px); }
.card { display: block; }
.card:nth-child(3n+2) { margin-top: clamp(0px, 5vw, 80px); }
.card .work-media { aspect-ratio: 4 / 5; }
.card:hover .work-media img { transform: scale(1.06); }
.card h2, .card h3 { font: 400 clamp(25px, 2vw, 30px)/1.1 var(--serif); margin-top: 18px; letter-spacing: -.01em; transition: color .3s; }
.card:hover h2, .card:hover h3 { color: var(--accent); }
.card .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status[data-s="Réalisé"]::before { background: #5fae79; }
.status[data-s="Chantier en cours"]::before { background: var(--accent); }
.status[data-s="En étude"]::before { background: #d6a23a; }
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } .card:nth-child(n) { margin-top: 0; } .card:nth-child(even) { margin-top: 56px; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .card:nth-child(n) { margin-top: 0; } .card .work-media { aspect-ratio: 4 / 3.4; } }
.archive-note { margin-top: clamp(72px, 9vw, 130px); padding: 36px; background: var(--paper-2); border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.archive-note p { margin: 0; max-width: 60ch; color: var(--ink-2); }

/* ---------- Fiche projet ---------- */
.p-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--night); color: #fff; overflow: hidden; }
.p-hero img { width: 100%; height: 100%; object-fit: cover; animation: heroIn 2.4s var(--ease-out) both; }
@keyframes heroIn { from { transform: scale(1.12); opacity: .3; } to { transform: scale(1); opacity: 1; } }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,7,.5), rgba(8,8,7,0) 30%, rgba(8,8,7,0) 45%, rgba(8,8,7,.9)); }
.p-hero .wrap { position: absolute; left: 0; right: 0; bottom: clamp(32px, 7vh, 72px); z-index: 2; }
.p-hero .crumbs { color: rgba(255,255,255,.7); }
.p-hero .crumbs a:hover { color: #fff; }
.p-hero h1 { font-size: clamp(52px, 8.6vw, 148px); line-height: .9; letter-spacing: -.035em; max-width: 15ch; animation: fadeUp 1.3s .2s var(--ease-out) both; }
.p-hero .place { margin-top: 22px; font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.p-body { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 110px); padding: clamp(80px, 10vw, 150px) 0; }
/* Cartouche, comme sur un plan */
.fiche { position: sticky; top: 96px; align-self: start; border: 1px solid var(--line-2); }
.fiche > .eyebrow { margin: 0 !important; padding: 14px 18px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; }
.fiche > .eyebrow::after { content: "EP"; font-family: var(--serif); letter-spacing: 0; font-size: 15px; color: var(--accent); text-transform: none; }
.fiche dl { margin: 0; }
.fiche div { display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.fiche div:last-child { border-bottom: 0; }
.fiche dt { color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.fiche dd { margin: 0; }
.fiche dd a { border-bottom: 1px solid var(--line-2); }
.fiche dd a:hover { color: var(--accent); border-color: var(--accent); }
.p-text .first { font: 400 clamp(30px, 3.2vw, 48px)/1.14 var(--serif); letter-spacing: -.012em; margin-bottom: 1em; color: var(--ink); }
.p-text p { font-size: 18.5px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .p-body { grid-template-columns: 1fr; } .fiche { position: static; order: 2; } }

.videos { display: grid; gap: 24px; padding-bottom: clamp(56px, 8vw, 110px); }
.video { background: #000; position: relative; }
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.video figcaption { padding: 14px 0; font-size: 13px; letter-spacing: .08em; color: var(--muted); background: var(--paper); }

/* Galerie de fiche projet : grandes images, puis planche de vignettes */
.p-gallery { display: grid; gap: clamp(16px, 2vw, 28px); }
.p-gallery button { display: block; width: 100%; padding: 0; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.p-gallery img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.p-gallery button:hover img { transform: scale(1.025); }
.f-wide button { display: flex; justify-content: center; background: var(--paper-2); }
.f-wide img { width: auto; max-width: 100%; max-height: 88vh; }
.f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.f-pair > div:only-child { grid-column: 1 / -1; max-width: 70%; justify-self: center; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); }
.sheet-head h2 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.02em; }
.sheet-head span { color: var(--muted); font-size: 14px; }
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sheet .thumb { aspect-ratio: 4 / 3; }
.sheet .thumb img { height: 100%; object-fit: cover; opacity: .82; transition: opacity .4s, transform .8s var(--ease); }
.sheet .thumb:hover img { opacity: 1; transform: scale(1.05); }
@media (max-width: 600px) { .f-pair { grid-template-columns: 1fr; } .f-pair > div:only-child { max-width: none; } .sheet { grid-template-columns: repeat(3, 1fr); gap: 4px; } }

.gallery { columns: 3 320px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; overflow: hidden; break-inside: avoid; background: var(--paper-2); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s; }
.gallery button:hover img { transform: scale(1.035); }
@media (max-width: 600px) { .gallery { columns: 2; column-gap: 8px; } .gallery button { margin-bottom: 8px; } }

/* Navigation entre projets : deux grandes cartes, image entière au format 16:9 */
.p-nav { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 40px); border-top: 1px solid var(--line-2); margin-top: clamp(72px, 9vw, 130px); padding-top: clamp(28px, 3vw, 44px); }
.p-nav a { display: block; }
.p-nav a + a { text-align: right; }
.p-nav img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); filter: brightness(.82); transition: filter .6s var(--ease); }
.p-nav a:hover img { filter: brightness(1); }
.p-nav .eyebrow { display: block; margin: 20px 0 10px; }
.p-nav strong { font: 400 clamp(26px, 2.6vw, 40px)/1.08 var(--serif); letter-spacing: -.015em; transition: color .3s; }
.p-nav a:hover strong { color: var(--accent); }
@media (max-width: 700px) { .p-nav { grid-template-columns: 1fr; gap: 40px; } .p-nav a + a { text-align: left; } }

/* ---------- Sculptures (page) ---------- */
body.night { background: var(--night); }
.series { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.series-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.series-head h2 { font-size: clamp(44px, 6vw, 96px); letter-spacing: -.03em; }
.series-head h2 em { font-style: italic; color: var(--accent); }
.series-head span { color: var(--muted); font-size: 14px; }
.series-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
/* En-tête d'artiste */
.s-hero { padding: clamp(120px, 14vw, 180px) 0 clamp(56px, 7vw, 96px); }
.s-hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.s-hero h1 { font-size: clamp(64px, 10vw, 168px); letter-spacing: -.045em; line-height: .86; margin-top: 18px; }
.s-hero h1 em { display: block; font-style: italic; color: var(--accent); }
.s-hero .intro-text { margin: 30px 0 0; max-width: 50ch; font-size: 18.5px; color: var(--ink-2); }
.s-hero .cta-actions { padding-top: 32px; }
.s-hero-img { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.s-hero-img img { width: 100%; height: 100%; object-fit: cover; animation: heroIn 2.2s var(--ease-out) both; }
@media (max-width: 860px) { .s-hero-grid { grid-template-columns: 1fr; } .s-hero-img { aspect-ratio: 4 / 3.6; } }
/* Dessin sur papier : présenté entier, comme une planche posée sur la table */
.s-hero-paper { background: #f4f1ea; padding: clamp(14px, 2vw, 28px); box-shadow: 0 40px 90px rgba(0,0,0,.55); transform: rotate(-1.2deg); }
.s-hero-paper img { object-fit: contain; }
.press-title { font-size: clamp(44px, 5.6vw, 88px); letter-spacing: -.03em; line-height: .95; }
.press-title em { font-style: italic; color: var(--accent); }
.press-text { margin-top: 24px; max-width: 40ch; color: var(--ink-2); font-size: 18px; }

/* Barre des séries, collante */
.series-bar { position: sticky; top: 64px; z-index: 30; background: rgba(10,10,9,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.series-bar .wrap { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.series-bar .wrap::-webkit-scrollbar { display: none; }
.series-bar .chip { flex: none; }
.series-bar .chip b { font-weight: 500; color: var(--accent); font-size: 11px; letter-spacing: .1em; }
.series-bar .chip[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.series-bar .chip[aria-current="true"] sup { color: inherit; opacity: .6; }
.series { scroll-margin-top: 140px; }
.series-head { flex-wrap: wrap; align-items: end; }
.series-num { display: inline-block; font: 500 13px/1 var(--sans); letter-spacing: .12em; color: var(--accent); vertical-align: top; margin-right: 14px; transform: translateY(.8em); }
.series-tools { display: flex; align-items: center; gap: 10px; }
.series-tools > span { margin-right: 8px; color: var(--muted); font-size: 14px; }
.rail-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: background .3s, border-color .3s; }
.rail-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.series-tools .btn { min-height: 46px; padding: 0 20px; }

/* Bande horizontale d'œuvres : pleine largeur jusqu'au bord droit, sans barre native */
.rail-wrap { position: relative; margin-right: calc(50% - 50vw); }
.rail-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: clamp(40px, 8vw, 140px); pointer-events: none; background: linear-gradient(90deg, rgba(10,10,9,0), var(--night)); transition: opacity .4s; }
.rail-wrap.at-end::after { opacity: 0; }
.rail { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-right: var(--gutter); scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging button { pointer-events: none; }
.rail button { flex: none; height: clamp(320px, 56vh, 600px); overflow: hidden; scroll-snap-align: start; background: var(--paper-2); cursor: zoom-in; }
/* L'œuvre entière : hauteur fixe, largeur selon le format de la photo, jamais rognée */
.rail img { height: 100%; width: auto; max-width: none; object-fit: contain; transition: transform 1.1s var(--ease); -webkit-user-drag: none; }
.rail button:hover img { transform: scale(1.03); }
.rail-foot { display: flex; align-items: center; gap: 20px; margin-top: 22px; font: 500 12px/1 var(--sans); letter-spacing: .14em; color: var(--muted); }
.rail-count { font-variant-numeric: tabular-nums; min-width: 64px; }
.rail-progress { position: relative; flex: 1; max-width: 360px; height: 1px; background: var(--line-2); overflow: hidden; }
.rail-progress i { position: absolute; top: 0; left: 0; height: 100%; width: 20%; background: var(--accent); transition: transform .25s linear; }
.rail-hint { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; color: var(--ink-2); transition: opacity .5s; }
.rail-hint svg { animation: nudge 1.6s var(--ease) infinite; color: var(--accent); }
.rail-hint.gone { opacity: 0; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.rail-btn:disabled { opacity: .3; pointer-events: none; }
@media (max-width: 760px) {
  /* Mobile : largeur fixe, hauteur selon le format → aucune œuvre coupée */
  .rail { align-items: center; cursor: auto; }
  .rail { align-items: stretch; }
  .rail button { height: 50vh; width: auto; max-width: 86vw; display: grid; place-items: center; }
  .rail img { height: 100%; width: auto; max-width: 86vw; object-fit: contain; }
  .series-tools .rail-btn { display: none; }
  .rail-progress { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .rail-hint svg { animation: none; } }

.sculpt-cta h2 { font-size: clamp(48px, 6.4vw, 104px); max-width: 13ch; letter-spacing: -.03em; }
.sculpt-cta h2 em { font-style: italic; color: var(--accent); }
.sculpt-cta p { color: var(--ink-2); max-width: 52ch; margin-top: 22px; }

/* ---------- Pages de texte ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 1.5em 0 .5em; letter-spacing: -.02em; }
.prose p, .prose li { font-size: 18px; color: var(--ink-2); }
.prose a { border-bottom: 1px solid var(--line-2); }
.prose a:hover { border-color: var(--accent); color: var(--accent); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; padding-top: 5px; }
.timeline a { font: 400 24px/1.15 var(--serif); transition: color .3s; }
.timeline a:hover { color: var(--accent); }
.timeline small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.map-link { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); width: 100%; }
.map-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.map-link:hover img { transform: scale(1.04); }

/* ---------- Visionneuse ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 7, .97); color: #fff; display: none; }
.lb.open { display: grid; grid-template-rows: 1fr auto; }
.lb figure { margin: 0; display: grid; place-items: center; padding: 64px clamp(16px, 7vw, 110px) 12px; min-height: 0; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); object-fit: contain; opacity: 0; transition: opacity .35s; }
.lb img.ready { opacity: 1; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter) 22px; font-size: 14px; color: var(--muted); gap: 16px; }
.lb-btn { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.lb-btn:hover { background: rgba(255,255,255,.1); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.lb-close:hover { background: rgba(255,255,255,.1); }
@media (max-width: 600px) { .lb-btn { top: auto; bottom: 8px; margin: 0; } }

/* ---------- Curseur (souris uniquement) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; display: grid; place-items: center; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor b { font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; }
.cursor.big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(212, 85, 61, .92); }
.cursor.big b { opacity: 1; }
.cursor.link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: transparent; border: 1px solid var(--accent); }

/* ---------- Apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* Le masque est posé sur l'image, pas sur l'élément observé : sinon un élément plus haut que l'écran
   n'a aucune surface visible et l'IntersectionObserver ne le détecte jamais. */
.js [data-reveal="wipe"] { opacity: 1; transform: none; }
.js [data-reveal="wipe"] img { clip-path: inset(0 0 100% 0); transform: scale(1.18); transition: clip-path 1.4s var(--ease-out), transform 1.8s var(--ease-out); }
.js [data-reveal="wipe"].in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js [data-reveal="wipe"].in:hover img { transform: scale(1.04); }

/* Animations réduites : pas de mouvement continu ni de zoom, mais des apparitions brèves conservées. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition-duration: 1.2s; }
  .hero-slide img, .hero-slide.active img { transform: none !important; transition: none; }
  /* Bandeau figé : les six mots en entier, centrés, sans doublons */
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 6px; padding: 0 var(--gutter); }
  .marquee span { font-size: clamp(22px, 3.1vw, 56px); gap: .42em; padding-right: .42em; }
  .marquee span:nth-child(n+7) { display: none; }
  .marquee span:nth-child(6)::after { display: none; }
  .marquee span:nth-child(6) { padding-right: 0; }
  .seal-ring { animation: none; }
  .scroll-cue::after { animation: none; }
  .js [data-reveal] { transform: none; transition-duration: .7s; }
  .js [data-reveal="wipe"], .js [data-reveal="wipe"] img { transition-duration: .8s; }
  .js [data-reveal="wipe"] img { transform: none; }
  .p-hero img { animation-duration: .8s; }
  .cursor { display: none; }
}

.err { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.err h1 { font-size: clamp(140px, 28vw, 400px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--ink); }
