/* ===== VARIABLES ===== */
:root {
  --creme: #FAF7F2;
  --choco: #2B2420;
  --vert: #2F4A3E;
  --or: #B08D57;
  --taupe: #8A7F76;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--creme); color: var(--choco); font-family: var(--sans); font-weight: 300; line-height: 1.6; }
a { color: inherit; }

/* ===== EN-TÊTE ===== */
.hero { max-width: 760px; margin: 0 auto; padding: 18vh 24px 12vh; text-align: center; }
.surtitre { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 9vw, 96px); line-height: 1; margin: 18px 0 28px; }
.hero h1::after { content: ""; display: block; width: 48px; height: 1px; background: var(--or); margin: 28px auto 0; }
.intro { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45; }
.intro em { color: var(--vert); }
.lien {
  display: inline-block; margin-top: 44px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; color: var(--vert); padding-bottom: 6px; border-bottom: 1px solid var(--or);
  transition: color .3s, border-color .3s;
}
.lien:hover { color: var(--or); }

/* ===== GALERIE ===== */
.galerie { max-width: 1240px; margin: 0 auto; padding: 0 24px 120px; columns: 3 320px; column-gap: 28px; }
.galerie figure { break-inside: avoid; margin-bottom: 40px; cursor: zoom-in; }
.galerie img {
  display: block; width: 100%; height: auto; border-radius: 2px;
  filter: saturate(.92); transition: filter .5s, transform .6s cubic-bezier(.2,.7,.2,1);
}
.galerie figure:hover img { filter: saturate(1.05); transform: translateY(-3px); }
figcaption { margin-top: 12px; font-size: 13px; color: var(--taupe); }
figcaption span { display: block; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--choco); line-height: 1.2; }

/* ===== PIED ===== */
.pied { border-top: 1px solid rgba(176,141,87,.35); max-width: 760px; margin: 0 auto; padding: 80px 24px 100px; text-align: center; }
.citation { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); color: var(--vert); line-height: 1.4; }
.contact { margin-top: 36px; font-size: 13px; letter-spacing: .08em; }
.contact a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact a:hover { border-color: var(--or); }
.contact span { color: var(--or); margin: 0 10px; }

/* ===== VISIONNEUSE ===== */
.visionneuse {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; display: none; align-items: center; justify-content: center;
}
.visionneuse[open] { display: flex; animation: apparition .35s ease; }
.visionneuse::backdrop { background: rgba(250,247,242,.96); }
.visionneuse figure { max-width: min(86vw, 1000px); text-align: center; }
.visionneuse img { max-width: 100%; max-height: 80vh; display: block; margin: 0 auto; border-radius: 2px; }
.visionneuse button {
  position: absolute; background: none; border: 0; cursor: pointer; color: var(--choco);
  font-family: var(--serif); font-size: 44px; line-height: 1; padding: 16px; transition: color .3s;
}
.visionneuse button:hover { color: var(--or); }
.fermer { top: 16px; right: 24px; }
.prec { left: 2vw; }
.suiv { right: 2vw; }
@keyframes apparition { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 600px) {
  .hero { padding: 12vh 20px 8vh; }
  .nav { display: none; }
}
