﻿/* ========================================
   LES NUITS DE BRANFÉRÉ — Landing v4
   Base v2 + correctifs client
   ======================================== */

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

:root {
  /* Night forest — adapted from Branféré secondary greens */
  --bg:            #041510;
  --bg-elevated:   #06241c;
  --bg-deep:       #020c0a;
  --bg-section:    #063423;

  /* Brand teal (primary) — #007680 per client, hover stays luminous */
  --teal-50:       #e5f9fb;
  --teal-200:      #b2e1e5;
  --teal-300:      #71b6bc;
  --teal-400:      #339199;
  --teal-500:      #007680;
  --teal-cta:      #007680;
  --teal-hover:    #b2e1e5;

  /* Magical night accents */
  --gold:          #e6a21c;
  --gold-light:    #ffd480;
  --copper:        #c17d49;
  --cyan-glow:     #7ee8f0;
  --aurora:        #8fd4c4;

  /* Surfaces */
  --cream:         #fffcf6;
  --cream-soft:    rgba(255, 252, 246, 0.08);

  /* Text */
  --text:          #f5faf8;
  --text-muted:    #a8c4bc;
  --text-dim:      #6f9086;

  /* Layout */
  --radius:        1.25rem;
  --radius-sm:     0.65rem;
  --radius-pill:   999px;
  --max:           72rem;
  --gutter:        clamp(1.25rem, 4vw, 3rem);

  /* Fonts — same family as branfere.com */
  --font-display:  "Asap Condensed", "Arial Narrow", sans-serif;
  --font-body:     "Asap", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

body.cursor-default { cursor: auto; }

@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor-canvas { display: none !important; }
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-200);
  background: rgba(0, 118, 128, 0.22);
  border: 1px solid rgba(178, 225, 229, 0.28);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  box-shadow: none;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.eyebrow--ghost {
  background: transparent;
  color: var(--teal-300);
  border: 1px solid rgba(113, 182, 188, 0.35);
  padding: 0.3rem 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-muted);
  max-width: 38rem;
}

.section-lead strong { color: var(--cream); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--teal-cta);
  color: var(--cream);
  box-shadow:
    0 0 0 1px rgba(178, 225, 229, 0.12),
    0 0 32px rgba(0, 118, 128, 0.45);
}

.btn--primary:hover {
  background: var(--teal-hover);
  color: var(--bg-deep);
  box-shadow: 0 0 28px rgba(178, 225, 229, 0.45);
}

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--cream);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cream);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 0.25rem;
}

/* ---------- Cursor ---------- */
.cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

canvas { display: block; background: transparent; }

/* ---------- Plant deco ---------- */
.plant {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.plant img {
  width: 100%;
  height: auto;
}

.plant--left {
  left: -2%;
  bottom: 0;
  width: min(220px, 28vw);
  opacity: 0.85;
}

.plant--right {
  right: -2%;
  bottom: 0;
  width: min(240px, 30vw);
  opacity: 0.9;
  transform: scaleX(-1);
}

.plant--top-left {
  left: -1%;
  top: -4%;
  width: min(180px, 22vw);
  opacity: 0.7;
}

.plant--glow img {
  filter: brightness(0.95) saturate(0.85) drop-shadow(0 0 18px rgba(94, 196, 201, 0.25));
}

/* Daytime brand plants → nocturnal tint */
.plant--day img {
  filter:
    brightness(0.55) saturate(0.75) hue-rotate(95deg)
    drop-shadow(0 0 16px rgba(94, 196, 201, 0.2));
  opacity: 0.9;
}

/* ---------- Organic dividers ---------- */
.torn {
  display: block;
  width: 100%;
  height: clamp(36px, 5vw, 64px);
  line-height: 0;
  position: relative;
  z-index: 5;
}

.torn svg { width: 100%; height: 100%; display: block; }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center 55%;
  animation: heroBreathe 16s ease-in-out infinite alternate;
}

@keyframes heroBreathe {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12) translateY(-12px); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, transparent 0%, rgba(2, 12, 10, 0.35) 55%, rgba(2, 12, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(4, 21, 16, 0.35) 0%, rgba(4, 21, 16, 0.55) 55%, var(--bg) 100%);
}

#fireflies-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--gutter);
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero-nav {
  position: absolute;
  top: clamp(0.85rem, 2.5vw, 1.5rem);
  right: var(--gutter);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1.25rem;
  max-width: min(100% - 2rem, 28rem);
}

.hero-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 252, 246, 0.88);
  text-shadow: 0 1px 12px rgba(2, 12, 10, 0.65);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-nav__link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-nav__link svg {
  flex-shrink: 0;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .hero-nav {
    left: var(--gutter);
    right: var(--gutter);
    justify-content: center;
  }

  .hero-content {
    padding-top: 4.5rem;
  }
}

.hero-logo {
  width: min(420px, 82vw);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(94, 196, 201, 0.25));
}

.hero-logo-glow {
  position: absolute;
  width: min(420px, 82vw);
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 0;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-200);
}

.hero-plants .plant--left { bottom: 8%; }
.hero-plants .plant--right { bottom: 6%; }

.scroll-hint {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--teal-300));
  opacity: 0.7;
}

/* ---------- Split intro (sanctuary-like) ---------- */
#intro {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter);
  background:
    radial-gradient(ellipse 80% 60% at 10% 100%, rgba(6, 52, 35, 0.7) 0%, transparent 55%),
    var(--bg);
  overflow: hidden;
}

.intro-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  position: relative;
  z-index: 2;
}

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
}

.intro-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.intro-copy p .hl {
  color: var(--gold-light);
  font-weight: 600;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 252, 246, 0.1);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Gardiens ---------- */
#gardiens {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, var(--bg-section) 0%, #052a1f 50%, var(--bg) 100%);
  overflow: hidden;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
  position: relative;
  z-index: 2;
}

#gardiens .section-head { margin-bottom: 4.75rem; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
}

.gardiens-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 1100px) {
  .gardiens-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .gardiens-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .gardiens-grid { grid-template-columns: 1fr; }
}

.gardien-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
  isolation: isolate;
  transition: transform 0.35s ease;
}

.gardien-card:hover { transform: translateY(-6px); }

.gardien-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.gardien-card:hover .gardien-card__img { transform: scale(1.06); }

.gardien-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 12, 10, 0.92) 100%);
}

.gardien-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.15rem;
  z-index: 2;
}

.gardien-card__role {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 252, 246, 0.12);
  color: var(--cream);
  border: 1px solid rgba(255, 252, 246, 0.22);
  padding: 0.28rem 0.55rem;
  border-radius: 0.4rem;
  margin-bottom: 0.55rem;
  backdrop-filter: blur(4px);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.gardien-card__role--nouveau {
  background: rgba(252, 233, 218, 0.18);
  color: #ffd4b0;
  border-color: rgba(252, 233, 218, 0.35);
}

.gardien-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.gardien-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Voyage (parcours + zones fusionnés) ---------- */
#voyage {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(0, 118, 128, 0.16) 0%, transparent 50%),
    var(--bg);
  overflow: hidden;
}

.voyage-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .voyage-grid { grid-template-columns: 1fr; }
}

.voyage-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  isolation: isolate;
}

.voyage-card--wide {
  grid-column: 1 / -1;
  min-height: 340px;
}

.voyage-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.voyage-card:hover .voyage-card__img { transform: scale(1.05); }

.voyage-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(2, 12, 10, 0.88) 100%);
}

.voyage-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.35rem 1.4rem;
  z-index: 2;
}

.voyage-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(0, 118, 128, 0.28);
  border: 1px solid rgba(178, 225, 229, 0.35);
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  margin-bottom: 0.55rem;
  backdrop-filter: blur(4px);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.voyage-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.voyage-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.45;
}

.voyage-card p strong { color: var(--gold-light); font-weight: 600; }

.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.section-cta--spaced {
  margin-top: 3.5rem;
  gap: 1.25rem;
}

.visitor-count {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-align: center;
}

.section-cta__note {
  font-size: 0.88rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 40rem;
  line-height: 1.55;
}

#gardiens .section-cta { margin-top: 1.25rem; }

.voyage-closing {
  max-width: 46rem;
  margin: 3.5rem auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(255, 252, 246, 0.035);
  border: 1px solid rgba(255, 252, 246, 0.08);
  border-radius: var(--radius);
}

.voyage-closing .eyebrow {
  margin-bottom: 1.25rem;
}

.voyage-closing__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}

.voyage-closing__text {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

/* ---------- Testimonials ---------- */
#temoignages {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  background: var(--bg);
  overflow: hidden;
}

#temoignages .section-title { text-align: center; }
#temoignages > .eyebrow { display: flex; width: fit-content; margin: 0 auto 1rem; }

.testi-google {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.testi-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testimonial:nth-child(n+4) { display: none; }
}

.testimonial {
  background: rgba(255, 252, 246, 0.04);
  border: 1px solid rgba(255, 252, 246, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testi-stars { color: var(--gold); letter-spacing: 0.08em; margin-bottom: 0.75rem; }

.testi-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.testi-name { font-weight: 600; font-size: 0.95rem; }
.testi-source { font-size: 0.8rem; color: var(--text-dim); }

.press-grid {
  max-width: var(--max);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 800px) {
  .press-grid { grid-template-columns: 1fr; }
}

.press-item {
  padding: 1.35rem;
  border-top: 2px solid var(--teal-400);
}

.press-pub {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-300);
  margin-bottom: 0.55rem;
}

.press-quote { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.75rem; }

.press-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.press-link:hover { text-decoration: underline; }

/* ---------- Gallery mosaic ---------- */
#galerie {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  background:
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(0, 118, 128, 0.14) 0%, transparent 55%),
    var(--bg);
  overflow: hidden;
}

.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head--center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.galerie-sub {
  margin-top: 0.5rem;
  color: var(--teal-200);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.gallery-mosaic {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, 11vw);
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  grid-column: span 3;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item--tall {
  grid-row: span 2;
  grid-column: span 3;
}

.gallery-item--wide {
  grid-column: span 6;
}

.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 5; }
.gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 4; }
.gallery-item:nth-child(7) { grid-column: span 5; }

@media (max-width: 900px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(140px, 28vw);
  }
  .gallery-item,
  .gallery-item--tall,
  .gallery-item--wide,
  .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(7) {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }
}

/* ---------- Social share ---------- */
.social-share {
  max-width: var(--max);
  margin: 3rem auto 0;
  text-align: center;
}

.social-share__label {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.social-share__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social-share__links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 252, 246, 0.25);
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-share__links a:hover {
  background: rgba(0, 118, 128, 0.35);
  border-color: var(--teal-300);
  transform: translateY(-2px);
}

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: 42rem;
  margin: 3rem auto 0;
  text-align: left;
  background: rgba(255, 252, 246, 0.04);
  border: 1px solid rgba(255, 252, 246, 0.08);
  border-radius: var(--radius);
  padding: 0.35rem 1.35rem 0.5rem;
  backdrop-filter: blur(8px);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 252, 246, 0.12);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2rem 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--teal-200);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 400;
}

/* ---------- Reservation / infos pratiques ---------- */
#reservation {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  overflow: hidden;
  text-align: center;
}

.reservation-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.85);
}

.reservation-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0, 118, 128, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, rgba(4, 21, 16, 0.75) 30%, rgba(4, 21, 16, 0.88) 100%);
}

.reservation-inner {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

@media (max-width: 800px) {
  .info-grid { grid-template-columns: 1fr; }
}

.info-card {
  background: rgba(255, 252, 246, 0.06);
  border: 1px solid rgba(255, 252, 246, 0.1);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  backdrop-filter: blur(8px);
}

.info-card--wide {
  grid-column: auto;
}

.info-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-300);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.info-card p { font-size: 0.95rem; }
.info-sub { color: var(--text-dim); font-size: 0.85rem !important; margin-top: 0.25rem; }

.info-link {
  color: var(--teal-200);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-link:hover { color: var(--cream); }

.reservation-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-200);
  margin: 0.35rem auto 1rem;
}

/* ---------- Footer ---------- */
#footer {
  position: relative;
  padding: 3rem var(--gutter) 2.5rem;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 252, 246, 0.06);
  overflow: hidden;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.9;
  filter: brightness(1.1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav a:hover { color: var(--teal-200); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-plant {
  position: absolute;
  bottom: 0;
  width: min(200px, 30vw);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.footer-plant--l { left: 0; }
.footer-plant--r { right: 0; transform: scaleX(-1); }

/* ---------- Theater mode ---------- */
.theater {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(2, 12, 10, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.theater.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.theater__close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1.5rem);
  right: clamp(0.75rem, 3vw, 1.5rem);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 252, 246, 0.35);
  color: var(--cream);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.theater__close:hover {
  background: rgba(94, 196, 201, 0.18);
  border-color: var(--teal-cta);
  transform: scale(1.05);
}

.theater__frame {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  background: #000;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.theater.is-open .theater__frame {
  transform: scale(1);
}

.theater__frame video,
.theater__frame .hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  position: relative;
  inset: auto;
  z-index: auto;
}

.hero-video.is-theater {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  z-index: auto !important;
}

body.theater-open {
  overflow: hidden;
  cursor: auto;
}

body.theater-open .cursor-canvas {
  display: none !important;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-fallback { animation: none; }
  .gardien-card:hover,
  .btn:hover { transform: none; }
}
