/* ==========================================================================
   Patrick Adam — Figuration Lyrique · patrickadam.fr
   Direction : « monographie d'atelier » — du papier d'aquarelle à la nuit
   des grandes toiles. Deux actes : clair (le motif) puis sombre (le rêve).
   ========================================================================== */

:root {
  /* Acte I — le papier */
  --papier: #f5efe2;
  --papier-2: #ece2cd;
  --encre: #262019;
  --brun: #6b5f4d;
  --vermillon: #a8432b;
  --ocre: #a97f36;
  /* Acte II — la nuit */
  --nuit: #0c141f;
  --nuit-2: #121f2f;
  --nuit-3: #1b2c42;
  --etoile: #ecdfc2;
  --or: #c9a45c;
  --brume: #93a5b8;

  --f-display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --f-body: "EB Garamond", "Garamond", Georgia, serif;
  --f-label: "Jost", "Century Gothic", "Segoe UI", sans-serif;

  --largeur: 76rem;
  --marge: clamp(1.25rem, 4vw, 3rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--papier);
}

img { max-width: 100%; display: block; }

::selection { background: var(--or); color: var(--nuit); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--encre); color: var(--papier);
  padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--marge);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.solide {
  background: rgba(12, 20, 31, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(236, 223, 194, .12);
  padding-top: .6rem; padding-bottom: .6rem;
}
.nav-nom {
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.35rem; letter-spacing: .04em;
  color: var(--etoile); text-decoration: none;
}
.nav nav { display: flex; gap: clamp(.9rem, 2vw, 1.8rem); align-items: center; }
.nav nav a {
  font-family: var(--f-label); font-weight: 400;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--etoile); text-decoration: none;
  padding: .35rem 0; position: relative; white-space: nowrap;
}
.nav nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--or); transition: right .3s ease;
}
.nav nav a:hover::after, .nav nav a:focus-visible::after { right: 0; }
.nav-contact {
  border: 1px solid rgba(201, 164, 92, .55);
  padding: .35rem .9rem !important;
}
.nav-contact::after { display: none; }
.nav-contact:hover { background: rgba(201, 164, 92, .15); }

.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-burger {
    display: block; background: none; border: 0; cursor: pointer;
    width: 2.2rem; height: 2rem; position: relative; z-index: 60;
  }
  .nav-burger span {
    position: absolute; left: .3rem; right: .3rem; height: 2px;
    background: var(--etoile); transition: transform .3s ease, top .3s ease;
  }
  .nav-burger span:nth-child(1) { top: .6rem; }
  .nav-burger span:nth-child(2) { top: 1.25rem; }
  .nav.ouvert .nav-burger span:nth-child(1) { top: .95rem; transform: rotate(45deg); }
  .nav.ouvert .nav-burger span:nth-child(2) { top: .95rem; transform: rotate(-45deg); }
  .nav nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: rgba(12, 20, 31, .97);
    visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility .3s;
  }
  .nav.ouvert nav { visibility: visible; opacity: 1; }
  .nav nav a { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Héros
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--etoile); overflow: hidden;
  background: var(--nuit);
}
.hero-fond {
  position: absolute; inset: 0;
  background: url("../img/hero.jpg") center / cover no-repeat;
}
.hero-voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(12,20,31,.5) 0%, rgba(12,20,31,.28) 34%, rgba(12,20,31,0) 62%),
    linear-gradient(to bottom, rgba(12,20,31,.2) 0%, rgba(12,20,31,0) 26%, rgba(12,20,31,.16) 48%, rgba(12,20,31,.62) 68%, rgba(12,20,31,.92) 94%, var(--nuit) 100%);
}
.hero-contenu {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--largeur);
  margin: 0 auto; padding: 0 var(--marge) clamp(4rem, 10vh, 7rem);
}
.hero-sur {
  display: inline-block;
  font-family: var(--f-label); font-weight: 500;
  font-size: .82rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.2rem;
  background: rgba(12, 20, 31, .58);
  padding: .55em .95em .55em 1.05em;
  box-shadow: 0 0 24px 6px rgba(12, 20, 31, .35);
}
.hero h1 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: .92; letter-spacing: .01em;
  text-shadow: 0 2px 6px rgba(6, 10, 16, .6), 0 6px 40px rgba(6, 10, 16, .7);
}
.hero-sous {
  margin-top: 1.4rem; font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--etoile);
  text-shadow: 0 1px 3px rgba(6, 10, 16, .85), 0 0 18px rgba(6, 10, 16, .6);
}
.hero-sous em { font-family: var(--f-display); font-size: 1.15em; color: var(--or); }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.bouton {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--f-label); font-size: .8rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--nuit); background: var(--or);
  border: 1px solid var(--or);
  padding: .85rem 1.7rem;
  transition: background .3s ease, color .3s ease;
}
.bouton:hover { background: var(--etoile); border-color: var(--etoile); }
.bouton-ghost { background: transparent; color: var(--etoile); border-color: rgba(236,223,194,.5); }
.bouton-ghost:hover { background: rgba(236,223,194,.12); color: var(--etoile); border-color: var(--etoile); }

.hero-fleche {
  position: absolute; z-index: 2; left: 50%; bottom: 1.6rem;
  width: 2rem; height: 2.6rem; transform: translateX(-50%);
}
.hero-fleche span {
  position: absolute; left: 50%; top: 0;
  width: 1px; height: 100%; background: rgba(236,223,194,.6);
  animation: goutte 2.2s ease-in-out infinite;
}
@keyframes goutte {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   Chapitres
   -------------------------------------------------------------------------- */
.chapitre { padding: clamp(4rem, 9vw, 7rem) var(--marge); }
.chapitre > * { max-width: var(--largeur); margin-left: auto; margin-right: auto; }

.clair { background: var(--papier); color: var(--encre); }
.chapitre-alt.clair { background: var(--papier-2); }
.sombre { background: var(--nuit); color: var(--etoile); }
.chapitre-alt.sombre { background: var(--nuit-2); }

.chapitre-tete { margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; }
.chapitre-num {
  display: block;
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(3.4rem, 7vw, 5.5rem); line-height: 1;
  color: var(--vermillon); opacity: .28;
}
.sombre .chapitre-num { color: var(--or); opacity: .5; }
.chapitre-tete h2 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05;
  margin-top: -1.2rem;
}
.chapitre-souligne {
  margin-top: .8rem;
  font-family: var(--f-label); font-weight: 300;
  font-size: .8rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brun);
}
.sombre .chapitre-souligne { color: var(--brume); }
.chapitre-tete::after {
  content: ""; display: block; width: 4.5rem; height: 2px;
  margin-top: 1.4rem; background: var(--vermillon);
}
.sombre .chapitre-tete::after { background: var(--or); }

.chapitre-intro { max-width: 46rem; margin-bottom: 2.5rem; font-size: 1.2rem; }

.lettrine::first-letter {
  font-family: var(--f-display);
  font-size: 3.4em; line-height: .78;
  float: left; padding: .08em .12em 0 0;
  color: var(--vermillon);
}
.sombre .lettrine::first-letter { color: var(--or); }

blockquote { margin: 1.6rem 0; padding-left: 1.4rem; border-left: 2px solid var(--vermillon); }
.sombre blockquote { border-color: var(--or); }
blockquote p { font-family: var(--f-display); font-size: 1.3rem; font-style: italic; line-height: 1.45; }
blockquote cite { display: block; margin-top: .7rem; font-size: .92rem; font-style: normal; color: var(--brun); }
.sombre blockquote cite { color: var(--brume); }

p + p { margin-top: 1.1rem; }

a { color: inherit; }

/* ---- I. L'artiste ---- */
.artiste-grille {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.artiste-portrait { position: sticky; top: 6rem; }
.artiste-portrait img { box-shadow: 14px 14px 0 var(--papier-2), 14px 14px 0 1px var(--ocre); }
.chapitre-alt .artiste-portrait img { box-shadow: 14px 14px 0 var(--papier); }
.artiste-portrait figcaption,
figcaption {
  margin-top: .85rem;
  font-size: .95rem; font-style: italic; color: var(--brun);
}
.sombre figcaption { color: var(--brume); }
.devise {
  margin-top: 1.6rem;
  font-family: var(--f-display); font-style: italic;
  font-size: 1.35rem; color: var(--vermillon);
}

.frise {
  list-style: none;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1.5rem 1.2rem;
  border-top: 1px solid rgba(107, 95, 77, .35);
  padding-top: 1.8rem;
}
.frise b {
  display: block;
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.7rem; color: var(--vermillon);
}
.frise span { display: block; margin-top: .25rem; font-size: .92rem; line-height: 1.4; color: var(--brun); }

/* ---- II / colonnes éditoriales ---- */
.deuxcol {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.encart img { box-shadow: 14px 14px 0 rgba(169, 127, 54, .18); }
.encart figcaption { font-size: .98rem; }

/* ---- Galeries ---- */
.galerie {
  columns: 3;
  column-gap: 1.6rem;
}
.galerie-serree { columns: 4; }
.galerie .oeuvre {
  break-inside: avoid;
  margin: 0 0 1.6rem;
}
.galerie .oeuvre button {
  display: block; width: 100%;
  border: 0; padding: 0; background: none; cursor: zoom-in;
}
.galerie .oeuvre img {
  width: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.clair .galerie .oeuvre img { box-shadow: 0 1px 4px rgba(38, 32, 25, .18); }
.sombre .galerie .oeuvre img { box-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.galerie .oeuvre button:hover img,
.galerie .oeuvre button:focus-visible img { transform: scale(1.018); }
.galerie figcaption {
  margin-top: .55rem; font-size: .95rem;
  display: flex; justify-content: space-between; gap: .8rem;
}
.galerie figcaption .oeuvre-titre { font-style: italic; }
.galerie figcaption .oeuvre-technique {
  font-family: var(--f-label); font-style: normal; font-weight: 300;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; padding-top: .25rem; opacity: .75;
}

.oeuvre.plus { display: none; }
.galerie.deployee .oeuvre.plus { display: block; }

.galerie-plus-action { margin-top: 2.2rem; text-align: center; }
.clair .bouton-ghost { color: var(--encre); border-color: rgba(38,32,25,.4); }
.clair .bouton-ghost:hover { background: rgba(38,32,25,.06); color: var(--encre); border-color: var(--encre); }

/* ---- Pivot clair → sombre ---- */
.pivot {
  background: linear-gradient(to bottom, var(--papier-2) 0%, #c9bfa9 18%, #5c6470 55%, var(--nuit) 100%);
  padding: clamp(6rem, 14vw, 10rem) var(--marge);
  text-align: center; color: var(--etoile);
}
.pivot-date {
  font-family: var(--f-label); font-weight: 300;
  font-size: .85rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--nuit-3); margin-bottom: 1.6rem;
  mix-blend-mode: multiply;
}
.pivot-citation {
  max-width: 46rem; margin: 0 auto;
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.35;
  text-shadow: 0 1px 12px rgba(6, 10, 16, .4);
}
.pivot-citation strong { font-weight: 600; color: var(--or); }

/* ---- IV. Interlude ---- */
.interlude {
  padding: clamp(4rem, 9vw, 6.5rem) var(--marge);
  text-align: center;
  background: radial-gradient(ellipse at center, var(--nuit-3) 0%, var(--nuit) 75%);
}
.interlude-citation {
  max-width: 42rem; margin: 0 auto;
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3;
  color: var(--or);
}
.interlude-auteur {
  margin-top: 1.1rem;
  font-family: var(--f-label); font-weight: 300;
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brume);
}
.interlude-texte { max-width: 40rem; margin: 2rem auto 0; color: var(--etoile); }

/* ---- VI. Tableaux à vendre ---- */
.vente-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: clamp(1.6rem, 3vw, 2.4rem);
}
.vente-carte {
  background: var(--papier-2);
  border: 1px solid rgba(169, 127, 54, .45);
  display: flex; flex-direction: column;
}
.vente-image {
  display: block; width: 100%;
  border: 0; padding: 0; background: none; cursor: zoom-in;
}
.vente-image img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  transition: transform .35s ease;
}
.vente-image:hover img, .vente-image:focus-visible img { transform: scale(1.02); }
.vente-carte { overflow: hidden; }
.vente-infos { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.vente-infos h3 {
  font-family: var(--f-display); font-weight: 500;
  font-size: 1.35rem; line-height: 1.2;
}
.vente-technique {
  margin-top: .3rem;
  font-family: var(--f-label); font-weight: 300;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brun);
}
.vente-prix {
  margin-top: .7rem;
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.7rem; color: var(--vermillon);
}
.vente-bouton {
  margin-top: auto; padding-top: .7rem;
  align-self: flex-start;
  background: var(--encre); border-color: var(--encre); color: var(--papier);
  padding: .6rem 1.3rem; margin-top: 1rem;
}
.vente-bouton:hover { background: var(--vermillon); border-color: var(--vermillon); color: var(--papier); }
.vente-note {
  margin-top: 2.4rem; text-align: center;
  font-size: 1.1rem;
}
.vente-note a { color: var(--vermillon); }
.vente-image { position: relative; }
.ruban-vendu {
  position: absolute; top: 1.1rem; left: -2.4rem; z-index: 2;
  transform: rotate(-38deg);
  background: var(--vermillon); color: var(--papier);
  font-family: var(--f-label); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  padding: .3rem 2.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.est-vendu .vente-image img { opacity: .82; }
.vente-vendu-note {
  margin-top: 1rem;
  font-family: var(--f-display); font-style: italic;
  font-size: 1.1rem; color: var(--brun);
}

/* ---- VII. Livre ---- */
.livre-carte {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  border: 1px solid rgba(169, 127, 54, .5);
  padding: clamp(1.8rem, 4vw, 3.5rem);
  background: var(--papier);
}
.livre-texte h2 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: -1rem;
}
.livre-texte h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; margin: .8rem 0 1rem; color: var(--vermillon); }
.livre-details { list-style: none; margin-top: 1.2rem; }
.livre-details li { padding: .45rem 0; border-top: 1px dotted rgba(107, 95, 77, .5); font-size: 1.02rem; }
.livre-visuel img { box-shadow: 14px 14px 0 var(--papier-2), 14px 14px 0 1px var(--ocre); }

/* ---- VII. Expositions ---- */
.presse {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.presse-citation { border: 0; padding: 0; }
.presse-citation p { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.presse-photo img { box-shadow: 14px 14px 0 rgba(169, 127, 54, .18); }

.expos-colonnes {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}
.expos-liste div {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem; padding: .8rem 0;
  border-top: 1px solid rgba(107, 95, 77, .3);
}
.expos-liste dt {
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.15rem; color: var(--vermillon);
}
.expos-liste dd { font-size: 1.02rem; }

.expo-photo-large { margin-top: clamp(2.5rem, 5vw, 4rem); }
.expo-photo-large img { width: 100%; }

/* ---- VIII. Atelier ---- */
.atelier-photos {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.atelier-photos img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 2px 14px rgba(0,0,0,.5); }
.atelier-grille {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 3rem);
}
.atelier-bloc h3 {
  font-family: var(--f-display); font-weight: 500; font-size: 1.5rem;
  margin-bottom: .9rem; color: var(--or);
}
.adresse {
  margin-top: 1.2rem;
  font-family: var(--f-display); font-size: 1.4rem; line-height: 1.3;
}
.atelier-contact { border-left: 1px solid rgba(201, 164, 92, .4); padding-left: clamp(1.2rem, 2.5vw, 2.4rem); }
.contact-ligne { margin-top: .5rem; }
.contact-ligne a {
  font-family: var(--f-display); font-size: 1.35rem;
  color: var(--etoile); text-decoration: none;
  border-bottom: 1px solid rgba(201, 164, 92, .5);
  transition: border-color .3s ease, color .3s ease;
}
.contact-ligne a:hover { color: var(--or); border-color: var(--or); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: #080e16; color: var(--brume);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--marge) 2.5rem;
}
.pied-nom {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem); color: var(--etoile);
}
.pied-titre { margin-top: .4rem; font-size: 1.05rem; }
.pied-titre em { color: var(--or); }
.pied address { font-style: normal; margin-top: 1.6rem; line-height: 1.9; }
.pied a { color: var(--etoile); text-decoration: none; border-bottom: 1px solid rgba(201,164,92,.4); }
.pied a:hover { color: var(--or); }
.pied-mentions { margin-top: 2.2rem; font-size: .85rem; opacity: .65; }

/* --------------------------------------------------------------------------
   Formulaire de réservation
   -------------------------------------------------------------------------- */
.reservation-voile {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(5, 9, 15, .8);
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
}
.reservation-voile[hidden] { display: none; }
.reservation {
  position: relative;
  width: min(30rem, 100%);
  max-height: 92vh; overflow-y: auto;
  background: var(--papier);
  color: var(--encre);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-top: 4px solid var(--vermillon);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .6);
}
.reservation h3 {
  font-family: var(--f-display); font-weight: 500;
  font-size: 1.7rem; line-height: 1.2; padding-right: 2rem;
}
.reservation h3 em { color: var(--vermillon); }
.resa-sous { margin-top: .5rem; font-size: .98rem; color: var(--brun); }
.reservation label {
  display: block; margin-top: 1.1rem;
  font-family: var(--f-label); font-weight: 400;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brun);
}
.resa-facultatif { text-transform: none; letter-spacing: .05em; }
.reservation input[type="text"], .reservation textarea {
  display: block; width: 100%; margin-top: .45rem;
  font-family: var(--f-body); font-size: 1.05rem; color: var(--encre);
  background: #fffdf8;
  border: 1px solid rgba(107, 95, 77, .5);
  padding: .65rem .8rem;
  border-radius: 0;
}
.reservation input:focus-visible, .reservation textarea:focus-visible {
  outline: 2px solid var(--vermillon); outline-offset: 1px;
  border-color: var(--vermillon);
}
.resa-hp { position: absolute; left: -6000px; top: 0; }
.resa-envoyer {
  margin-top: 1.4rem; width: 100%;
  background: var(--encre); border-color: var(--encre); color: var(--papier);
}
.resa-envoyer:hover { background: var(--vermillon); border-color: var(--vermillon); color: var(--papier); }
.resa-envoyer[disabled] { opacity: .55; cursor: wait; }
.resa-fermer {
  position: absolute; top: .6rem; right: .9rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--f-display); font-size: 2.2rem; line-height: 1;
  color: var(--brun);
}
.resa-fermer:hover { color: var(--vermillon); }
.resa-etat { margin-top: .9rem; font-size: 1rem; min-height: 1.4em; }
.resa-etat.succes { color: #2e6b3f; }
.resa-etat.erreur { color: var(--vermillon); }
.resa-alternative { margin-top: .8rem; font-size: .95rem; color: var(--brun); }
.resa-alternative a { color: var(--vermillon); }

/* --------------------------------------------------------------------------
   Visionneuse
   -------------------------------------------------------------------------- */
.visionneuse {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 9, 15, .96);
  display: flex; align-items: center; justify-content: center;
}
.visionneuse[hidden] { display: none; }
.visionneuse figure {
  max-width: min(92vw, 100rem); max-height: 92vh;
  display: flex; flex-direction: column; align-items: center;
}
.visionneuse img {
  max-width: 92vw; max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0, 0, 0, .8);
}
.visionneuse figcaption {
  margin-top: 1rem; color: var(--etoile);
  font-size: 1.05rem; text-align: center;
}
.visionneuse figcaption .oeuvre-technique {
  display: block; margin-top: .2rem;
  font-family: var(--f-label); font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brume);
}
.vis-fermer, .vis-prec, .vis-suiv {
  position: fixed; z-index: 91;
  background: none; border: 0; cursor: pointer;
  color: var(--etoile); font-family: var(--f-display);
  line-height: 1; transition: color .25s ease, transform .25s ease;
}
.vis-fermer { top: 1.2rem; right: 1.6rem; font-size: 3rem; }
.vis-prec, .vis-suiv { top: 50%; transform: translateY(-50%); font-size: 4rem; padding: 1rem; }
.vis-prec { left: .6rem; }
.vis-suiv { right: .6rem; }
.vis-fermer:hover, .vis-prec:hover, .vis-suiv:hover { color: var(--or); }

/* --------------------------------------------------------------------------
   Apparitions au défilement
   -------------------------------------------------------------------------- */
.apparait { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .apparait { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Réactif
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .galerie { columns: 2; }
  .galerie-serree { columns: 3; }
  .atelier-grille { grid-template-columns: 1fr; }
  .atelier-contact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(201,164,92,.4); padding-top: 1.6rem; }
}
@media (max-width: 780px) {
  .artiste-grille, .deuxcol, .livre-carte, .presse, .expos-colonnes { grid-template-columns: 1fr; }
  .artiste-portrait { position: static; max-width: 26rem; }
  .atelier-photos { grid-template-columns: 1fr; }
  .expos-liste div { grid-template-columns: 5.2rem minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .galerie, .galerie-serree { columns: 1; }
  .galerie-serree { columns: 2; }
  .frise { grid-template-columns: repeat(2, 1fr); }
}
