/* ==========================================================================
   Maeli — identité du portfolio 2026
   Papier blanc, encre quasi noire, filets noirs épais qui encadrent titres et textes,
   cartels alignés à droite sous les œuvres, une seule couleur d'accent : l'or.
   Titres : GarageGothic (capitales étroites). Texte : New Spirit (voir fonts.css).
   L'en-tête, le bandeau d'exposition et le pied de page sont noirs.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-2: #F6F5F2;
  --bg-3: #ECEAE4;
  --fg: #0D0C0A;       /* l'encre du portfolio */
  --fg-2: #4F4B45;
  --fg-3: #77726A;
  --line: rgba(13, 12, 10, .14);
  --line-strong: rgba(13, 12, 10, .4);
  --rule: 2px;         /* le filet noir du portfolio */
  --gold: #E3B900;     /* l'or de « Sélection d'œuvres » : sur le noir uniquement */
  --dot: #C0392B;      /* point rouge des galeries : œuvre vendue */
  --ink-deep: #0D0C0A; /* en-tête, vidéo, bandeau, pied de page */

  /* alias conservés pour les composants existants */
  --paper: var(--bg);
  --paper-2: var(--bg-2);
  --ink: var(--fg);
  --ink-2: var(--fg-2);
  --accent: var(--fg-2);

  --display: "garage-gothic", "GarageGothic", "Garage Gothic", "Pathway Gothic One", "Arial Narrow", sans-serif;
  --text: "new-spirit", "NewSpirit", "New Spirit", "Fraunces", Georgia, serif;
  --sans: var(--text);
  --serif: var(--display);

  --gutter: clamp(16px, 3.2vw, 44px);
  --nav-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  color-scheme: light;
}
/* Variables d'une surface noire (en-tête, pied de page) */
.on-ink, .footer, .nav {
  --fg: #FFFFFF;
  --fg-2: #B4B0A8;
  --fg-3: #8E8A82;
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .4);
  background: var(--ink-deep); color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 var(--text);
  font-variation-settings: "SOFT" 100, "WONK" 0; /* Fraunces adoucie, sans effet sur New Spirit */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   Typographie
   GarageGothic en capitales pour les titres, en bas de casse pour les sous-titres ;
   New Spirit pour tout le texte. GarageGothic n'a pas d'italique : dans un titre,
   <em> reste droit.
   -------------------------------------------------------------------------- */
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .95; }
h1, h2 { text-transform: uppercase; }
em { font-style: italic; }
:is(h1, h2, h3, .rule-head, .cartel, .label, .eyebrow, .band__title, .wx__vname, .title-sm, .p-card__title, .twin strong, .line-item strong) em { font-style: normal; }

.title-xl { font-size: clamp(72px, 12vw, 200px); line-height: .85; }
.title-lg { font-size: clamp(56px, 7.4vw, 124px); line-height: .88; }
.title-md { font-size: clamp(38px, 4.4vw, 66px); }
.title-sm { font: 400 clamp(28px, 2.6vw, 40px)/1.05 var(--display); letter-spacing: .01em; }
.lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; max-width: 46ch; }
.muted { color: var(--fg-2); }

.eyebrow, .label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 16px/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2);
}
.label span { color: var(--fg); }
.eyebrow--plain::before { display: none; }

.wrap { padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 11vw, 170px); }

/* Titre entre deux filets, centré — « SÉRIE "GLITCH" » du portfolio.
   Un lien éventuel se range à droite, dans les filets. */
.rule-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 20px;
  border-block: var(--rule) solid var(--fg); padding-block: .3em .22em;
  font: 400 clamp(36px, 4.4vw, 64px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; text-align: center;
}
.rule-head > :first-child { grid-column: 2; font: inherit; }
.rule-head__link { grid-column: 3; justify-self: end; }
@media (max-width: 700px) {
  .rule-head { grid-template-columns: 1fr; }
  .rule-head > :first-child, .rule-head__link { grid-column: 1; justify-self: center; }
  .rule-head__link { margin-top: 2px; }
}
.page-top { padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 56px)); }
.page-top .lead { margin: clamp(22px, 2.4vw, 32px) auto 0; text-align: center; }

/* Texte justifié — les blocs de texte du portfolio */
.justify { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* Citation (exergue du portfolio) */
.pull { font: 400 clamp(23px, 2.2vw, 32px)/1.32 var(--text); letter-spacing: -.005em; }

/* --------------------------------------------------------------------------
   Boutons & liens : capitales GarageGothic, angles droits, filet épais
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 2px 26px 0; border-radius: 0;
  border: var(--rule) solid var(--fg);
  font: 400 18px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--fg); }
.btn--block { width: 100%; }
.btn--light { color: #fff; border-color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink-deep); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Lien discret : capitales soulignées, sans fond ni bordure */
.text-link, .link-u, .arrow-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0 5px;
  font: 400 17px/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: opacity .3s, background-size .5s var(--ease);
}
.text-link:hover, .link-u:hover, .arrow-link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.text-link span, .arrow-link span { transition: transform .4s var(--ease); }
.text-link:hover span, .arrow-link:hover span { transform: translateX(3px); }
/* Dans le texte courant, un lien reste en New Spirit */
.prose .link-u, .toast .link-u { font: inherit; letter-spacing: 0; text-transform: none; padding: 0; }

/* Bandeau d'annonce (Contenu → Annonce et pause) : au-dessus de l'en-tête. Les pages se décalent
   d'autant : --nav-h comprend sa hauteur, mesurée par layout.js. */
.notice-bar { position: fixed; inset: 0 0 auto 0; z-index: 101; padding: 8px var(--gutter) 7px; background: var(--gold); color: var(--ink-deep); font-size: 15px; line-height: 1.35; text-align: center; }
.notice-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.has-notice { --nav-h: calc(72px + var(--notice-h, 0px)); }
.has-notice .nav { top: var(--notice-h, 0px); height: 72px; }

/* Aperçu réservé à l'atelier : une œuvre ou une page pas encore en ligne */
.preview-note { padding: 10px 14px; background: var(--gold); color: var(--ink-deep); font-size: 15px; margin-bottom: 20px; }
.preview-note--top { position: relative; z-index: 1; margin: var(--nav-h) 0 calc(var(--nav-h) * -1); }

/* --------------------------------------------------------------------------
   Navigation (noire) : le logo blanc, liens en capitales
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter); color: var(--fg);
  transition: transform .9s var(--ease), opacity .9s var(--ease), background-color .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-hidden { transform: translateY(-105%); }
.nav__logo { justify-self: start; }
.nav__logo img { display: block; width: auto; height: 46px; }
.nav__links { display: flex; white-space: nowrap; gap: clamp(20px, 2.4vw, 40px); font: 400 18px/1 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.nav__links a { position: relative; padding: 9px 0 7px; opacity: .78; transition: opacity .3s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav__lang { font: 400 17px/1 var(--display); letter-spacing: .09em; padding: 10px 8px 8px; opacity: .78; }
.nav__lang:hover { opacity: 1; }
.nav__shop {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 2px 8px 0; margin-left: 6px;
  font: 400 18px/1 var(--display); letter-spacing: .09em; text-transform: uppercase; transition: opacity .3s;
}
.nav__shop:hover { opacity: .75; }
.nav__shop[aria-current="page"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px; background: var(--gold); }
.nav__cart {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 2px 12px 0;
  border: 1.5px solid var(--line-strong); font: 400 17px/1 var(--display); letter-spacing: .09em; text-transform: uppercase;
}
.nav__cart-count { min-width: 20px; height: 20px; padding: 0 5px; margin-top: -2px; display: grid; place-items: center; background: var(--gold); }
.nav__cart-count b { color: var(--ink-deep); font: 400 14px/1 var(--display); letter-spacing: 0; }
.nav__cart.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.1); } }
.nav__burger { display: none; width: 40px; height: 38px; }
.nav__burger i { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; }

/* Menu plein écran (mobile) : la page de garde du portfolio, titres entre filets */
.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu > a { padding: 10px 0 4px; border-bottom: var(--rule) solid var(--fg); font: 400 clamp(46px, 13vw, 80px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.menu > a:first-child { border-top: var(--rule) solid var(--fg); }
.menu small { margin-top: 26px; color: var(--fg-2); font: 400 17px/1.6 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.menu small a { font: inherit; }

@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cart-label { display: none; }
  .nav__actions { gap: 6px; }
  .nav__cart { padding: 2px 10px 0; }
}
/* Un menu trop long pour la largeur de l'écran (layout.js) */
.nav--burger { grid-template-columns: 1fr auto; }
.nav--burger .nav__links { display: none; }
.nav--burger .nav__burger { display: block; }

/* --------------------------------------------------------------------------
   Révélations (fondus discrets)
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(14px); }
.no-motion [data-reveal], [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* --------------------------------------------------------------------------
   Accueil — la vidéo plein écran, la mention du prix en bas.
   Après 3 s sans mouvement, les textes s'effacent.
   -------------------------------------------------------------------------- */
/* Alignements et tailles réglés dans l'atelier (Personnaliser) : des variables écrites dans
   <style id="theme"> (assets/js/theme.js). La valeur de repli de chaque var() est le réglage de départ. */
/* Sections de l'accueil : sans la vidéo en tête, la première passe sous l'en-tête fixe ;
   la flèche de la vidéo mène à la suivante, s'il y en a une */
[data-sections] > :first-child:not([data-section="hero"]) { padding-top: var(--nav-h); }
[data-section="hero"]:not(:has(~ :not([hidden]))) .hero__down { display: none; }

.hero {
  position: relative; height: 100svh; min-height: 600px; color: #fff; overflow: hidden; background: var(--ink-deep);
}
.hero__media { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 62%, rgba(0,0,0,.42) 100%);
  transition: opacity 1.4s var(--ease);
}
.hero__over { position: absolute; inset: 0; transition: opacity .9s var(--ease) .08s; }
.hero__award {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 3.2vh, 34px); padding-inline: max(var(--gutter), 56px);
  font: 400 clamp(17px, 1.5vw, 23px)/1.18 var(--display); letter-spacing: .07em; text-transform: uppercase;
  text-align: var(--align-award, center);
}
.hero__sub { display: block; }
.hero__down { position: absolute; right: clamp(14px, 1.6vw, 24px); bottom: clamp(14px, 2.6vh, 28px); padding: 6px; font: 400 28px/1 var(--display); transition: transform .4s var(--ease); }
.hero__down:hover { transform: translateY(3px); }
/* Immobile 3 s sur la vidéo : il ne reste que l'image */
.hero-idle .hero { cursor: none; }
.hero-idle .hero__veil { opacity: 0; }
.hero-idle .hero__over { opacity: 0; pointer-events: none; }
.hero-idle:not(.menu-open):not(.drawer-open) .nav.is-light { opacity: 0; transform: translateY(-14px); pointer-events: none; }
@media (max-width: 800px) {
  .hero__award { font-size: 15px; padding-inline: 44px; }
  .hero__down { right: 8px; bottom: 10px; font-size: 24px; }
}

/* --------------------------------------------------------------------------
   Accueil — les séries côte à côte (ouverture au défilement et au clic)
   -------------------------------------------------------------------------- */
.wx-sec { position: relative; height: 220svh; }
.wx-head { max-width: 1760px; margin: 0 auto; padding: clamp(72px, 8vw, 112px) var(--gutter) 0; box-sizing: border-box; }
/* Les panneaux s'épinglent juste sous l'en-tête et occupent toute la hauteur restante */
.wx-sticky {
  position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); min-height: 560px;
  display: flex; flex-direction: column;
  max-width: 1760px; margin: 0 auto; box-sizing: border-box;
  padding: 14px var(--gutter) var(--gutter);
  /* hauteur utile du tableau : celle du panneau moins ses marges */
  --art-h: calc(100svh - var(--nav-h) - var(--gutter) - 74px);
}
.wx { flex: 1; display: flex; gap: 10px; min-height: 0; container-type: inline-size; }
/* Panneau déplié : un mur de galerie clair, à peine teinté par la série */
.wx__panel {
  --wall: #F4F4F2; --tintA: rgba(20,20,20,.85);
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  background: radial-gradient(90% 70% at 35% 0%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%), var(--wall);
  color: #fff;
  transition: flex-grow 1.1s var(--ease-in-out);
}
.wx__panel.is-open { flex-grow: 6; }
.wx__panel:not(.is-open):hover { flex-grow: 1.3; }
.wx__closed { position: absolute; inset: 0; transition: opacity .6s ease .4s; }
.wx__panel.is-open .wx__closed { opacity: 0; transition-delay: 0s; }
.wx__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.wx__panel:hover .wx__photo { transform: scale(1.08); }
.wx__closed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, var(--tintA) 100%); }
.wx__vname { position: absolute; z-index: 1; left: 20px; bottom: 24px; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font: 400 38px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.wx__open {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc((100cqw - (var(--n) - 1) * 10px) * 6 / (var(--n) + 5)); /* largeur du panneau ouvert */
  display: flex; align-items: center; padding: 28px 36px 28px 28px; box-sizing: border-box; color: var(--fg);
  opacity: 0; transform: translateX(-24px); pointer-events: none;
  transition: opacity .5s ease, transform 1s var(--ease);
}
.wx__panel.is-open .wx__open { opacity: 1; transform: none; pointer-events: auto; transition: opacity .8s ease .45s, transform 1s var(--ease) .45s; }
.wx__row { width: 100%; min-width: 0; display: flex; align-items: flex-start; gap: 40px; }
.wx__art { position: relative; flex: 0 1 auto; min-width: 0; display: block; line-height: 0; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 30px 60px -28px rgba(0,0,0,.4); }
.wx__art img { display: block; height: auto; width: auto; max-height: var(--art-h); max-width: 100%; }
.wx__info { flex: 1 0 300px; display: flex; flex-direction: column; gap: 18px; text-align: var(--align-series, left); hyphens: var(--hyphens-series, manual); -webkit-hyphens: var(--hyphens-series, manual); }
/* Le nom de la série et son texte, alignés sur le haut du tableau */
.wx__title { font: 400 calc(clamp(38px, 3.4vw, 58px) * var(--size-panelTitle, 1))/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; hyphens: manual; -webkit-hyphens: manual; }
.wx__tag { font: 400 19px/1.45 var(--text); }
.wx__enter { align-self: var(--place-series, start); margin-top: 4px; white-space: nowrap; }
.wx__hit { position: absolute; inset: 0; z-index: 2; padding: 0; background: transparent; border: 0; cursor: pointer; }
.wx__panel.is-open .wx__hit { pointer-events: none; }

@media (max-width: 800px) {
  .wx-sec { height: auto; }
  .wx-head { padding-top: 64px; }
  .wx-sticky { position: relative; top: 0; height: auto; min-height: 0; padding-top: 20px; padding-bottom: 20px; }
  .wx { flex-direction: column; }
  .wx__panel { flex: none; }
  .wx__panel:not(.is-open) { height: 112px; }
  .wx__vname { writing-mode: horizontal-tb; transform: none; left: 20px; bottom: auto; top: 50%; translate: 0 -46%; font-size: 34px; }
  .wx__open { position: relative; width: auto; padding: 12px 12px 28px; display: none; transform: none; }
  .wx__row { flex-direction: column; align-items: stretch; gap: 22px; }
  .wx__enter { white-space: normal; }
  .wx__panel.is-open .wx__open { display: flex; animation: fade-in .7s var(--ease) both; }
  .wx__art { max-width: 100%; align-self: center; }
  .wx__art img { max-height: 74svh; }
  .wx__info { flex: none; padding: 0 8px; }
}

/* Tablette : texte plus étroit pour laisser la place au tableau */
@media (min-width: 801px) and (max-width: 1100px) {
  .wx__open { padding: 20px 24px 20px 20px; }
  .wx__row { gap: 24px; }
  .wx__info { flex: 1 0 170px; gap: 14px; }
  .wx__enter { white-space: normal; }
  .wx__title { font-size: calc(34px * var(--size-panelTitle, 1)); }
  .wx__tag { font-size: 17px; }
  .wx__vname { font-size: 30px; left: 16px; }
}
/* Tablette en portrait : tableau au-dessus, texte dessous */
@media (min-width: 801px) and (max-width: 1100px) and (max-aspect-ratio: 1/1) {
  .wx__open { padding: 20px; }
  .wx__row { flex-direction: column; align-items: stretch; }
  .wx__art { max-width: 100%; align-self: flex-start; }
  .wx__art img { max-height: calc(var(--art-h) - 210px); }
  .wx__info { flex: none; }
}

/* --------------------------------------------------------------------------
   Accueil — une citation en grand et une photo portrait à gauche,
   une photo paysage et un extrait de la note d'intention à droite
   -------------------------------------------------------------------------- */
.story {
  max-width: 1280px; margin: 0 auto; box-sizing: border-box;
  padding-block: clamp(80px, 9vw, 130px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 72px);
  grid-template-areas: "quote landscape" "portrait text";
}
.story figure { margin: 0; }
.story img { width: 100%; height: auto; }
.story__quote { grid-area: quote; font: 400 calc(clamp(44px, 5.6vw, 88px) * var(--size-quote, 1))/1.08 var(--text); letter-spacing: -.015em; text-align: var(--align-quote, left); } /* jamais de mot coupé en si grand */
.story__landscape { grid-area: landscape; align-self: end; }
.story__portrait { grid-area: portrait; justify-self: end; width: min(100%, 460px); }
.story__text { grid-area: text; display: grid; gap: 18px; justify-items: start; align-content: start; text-align: var(--align-intro, left); hyphens: var(--hyphens-intro, manual); -webkit-hyphens: var(--hyphens-intro, manual); }
.story__text p { justify-self: stretch; font-size: 18px; line-height: 1.6; }
.story__text p:first-child { font-size: calc(clamp(22px, 1.9vw, 28px) * var(--size-intro, 1)); line-height: 1.35; }
.story__text .btn { margin-top: 12px; justify-self: var(--place-intro, start); }
@media (max-width: 800px) {
  .story { padding-top: 36px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "quote" "portrait" "landscape" "text"; }
  .story__portrait { width: 100%; }
}

/* Bandeau noir (prochaine exposition), sur les mêmes colonnes que le pied de page */
.band { display: block; background: var(--ink-deep); color: #fff; }
.band__in { padding: 46px var(--gutter) 42px; box-sizing: border-box; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; align-items: center; gap: 16px 40px; }
.band__label { font: 400 17px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.band__title { grid-column: 2 / 4; font: 400 calc(clamp(52px, 6vw, 96px) * var(--size-band, 1))/.9 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.band__more { display: grid; gap: 10px; justify-items: start; }
.band__info { font-size: 16px; line-height: 1.35; color: #B4B0A8; text-wrap: balance; }
.band__go { font: 400 18px/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; transition: transform .4s var(--ease); }
.band:hover .band__go { transform: translateX(4px); }
@media (max-width: 900px) {
  .band__in { grid-template-columns: minmax(0, 1fr); }
  .band__title { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   Tableaux & cartels
   Cartel du portfolio : « Titre », technique, format, année — en GarageGothic,
   aligné à droite sous l'œuvre.
   -------------------------------------------------------------------------- */
.frame { position: relative; display: inline-block; line-height: 0; padding: 0; border: 0; background: none; }
.frame img { width: auto; height: auto; max-width: 100%; }
button.frame { cursor: zoom-in; }
.cartel { display: grid; gap: 2px; justify-items: end; text-align: right; font: 400 16px/1.3 var(--display); letter-spacing: .02em; color: var(--fg); }
.cartel p { margin: 0; }
.cartel__title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cartel__note { color: var(--fg-2); }
.cartel__sold { display: inline-flex; align-items: center; gap: 7px; color: var(--fg-2); }
.cartel__sold::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }

/* Un tableau accroché : ombre légère, jamais recadré ni zoomé */
.art-frame { display: block; padding: 0; border: 0; background: none; line-height: 0; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.07), 0 26px 50px -30px rgba(0,0,0,.38); transition: opacity .4s var(--ease); }
.art-frame:hover { opacity: .9; }
.art-frame img { display: block; width: auto; height: auto; max-width: 100%; }
button.art-frame { cursor: zoom-in; }

/* Bloc exposition (page Expositions) */
.expo { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--rule) solid var(--fg); margin-inline: var(--gutter); }
.expo__body { display: grid; align-content: start; gap: 28px; padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 64px) clamp(32px, 4vw, 64px) 0; border-right: 1px solid var(--line); text-align: var(--align-expoFeatured, left); }
.expo__body .eyebrow { justify-content: var(--place-expoFeatured, start); }
.expo__body h2 { font-size: calc(clamp(60px, 8vw, 140px) * var(--size-expoTitle, 1)); line-height: .85; }
.expo__dates { margin-top: 18px; font-size: 18px; }
.expo__text { margin-top: 16px; font-size: 17px; max-width: 56ch; }
.expo__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: var(--place-expoFeatured, start); gap: 20px; }
.expo__wall { display: grid; place-items: start center; align-content: start; gap: 12px; padding: clamp(32px, 4vw, 64px) 0 clamp(32px, 4vw, 64px) clamp(24px, 4vw, 64px); }
.expo__wall figure { margin: 0; display: grid; gap: 10px; }
.expo__wall .frame img { max-height: 66svh; }
@media (max-width: 800px) { .expo { grid-template-columns: 1fr; } .expo__body { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; } .expo__wall { padding-left: 0; } }

/* Prix : l'œuvre lauréate, l'exergue, les photos de Milan */
.prize { padding-block: clamp(72px, 9vw, 130px); }
.prize__work { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: clamp(32px, 5vw, 80px); margin-top: clamp(36px, 4vw, 64px); }
.prize__work figure { margin: 0; flex: 0 1 640px; display: grid; gap: 10px; }
.prize__text { flex: 1 1 360px; max-width: 560px; display: grid; gap: 20px; text-align: var(--align-expoPrize, left); hyphens: var(--hyphens-expoPrize, manual); -webkit-hyphens: var(--hyphens-expoPrize, manual); }
.prize__text .pull { font-size: calc(clamp(23px, 2.2vw, 32px) * var(--size-expoQuote, 1)); }
.prize__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); margin-top: clamp(48px, 6vw, 88px); }
.prize__photos img { width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; }
@media (max-width: 700px) { .prize__photos { grid-template-columns: 1fr 1fr; } .prize__photos img:first-child { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Page Expositions : parcours
   -------------------------------------------------------------------------- */
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.cv__title { font: 400 22px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
@media (max-width: 800px) { .cv { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Page d'une série — le titre centré, la première œuvre le plus grand possible dans
   l'écran, puis l'accrochage, ponctué par les textes de la série entre leurs filets
   -------------------------------------------------------------------------- */
/* --lead : la largeur de la première œuvre, entière à l'écran. Titre, filets et textes la reprennent */
.u-page { --lead: min(100%, max(480px, calc((100svh - var(--nav-h) - 170px) * var(--r, 1)))); max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; box-sizing: border-box; padding-top: calc(var(--nav-h) + clamp(14px, 2.4vh, 28px)); }
.u-lead { width: var(--lead); margin-inline: auto; display: grid; gap: 14px; }
.u-title { text-align: var(--align-seriesTitle, center); font-size: calc(clamp(38px, 4vw, 60px) * var(--size-seriesTitle, 1)); line-height: 1; padding-bottom: .16em; border-bottom: var(--rule) solid var(--fg); }
.u-cover { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.u-cover .art-frame img { width: 100%; }

/* Accrochage : dans une rangée, les œuvres ont la même hauteur et remplissent la largeur */
.u-hang { --gap: clamp(56px, 6vw, 88px); --near: clamp(22px, 2.4vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); margin-top: var(--gap); padding-bottom: var(--gap); }
.hang-row {
  --g: clamp(20px, 3vw, 40px);
  width: min(100%, calc((100svh - var(--nav-h) - 72px) * var(--r) + var(--g) * (var(--n) - 1))); margin-inline: auto;
  display: flex; justify-content: center; gap: var(--g);
}
.hang { margin: 0; flex: var(--w) 1 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; }
.hang .art-frame img { width: 100%; }

/* Textes de la série entre deux filets, justifiés, tout près des œuvres ; exergue en grand */
.u-text { width: var(--lead); margin: calc(var(--near) - var(--gap)) auto; display: grid; gap: 14px; border-block: var(--rule) solid var(--fg); padding: 20px 0 22px; text-align: var(--align-seriesText, justify); hyphens: var(--hyphens-seriesText, auto); -webkit-hyphens: var(--hyphens-seriesText, auto); font-size: 18px; line-height: 1.62; }
.u-quote { width: var(--lead); margin: calc(var(--near) - var(--gap)) auto; border-block: var(--rule) solid var(--fg); padding: 22px 0 24px; text-align: var(--align-seriesQuote, left); font-size: calc(clamp(23px, 2.2vw, 32px) * var(--size-seriesQuote, 1)); }
/* L'exergue juste après un texte : le filet du texte suffit */
.u-text + .u-quote { margin-top: 0; border-top: 0; padding-top: 0; }

.u-commission { padding-bottom: clamp(64px, 8vw, 110px); }
/* Le bouton, sous la dernière étape */
.u-commission__form { display: grid; gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(24px, 3vw, 40px); border-top: var(--rule) solid var(--fg); scroll-margin-top: calc(var(--nav-h) + 20px); }
.u-commission__jump { display: flex; justify-content: center; margin-top: clamp(20px, 2.4vw, 32px); }
.u-commission__hint { margin-top: 12px; max-width: 34ch; color: var(--fg-2); }
@media (min-width: 900px) { .u-commission__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }

@media (max-width: 800px) {
  .u-page { --lead: 100%; }
  .u-hang { --gap: 48px; }
  .hang-row { width: 100%; flex-direction: column; gap: 48px; }
  .hang { flex: none; width: 100%; }
  .u-text { font-size: 17px; }
}

/* Commandes : étapes ; appel du Shop */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 64px); border-top: var(--rule) solid var(--fg); }
.steps li { list-style: none; padding: 24px 22px 0 0; border-right: 1px solid var(--line); margin-right: 22px; }
.steps li:last-child { border-right: 0; }
.steps b { display: block; font: 400 20px/1 var(--display); letter-spacing: .1em; color: var(--fg-2); margin-bottom: 16px; }
.steps h3 { font-size: 32px; margin-bottom: 10px; }
.steps p { font-size: 16px; }
.steps-wrap { padding: 0; margin: clamp(24px, 3vw, 40px) 0 0; }
.commandes__cta {
  margin-top: clamp(48px, 6vw, 90px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 3vw, 40px) 0; border-block: var(--rule) solid var(--fg);
}
.commandes__cta .title-sm { flex: 1 1 min(100%, 560px); text-transform: uppercase; text-wrap: balance; text-align: var(--align-shopCta, left); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; } .steps li:nth-child(2) { border-right: 0; } }

/* --------------------------------------------------------------------------
   Page À propos — note d'intention aux titres alternés, biographie centrée
   (page « Biographie artistique » du portfolio), contact signé
   -------------------------------------------------------------------------- */
.statement { padding-bottom: clamp(72px, 9vw, 130px); }
.statement__body { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); align-items: flex-start; }
.statement__photo { flex: 0 1 460px; min-width: 0; margin: 0; position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 10px; }
.statement__photo img { width: 100%; height: min(640px, 76svh); object-fit: cover; }
.cap { font: 400 16px/1.3 var(--display); letter-spacing: .02em; text-align: right; }
.statement__parts { flex: 1 1 480px; display: grid; gap: clamp(40px, 4vw, 60px); max-width: 760px; }
.statement__part { display: grid; gap: 12px; }
.statement__part h3 { font-size: calc(clamp(36px, 3.4vw, 52px) * var(--size-aboutTitles, 1)); }
.statement__part.is-right h3 { text-align: right; }
.statement__part p { text-align: var(--align-aboutText, justify); hyphens: var(--hyphens-aboutText, auto); -webkit-hyphens: var(--hyphens-aboutText, auto); font-size: 18px; line-height: 1.62; }
/* Dès que la photo passe au-dessus du texte, elle ne doit plus le suivre */
@media (max-width: 1140px) { .statement__photo { position: relative; top: 0; } }

.bio { display: grid; justify-items: center; gap: clamp(28px, 3vw, 44px); padding-bottom: clamp(72px, 9vw, 130px); text-align: center; }
.bio .rule-head { justify-self: stretch; }
.bio__photo { margin: 0; width: min(100%, 480px); }
.bio__photo img { width: 100%; height: auto; }
.bio__text { max-width: 60ch; font-size: 18px; line-height: 1.6; text-align: var(--align-aboutBio, center); hyphens: var(--hyphens-aboutBio, manual); -webkit-hyphens: var(--hyphens-aboutBio, manual); }

/* Page Contact */
.contact { display: grid; justify-items: center; gap: clamp(22px, 2.6vw, 34px); padding-block: clamp(40px, 5vw, 72px) clamp(80px, 10vw, 140px); text-align: center; }
.contact .lead { max-width: 52ch; text-align: var(--align-contactLead, center); font-size: calc(clamp(18px, 1.4vw, 21px) * var(--size-contactLead, 1)); }
.contact__form { width: min(620px, 100%); text-align: left; }
.contact__or { color: var(--fg-3); font-size: 15px; margin-bottom: -14px; }
.contact__mail { font: 400 calc(clamp(36px, 5vw, 76px) * var(--size-contactMail, 1))/1 var(--display); letter-spacing: .01em; overflow-wrap: anywhere; }
.contact__mail:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.contact__socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.contact .signature { margin-top: clamp(16px, 2.4vw, 32px); }

/* Contact : la signature, comme au dos du portfolio */
.signoff { display: grid; justify-items: center; gap: 12px; padding-block: clamp(56px, 7vw, 100px) clamp(80px, 10vw, 140px); text-align: center; border-top: var(--rule) solid var(--fg); margin-inline: var(--gutter); }
.signature { display: block; width: 210px; aspect-ratio: 614 / 220; background: currentColor; -webkit-mask: var(--signature, url("../img/site/logo-ink.png")) center / contain no-repeat; mask: var(--signature, url("../img/site/logo-ink.png")) center / contain no-repeat; }
.signoff a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Ancien bloc parcours (conservé pour la page Expositions) */
.timeline { display: grid; border-top: var(--rule) solid var(--fg); scroll-margin-top: calc(var(--nav-h) + 20px); }
.timeline__label { font: 400 18px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 22px 0 6px; color: var(--fg-2); }
.timeline__row { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: baseline; padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.timeline__row time { font: 400 20px/1 var(--display); letter-spacing: .06em; }
.timeline__row strong { font: 400 26px/1.05 var(--display); letter-spacing: .01em; }
.timeline__row small { display: block; font-size: 16px; color: var(--fg-2); margin-top: 4px; }
.timeline__row strong a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.timeline__text { margin-top: 8px; font-size: 16px; }
.timeline__photo { margin-top: 12px; width: min(100%, 320px); height: auto; }
.timeline__row .tag { font: 400 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px 5px; border: 1.5px solid var(--fg); }
@media (max-width: 900px) {
  .timeline__row { grid-template-columns: 1fr; gap: 4px; }
  .timeline__row .tag { justify-self: start; }
}

/* --------------------------------------------------------------------------
   Shop — grille produits
   -------------------------------------------------------------------------- */
.shop-hero { padding: calc(var(--nav-h) + clamp(32px, 5vw, 80px)) var(--gutter) clamp(28px, 3vw, 48px); }
.shop-hero__row { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 28px; }
.shop-hero h1 { font-size: calc(clamp(72px, 12vw, 200px) * var(--size-shopTitle, 1)); }
/* La phrase part du mot SHOP et tient sur une ligne, dès que l'écran le permet */
@media (min-width: 1000px) {
  .shop-hero__row { flex-wrap: nowrap; align-items: last baseline; }
  .shop-hero__row .lead { max-width: none; white-space: nowrap; font-size: clamp(14px, 1.3vw, 21px); }
}
.filters {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 14px var(--gutter); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px);
  border-block: var(--rule) solid var(--fg); transition: top .6s var(--ease);
}
.nav:not(.is-hidden) ~ main .filters { top: var(--nav-h); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { height: 36px; padding: 2px 14px 0; border: 1.5px solid var(--line); font: 400 17px/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); transition: color .3s, background-color .3s, border-color .3s; }
.tab:hover { color: var(--fg); border-color: var(--fg); }
.tab[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tab sup { font-size: 12px; opacity: .6; margin-left: 3px; }
.select {
  height: 36px; padding: 2px 34px 0 14px; border: 1.5px solid var(--line); border-radius: 0; background: transparent; appearance: none;
  font: 400 17px/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--fg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%230D0C0A' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select option { background: var(--bg-2); color: var(--fg); text-transform: none; }
.shop-grid { padding: clamp(28px, 3vw, 48px) var(--gutter) clamp(80px, 10vw, 140px); }
.shop-empty { padding: 80px 0; text-align: center; font-size: 20px; color: var(--fg-2); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(36px, 3.4vw, 56px) clamp(14px, 1.6vw, 24px); }
.products.is-fading > * { animation: fade-in .7s var(--ease) both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } }
/* align-content : un titre sur deux lignes ne doit pas décaler le filet des autres cartes de la rangée */
.p-card { display: grid; align-content: start; gap: 12px; }
.p-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.p-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.p-card__media img + img { opacity: 0; }
.p-card:hover .p-card__media img + img { opacity: 1; }
.p-card:hover .p-card__media img { transform: scale(1.03); }
.p-card__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; z-index: 1; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 2px 10px 0; font: 400 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--fg); }
.p-card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; transform: translateY(calc(100% + 16px)); transition: transform .5s var(--ease); }
.p-card:hover .p-card__quick, .p-card:focus-within .p-card__quick { transform: none; }
.p-card__quick .btn { width: 100%; min-height: 44px; background: var(--fg); color: var(--bg); }
.p-card__info { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline; padding-top: 10px; border-top: var(--rule) solid var(--fg); }
.p-card__title { font: 400 23px/1.05 var(--display); letter-spacing: .01em; }
.p-card__meta { grid-column: 1 / -1; font-size: 14px; color: var(--fg-2); }
.p-card__price { font: 400 20px/1 var(--display); letter-spacing: .03em; white-space: nowrap; }
.p-card.is-sold .p-card__media img { opacity: .55; }
@media (hover: none) { .p-card__quick { display: none; } }
@media (max-width: 700px) {
  .filters { position: relative; top: 0 !important; display: grid; gap: 10px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tab { flex: 0 0 auto; }
  .select { justify-self: start; }
  .products { grid-template-columns: 1fr 1fr; gap: 32px 12px; }
  .p-card__info { grid-template-columns: 1fr; }
  .p-card__title { font-size: 20px; }
  .p-card__meta { display: none; }
}

/* --------------------------------------------------------------------------
   Fiche œuvre
   -------------------------------------------------------------------------- */
.product { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 88px); padding: calc(var(--nav-h) + 28px) var(--gutter) clamp(64px, 8vw, 120px); align-items: start; }
.gallery { display: grid; gap: 12px; }
.gallery__main { position: relative; overflow: hidden; background: var(--bg-2); cursor: zoom-in; display: grid; place-items: center; }
.gallery__main img { width: auto; height: auto; max-width: 100%; max-height: 84svh; transition: opacity .4s; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button { flex: 0 0 auto; width: 70px; aspect-ratio: 4/5; overflow: hidden; opacity: .45; transition: opacity .3s; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--fg); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 22px; }
.crumbs { display: flex; gap: 8px; font: 400 16px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); flex-wrap: wrap; }
.crumbs a:hover { color: var(--fg); }
.buy h1 { font-size: calc(clamp(48px, 5vw, 86px) * var(--size-workTitle, 1)); line-height: .9; border-block: var(--rule) solid var(--fg); padding: .14em 0 .08em; }
.buy__closed { padding: 10px 12px; background: var(--bg-2); border-left: var(--rule) solid var(--fg); font-size: 15px; }
.buy__kind { margin-top: 12px; font-size: 16px; color: var(--fg-2); }
.buy__award { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: 400 17px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.buy__award::before { content: ""; width: 10px; height: 10px; background: var(--gold); }
.buy__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.buy__price strong { font: 400 46px/1 var(--display); letter-spacing: .02em; }
.buy__note { font-size: 15px; color: var(--fg-2); }
/* Le paiement en 3 fois, mis en avant : le jaune du site, sur le noir où il se lit */
.klarna-msg { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ink-deep); }
.klarna-msg span { padding-top: 2px; font: 400 22px/1.1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.klarna-msg b.k { flex: none; display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 5px; background: #ffb3c7; color: #17120f; font: 600 11.5px/1 system-ui, sans-serif; }
.opts { display: grid; gap: 12px; }
.opts__label { display: flex; justify-content: space-between; font: 400 17px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.opts__label span { color: var(--fg-2); }
.opts__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.opt { position: relative; display: grid; gap: 4px; text-align: left; padding: 12px 14px 12px 42px; border: 1.5px solid var(--line); font-size: 15px; line-height: 1.25; transition: border-color .3s, background-color .3s; }
.opt:hover { border-color: var(--line-strong); }
.opt small { color: var(--fg-2); font: 400 16px/1 var(--display); letter-spacing: .03em; }
.opt[aria-checked="true"] { border-color: var(--fg); background: var(--bg-2); }
.opt[disabled] { opacity: .35; text-decoration: line-through; pointer-events: none; }
.opt__sw { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border: 1px solid rgba(0,0,0,.25); background: var(--sw, transparent); }
.opt__sw--none { background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(0,0,0,.3) 4px 5px); }
.opt__sw--size { background: none; border: 1.5px solid currentColor; width: calc(10px + var(--s, 0) * 3px); height: calc(13px + var(--s, 0) * 4px); }
.buy__cta { display: grid; gap: 10px; }
.reassure { display: grid; gap: 8px; padding: 0; margin: 0; font-size: 15px; color: var(--fg-2); }
.reassure li { list-style: none; display: flex; gap: 10px; }
.reassure li::before { content: "—"; color: var(--fg-3); }
.acc { border-top: var(--rule) solid var(--fg); }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:last-child { border-bottom: var(--rule) solid var(--fg); }
.buy .acc details:last-child { border-bottom: 0; } /* la fiche œuvre s'enchaîne sur le long filet qui suit */
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0 14px; font: 400 20px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 26px/1 var(--display); transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 0 22px; font-size: 16px; display: grid; gap: 12px; }
.acc .acc__body p { text-align: var(--align-workText, justify); hyphens: var(--hyphens-workText, auto); -webkit-hyphens: var(--hyphens-workText, auto); }
.acc dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 0; font-size: 15px; }
.acc dt { font: 400 16px/1.5 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.acc dd { margin: 0; color: var(--fg); }
.related { padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.related__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; padding-block: 12px 8px; border-block: var(--rule) solid var(--fg); }
.product:has(+ .twin) { padding-bottom: clamp(24px, 3vw, 40px); }
.twin { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: center; margin: 0 var(--gutter) clamp(56px, 6vw, 90px); padding: 18px 0; border-block: var(--rule) solid var(--fg); }
.twin:has(+ .related) { border-bottom: 0; padding-bottom: 0; } /* « Dans la même série » apporte son filet */
.twin .eyebrow { padding: 5px 9px 3px; background: var(--ink-deep); color: var(--gold); }
.twin img { width: 140px; aspect-ratio: 4/3; object-fit: cover; }
.twin strong { font: 400 30px/1 var(--display); display: block; margin: 6px 0; }
.twin .muted { font-size: 15px; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .buy { position: static; }
  .twin { grid-template-columns: 90px 1fr; }
  .twin img { width: 90px; }
  .twin .btn { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Lightbox, panier, modale, toast
   -------------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 260; background: rgba(255,255,255,.98); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 94vw; max-height: 92svh; object-fit: contain; }

.drawer-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 151; width: min(460px, 100vw);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; background: var(--bg); color: var(--fg); border-left: var(--rule) solid var(--fg);
  transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.drawer-open .drawer { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 16px; border-bottom: var(--rule) solid var(--fg); }
.drawer__head h2 { font-size: 40px; }
.drawer__close { width: 38px; height: 38px; font-size: 18px; }
.drawer__body { overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer__empty { display: grid; gap: 18px; justify-items: start; padding: 40px 0; }
.drawer__empty p { font-size: 20px; color: var(--fg-2); }
.line-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 80px; height: 100px; object-fit: cover; }
.line-item strong { display: block; font: 400 22px/1.05 var(--display); letter-spacing: .01em; }
.line-item small { display: block; font-size: 14px; color: var(--fg-2); margin-top: 4px; }
.line-item__right { display: grid; justify-items: end; align-content: space-between; gap: 8px; font: 400 18px/1 var(--display); letter-spacing: .03em; }
.qty { display: inline-flex; align-items: center; height: 30px; margin-top: 10px; border: 1.5px solid var(--line-strong); }
.qty button { width: 30px; height: 28px; }
.qty span { min-width: 18px; text-align: center; font-size: 14px; }
.remove { font-size: 14px; color: var(--fg-2); text-decoration: underline; }
.drawer__foot { padding: 20px 24px 24px; border-top: var(--rule) solid var(--fg); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; font: 400 20px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.drawer__row strong { font: 400 34px/1 var(--display); letter-spacing: .02em; }
.drawer__note { font-size: 14px; color: var(--fg-2); }
/* Pays de livraison : choisi dans le panier, frais de port calculés aussitôt */
.drawer__ship { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.drawer__ship .select { min-width: 0; max-width: 62%; }
.drawer__customs { padding: 10px 12px; background: var(--bg-2); border-left: var(--rule) solid var(--fg); color: var(--fg); }
/* Conditions générales : à cocher avant de payer, dès qu'elles sont en ligne */
.drawer__terms { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--fg-2); cursor: pointer; }
.drawer__terms input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--fg); }
.drawer__terms .link-u { font: inherit; letter-spacing: 0; text-transform: none; padding: 0; }

.modal { position: fixed; inset: 0; z-index: 270; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .4s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__card { position: relative; width: min(560px, 100%); max-height: 90svh; overflow: auto; background: var(--bg); border-block: var(--rule) solid var(--fg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; transform: translateY(16px); transition: transform .5s var(--ease); }
.modal.is-open .modal__card { transform: none; }
.modal__card h3 { font-size: 38px; }
.modal__card ul { margin: 0; padding-left: 18px; font-size: 15px; display: grid; gap: 6px; color: var(--fg-2); }
/* Formulaire de demande (commandes personnalisées, contact, fenêtres « Demander… ») */
.req { display: grid; gap: 18px; }
.req__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .req__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.req__field { display: grid; gap: 6px; font-size: 14px; color: var(--fg-2); }
.req input:not([type="file"]), .req textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 0; background: #fff; color: var(--fg); font-size: 16px; line-height: 1.5; }
.req textarea { resize: vertical; min-height: 110px; }
.req input:focus, .req textarea:focus { outline: 2px solid var(--fg); outline-offset: -1px; }
.req ::placeholder { color: var(--fg-3); }
.req__photos { display: grid; gap: 10px; justify-items: start; }
.req__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.req__thumbs:empty { display: none; }
.req__thumb { position: relative; display: block; width: 76px; height: 76px; }
.req__thumb img { width: 100%; height: 100%; object-fit: cover; }
.req__thumb button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--fg); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.req__add { position: relative; cursor: pointer; }
.req__add:focus-within { outline: 2px solid var(--fg); outline-offset: 2px; }
.req__file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.req__hp { position: absolute; left: -9999px; }
.req__error { color: var(--dot); font-size: 15px; }
.req__note { color: var(--fg-3); font-size: 13px; }
.req__done { display: grid; gap: 12px; justify-items: start; padding: 20px 0; outline: none; }
.req__intro { margin-bottom: 18px; color: var(--fg-2); }
.modal__card h3 + .req, .modal__card h3 + .req__intro { margin-top: 14px; }
.req__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none; color: var(--fg); font-size: 26px; line-height: 1; cursor: pointer; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 280; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
  background: var(--fg); color: var(--bg); padding: 13px 22px; font-size: 15px;
  display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }
.toast a, .toast button { text-decoration: underline; font-weight: 600; }

/* --------------------------------------------------------------------------
   Pied de page noir, signé comme le dos du portfolio
   -------------------------------------------------------------------------- */
.footer { padding: clamp(56px, 7vw, 96px) var(--gutter) 28px; }
/* Tous les blocs commencent à la même hauteur et finissent sur la même ligne */
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__news { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.footer .signature { width: 118px; }
.footer__top h2 { font-size: calc(clamp(24px, 2.2vw, 32px) * var(--size-footerNews, 1)); line-height: 1; max-width: 24ch; }
.newsletter { display: flex; max-width: 420px; border-bottom: var(--rule) solid var(--fg); }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 0 8px; color: var(--fg); outline: none; font-size: 16px; line-height: 1.6; }
.newsletter input::placeholder { color: var(--fg-3); }
.newsletter button { font: 400 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.newsletter__note { max-width: 420px; margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--fg-3); }
.newsletter__note a { color: inherit; text-decoration: underline; font: inherit; letter-spacing: 0; text-transform: none; padding: 0; }
.footer__col { display: flex; flex-direction: column; }
.footer__col h3 { font: 400 17px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__col ul { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 9px; font-size: 16px; line-height: 1.6; }
.footer__col a { color: var(--fg); opacity: .85; }
.footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
/* Réseaux sociaux : le logo, dans la couleur du texte, avec une zone de toucher de 44 px */
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.social { display: block; padding: 10px; margin: -10px; transition: opacity .3s; }
.social svg { display: block; width: 24px; height: 24px; }
.signoff .social:hover { opacity: .65; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-3); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* Pages simples (merci, livraison) */
.page-simple { padding: calc(var(--nav-h) + clamp(32px, 6vw, 96px)) var(--gutter) clamp(80px, 10vw, 140px); max-width: 1000px; }
.page-simple > h1 { border-block: var(--rule) solid var(--fg); padding: .12em 0 .06em; margin-top: 14px; }
.page-simple > h1.title-lg { font-size: calc(clamp(56px, 7.4vw, 124px) * var(--size-pageTitle, 1)); }
.free-page__photo { margin: 32px 0 0; }
.free-page__photo img { width: 100%; height: auto; }
.prose { display: grid; gap: 16px; margin-top: 40px; font-size: 17px; max-width: 68ch; text-align: var(--align-pageText, left); hyphens: var(--hyphens-pageText, manual); -webkit-hyphens: var(--hyphens-pageText, manual); }
.prose h2 { font-size: 30px; margin-top: 22px; }
.prose a { color: var(--fg); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
/* Page Merci : la newsletter et l'exposition côte à côte, le logo en signature */
.thanks__next { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(32px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.thanks__block { display: grid; align-content: start; justify-items: start; gap: 14px; padding-top: 16px; border-top: var(--rule) solid var(--fg); font-size: 17px; }
.thanks__block .newsletter { justify-self: stretch; margin-top: 6px; }
.thanks .signature { margin-top: clamp(40px, 5vw, 72px); }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ questions fréquentes */
.faq__toc { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 34px; font-size: 15px; }
.faq__group { margin-top: clamp(44px, 6vw, 72px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.faq__group h2 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 14px; }
.faq .acc summary { gap: 18px; padding: 18px 0; font: 400 19px/1.35 var(--text); letter-spacing: 0; text-transform: none; text-align: left; }
.faq .acc summary::after { flex: none; }
.faq .acc .acc__body { max-width: 68ch; font-size: 16px; }
.faq .acc .acc__body p { text-align: var(--align-faqText, left); hyphens: var(--hyphens-faqText, manual); -webkit-hyphens: var(--hyphens-faqText, manual); }
.faq .acc .acc__body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.faq__more { margin-top: 40px; font-size: 15px; }
.page-simple .faq__more { margin-top: 40px; }
