/* ============================================
   33 CLUB — Charte graphique inspirée du logo
   Noir et blanc, esprit royal & gothique
   ============================================ */

:root {
  --bg: #070707;
  --bg-alt: #121212;
  --bg-card: #161616;
  --gold: #ffffff;
  --gold-light: #ffffff;
  --gold-accent: #c9a961;
  --cream: #f2f2f2;
  --text: #f2f2f2;
  --text-muted: #9a9a9a;
  --border: #333333;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  touch-action: manipulation;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 60%);
  background-attachment: fixed;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-light);
}

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

/* ---------- Préchargement (preloader) ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.7s ease;
}

.preloader-hidden {
  opacity: 0;
  pointer-events: none;
}

.no-preloader .preloader {
  display: none;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.15);
  animation: preloader-pulse 2.4s ease-in-out infinite;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  letter-spacing: 0.35em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.preloader-subtitle {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-accent);
  margin-bottom: 1.75rem;
}

.preloader-bar {
  width: 160px;
  height: 1px;
  background: var(--border);
  margin: 0 auto;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold-accent);
  animation: preloader-bar 1.4s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.96); }
}

@keyframes preloader-bar {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(150%); }
  100% { transform: translateX(150%); }
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
}

.nav-brand .brand-name {
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  font-size: 1.2rem;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 8px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2,9 C20,4 35,13 52,7 C70,1 88,12 105,8 C122,4 140,13 158,7 C172,2 185,11 198,8' stroke='%23ffffff' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  min-width: 0;
}

.open-status {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.open-status-label {
  color: var(--text-muted);
}

.open-status-event {
  color: #4caf50;
  font-weight: 700;
  text-decoration: underline;
}

.open-status-event:hover {
  color: #6fcf73;
}

.open-status-time {
  color: var(--text-muted);
}

.open-status-open .open-status-label {
  color: #4caf50;
  font-weight: 700;
}

.open-status-word {
  color: #e05c5c;
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.nav-close-item,
.nav-menu-brand,
.nav-menu-foot {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.hero-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.15);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.hero .subtitle {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero p.lead {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Hero (full, page d'accueil) ---------- */

.hero-full {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 6rem 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: 480px;
  background-repeat: no-repeat;
  opacity: 0.06;
  filter: grayscale(1);
  transform: scale(1.4);
  pointer-events: none;
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg) 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content .hero-logo {
  width: 140px;
  height: 140px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5rem);
  letter-spacing: 0.3em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero-content .section-divider {
  margin-bottom: 1rem;
}

.hero-content .subtitle {
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  animation: hero-bounce 2.4s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.4; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn:disabled,
.btn:disabled:hover {
  opacity: 0.35;
  cursor: not-allowed;
  background: transparent;
  color: var(--gold-light);
  border-color: var(--border);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.7rem;
}

.dj-socials {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn-social {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--gold-light);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-social:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-outline:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-danger {
  border-color: #8a3b3b;
  color: #e3a3a3;
}

.btn-danger:hover {
  background: #8a3b3b;
  color: var(--cream);
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.85rem 2.2rem;
  background: transparent;
  border: 1px solid #25d366;
  color: #25d366;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  background: #25d366;
  color: var(--bg);
}

/* ---------- Sections / layout ---------- */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  position: relative;
}

.section-divider::before {
  content: "✦";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  color: var(--gold);
  padding: 0 0.5rem;
  font-size: 0.8rem;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
}

/* ---------- Cards grid (DJs, événements) ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.main-event-card {
  border: 1px solid var(--gold-accent);
  box-shadow: 0 0 40px rgba(201, 169, 97, 0.18);
}

.main-event-card:hover {
  border-color: var(--gold-accent);
}

/* ---------- Main event banner (accueil) ---------- */

.main-event-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--gold-accent);
  border-radius: 4px;
  box-shadow: 0 0 50px rgba(201, 169, 97, 0.15);
  overflow: hidden;
}

.main-event-image {
  background-color: var(--bg-alt);
  min-height: 320px;
}

/* ---------- Affiches : image entière sur fond flouté ---------- */

.poster-frame {
  position: relative;
  overflow: hidden;
}

.poster-blur {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(20px) brightness(0.4) saturate(0.85);
  transform: scale(1.2);
}

.poster-frame .poster-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.poster-thumb {
  position: relative;
  overflow: hidden;
  width: 90px;
  height: 90px;
  border-radius: 4px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-alt);
}

.poster-thumb .poster-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* ---------- Apparition au défilement ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
  }

  .reveal.reveal-in {
    opacity: 1;
    transform: none;
  }
}

.main-event-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-event-content .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

.main-event-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.main-event-content .meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.event-dj-photos {
  display: flex;
  gap: 0.4rem;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}

.event-dj-photos img {
  width: 36px;
  max-width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
}

.event-dj-photos.small img {
  width: 32px;
  max-width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
}

.main-event-content .lineup {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.countdown {
  display: flex;
  gap: 0.6rem;
  margin: 0.75rem 0 1.25rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0.5rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}

.countdown-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--gold-accent);
}

.countdown-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.main-event-content .desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.main-event-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .main-event-banner {
    grid-template-columns: 1fr;
  }
  .main-event-image {
    min-height: 220px;
  }
}

/* ---------- Cartes "à venir" (accueil) ---------- */

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.upcoming-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
}

.upcoming-card:hover {
  transform: translateY(-4px);
}

.upcoming-date {
  font-family: var(--font-display);
  text-align: center;
  min-width: 60px;
  border-right: 1px solid var(--border);
  padding-right: 1.25rem;
  color: var(--gold-light);
}

.upcoming-date .day {
  font-size: 1.6rem;
  display: block;
  line-height: 1;
}

.upcoming-date .month {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.upcoming-date .weekday {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.upcoming-card .card-body {
  padding: 0;
}

.upcoming-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.upcoming-card .meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- L'esprit du club ---------- */

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-accent);
  line-height: 1;
}

.feature-item h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- CTA de fin de page ---------- */

.cta-section {
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  border-top: 1px solid var(--border);
}

.cta-section .lead {
  max-width: 500px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt) url('/img/logo.png') center / 90px no-repeat;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.card-body .meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Carte ---------- */

.menu-category {
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.menu-category-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 0.5rem;
}

.menu-list {
  list-style: none;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.menu-item-name {
  word-break: break-word;
}

.menu-item-name {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--text);
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.menu-item-volume {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: normal;
  color: var(--text-muted);
}

.menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  margin-bottom: 0.35rem;
  min-width: 20px;
}

.menu-item-price {
  font-family: var(--font-display);
  color: var(--gold-accent);
  white-space: nowrap;
}

/* ---------- Admin carte ---------- */

.admin-category-block {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.admin-category-block:last-child {
  border-bottom: none;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.inline-form input {
  flex: 1 1 160px;
  margin: 0;
}

.inline-form button {
  flex: 0 0 auto;
}

.inline-form-compact input,
.inline-form-compact select {
  flex: 1 1 110px;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  line-height: 1.3;
  border-radius: 3px;
}

.inline-form-compact input[name="description"] {
  flex: 2 1 160px;
}

.inline-form-compact input[name="price"],
.inline-form-compact input[name="volume"] {
  flex: 0 1 90px;
}

.inline-form-compact input[name="people"],
.inline-form-compact select[name="tableId"] {
  flex: 0 1 90px;
}

.inline-form-compact .btn-small {
  padding: 0.4rem 1rem;
  font-size: 0.65rem;
}

/* ---------- Agenda ---------- */

.event-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.event-date {
  font-family: var(--font-display);
  text-align: center;
  min-width: 90px;
  border-right: 1px solid var(--border);
  padding-right: 1.5rem;
  color: var(--gold-light);
}

.event-date .day {
  font-size: 1.8rem;
  display: block;
  line-height: 1;
}

.event-date .month {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.event-date .weekday {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.event-info {
  min-width: 0;
  flex: 1;
}

.event-info h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.event-info .meta {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.event-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: 4px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.contact-info h3,
form h3 {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.contact-info .label {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  display: block;
}

/* ---------- Forms ---------- */

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.35rem;
  display: block;
}

input,
textarea,
select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Champs date / heure ---------- */

.datetime-row {
  display: flex;
  gap: 0.8rem;
}

.datetime-row > div {
  flex: 1;
}

input[type="date"],
input[type="time"] {
  color-scheme: dark;
  cursor: pointer;
  letter-spacing: 0.04em;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

input[type="date"]:focus,
input[type="time"]:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.15);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  accent-color: var(--gold);
}

/* ---------- Admin ---------- */

.admin-bar {
  background: var(--gold);
  color: var(--bg);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.5rem;
}

.admin-bar a {
  color: var(--bg);
  font-weight: 600;
  text-decoration: underline;
}

.login-box {
  max-width: 400px;
  margin: 4rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 4px;
}

.login-box h2 {
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  text-align: center;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.alert {
  padding: 0.9rem 1.2rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.alert-error {
  background: rgba(138, 59, 59, 0.2);
  border: 1px solid #8a3b3b;
  color: #e3a3a3;
}

.alert-success {
  background: rgba(125, 158, 110, 0.15);
  border: 1px solid #5d8a5d;
  color: #b9d6b0;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer .social {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.site-footer .social a {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* ---------- Responsive nav ---------- */

@media (max-width: 700px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav {
    position: relative;
  }

  .nav-left {
    width: 100%;
    justify-content: center;
  }

  .nav-brand {
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
    background:
      radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.06), transparent 60%),
      var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links .nav-close-item {
    display: block;
    position: absolute;
    top: calc(1rem + env(safe-area-inset-top, 0px));
    right: 1rem;
    width: auto;
    text-align: right;
  }

  .nav-close {
    background: none;
    border: 1px solid var(--border);
    color: var(--cream);
    font-size: 1.6rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .nav-close:hover {
    border-color: var(--gold-accent);
    color: var(--gold-accent);
  }

  .nav-menu-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .nav-menu-brand img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1px solid var(--border);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.12);
  }

  .nav-menu-brand span {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.35em;
    padding-left: 0.35em;
    color: var(--gold-light);
  }

  .nav-links li {
    width: min(280px, 78vw);
    text-align: center;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem 0.5rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu-brand + li a {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a::after,
  .nav-links a:hover::after,
  .nav-links a.active::after {
    content: none !important;
    display: none !important;
  }

  .nav-links a.active {
    color: var(--gold-accent);
    background: none;
  }

  .nav-links a.active::before {
    content: '✦';
    margin-right: 0.6rem;
    font-size: 0.7em;
    vertical-align: 0.15em;
  }

  .nav-menu-foot {
    margin-top: 2rem;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 3px;
    cursor: pointer;
    z-index: 1000;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-toggle.active {
    display: none;
  }
}

/* ---------- Plan de salle / Réservations ---------- */

.floorplan-wrap {
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.floorplan {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 4px;
}

.table-seat circle {
  fill: var(--bg-card);
  stroke: var(--border);
  stroke-width: 2;
  transition: fill 0.15s, stroke 0.15s;
}

.table-seat text {
  fill: var(--text);
  font-family: var(--font-body);
  font-size: 22px;
}

.table-available {
  cursor: pointer;
}

.table-available circle {
  stroke: var(--gold-accent);
}

.table-available:hover circle,
.table-available:focus circle {
  fill: rgba(201, 169, 97, 0.25);
}

.table-taken circle {
  fill: rgba(138, 59, 59, 0.3);
  stroke: #8a3b3b;
}

.table-taken text {
  fill: #e3a3a3;
}

.table-selected circle {
  fill: var(--gold-accent);
  stroke: var(--gold-accent);
}

.table-selected text {
  fill: var(--bg);
  font-weight: 700;
}

.floorplan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
  border: 2px solid var(--border);
}

.legend-available {
  background: var(--bg-card);
  border-color: var(--gold-accent);
}

.legend-taken {
  background: rgba(138, 59, 59, 0.3);
  border-color: #8a3b3b;
}

.legend-selected {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
}

.reservation-summary {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text);
}

.reservation-summary strong {
  color: var(--gold-accent);
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pending {
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
}

.status-confirmed {
  background: rgba(125, 158, 110, 0.15);
  border: 1px solid #5d8a5d;
  color: #b9d6b0;
}

.status-refused {
  background: rgba(138, 59, 59, 0.2);
  border: 1px solid #8a3b3b;
  color: #e3a3a3;
}

/* ---------- Sélecteur étage / rez-de-chaussée ---------- */

.floor-toggle {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.floor-btn {
  min-width: 160px;
}

.floor-btn.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ---------- Activation/désactivation des réservations ---------- */

.reservation-toggle-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Pop-up de confirmation de table ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
}

.modal-box h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

.modal-box form {
  text-align: left;
}

.modal-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
  justify-content: center;
}

/* ---------- Optimisations mobile ---------- */

@media (max-width: 600px) {
  main {
    padding: 2.25rem 1rem;
  }

  .section-title {
    font-size: 1.3rem;
    letter-spacing: 0.12em;
  }

  .section-intro,
  .lead {
    font-size: 0.9rem;
  }

  /* Header / nav */
  .nav {
    padding: 0.8rem 1rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .nav-left {
    width: 100%;
    justify-content: center;
  }

  .open-status {
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
    text-align: center;
    order: 2;
  }

  .nav-brand img {
    width: 36px;
    height: 36px;
  }

  .nav-brand .brand-name {
    font-size: 0.95rem;
  }

  /* Hero */
  .hero-full {
    padding: 3.5rem 1.25rem 4.5rem;
    min-height: 72vh;
  }

  .hero-content .hero-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 1.1rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9.5vw, 2.6rem);
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
  }

  .hero-content .subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    margin-bottom: 1.25rem;
  }

  .hero-content .lead {
    margin: 0 auto 1.9rem;
    line-height: 1.65;
  }

  .hero-scroll {
    bottom: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    text-align: center;
  }

  /* Boutons */
  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.75rem;
  }

  /* Grilles de cartes */
  .grid,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Bannière "à la une" */
  .main-event-content {
    padding: 1.5rem;
  }

  .main-event-content h3 {
    font-size: 1.3rem;
  }

  .countdown {
    gap: 0.4rem;
  }

  .countdown-item {
    min-width: 0;
    flex: 1;
    padding: 0.4rem 0.2rem;
  }

  .countdown-value {
    font-size: 1.05rem;
  }

  /* Cartes "à venir" (accueil) */
  .upcoming-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.75rem;
  }

  .upcoming-date {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 0.5rem;
    width: 100%;
    text-align: left;
  }

  /* Agenda : événements */
  .event-row {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 1rem;
    gap: 0.75rem;
  }

  .event-row .poster-thumb {
    width: 100%;
    height: 200px;
  }

  .event-dj-photos img {
    width: 36px !important;
    height: 36px !important;
  }

  .event-dj-photos.small img {
    width: 32px !important;
    height: 32px !important;
  }

  .event-date {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 0.5rem;
    min-width: 0;
    text-align: left;
  }

  .event-date .day,
  .event-date .month,
  .event-date .weekday {
    display: inline;
  }

  .event-date .weekday {
    margin-bottom: 0;
  }

  .event-date .weekday::after {
    content: ' ';
  }

  /* Admin */
  .admin-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .admin-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
  }

  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-form input,
  .inline-form select {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Plan de salle */
  .floorplan-wrap {
    max-width: 100%;
  }

  .floorplan-legend {
    gap: 0.6rem 1rem;
    font-size: 0.7rem;
  }

  /* Pop-up de réservation */
  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .modal-box {
    max-width: 100%;
    width: 100%;
    padding: 1.25rem;
    max-height: 85vh;
    border-radius: 6px 6px 0 0;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions .btn {
    width: 100%;
    text-align: center;
  }

  .reservation-summary {
    font-size: 0.85rem;
  }

  .datetime-row {
    flex-direction: column;
    gap: 1rem;
  }

  /* Sélecteur étage / rez-de-chaussée */
  .floor-toggle {
    flex-direction: column;
    gap: 0.5rem;
  }

  .floor-btn {
    min-width: 0;
    width: 100%;
    text-align: center;
  }

  /* Activation/désactivation des réservations */
  .reservation-toggle-block {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .reservation-toggle-block form {
    display: flex;
  }

  .reservation-toggle-block .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Plan d'accès (page Contact) ---------- */

.access-map {
  margin-top: 0;
}

.access-map-frame {
  position: relative;
  background: #0c0c0c;
  border: 1px solid var(--border);
  padding: 7px;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
}

.access-map-frame::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 169, 97, 0.45);
  pointer-events: none;
  z-index: 500;
}

#access-map-canvas {
  height: 340px;
  width: 100%;
  background: #0c0c0c;
  z-index: 1;
}

.map-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--gold-accent);
  opacity: 0.75;
  transform: rotate(45deg);
  z-index: 600;
  pointer-events: none;
}

.map-corner-tl { top: 13px; left: 13px; }
.map-corner-tr { top: 13px; right: 13px; }
.map-corner-bl { bottom: 13px; left: 13px; }
.map-corner-br { bottom: 13px; right: 13px; }

.access-map-cartouche {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 600;
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(201, 169, 97, 0.6);
  padding: 0.55rem 0.95rem;
  pointer-events: none;
}

.access-map-cartouche strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--cream);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
  margin-bottom: 0.3rem;
}

.access-map-cartouche span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.map-medallion-wrap {
  background: none;
  border: none;
}

.map-medallion {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #070707;
  border: 1.5px solid var(--gold-accent);
  box-shadow:
    0 0 0 3px rgba(201, 169, 97, 0.18),
    0 0 18px rgba(201, 169, 97, 0.5),
    0 0 45px rgba(201, 169, 97, 0.25);
}

.map-medallion svg {
  width: 100%;
  height: 100%;
  display: block;
}

.access-map .map-club-label {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--gold-accent);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.access-map .map-club-label::before {
  display: none;
}

.access-map .leaflet-control-attribution {
  background: rgba(12, 12, 12, 0.8);
  color: #777;
  font-size: 0.58rem;
}

.access-map .leaflet-control-attribution a {
  color: #999;
}

.access-map .leaflet-bar a {
  background: var(--bg-card);
  color: var(--gold-accent);
  border-color: var(--border);
}

.access-map .leaflet-bar a:hover {
  background: #222;
  color: var(--gold-light);
}

.access-map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.access-map-address {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
