/* =========================================================================
   Thème mariage — Émeraude profond & Or  (Thomas & Céline)
   Pages invité : gate, langue, accueil (multi-sections), formulaire, merci
   ========================================================================= */
:root {
  --em-1: #155233;   /* vert plus clair (taches, peu fréquent) */
  --em-2: #0B3319;   /* PRINCIPAL — vert profond dominant (Pantone) */
  --em-3: #04150a;   /* vert presque noir (bords/vignette) */
  --gold: #C8B450;        /* champagne */
  --gold-2: #ddc97a;      /* champagne clair (survol) */
  --gold-soft: rgba(200, 180, 80, .6);
  --gold-faint: rgba(200, 180, 80, .3);
  --cream: #f7f6f2;       /* blanc */
  --cream-dim: rgba(247, 246, 242, .72);
  --script: "Great Vibes", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Mulish", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--cream);
  background:
    url("../img/marble.svg") 0 0 / 900px repeat,
    radial-gradient(circle at 28% 10%, var(--em-1) 0%, var(--em-2) 32%, var(--em-3) 125%);
  background-color: var(--em-2);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;   /* pas de scroll horizontal parasite (sans casser la nav sticky) */
}

a { color: inherit; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 30px;
  background: rgba(4, 21, 10, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-faint);
}
.nav-brand {
  font-family: var(--script);
  font-size: 1.7rem;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.nav-links a {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-utils { display: flex; align-items: center; gap: 12px; }
.nav-lang { font-family: var(--sans); font-size: .72rem; letter-spacing: 1px; white-space: nowrap; }
.nav-lang a { color: var(--cream-dim); text-decoration: none; }
.nav-lang a.active { color: var(--gold); font-weight: 700; }
.nav-icon {
  color: var(--cream-dim); text-decoration: none; font-size: .9rem;
  border: 1px solid var(--gold-faint); border-radius: 999px; padding: 3px 10px;
}
.nav-icon:hover { color: var(--gold); border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.6rem; cursor: pointer; }

/* ---------- Boutons ---------- */
.btn-gold {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 14px 38px;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.btn-gold:hover { background: var(--gold); color: var(--em-2); }
.btn-gold.filled { background: var(--gold); color: var(--em-2); }
.btn-gold.filled:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-gold.small { padding: 9px 20px; font-size: .72rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  overflow: hidden;
  background:
    url("../img/marble.svg") 0 0 / 900px repeat,
    radial-gradient(circle at center, var(--em-1) 0%, var(--em-2) 38%, var(--em-3) 118%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}
.hero::before {
  content: ""; position: absolute; inset: 25px; border: 1px solid var(--gold-soft); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 40px; border: 1px solid var(--gold-faint); pointer-events: none;
}
.hero-content { position: relative; z-index: 5; max-width: 720px; text-align: center; }
.hero .subtitle {
  font-family: var(--sans); letter-spacing: 5px; text-transform: uppercase;
  font-size: .8rem; color: var(--gold); margin: 0;
}
.hero .intro { margin: 18px 0 6px; font-size: 1.25rem; color: var(--cream-dim); }
.hero h1 {
  font-family: var(--script); color: var(--gold);
  font-size: clamp(4.5rem, 10vw, 8rem); line-height: 1; font-weight: normal; margin: 10px 0;
}
.hero h1 span { display: block; font-size: .5em; margin: 6px 0; }
.hero h2 {
  color: var(--gold); font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem); margin: 4px 0;
}
.hero .date-label, .hero .message { font-family: var(--serif); font-size: 1.3rem; color: var(--cream-dim); margin: 6px 0; }
.hero .message { max-width: 520px; margin: 16px auto 0; }

/* compte à rebours J-X */
.countdown { text-align: center; margin: 24px auto 0; }
.countdown .cd-num {
  display: block; font-family: var(--serif); color: var(--gold);
  font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1; letter-spacing: 1px;
  font-weight: 500;
}
.countdown .cd-label {
  display: block; margin-top: 9px; font-family: var(--sans);
  text-transform: uppercase; letter-spacing: 3px; font-size: .72rem;
  color: var(--cream-dim);
}
.frame-card .countdown { margin: 16px auto 4px; }
.frame-card .countdown .cd-num { font-size: clamp(2rem, 9vw, 2.8rem); }

/* séparateur or à losange */
.separator {
  width: 250px; max-width: 70%; height: 1px; background: var(--gold);
  margin: 34px auto; position: relative;
}
.separator::after {
  content: "❖"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: transparent; color: var(--gold); font-size: .8rem; padding: 0 10px;
  background-color: var(--em-2);
}
.hero .separator::after { background-color: var(--em-2); }

/* fleurs d'angle */
.corner { position: absolute; z-index: 2; pointer-events: none; line-height: 0; }
.corner.top-right { top: 0; right: 0; }
.corner.bottom-left { bottom: 0; left: 0; }
.corner.top-right img { width: clamp(120px, 34vw, 520px); }
.corner.bottom-left img { width: clamp(110px, 31vw, 480px); }
/* Sur mobile : fleurs plus discrètes + ombre de texte pour la lisibilité */
@media (max-width: 640px) {
  .hero-content { text-shadow: 0 2px 12px rgba(4, 21, 10, .8); }
  .center-screen .frame-card { backdrop-filter: blur(2px); }
  /* cadre décoratif resserré : le contenu (padding 20px) passe à l'intérieur */
  .hero::before { inset: 10px; }
  .hero::after { inset: 16px; }
  /* date réduite pour éviter tout débordement sur la ligne du cadre */
  .hero h2 { font-size: 1.55rem; line-height: 1.15; }
}

/* ---------- Sections génériques ---------- */
.section { padding: 90px 22px; max-width: 1040px; margin: 0 auto; }
.section-eyebrow {
  font-family: var(--sans); letter-spacing: 4px; text-transform: uppercase;
  font-size: .75rem; color: var(--gold); text-align: center; margin: 0;
}
.section-title {
  font-family: var(--script); color: var(--gold);
  font-size: clamp(2.6rem, 6vw, 4rem); text-align: center; font-weight: normal; margin: 6px 0 0;
}
.section .lead { text-align: center; max-width: 680px; margin: 18px auto 0; font-size: 1.2rem; color: var(--cream-dim); }
.section.alt { background: rgba(4, 21, 10, .45); max-width: none; }
.section.alt > * { max-width: 1040px; margin-left: auto; margin-right: auto; }

/* ---------- Notre Histoire ---------- */
.story { margin-top: 40px; display: grid; gap: 26px; }
.story p { font-size: 1.18rem; text-align: center; }

/* Restitution des sauts de ligne / paragraphes saisis dans l'admin (WYSIWYG) */
.story p, .info-card p, .hero .message, .section .lead,
.news-item p, .gallery-note {
  white-space: pre-line;
  overflow-wrap: break-word;
}
/* Liens cliquables dans les textes éditables */
.story a, .info-card a, .hero .message a, .section .lead a, .news-item a {
  color: var(--gold); text-decoration: underline; text-underline-offset: 3px;
  overflow-wrap: anywhere;   /* les longues URLs se coupent au lieu de déborder */
}
.story a:hover, .info-card a:hover, .hero .message a:hover,
.section .lead a:hover, .news-item a:hover { color: var(--gold-2); }

/* ---------- Infos pratiques ---------- */
.infos-grid {
  margin-top: 44px; display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.info-card {
  border: 1px solid var(--gold-faint); padding: 28px 22px; text-align: center;
  background: rgba(21, 82, 51, .25);
}
.info-card .ico { font-size: 1.8rem; color: var(--gold); }
.info-card h3 { font-family: var(--serif); color: var(--gold); font-size: 1.5rem; margin: 10px 0 6px; font-weight: 500; }
.info-card p { color: var(--cream-dim); margin: 0; }

/* ---------- Comment venir ---------- */
.access-map { margin: 40px auto 6px; max-width: 920px; }
.access-map img { width: 100%; height: auto; display: block; border: 1px solid var(--gold-faint); }
.access-text { margin-top: 22px; }

/* ---------- Photos voyage de noces ---------- */
.voyage-photos { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.voyage-photos figure { margin: 0; }
.voyage-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid var(--gold-faint); }
.voyage-photos figcaption { text-align: center; margin-top: 10px; font-family: var(--serif); color: var(--gold); font-size: 1.15rem; }
@media (max-width: 640px) { .voyage-photos { grid-template-columns: 1fr; } }

/* ---------- Programme (événements empilés, photo en fond) ---------- */
.timeline { margin: 44px auto 0; display: grid; gap: 24px; grid-template-columns: 1fr; max-width: 780px; }
.event {
  position: relative; overflow: hidden;
  border: 1px solid var(--gold-faint);
  background-color: var(--em-2);
  background-size: cover; background-position: center;
  padding: 44px 30px; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 260px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.event::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(4, 21, 10, .5);
}
.event > * { position: relative; z-index: 1; }
.event.feature { border-color: var(--gold-soft); }
.event h3 { font-family: var(--serif); color: var(--gold); font-size: 1.9rem; font-weight: 500; margin: 0 0 4px; }
.event .when { font-family: var(--sans); letter-spacing: 1px; font-size: .82rem; color: var(--cream); margin: 0 0 4px; text-transform: uppercase; }
.event .where { font-style: italic; color: var(--cream-dim); margin: 0 0 16px; }
.event .ev-actions { margin-top: 14px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.event-maps { margin-top: auto; padding-top: 14px; }
.event-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: auto; }
.event-sides .side { padding: 16px 8px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.event-sides h4 { font-family: var(--serif); color: var(--gold); font-size: 1.05rem; margin: 0; white-space: nowrap; }

/* ---------- Galerie ---------- */
.gallery { margin-top: 44px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery .ph {
  aspect-ratio: 3/4; border: 1px solid var(--gold-faint);
  background: linear-gradient(135deg, var(--em-1), var(--em-3));
  display: flex; align-items: center; justify-content: center; color: var(--gold-faint); font-size: 2rem;
  background-size: cover; background-position: center;
}
.gallery-note { text-align: center; color: var(--cream-dim); margin-top: 22px; font-style: italic; }

/* ---------- CTA RSVP ---------- */
.cta { text-align: center; padding: 90px 22px; }
.rsvp-deadline { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin: 14px auto 0; max-width: 680px; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 50px 22px; border-top: 1px solid var(--gold-faint); }
.footer .fscript { font-family: var(--script); color: var(--gold); font-size: 2.2rem; }
.footer p { color: var(--cream-dim); font-size: .85rem; margin: 6px 0 0; }

/* ---------- Carte centrée (gate / langue / merci) ---------- */
.center-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 20px;
  background:
    url("../img/marble.svg") 0 0 / 900px repeat,
    radial-gradient(circle at center, var(--em-1) 0%, var(--em-2) 38%, var(--em-3) 118%);
  position: relative; overflow: hidden;
}
.center-screen .corner.top-right img { width: clamp(110px, 28vw, 360px); }
.center-screen .corner.bottom-left img { width: clamp(100px, 26vw, 340px); }
.frame-card {
  position: relative; z-index: 5; width: 100%; max-width: 460px; text-align: center;
  padding: 48px 36px; border: 1px solid var(--gold-soft);
  background: rgba(4, 21, 10, .55);
}
.frame-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold-faint); pointer-events: none; }
.frame-card .monogram { font-family: var(--script); font-size: 2.4rem; color: var(--gold); margin: 0; line-height: 1; }
.frame-card .names { font-family: var(--script); font-size: 3rem; color: var(--gold); margin: 4px 0; line-height: 1; }
.frame-card .sub { font-family: var(--sans); letter-spacing: 3px; font-size: .8rem; color: var(--cream-dim); text-transform: uppercase; }
.frame-card .prompt { font-family: var(--serif); font-size: 1.3rem; margin: 18px 0 6px; }
.frame-card .prompt span { display: block; font-style: italic; font-size: 1rem; color: var(--cream-dim); }
.frame-card .error { color: #f3c6c6; background: rgba(154, 59, 70, .35); border: 1px solid rgba(243, 198, 198, .4); padding: 8px 12px; font-size: .9rem; margin: 12px 0; }

/* ---------- Champs de formulaire (thème sombre) ---------- */
.form-card input[type="text"], .form-card input[type="email"],
.form-card input[type="password"], .form-card select, .form-card textarea,
.frame-card input[type="password"] {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--cream);
  background: rgba(245, 240, 232, .06); border: 1px solid var(--gold-faint);
  border-radius: 4px; padding: 12px 14px; margin-bottom: 10px;
}
.form-card ::placeholder, .frame-card ::placeholder { color: rgba(245, 240, 232, .45); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus,
.frame-card input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212, 176, 106, .2); }
.form-card select option { color: #111; }

/* ---------- Composants du formulaire RSVP ---------- */
.form-card {
  position: relative; max-width: 680px; margin: 50px auto; padding: 42px 32px;
  background: rgba(4, 21, 10, .55); border: 1px solid var(--gold-soft);
}
.script-title {
  font-family: var(--script); color: var(--gold); font-weight: normal; text-align: center;
  font-size: clamp(2.6rem, 6vw, 3.6rem); margin: 0 0 6px;
}
.center { text-align: center; }
.muted { color: var(--cream-dim); }
.hint { font-size: .85rem; color: var(--cream-dim); margin: 0 0 12px; }
.hidden { display: none; }
.error { color: #f3c6c6; background: rgba(154,59,70,.3); border: 1px solid rgba(243,198,198,.4); padding: 10px 14px; font-size: .9rem; margin: 0 0 14px; }
.form-hero {
  height: 300px; margin: 14px 0 4px; border: 1px solid var(--gold-faint);
  background: linear-gradient(rgba(1,31,27,.12), rgba(1,31,27,.4)),
              url("../img/formulaire.jpg") center / cover no-repeat, var(--em-1);
}
.floral-divider { height: 1px; max-width: 250px; background: var(--gold-soft); margin: 28px auto; }
.floral-divider.small { margin: 18px auto; }

.field { border: none; padding: 0; margin: 0 0 26px; }
.field legend { font-family: var(--serif); font-size: 1.45rem; color: var(--gold); padding: 0; margin-bottom: 8px; font-weight: 500; }
.radio-row, .check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill, .check-pill {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: .92rem; color: var(--cream);
  background: rgba(245,240,232,.05); border: 1px solid var(--gold-faint); border-radius: 999px; padding: 8px 16px;
}
.radio-pill input, .check-pill input { accent-color: var(--gold); }
.guest-row { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 8px; align-items: stretch; margin-bottom: 8px; }
.guest-row input, .guest-row select { margin-bottom: 0; }
.btn-remove {
  background: rgba(245,240,232,.06); color: var(--gold); border: 1px solid var(--gold-faint);
  width: 44px; align-self: stretch; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.btn-remove:hover { background: var(--gold); color: var(--em-2); }
.lodging-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.lodging-label { flex: 1 1 100%; }
.lodging-choice { display: flex; gap: 10px; flex-shrink: 0; }
@media (min-width: 560px) { .lodging-label { flex: 1 1 auto; min-width: 150px; } }

/* anciens boutons -> style or */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .8rem; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer;
  padding: 14px 30px; border: 1px solid var(--gold); color: var(--gold); background: transparent; transition: .3s;
}
.btn:hover { background: var(--gold); color: var(--em-2); }
.btn-primary { background: var(--gold); color: var(--em-2); }
.btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost { background: rgba(245,240,232,.05); }
.btn-small { padding: 8px 16px; font-size: .72rem; }
.btn-block { width: 100%; display: block; }
.cta-block { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* autocomplétion adresse (sombre) */
.addr-search { position: relative; }
.addr-suggestions {
  list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: calc(100% - 8px);
  background: var(--em-3); border: 1px solid var(--gold-faint); z-index: 20; overflow: hidden;
}
.addr-suggestions:empty { display: none; }
.addr-suggestions li { padding: 10px 14px; font-size: .9rem; cursor: pointer; color: var(--cream); border-bottom: 1px solid var(--gold-faint); }
.addr-suggestions li:last-child { border-bottom: none; }
.addr-suggestions li:hover { background: var(--em-1); }
.addr-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }

/* Drapeaux (langue) */
.flags { display: flex; gap: 18px; justify-content: center; margin-top: 22px; }
.flag-btn {
  flex: 1; max-width: 150px; text-decoration: none; color: var(--cream);
  border: 1px solid var(--gold-faint); padding: 16px 10px; transition: border-color .2s, transform .15s;
  background: rgba(21, 82, 51, .25);
}
.flag-btn:hover { border-color: var(--gold); transform: translateY(-3px); }
.flag-btn .flag { width: 64px; margin: 0 auto 10px; border-radius: 4px; overflow: hidden; line-height: 0; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.flag-btn .flag svg, .flag-btn .flag img { width: 100%; height: auto; display: block; }
.flag-btn span:last-child { font-family: var(--sans); letter-spacing: 1px; font-size: .9rem; }

/* ---------- Responsive nav ---------- */
@media (max-width: 880px) {
  .nav-links {
    position: fixed; inset: 60px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(4, 21, 10, .97); border-bottom: 1px solid var(--gold-faint);
    max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0;
  }
  .nav-links.open { max-height: 80vh; padding: 10px 0; overflow-y: auto; }
  .nav-links > a { padding: 12px 30px; width: 100%; }
  .nav-toggle { display: block; }
  /* utilitaires (FR·EN, admin, logout) en bas du menu déroulant */
  .nav-links .nav-utils {
    width: 100%; justify-content: center; gap: 18px;
    padding: 16px 30px 6px; margin-top: 6px;
    border-top: 1px solid var(--gold-faint);
  }
  .nav-links .nav-lang { font-size: .9rem; }
  .nav-links .nav-icon { font-size: 1rem; padding: 4px 12px; }
}

/* ---------- Latest News (encart dédié sous le hero) ---------- */
.news-band { padding: 56px 22px 20px; }
.news-card {
  position: relative; max-width: 720px; margin: 0 auto; padding: 32px 36px;
  border: 1px solid var(--gold-soft); background: rgba(4, 21, 10, .5);
}
.news-card::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold-faint); pointer-events: none; }
.news-eyebrow { font-family: var(--sans); letter-spacing: 3px; text-transform: uppercase; font-size: .8rem; color: var(--gold); text-align: center; margin: 0 0 18px; }
.news-list { display: grid; }
.news-item { text-align: center; padding: 14px 4px; border-top: 1px solid var(--gold-faint); }
.news-item:first-child { border-top: none; }
.news-date { display: block; font-family: var(--sans); font-size: .74rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.news-item p { margin: 0; color: var(--cream); }

/* ---------- Carrousel galerie (défilement continu / marquee) ---------- */
.carousel {
  margin-top: 30px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.carousel-track { display: flex; width: max-content; animation: gallery-marquee var(--dur, 200s) linear infinite; }
.carousel:hover .carousel-track { animation-play-state: paused; }
@keyframes gallery-marquee { to { transform: translateX(-50%); } }
.carousel-item {
  flex: 0 0 auto; width: 260px; height: 320px; margin-right: 14px; padding: 0;
  border: 1px solid var(--gold-faint); background: none; cursor: pointer; overflow: hidden;
  transition: border-color .2s;
}
.carousel-item:hover { border-color: var(--gold); }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Titre galerie cliquable ---------- */
.gallery-title-link { display: block; text-align: center; text-decoration: none; }
.gallery-title-link .section-title { transition: color .2s; }
.gallery-title-link:hover .section-title { color: var(--gold-2); }
.gallery-title-link .see-all {
  display: block; margin-top: 6px; font-family: var(--sans); font-size: .74rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--cream-dim);
}
.gallery-title-link:hover .see-all { color: var(--gold); }

/* ---------- Page galerie (grille complète) ---------- */
.grid-gallery { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.grid-item { padding: 0; border: 1px solid var(--gold-faint); background: none; cursor: pointer; overflow: hidden; aspect-ratio: 1 / 1; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.grid-item:hover img { transform: scale(1.06); }

/* ---------- Visionneuse (lightbox) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 21, 10, .95); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 90vw; max-height: 86vh; object-fit: contain; border: 1px solid var(--gold-faint); }
.lb-btn { position: absolute; background: rgba(0, 0, 0, .35); color: var(--gold); border: 1px solid var(--gold-faint); font-size: 2rem; line-height: 1; width: 54px; height: 54px; cursor: pointer; }
.lb-btn:hover { background: var(--gold); color: var(--em-2); }
.lb-close { top: 18px; right: 18px; font-size: 1.8rem; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--cream-dim); font-family: var(--sans); letter-spacing: 1px; font-size: .85rem; }
@media (max-width: 560px) { .lb-btn { width: 44px; height: 44px; font-size: 1.5rem; } .carousel-item { width: 200px; height: 260px; } }
