/* =====================================================================
   NADIA CHEBAH — CHEBAH.ART
   Design « beau livre » — galerie sombre & dramatique, respiration claire.
   Palette : or, ivoire, terres sombres, taupe. Mobile-first, vanilla, zéro build.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Terres sombres */
  --dark:      #140F0A;   /* fond le plus profond */
  --dark-2:    #1A140D;   /* section alternée sombre */
  --panel:     #211C14;   /* cartes / panneaux */
  --panel-2:   #2E261C;   /* relief carte */
  /* Or / laiton */
  --gold:      #C2A06A;   /* accent texte sur fond sombre (lisible) */
  --gold-deep: #8F7341;   /* filets, bordures or */
  /* Clairs */
  --ivory:     #EBE6DE;   /* titres sur sombre */
  --cream:     #F3EFE8;   /* fond section claire (démarche) */
  --taupe:     #BFB8A8;   /* labels clairs / texte secondaire sur sombre */
  --taupe-dk:  #57514A;   /* sous-titres / texte secondaire sur clair */
  --meta:      #9C9082;   /* métadonnées lisibles sur fond sombre (≈ AA) */
  --ink:       #211C14;   /* texte sur fond clair */

  --line-dark: rgba(194,160,106,0.22);  /* filets or discrets sur sombre */
  --line-soft: rgba(20,15,10,0.14);     /* filets sur clair */

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'EB Garamond', Georgia, 'Times New Roman', serif;

  /* Mesures */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.25s;
  --t-med: 0.5s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--ivory);
  font-size: clamp(1.04rem, 0.5vw + 0.95rem, 1.2rem);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-deep); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typo helpers ---------- */
.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.04;
  color: var(--ivory);
  letter-spacing: 0.005em;
}
.section-lead {
  margin-top: 1.1rem;
  max-width: 46ch;
  color: var(--taupe);
  font-size: 1.12rem;
}
.section-head { padding-block: clamp(4.5rem, 10vw, 9rem) clamp(2rem, 5vw, 3.5rem); max-width: 60ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  padding: 0.95em 1.8em;
  border-radius: 1px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--ivory); }
.btn-ghost { border: 1px solid var(--gold-deep); color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--gold);
  border-bottom: 1px solid var(--line-dark); padding-bottom: .3em;
}
.link-arrow::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(15,11,7,0.82);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-body); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 1.02rem; color: var(--ivory);
}
.brand-dot { color: var(--gold); }
.brand-sub {
  font-family: var(--font-display); font-style: italic; font-size: 0.9rem; color: var(--taupe);
  letter-spacing: 0.02em; margin-top: 2px;
}

.nav-menu { display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav-menu a {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; color: var(--taupe);
  padding-block: .4em; position: relative; transition: color var(--t-fast) var(--ease);
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold);
  transition: width var(--t-fast) var(--ease);
}
.nav-menu a:hover { color: var(--ivory); }
.nav-menu a:hover::after { width: 100%; }

.lang-switch { display: flex; align-items: center; gap: .4rem; font-size: 0.8rem; }
.lang-btn { letter-spacing: 0.12em; color: var(--taupe); transition: color var(--t-fast); }
.lang-btn.is-active { color: var(--gold); }
.lang-btn:hover { color: var(--ivory); }
.lang-sep { color: var(--taupe-dk); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px; justify-content: center; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ivory); transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: #0c0907 url("../images/works/cerf-hero.webp") 50% 52% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(10,7,5,0.94) 0%, rgba(10,7,5,0.78) 42%, rgba(10,7,5,0.45) 100%),
    linear-gradient(0deg, rgba(10,7,5,0.95) 0%, rgba(10,7,5,0) 38%);
}
.hero-inner { padding-block: calc(var(--header-h) + 2rem) clamp(6.5rem, 14vh, 9.5rem); max-width: 40ch; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.32em; font-size: 0.78rem; color: var(--gold); margin-bottom: 1.4rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(3.2rem, 11vw, 6.6rem); line-height: 0.94; color: var(--ivory);
  letter-spacing: 0.01em;
}
.hero-kicker {
  margin-top: 1.5rem; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.8rem; color: var(--taupe);
}
.hero-lead {
  margin-top: 1.5rem; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; color: var(--ivory); opacity: .92; max-width: 32ch;
}
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.66rem; color: var(--taupe);
}
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); }
/* Masque l'indice « défiler » quand l'écran est court ou étroit (évite tout chevauchement avec les boutons) */
@media (max-width: 760px), (max-height: 760px) { .hero-scroll { display: none; } }

/* Entrée du hero : très lent zoom de l'image + montée en fondu du texte */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: kenburns 16s var(--ease) forwards; }
  .hero-eyebrow, .hero-title, .hero-kicker, .hero-lead, .hero-actions { opacity: 0; animation: heroRise 1.1s var(--ease) forwards; }
  .hero-title    { animation-delay: .10s; }
  .hero-kicker   { animation-delay: .26s; }
  .hero-lead     { animation-delay: .38s; }
  .hero-actions  { animation-delay: .52s; }
}
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Collection (sombre, le cœur) ---------- */
.collection { background: var(--dark); }
.manifesto {
  margin: 0 auto clamp(2.4rem, 5vw, 4rem);
  max-width: 64ch; text-align: center;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding-block: clamp(1.8rem, 4vw, 3rem);
}
.manifesto p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.5; color: var(--ivory);
}
.manifesto cite {
  display: block; margin-top: 1.1rem; font-style: normal;
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.74rem; color: var(--gold);
}

/* ---------- Galerie / cartes ---------- */
.gallery-grid {
  display: grid; gap: clamp(1.6rem, 3vw, 3rem) clamp(1.4rem, 2.4vw, 2.4rem);
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  padding-bottom: clamp(5rem, 10vw, 9rem);
}
.is-collection { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* Cartes : l'œuvre posée sur le fond sombre (pas de panneau), éclairée par une ombre */
.work-card {
  position: relative; display: flex; flex-direction: column;
  background: transparent; border: none;
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.work-card.is-in { opacity: 1; transform: none; }
.work-card:hover .work-title { color: var(--gold); }

.work-media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #0d0a07;
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
  transition: box-shadow var(--t-med) var(--ease);
}
.work-card:hover .work-media { box-shadow: 0 22px 56px rgba(0,0,0,0.72); }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.7s var(--ease), filter var(--t-med) var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }

/* Equus : frise dédiée sous la grille Metazoa — les encres ensemble, entières */
.equus-label {
  margin-top: clamp(2.6rem, 6vw, 4.5rem);
  text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.72rem;
  color: var(--gold); text-align: center;
}
.equus-label::after {
  content: ""; display: block; width: 44px; height: 1px;
  background: var(--line-dark); margin: 0.9rem auto 0;
}
.equus-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: clamp(1.6rem, 3.5vw, 2.6rem);
}
@media (min-width: 880px) {
  .equus-grid { grid-template-columns: repeat(4, 1fr); }
}
.equus-grid .work-media { aspect-ratio: 3 / 4; }
.equus-grid .work-media img { object-fit: contain; padding: 5%; }

/* Collection privée : voile + non clickable-acquérir */
.coll-collection-privee .work-media img { filter: grayscale(0.15) brightness(0.82); }
.coll-collection-privee:hover .work-media img { filter: grayscale(0) brightness(0.9); }

.work-info { padding: 1.2rem 0.1rem 0; display: flex; flex-direction: column; gap: .38rem; flex: 1; }
.work-rank {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.64rem; color: var(--gold);
  display: flex; align-items: center; gap: .6em;
}
.work-rank .num { color: var(--meta); }
.work-title {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.6rem; line-height: 1.08; color: var(--ivory); margin-top: .15rem;
  transition: color var(--t-fast) var(--ease);
}
.work-subtitle { font-family: var(--font-display); font-style: italic; color: var(--taupe); font-size: 1.04rem; line-height: 1.3; }
.work-meta { font-size: 0.82rem; color: var(--meta); letter-spacing: 0.02em; margin-top: .35rem; }
.work-footer { margin-top: auto; padding-top: 1rem; display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.work-footer .work-meta { color: var(--gold); opacity: .9; letter-spacing: .04em; margin-top: 0; }
.work-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold); letter-spacing: .01em; }

/* Badges */
.badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.6rem;
  padding: .42em .8em; border-radius: 1px; backdrop-filter: blur(4px);
}
.badge-cannes { background: rgba(20,15,10,0.7); color: var(--gold); border: 1px solid var(--gold-deep); }
.badge-private { background: rgba(20,15,10,0.78); color: var(--taupe); border: 1px solid var(--line-dark); }

/* ---------- Section Autres œuvres ---------- */
.works-section { background: var(--dark-2); border-top: 1px solid var(--line-dark); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; padding-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.filter-btn {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; color: var(--taupe);
  padding: .6em 1.1em; border: 1px solid var(--line-dark); border-radius: 1px;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.filter-btn:hover { color: var(--ivory); border-color: var(--gold-deep); }
.filter-btn.is-active { color: var(--dark); background: var(--gold); border-color: var(--gold); }
.gallery-empty { color: var(--taupe); padding-block: 2rem 5rem; font-style: italic; }

/* ---------- Démarche (sombre — continuité avec la galerie) ---------- */
.about { background: var(--dark); border-top: 1px solid var(--line-dark); }
.about-inner {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.4rem, 8vw, 7rem); align-items: center;
}
.about-portrait { overflow: hidden; }
/* le portrait est déjà fondu vers #140F0A dans le fichier image lui-même */
.about-portrait img { width: 100%; height: auto; }
.about-text p { color: var(--taupe); margin-top: 1.1rem; max-width: 56ch; }
.about-quote { margin-top: 1.6rem !important; }
.about-quote em { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); line-height: 1.4; }
.about-facts { margin-top: 2.2rem; border-top: 1px solid var(--line-dark); }
.about-facts li {
  display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.about-facts span { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--meta); }
.about-facts strong { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--ivory); font-size: 1.1rem; text-align: right; }

/* ---------- Le livre — Le Reflet d'une Frontière (sombre) ---------- */
.book-section { background: var(--dark-2); border-top: 1px solid var(--line-dark); }
.book-inner {
  display: grid; grid-template-columns: 1fr; gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.4rem, 8vw, 7rem);
}
.book-cover {
  justify-self: center;
  max-width: min(330px, 72vw);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.book-cover:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.book-cover img { width: 100%; height: auto; }
.book-text { max-width: 56ch; }
.book-sub {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--taupe);
}
.book-lead { margin-top: 1.4rem; color: var(--taupe); line-height: 1.8; }
.book-actions { margin-top: 2rem; }
@media (min-width: 760px) {
  .book-inner { grid-template-columns: minmax(0, 340px) 1fr; }
  .book-cover { justify-self: start; }
}

/* ---------- Contact (sombre) ---------- */
.contact { background: var(--dark); border-top: 1px solid var(--line-dark); }
.contact-inner {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.4rem, 8vw, 7rem);
}
.contact-text .section-lead { color: var(--taupe); }
.contact-direct { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.contact-email,
.contact-phone {
  display: inline-block;
  padding: .5em 1.5em;
  border: 1px solid var(--gold-deep);
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.contact-email:hover,
.contact-phone:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.contact-or { color: var(--taupe-dk); text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; }

.contact-form { display: grid; gap: 1.1rem; align-content: start; }
.field { display: grid; gap: .45rem; }
.field label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: var(--taupe); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ivory);
  background: var(--panel); border: 1px solid var(--line-dark); border-radius: 1px; padding: .8em .9em;
  transition: border-color var(--t-fast);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .btn-primary { justify-self: start; margin-top: .4rem; }
.form-status { font-size: 0.92rem; color: var(--gold); min-height: 1.2em; }


/* ---------- Presse & Expositions — V2 « salle d'archives » ----------
   Un seul langage : filets horizontaux fins, documents posés en objets,
   la chronologie comme index. Aucun cadre complet, aucun damier. */
.press-section {
  background: var(--dark-2);
  padding-block: clamp(3.4rem, 8vw, 7rem);
  border-top: 1px solid var(--line-dark);
}

/* Lien commun (repris de la V1) */
.press-link {
  display: inline-block;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold-deep); padding-bottom: .18em;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.press-link:hover { color: var(--ivory); border-color: var(--gold); }

/* ---- Citation-héros (même famille que le manifeste Metazoa) ---- */
.press-hero {
  margin: clamp(2.4rem, 5vw, 4rem) auto 0;
  max-width: 46rem;
  text-align: center;
  padding-block: clamp(1.8rem, 4vw, 2.8rem);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.press-hero blockquote {
  margin: 0;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.5;
  color: var(--ivory);
}
.press-hero figcaption {
  margin-top: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.68rem;
  color: var(--gold);
}

/* ---- Coupures : documents d'archive posés (même langage que la couverture du livre) ---- */
.press-clips {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.4rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 720px) { .press-clips { grid-template-columns: 1fr 1fr; } }
.clip { margin: 0; }
.clip-paper {
  display: block;
  background: #f4f0e8;
  border-radius: 2px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.clip-paper:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.clip-paper img { width: 100%; height: auto; display: block; border-radius: 2px; }
.clip figcaption { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.clip-head {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.18rem; color: var(--ivory); line-height: 1.35;
}
.clip-meta { font-size: 0.8rem; color: var(--meta); line-height: 1.6; }
.clip figcaption .press-link { margin-top: .5rem; align-self: flex-start; }

/* ---- Sommaire presse : rangées à filets ---- */
.press-index {
  margin-top: clamp(2.8rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
}
.press-row {
  display: grid; grid-template-columns: 1fr;
  gap: .8rem 2.5rem;
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 860px) {
  .press-row { grid-template-columns: minmax(180px, 0.7fr) 2fr auto; align-items: start; }
}
.pr-source {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.22rem; color: var(--ivory); line-height: 1.25;
}
.pr-kind {
  margin-top: .3rem;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.62rem;
  color: var(--gold);
}
.pr-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.02rem; color: var(--taupe); line-height: 1.6;
}
.pr-ctx { margin-top: .5rem; font-size: 0.78rem; color: var(--meta); line-height: 1.6; }
.pr-side { display: flex; flex-direction: column; gap: .6rem; }
@media (min-width: 860px) { .pr-side { align-items: flex-end; text-align: right; } }
.pr-date {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--meta); white-space: nowrap;
}

/* ---- Expositions : index à grands millésimes ---- */
.expo-index { margin-top: clamp(3rem, 6vw, 5rem); }
.expo-title {
  text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.72rem;
  color: var(--gold); font-weight: 400; text-align: center;
}
.expo-title::after {
  content: ""; display: block; width: 44px; height: 1px;
  background: var(--line-dark); margin: 0.9rem auto 0;
}
.expo-list {
  list-style: none; padding: 0;
  margin: clamp(1.6rem, 3.5vw, 2.6rem) 0 0;
  border-top: 1px solid var(--line-dark);
}
.expo-row {
  display: grid; grid-template-columns: 1fr;
  gap: .3rem 2rem;
  padding-block: clamp(1.1rem, 2.5vw, 1.6rem);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 720px) {
  .expo-row { grid-template-columns: minmax(7.5rem, auto) 1fr auto; align-items: baseline; }
}
.expo-year {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1;
  color: var(--gold);
}
.expo-year-span { font-size: 0.55em; letter-spacing: 0.04em; }
.expo-body { display: flex; flex-direction: column; gap: .25rem; }
.expo-name { font-size: 0.98rem; color: var(--ivory); font-weight: 500; letter-spacing: 0.01em; }
.expo-detail { font-size: 0.8rem; color: var(--meta); line-height: 1.5; }
.expo-ref {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast);
  justify-self: start;
}
@media (min-width: 720px) { .expo-ref { justify-self: end; } }
.expo-ref:hover { color: var(--ivory); border-bottom-color: var(--gold); }

/* ---- Invitation à l'essai (cartes Metazoa) ----
   ❧ = « il y a un texte à lire » (même signe que le livre).
   Au survol : la première phrase de l'essai monte du bas. */
.essay-mark {
  position: absolute; right: .75rem; bottom: .6rem; z-index: 1;
  font-size: 1.05rem; color: var(--gold); opacity: 0.85;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  transition: opacity var(--t-fast);
}
.work-tease {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 2.6rem 1.15rem 1.05rem;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.94) 55%, transparent 100%);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.work-card:hover .work-tease,
.work-card:focus .work-tease,
.work-card:focus-visible .work-tease { opacity: 1; transform: none; }
.work-card:hover .essay-mark,
.work-card:focus .essay-mark { opacity: 0; }
.tease-line {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.02rem; line-height: 1.45; color: var(--ivory);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tease-cta {
  display: block; margin-top: .55rem;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem;
  color: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  .work-tease { transition: none; transform: none; }
  .clip-paper { transition: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: #0E0A07; border-top: 1px solid var(--line-dark); padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.footer-inner { display: grid; gap: 2rem; }
.footer-brand { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; font-size: 1rem; color: var(--ivory); }
.footer-cert { margin-top: .8rem; max-width: 42ch; color: var(--taupe-dk); font-style: italic; font-family: var(--font-display); font-size: 1.04rem; }
.footer-meta { display: flex; flex-direction: column; gap: .7rem; }
.footer-social { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; font-size: 0.82rem; letter-spacing: .08em; }
.footer-social a { color: var(--gold); }
.footer-social a:hover { color: var(--ivory); }
.footer-social span { color: var(--taupe-dk); }
.footer-copy { font-size: 0.84rem; color: var(--taupe-dk); }
.footer-legal { font-size: 0.82rem; letter-spacing: .04em; }
.footer-legal a { color: var(--taupe); } .footer-legal a:hover { color: var(--gold); }
.footer-top { font-size: 0.8rem; color: var(--taupe); letter-spacing: .08em; }
.footer-top:hover { color: var(--gold); }

/* ---------- Lightbox / fiche œuvre ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(8,6,4,0.96); backdrop-filter: blur(6px);
  padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox.is-open { display: flex; align-items: center; justify-content: center; }
.lb-inner {
  display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%; max-width: 1100px; max-height: 92vh; align-items: center;
}
.lb-figure { display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb-media { width: 100%; display: flex; align-items: center; justify-content: center; }
.lb-media img { max-width: 100%; max-height: 48vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }

.lb-panel { color: var(--ivory); overflow-y: auto; max-height: 44vh; padding-right: .4rem; }
.lb-rank { display: flex; align-items: center; gap: .7em; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.68rem; color: var(--gold); }
.lb-rank .num { color: var(--taupe); }
.lb-title { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; margin-top: .5rem; }
.lb-subtitle { font-family: var(--font-display); font-style: italic; color: var(--taupe); font-size: 1.2rem; margin-top: .3rem; }
.lb-essay { margin-top: 1.2rem; color: #d8d1c4; font-size: 1.04rem; line-height: 1.72; max-width: 60ch; }
.lb-meta { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: 0.82rem; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.08em; }
.lb-buy { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.lb-price { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); }
.lb-pricenote { font-size: 0.82rem; color: var(--taupe-dk); width: 100%; margin-top: -.6rem; }
.lb-private { margin-top: 1.4rem; padding: 1rem 1.1rem; border: 1px solid var(--line-dark); color: var(--taupe); font-style: italic; font-family: var(--font-display); font-size: 1.1rem; }
.lb-wa { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--gold); border-bottom: 1px solid var(--line-dark); padding-bottom: .2em; }
.lb-wa:hover { color: var(--ivory); }

.lb-close, .lb-nav {
  position: absolute; z-index: 210; color: var(--ivory); width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; line-height: 1;
  background: rgba(20,15,10,0.5); border: 1px solid var(--line-dark); border-radius: 50%;
  transition: background var(--t-fast), color var(--t-fast);
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--dark); }
.lb-close { top: 1.2rem; right: 1.2rem; font-size: 1.7rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; background: rgba(13,9,6,0.98);
    border-bottom: 1px solid var(--line-dark);
    max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease);
  }
  .nav-menu.is-open { max-height: 60vh; }
  .nav-menu li { border-bottom: 1px solid var(--line-dark); }
  .nav-menu a { display: block; padding: 1.1rem var(--gutter); font-size: 0.9rem; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  .lb-prev { left: .4rem; } .lb-next { right: .4rem; }
  .lb-close { top: .6rem; right: .6rem; }
}

@media (min-width: 880px) {
  .about-inner { grid-template-columns: 0.85fr 1.15fr; }
  .contact-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-meta { align-items: flex-end; text-align: right; }
}

@media (min-width: 980px) {
  .lb-inner { grid-template-columns: 1.1fr 0.9fr; max-height: 86vh; }
  .lb-media img { max-height: 80vh; }
  .lb-panel { max-height: 80vh; }
}

/* ---------- Mobile : parcours acheteur (QR → téléphone) ---------- */
@media (max-width: 760px) {
  /* Hero un cran plus court + CTA pleine largeur empilés (pouce) */
  .hero { min-height: 88svh; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero-actions .btn { width: 100%; text-align: center; padding-block: 1.05em; }

  /* Cibles tactiles ≥ 44px */
  .lang-btn { padding: .5rem .55rem; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .lang-switch { gap: .1rem; }
  .nav-toggle { width: 44px; height: 44px; padding: 10px 7px; }

  /* Fiche : UN seul défilement naturel ; prix + bouton toujours visibles en bas */
  .lightbox { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0; }
  .lightbox.is-open { display: block; }
  .lb-inner { grid-template-columns: 1fr; max-height: none; padding: 4.6rem 1.25rem 0; gap: 1.3rem; align-items: start; }
  .lb-media img { max-height: 54vh; }
  .lb-panel { max-height: none; overflow: visible; padding-right: 0; padding-bottom: 1rem; }
  .lb-close, .lb-nav { position: fixed; }
  .lb-buy {
    position: sticky; bottom: 0; margin: 1.4rem -1.25rem 0;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    background: rgba(13,9,6,0.96); border-top: 1px solid var(--line-dark);
    backdrop-filter: blur(8px); z-index: 5;
  }
  .lb-buy .btn-primary { flex: 1 1 auto; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .work-card { opacity: 1 !important; transform: none !important; transition: none; }
  .work-card:hover .work-media img { transform: none; }
  .hero-bg { animation: none !important; }
  .hero-eyebrow, .hero-title, .hero-kicker, .hero-lead, .hero-actions { opacity: 1 !important; animation: none !important; }
}
