/* ------------------------------------------------------------------
   Manuela Biocca — la loupe
   Mur pierre de lune pour les tableaux, velours noir pour la matière.
------------------------------------------------------------------- */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-latin-opsz-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --wall: #ebeaec;
  --ink: #17111a;
  --ink-soft: #4a4350;
  --ink-faint: #6f6876;
  --velvet: #0d090e;
  --bone: #ece6dc;
  --bone-soft: #b4aca2;
  --rouge: #a3213a;
  --rouge-light: #e0607a;
  --or: #b5924c;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 8.5rem;
  --logo-h: 6.4rem;
  --header-h-scrolled: 6.6rem;
  --logo-h-scrolled: 5.3rem;

  --cx: 50%;
  --cy: 50%;
  --r: 0px;
  --lens-w: 100vmax;
  --ring-o: 1;
}

@media (max-width: 859px) { :root { --header-h: 7rem; --logo-h: 5rem; --header-h-scrolled: 5.6rem; --logo-h-scrolled: 4.3rem; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--velvet);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--rouge); color: #fff; }

:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
[data-theme='light'] :focus-visible,
[data-theme='light'].next:focus-visible { outline-color: var(--rouge); }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: .7rem 1rem; background: var(--bone); color: var(--ink); border-radius: 999px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 1rem; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 440;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.display--xl {
  font-size: clamp(3rem, 10.5vw, 9rem);
  line-height: .92;
  letter-spacing: -0.03em;
}
.lead {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 420;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.4;
}
.textlink {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
  text-decoration-color: currentColor;
  transition: color .2s;
}
.textlink:hover { color: var(--rouge-light); }
[data-theme='light'] .textlink:hover { color: var(--rouge); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95em 1.85em;
  border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit;
  font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--bone { color: var(--bone); }
.btn--bone:hover { background: var(--bone); color: var(--velvet); }
.btn--ink { color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--wall); }
.btn--rouge { color: var(--rouge); }
.btn--rouge:hover { background: var(--rouge); color: #fff; }

/* ---------- Header : logo centré, grand en haut de page, réduit dès qu'on défile ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(1rem, 3vw, 3rem);
  height: var(--header-h); padding: 0 var(--pad);
  color: var(--bone);
  transition: color .35s, height .4s cubic-bezier(.2, .7, .2, 1);
}
.site-header.is-scrolled { height: var(--header-h-scrolled); }
.site-header[data-theme='light'] { color: var(--ink); }
.site-header[data-open] { color: var(--bone); }

/* bande douce sous l'en-tête, pour que les titres qui passent dessous restent lisibles */
.site-header::before {
  content: ''; position: absolute; inset: 0 0 -1.6rem 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--header-bg, var(--velvet)) 76%, transparent);
  opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::before { opacity: .94; }
.site-header[data-theme='light'] { --header-bg: var(--wall); }
.site-header[data-open]::before { opacity: 0; }

.brand { grid-column: 2; grid-row: 1; justify-self: center; display: block; line-height: 0; text-decoration: none; }
.brand__logo { display: block; height: var(--logo-h); width: auto; transition: filter .35s, height .4s cubic-bezier(.2, .7, .2, 1); }
.site-header.is-scrolled .brand__logo { height: var(--logo-h-scrolled); }
/* le logo est blanc : sur les sections claires on l'inverse en noir (la transparence est conservée) */
.site-header[data-theme='light']:not([data-open]) .brand__logo { filter: invert(1); }

.nav { display: contents; }
.nav__group { display: none; gap: clamp(1.4rem, 3vw, 2.6rem); grid-row: 1; }
.nav__group--left { grid-column: 1; justify-self: start; }
.nav__group--right { grid-column: 3; justify-self: end; }
.nav a {
  text-decoration: none; font-size: 1rem; padding: .3rem 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .3s;
}
.nav a:hover, .nav a[aria-current='page'] { background-size: 100% 1px; }

.menu-btn {
  grid-column: 3; grid-row: 1; justify-self: end;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 0; border: 0; background: none; cursor: pointer; font-size: .98rem;
}
.menu-btn__bars { position: relative; width: 1.6rem; height: .6rem; }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .3s, top .3s;
}
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { top: 100%; }
.menu-btn[aria-expanded='true'] .menu-btn__bars::before { top: 50%; transform: rotate(18deg); }
.menu-btn[aria-expanded='true'] .menu-btn__bars::after { top: 50%; transform: rotate(-18deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 3rem;
  padding: calc(var(--header-h) + 1rem) var(--pad) var(--pad);
  background: var(--velvet); color: var(--bone);
}
.menu[hidden] { display: none; }
.menu__logo { width: 9rem; height: auto; opacity: .85; }
.menu nav { display: flex; flex-direction: column; gap: .35rem; width: 100%; }
.menu a {
  font-family: var(--font-display); font-style: normal; font-weight: 440;
  font-size: clamp(2.6rem, 13vw, 4.6rem); line-height: 1.12; text-decoration: none;
}
.menu a:hover { color: var(--rouge-light); }

@media (min-width: 860px) {
  .nav__group { display: flex; }
  .menu-btn, .menu { display: none; }
}

/* ---------- Hero : la loupe ---------- */
.hero {
  position: relative; height: 100svh; min-height: 34rem;
  background: var(--velvet); color: var(--bone);
}
.js .hero { height: calc(100svh * 2.7); }
@media (prefers-reduced-motion: reduce) { .js .hero { height: 100svh; } }

.hero__stage {
  position: sticky; top: 0; height: 100svh; min-height: 34rem; overflow: hidden;
  background: radial-gradient(110% 90% at 68% 48%, #26141f 0%, var(--velvet) 64%);
}
.hero__piece {
  position: absolute; z-index: 1;
  right: clamp(1rem, 9vw, 9rem); top: 54%;
  height: min(68svh, 46rem); aspect-ratio: var(--ar, 1.25);
  transform: translateY(-50%);
  box-shadow: 0 50px 120px rgba(0, 0, 0, .65);
}
.hero__piece img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.6) saturate(.9);
}
.hero__lens {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  clip-path: circle(var(--r) at var(--cx) var(--cy));
}
.hero__lens img {
  position: absolute; left: var(--cx); top: var(--cy);
  width: var(--lens-w); height: var(--lens-w); max-width: none;
  transform: translate(-50%, -50%);
}
.hero__ring {
  position: absolute; z-index: 3; pointer-events: none;
  left: var(--cx); top: var(--cy);
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(181, 146, 76, .9);
  box-shadow:
    0 0 0 7px rgba(181, 146, 76, .1),
    0 0 0 8px rgba(181, 146, 76, .4),
    inset 0 0 70px rgba(0, 0, 0, .55),
    0 40px 90px rgba(0, 0, 0, .55);
  opacity: var(--ring-o);
}
.hero__copy {
  position: absolute; z-index: 4;
  left: var(--pad); bottom: clamp(2.5rem, 9svh, 6rem);
  max-width: 40rem;
  text-shadow: 0 2px 30px rgba(13, 9, 14, .6);
}
.hero__title {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-style: normal; font-weight: 440;
  font-size: clamp(3.8rem, 9.4vw, 10rem); line-height: .95; letter-spacing: -.025em;
  margin-bottom: 1.6rem;
}
.hero__title span { display: block; }
.hero__sub { max-width: 26rem; margin-bottom: 1.9rem; color: var(--bone); text-wrap: balance; }
.hero__caption {
  position: absolute; z-index: 4; right: var(--pad); bottom: 1.4rem;
  font-size: .9rem; color: var(--bone-soft);
}
.hero__caption a { text-decoration: none; }
.hero__caption a:hover { color: var(--bone); }

.js .hero__title, .js .hero__sub, .js .hero__copy .btn {
  animation: hero-in 1s ease-out 1s both;
}
.js .hero__sub { animation-delay: 1.15s; }
.js .hero__copy .btn { animation-delay: 1.3s; }
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 899px) {
  .hero__piece {
    right: 50%; top: 40%; transform: translate(50%, -50%);
    width: 90vw; height: auto;
  }
  .hero__copy { right: var(--pad); bottom: clamp(2rem, 6svh, 3.5rem); }
  .hero__title { font-size: clamp(3.4rem, 17vw, 5.6rem); margin-bottom: 1rem; }
  .hero__sub { font-size: .98rem; margin-bottom: 1.3rem; }
  .hero__caption { display: none; }
  .hero__ring { box-shadow: 0 0 0 4px rgba(181, 146, 76, .12), 0 0 0 5px rgba(181, 146, 76, .4), inset 0 0 40px rgba(0, 0, 0, .5), 0 24px 60px rgba(0, 0, 0, .5); }
}

/* ---------- L'atelier (présentation) ---------- */
.atelier, .about {
  background: var(--velvet); color: var(--bone);
  padding: clamp(5rem, 12vw, 11rem) var(--pad);
}
.about { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)); }
.atelier__grid {
  display: grid; gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 78rem; margin: 0 auto;
}
.atelier__portrait { margin: 0; }
.atelier__portrait { padding: 12px; max-width: 21rem; }
.atelier__portrait > img {
  width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
  outline: 1px solid rgba(181, 146, 76, .7); outline-offset: 12px;
}
.atelier__text { max-width: 40rem; }
.atelier__text > * + * { margin-top: 1.4rem; }
.atelier__text .display { margin-bottom: 1.8rem; }
.atelier__text p:not(.lead) { color: var(--bone); max-width: 38rem; }
.about__inspiration {
  font-family: var(--font-display); font-style: normal; font-size: 1.35rem; line-height: 1.45;
  color: var(--rouge-light); padding-left: 1.4rem; border-left: 1px solid var(--or);
}
.about__closing { font-family: var(--font-display); font-style: normal; font-size: 1.5rem; }
.atelier__text .lead + p { margin-top: 1.8rem; }

@media (min-width: 900px) {
  .atelier__grid { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); align-items: start; }
  .atelier__portrait { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Le mur ---------- */
.wall {
  background: var(--wall); color: var(--ink);
  padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(5rem, 11vw, 9rem);
}
.wall--page { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)); }
.wall__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.2rem 3rem; max-width: 90rem; margin: 0 auto clamp(2.5rem, 6vw, 5rem);
}
.wall__head p { max-width: 22rem; color: var(--ink-soft); }
.wall__more { max-width: 90rem; margin: clamp(3rem, 6vw, 5rem) auto 0; text-align: center; }

/* Accrochage : chaque tableau garde sa taille réelle relative (--cm = largeur en cm),
   centré sur la ligne de chaque rangée comme sur un mur de galerie. */
.hang {
  --k: 1.1vw;       /* 1 cm à l'écran */
  --min-w: 38vw;
  --col-gap: clamp(1.4rem, 5vw, 4.5rem);
  --row-gap: clamp(3rem, 8vw, 6.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--row-gap) var(--col-gap);
  max-width: 90rem; margin: 0 auto;
}
@media (max-width: 899px) {
  /* petit écran : un tableau par ligne, tous centrés, légende comprise */
  .hang { display: block; }
  .tile { margin: 0 auto var(--row-gap); }
  .tile:last-child { margin-bottom: 0; }
  .tile__cap { align-items: center; text-align: center; }
}
@media (min-width: 900px) { .hang { --k: .5vw; --min-w: 9rem; } }
@media (min-width: 1200px) { .hang { --k: .44vw; } }
.hang__note { max-width: 90rem; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); color: var(--ink-faint); font-size: .95rem; display: none; }
@media (min-width: 900px) { .hang__note { display: block; } }

.tile {
  width: max(calc(var(--cm) * var(--k)), var(--min-w)); max-width: 100%;
  flex: 0 0 auto;
}
.tile a { display: block; text-decoration: none; }
.tile__img { display: block; background: var(--wall); }
.tile__img img {
  width: 100%; height: auto;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.tile a:hover .tile__img img, .tile a:focus-visible .tile__img img { transform: translateY(-.5rem); }
.tile__cap { display: flex; flex-direction: column; gap: .1rem; padding: .55rem .15rem 0; }
.tile__title {
  font-family: var(--font-display); font-style: normal; font-weight: 450;
  font-size: 1.3rem; line-height: 1.15; transition: color .25s;
}
.tile a:hover .tile__title { color: var(--rouge); }
.tile__meta { font-size: .86rem; color: var(--ink-faint); }
.tile__state { color: var(--rouge); margin-left: .5em; }

/* ---------- Chez vous ---------- */
.chez { background: var(--wall); color: var(--ink); padding: 0 0 clamp(5rem, 10vw, 9rem); }
.chez--work { padding-top: clamp(3rem, 6vw, 5rem); }
.chez__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.2rem 3rem; max-width: 90rem; margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  padding: 0 var(--pad);
}
.chez__head p { max-width: 22rem; color: var(--ink-soft); }
.chez__track {
  display: flex; align-items: flex-start; gap: clamp(1rem, 2vw, 2rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding: 0 var(--pad);
  padding: 0 var(--pad) 1.2rem; scrollbar-width: thin; scrollbar-color: var(--ink-faint) transparent;
}
.chez__item { flex: none; scroll-snap-align: start; }
.chez__item img { height: clamp(20rem, 44vw, 31rem); width: auto; max-width: none; }
.chez__item figcaption { margin-top: .7rem; font-size: .92rem; color: var(--ink-soft); }
.chez__item figcaption a { text-decoration: none; font-family: var(--font-display); font-style: normal; font-size: 1.1rem; color: var(--ink); }
.chez__item figcaption a:hover { color: var(--rouge); }
.chez__track--static { max-width: 90rem; margin: 0 auto; }

/* ---------- Agenda (accueil) ---------- */
.agenda { background: var(--velvet); color: var(--bone); padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(4rem, 8vw, 7rem); }
.agenda > * { max-width: 78rem; margin-inline: auto; }
.agenda__list { margin-top: clamp(2rem, 5vw, 3.5rem); margin-bottom: 2.5rem; }
.agenda__list li, .ledger li {
  display: grid; gap: .25rem 2rem; padding: 1.5rem 0;
  border-top: 1px solid rgba(236, 230, 220, .18);
}
.agenda__list li:last-child { border-bottom: 1px solid rgba(236, 230, 220, .18); }
.agenda time {
  font-family: var(--font-display); font-style: normal;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--rouge-light); line-height: 1.2;
}
.agenda__title { font-size: 1.2rem; }
.agenda__place { color: var(--bone-soft); }
@media (min-width: 760px) {
  .agenda__list li { grid-template-columns: 15rem 1fr; align-items: baseline; }
  .agenda__place { grid-column: 2; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--velvet); color: var(--bone);
  padding: clamp(4rem, 8vw, 7rem) var(--pad) 2rem;
  border-top: 1px solid rgba(236, 230, 220, .12);
}
.site-footer__cta {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.6rem 3rem; max-width: 78rem; margin: 0 auto clamp(3rem, 7vw, 5.5rem);
}
.site-footer__ask {
  font-family: var(--font-display); font-style: normal; font-weight: 440;
  font-size: clamp(2.3rem, 6.4vw, 5.4rem); line-height: 1; letter-spacing: -.02em;
}
.site-footer__marks {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem 3rem; max-width: 78rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}
.site-footer__logo { width: min(15rem, 62vw); height: auto; }
.mda { display: block; padding: .8rem 1.1rem; background: #fff; }
.mda img { width: min(17rem, 68vw); height: auto; }
.mda--atelier { width: 100%; margin-top: 2.2rem; padding: .7rem .9rem; }
.mda--atelier img { width: 100%; }
.site-footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem;
  max-width: 78rem; margin: 0 auto; padding-top: 1.4rem;
  border-top: 1px solid rgba(236, 230, 220, .14);
  font-size: .92rem; color: var(--bone-soft);
}
.site-footer__bar nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.site-footer__bar a { text-decoration: none; }

/* petit écran : tout le pied de page est centré (appel à l'action, logos, liens) */
@media (max-width: 859px) {
  .site-footer__cta { flex-direction: column; align-items: center; text-align: center; }
  .site-footer__marks { flex-direction: column; align-items: center; justify-content: center; }
  .site-footer__bar { flex-direction: column; align-items: center; text-align: center; }
  .site-footer__bar nav { justify-content: center; }
}
.site-footer__bar a:hover { color: var(--bone); }

/* ---------- Pages simples ---------- */
.page {
  background: var(--wall); color: var(--ink); min-height: 80svh;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)) var(--pad) clamp(5rem, 10vw, 9rem);
}
.page > * { max-width: 64rem; margin-inline: auto; }
.page__lead { margin: 1.6rem auto 2rem; color: var(--ink-soft); }

.ledger__head {
  font-family: var(--font-display); font-style: normal; font-weight: 440;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1;
  margin-top: clamp(3rem, 7vw, 5.5rem); margin-bottom: 1.2rem;
}
.ledger { margin-bottom: 1rem; }
.ledger li { border-top-color: rgba(23, 17, 26, .18); }
.ledger li:last-child { border-bottom: 1px solid rgba(23, 17, 26, .18); }
.ledger time {
  font-family: var(--font-display); font-style: normal;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.25; color: var(--ink-soft);
}
.ledger--next time { color: var(--rouge); }
.ledger__title { font-size: 1.15rem; }
.ledger__place { color: var(--ink-faint); font-size: .98rem; }
@media (min-width: 760px) {
  .ledger li { grid-template-columns: 15rem 1fr; align-items: baseline; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.contact > * { max-width: none; margin: 0; }
.contact__intro > * + * { margin-top: 1.4rem; }
.contact__intro .display { margin-bottom: 2rem; }
.contact__intro .display--xl { font-size: clamp(3rem, 7.2vw, 6.8rem); }
.contact__ask {
  font-family: var(--font-display); font-style: normal; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2;
}
.contact__intro p:not(.contact__ask) { max-width: 30rem; color: var(--ink-soft); }
.contact__form .display { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.6rem; }
.contact__reply { margin-top: 1.4rem; color: var(--ink-soft); }
.notice {
  margin-bottom: 1.4rem; padding: .9rem 1.1rem; border: 1px solid var(--rouge); color: var(--rouge);
  font-size: .95rem; border-radius: .2rem;
}
.form { display: grid; gap: 1.6rem; max-width: 36rem; }
.form label { display: grid; gap: .2rem; font-size: .95rem; color: var(--ink-soft); }
.form input:not(.hp), .form textarea {
  width: 100%; padding: .7rem 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; font-size: 1.1rem; color: var(--ink);
}
.form textarea { resize: vertical; min-height: 9rem; }
.form input:focus-visible, .form textarea:focus-visible { outline: 0; border-bottom-color: var(--rouge); box-shadow: 0 1px 0 var(--rouge); }
.form .btn { justify-self: start; }
.form__status { min-height: 1.5rem; font-size: .98rem; }
.form__status[data-state='ok'] { color: #2f6b45; }
.form__status[data-state='error'] { color: var(--rouge); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* ---------- Fiche tableau ---------- */
.work {
  background: var(--wall); color: var(--ink);
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) var(--pad) clamp(3.5rem, 7vw, 6rem);
}
.work__title {
  max-width: 90rem; margin: 0 auto clamp(1.6rem, 4vw, 3.2rem);
  font-family: var(--font-display); font-style: normal; font-weight: 440;
  font-size: clamp(2.6rem, 9vw, 8.5rem); line-height: 1; letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.work__layout { display: grid; gap: clamp(2rem, 5vw, 5rem); max-width: 90rem; margin: 0 auto; }
.loupe { position: relative; line-height: 0; }
.loupe img { width: 100%; height: auto; }
.loupe__lens {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: var(--lens, 13rem); height: var(--lens, 13rem); border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  background-color: var(--wall); background-repeat: no-repeat;
  border: 1px solid rgba(181, 146, 76, .95);
  box-shadow: 0 0 0 6px rgba(235, 234, 236, .6), 0 0 0 7px rgba(181, 146, 76, .5), 0 24px 50px rgba(23, 17, 26, .35);
  transition: opacity .18s;
}
.loupe.is-on .loupe__lens { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .loupe { cursor: zoom-in; } }

.facts { margin-bottom: 2rem; }
.facts > div { display: grid; gap: .1rem 1.2rem; padding: .9rem 0; border-top: 1px solid rgba(23, 17, 26, .16); }
.facts > div:last-child { border-bottom: 1px solid rgba(23, 17, 26, .16); }
.facts dt { color: var(--ink-faint); font-size: .92rem; }
.facts dd { max-width: 32rem; }
.price { font-family: var(--font-display); font-style: normal; font-size: 1.9rem; line-height: 1.1; color: var(--rouge); }
.state--sold { color: var(--rouge); font-family: var(--font-display); font-style: normal; font-size: 1.5rem; }
.work__desc { max-width: 34rem; margin-bottom: 1.2rem; }
.work__note { max-width: 34rem; margin-bottom: 1.6rem; color: var(--ink-soft); padding-left: 1rem; border-left: 1px solid var(--or); }
.work__info .btn { margin-top: .6rem; }

@media (min-width: 560px) { .facts > div { grid-template-columns: 9.5rem 1fr; } }
@media (min-width: 960px) {
  .work__layout { grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 1fr); align-items: start; }
  .work__info { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* Détails : macros plein cadre, qui glissent à des vitesses différentes */
.details { background: var(--velvet); padding: clamp(3rem, 8vw, 8rem) var(--pad); overflow: hidden; }
.details__grid { display: grid; gap: clamp(1.2rem, 4vw, 4rem); max-width: 90rem; margin: 0 auto; }
.details__fig { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; will-change: transform; }
.details__fig img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .details__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .details__fig--a { grid-column: 1 / 9; aspect-ratio: 4 / 3; }
  .details__fig--b { grid-column: 6 / 13; aspect-ratio: 1 / 1; }
  .details__fig--c { grid-column: 2 / 10; aspect-ratio: 3 / 2; }
}

.next {
  display: block; padding: clamp(4rem, 10vw, 9rem) var(--pad);
  background: var(--velvet); color: var(--bone); text-decoration: none;
  border-top: 1px solid rgba(236, 230, 220, .12);
}
.next > * { display: block; max-width: 90rem; margin-inline: auto; }
.next__label { margin-bottom: 1rem; color: var(--bone-soft); font-size: .98rem; }
.next__title {
  font-family: var(--font-display); font-style: normal; font-weight: 440;
  font-size: clamp(2.8rem, 9vw, 8rem); line-height: .95; letter-spacing: -.025em; transition: color .3s;
}
.next:hover .next__title { color: var(--rouge-light); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
