:root {
  --bg: #090909;
  --bg-elev: #111111;
  --cream: #efe6d6;
  --muted: #8d867b;
  --line: rgba(239, 230, 214, 0.12);
  --accent: #c4a574;
  --danger: #d97868;
  --ok: #b7c7a3;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--cream); }
body {
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.01em;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 165, 116, 0.08), transparent 50%),
    var(--bg);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 12px; top: 12px; background: var(--bg-elev); padding: 8px 12px; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(9,9,9,.92), rgba(9,9,9,.7) 70%, transparent);
}
body[data-page="accueil"] .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
}
body[data-page="accueil"] .site-header.is-scrolled {
  background: linear-gradient(to bottom, rgba(9,9,9,.96), rgba(9,9,9,.82));
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  justify-self: start;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.18em;
}
.brand-name {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 28px;
  justify-self: center;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--cream);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  justify-self: end;
}
.icon-link {
  color: var(--cream);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  opacity: 0.85;
}
.icon-link svg { width: 20px; height: 20px; display: block; }
.icon-link:hover { color: var(--accent); opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 8px 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font: inherit;
  font-size: 0.7rem;
}

main { padding: 24px 7vw 80px; }
body[data-page="accueil"] main { padding: 0; }
body[data-page="accueil"] { background: var(--bg); }
.page-intro { max-width: 720px; margin-bottom: 48px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--accent);
  font-size: 0.72rem;
  margin: 0 0 16px;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.95;
  margin: 0 0 20px;
}
h1 em { font-style: italic; color: var(--accent); }
.lede {
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero { min-height: calc(100vh - 180px); display: flex; flex-direction: column; justify-content: center; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.cine-hero,
.cine-band {
  position: relative;
  display: block;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  background: var(--bg-elev);
}
.cine-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}
.cine-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 8vw 72px;
  background:
    linear-gradient(to bottom, rgba(9,9,9,.35), rgba(9,9,9,.12) 35%, rgba(9,9,9,.55));
}
.cine-overlay h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  text-shadow: 0 8px 40px rgba(0,0,0,.45);
}
.cine-overlay .lede {
  color: var(--cream);
  max-width: 36rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.disciplines {
  margin: 18px 0 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
}
.cine-cta {
  margin-top: 28px;
  border-bottom: 1px solid var(--cream);
  padding: 10px 4px 8px;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
}
.cine-cta:hover { border-bottom-color: var(--accent); color: var(--accent); }
body[data-page="accueil"] .site-footer {
  padding: 28px 5vw 36px;
  background: var(--bg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 14px 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary { background: var(--cream); color: #111; border-color: var(--cream); }
.btn-primary:hover { background: #fff; }
.btn-ghost:hover { border-color: var(--cream); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 14px;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.filters button.is-active,
.filters button:hover {
  color: var(--cream);
  border-color: var(--accent);
}

.masonry {
  columns: 3 280px;
  column-gap: 14px;
}
.masonry figure {
  break-inside: avoid;
  margin: 0 0 14px;
  position: relative;
  background: var(--bg-elev);
}
.masonry img,
.masonry .thumb-video {
  width: 100%;
  display: block;
  height: auto;
  cursor: zoom-in;
  filter: saturate(0.92);
  transition: transform .4s ease, filter .4s ease;
  background: #141414;
}
.thumb-video {
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #1a1a1a, #0c0c0c);
  display: grid;
  place-items: center;
  color: var(--cream);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.thumb-video span {
  border: 1px solid var(--line);
  padding: 8px 14px;
}
.masonry figure:hover img,
.masonry figure:hover .thumb-video {
  filter: saturate(1);
  transform: scale(1.015);
}
.masonry figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 12px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.masonry figure:hover figcaption { opacity: 1; }
.badge-video {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35);
  padding: 4px 7px;
  background: rgba(0,0,0,.45);
}

.status { color: var(--muted); }
.status.is-error { color: var(--danger); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 50;
  display: grid;
  place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox-stage {
  margin: 0;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-stage img,
.lightbox-stage video {
  max-width: 96vw;
  max-height: 84vh;
  display: none;
}
.lightbox.is-image img,
.lightbox.is-video video { display: block; }
.lightbox-stage figcaption {
  margin-top: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close { top: 16px; right: 24px; }
.lightbox-prev { left: 16px; top: 50%; }
.lightbox-next { right: 16px; top: 50%; }

.contact-form {
  max-width: 720px;
  display: grid;
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-form label { display: grid; gap: 8px; }
.contact-form span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  font: inherit;
  padding: 10px 0 12px;
  outline: none;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-feedback { min-height: 1.4em; color: var(--muted); }
.form-feedback.is-ok { color: var(--ok); }
.form-feedback.is-error { color: var(--danger); }

.site-footer {
  padding: 0 7vw 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav {
    display: none;
    position: absolute;
    right: 5vw;
    top: 72px;
    background: var(--bg-elev);
    padding: 16px 20px;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 8px; }
  h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .cine-overlay { padding: 96px 6vw 56px; }
}
