:root {
  --bg: #0a0806;
  --bg-soft: rgba(18, 15, 12, 0.72);
  --card: rgba(22, 18, 14, 0.88);
  --card-hover: #1a1a1a;
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --gold: #d4a84b;
  --gold-light: #f0cb73;
  --gold-dark: #9a7428;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fundo global: degradê dourado + imagem sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(212, 168, 75, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 30%, rgba(154, 116, 40, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 70%, rgba(240, 203, 115, 0.05), transparent 45%),
    linear-gradient(165deg, #0e0b08 0%, #060504 40%, #030302 70%, #0a0807 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1920&q=50");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.035;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.site-bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 8, 6, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 168, 75, 0.15);
  transition: background 0.3s var(--ease);
}

.site-header.scrolled { background: rgba(6, 6, 6, 0.95); }

.site-header.compact { position: sticky; }

.page-toolbar {
  background: rgba(6, 6, 6, 0.72);
  border-bottom: 1px solid rgba(212, 168, 75, 0.12);
  padding: 0.55rem 0;
}

.page-toolbar .container {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.brand img { width: 192px; height: auto; }

.main-nav { display: flex; gap: 1.4rem; }

.main-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transition: width 0.3s var(--ease);
}

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

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.78rem 1.45rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #111;
  box-shadow: 0 8px 28px rgba(212, 168, 75, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 168, 75, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn.full { width: 100%; }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.78rem; }

/* Hero carousel */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s var(--ease), transform 8s linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide.active.zoom { transform: scale(1.06); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,75,0.18), transparent 70%);
  top: 20%;
  right: -10%;
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 2rem 0 4rem;
}

.hero-content .eyebrow {
  display: inline-block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
  margin: 0 0 1rem;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}

.text-gradient {
  background: linear-gradient(120deg, #ffffff 0%, #f0cb73 45%, #ffffff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 8s linear infinite;
}

@keyframes shimmerText {
  to { background-position: 200% center; }
}

.hero-content p {
  color: #d4d4d4;
  font-size: 1.05rem;
  max-width: 540px;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section { padding: 5rem 0; }

.section-soft {
  background: linear-gradient(
    180deg,
    rgba(212, 168, 75, 0.06) 0%,
    rgba(12, 10, 8, 0.4) 50%,
    transparent 100%
  );
  border-top: 1px solid rgba(212, 168, 75, 0.08);
  border-bottom: 1px solid rgba(212, 168, 75, 0.08);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2,
.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 520px;
}

.section-cta {
  margin: 1.75rem 0 0;
  text-align: center;
}

.section-cta--eventos,
.section-cta--artistas {
  margin-top: 2rem;
}

.section-cta .btn {
  min-width: min(320px, 100%);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grids dinâmicos e mapa de mesas nunca ficam invisíveis */
.cards-grid,
.events-banners,
#artistas-lista,
.mesas-page-header,
.mesas-page-body,
.mesas-mapa-wrap,
#eventos-lista,
#galerias-lista {
  opacity: 1;
  transform: none;
}

/* Eventos em banner — um por linha */
.events-banners {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-banner-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.event-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 168, 75, 0.2);
  background: rgba(10, 8, 6, 0.6);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.event-banner-link:hover .event-banner {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 75, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 168, 75, 0.12);
}

.event-banner-img {
  width: 100%;
  aspect-ratio: 21 / 6;
  min-height: 140px;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--ease);
}

.event-banner-link:hover .event-banner-img {
  transform: scale(1.03);
}

.event-banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.event-banner-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 2rem);
  z-index: 1;
}

.event-banner-info h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.event-banner-meta {
  margin: 0;
  color: #e0e0e0;
  font-size: clamp(0.78rem, 1.5vw, 0.92rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.event-banner-sep { color: var(--gold); opacity: 0.8; }

.event-banner-cta {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #111;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.event-banner-link:hover .event-banner-cta {
  opacity: 1;
  transform: translateY(0);
}

.events-banners .card { animation: none; }

@media (max-width: 640px) {
  .event-banner-img {
    aspect-ratio: 16 / 9;
    min-height: 160px;
    max-height: none;
  }

  .event-banner-cta { opacity: 1; transform: none; }
}

.cards-grid .card {
  animation: cardIn 0.45s var(--ease) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* Galerias — sempre 2 por linha */
.cards-grid--galerias,
#galerias-lista,
#galerias .cards-grid,
#galerias-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 480px) {
  .cards-grid--galerias,
  #galerias-lista,
  #galerias .cards-grid,
  #galerias-grid {
    gap: 0.75rem;
  }
}

.card {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 168, 75, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 75, 0.35);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link:hover .card { border-color: rgba(212, 168, 75, 0.35); }

.card:hover .card-media img { transform: scale(1.06); }

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.75));
}

.card-body { padding: 1.15rem; }

.card-body h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }

.card-body p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.tag {
  display: inline-block;
  color: var(--gold) !important;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Filters */
.page-hero {
  padding: 7rem 0 2.5rem;
  text-align: center;
}

.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }

.page-hero p { color: var(--muted); margin: 0; }

/* Listagens dentro de page-hero — texto dos cards à esquerda (como na home) */
.page-hero .events-banners,
.page-hero #eventos-lista {
  text-align: left;
}

.page-hero .event-banner-info {
  text-align: left;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 75, 0.12);
}

.filters input,
.filters select {
  flex: 1;
  min-width: 180px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--bg);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
}

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

.filter-date {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-date-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.filters input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
  min-height: 46px;
  padding-right: 2.75rem;
  position: relative;
}

.filters input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 0.15rem;
  filter: invert(0.9) sepia(0.35) saturate(5) hue-rotate(5deg) brightness(1.1);
}

.filters input[type="date"]::-webkit-datetime-edit {
  color: #f5f5f5;
}

.filters input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

.filters input[type="date"]:invalid::-webkit-datetime-edit {
  color: var(--muted);
}

.results-count {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.service-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 75, 0.45);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover img { transform: scale(1.08); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.92) 100%);
  transition: background 0.35s;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 40%, rgba(20,15,5,0.95) 100%);
}

.service-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem;
  z-index: 1;
}

.service-card-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.service-card-content p {
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  color: #d8d8d8;
  line-height: 1.45;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover .service-card-cta {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* Detail pages */
.detail-banner {
  width: 100%;
  aspect-ratio: 21 / 6;
  min-height: 160px;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 168, 75, 0.25);
}

.detail-header h1 { margin-top: 0; }

.video-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.sponsors-grid img {
  border-radius: 12px;
  background: #fff;
  padding: 0.5rem;
}

/* Fotos dentro da galeria (detalhe) — várias por linha */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-thumb {
  border: none;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: transform 0.3s var(--ease);
}

.gallery-thumb:hover { transform: scale(1.03); }

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Modal artista */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #1a1a1a, #0d0d0d);
  border: 1px solid rgba(212, 168, 75, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: modalIn 0.4s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}

.modal-close:hover { background: var(--gold); color: #111; }

.modal-panel--artist {
  width: min(560px, calc(100vw - 2rem));
  max-height: min(92vh, 820px);
  padding: 0;
}

.modal-artist {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.75rem 1.75rem;
  gap: 1.25rem;
}

.modal-artist-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.modal-artist-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), #8b6914);
  box-shadow: 0 0 32px rgba(212, 168, 75, 0.35);
  margin-bottom: 0.35rem;
}

.modal-artist-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid rgba(12, 10, 8, 0.9);
}

.modal-artist-hero .tag {
  margin: 0;
  letter-spacing: 0.12em;
}

.modal-artist-hero h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  margin: 0;
  color: var(--text);
  line-height: 1.25;
}

.modal-artist-lead {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.modal-artist-media {
  width: 100%;
}

.modal-artist-media .video-wrap {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 75, 0.2);
}

.modal-artist-actions {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

.modal-artist-actions .btn-primary {
  min-width: 200px;
  padding: 0.85rem 2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--gold); color: #111; }

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-msg {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  grid-column: 1 / -1;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(212, 168, 75, 0.15);
  background: linear-gradient(180deg, transparent, rgba(8, 6, 5, 0.85));
  margin-top: 2rem;
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wrap a { color: var(--gold); font-weight: 600; }

.footer-credit {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-credit a {
  color: var(--gold-light);
  font-weight: 600;
  transition: color 0.2s;
}

.footer-credit a:hover { color: var(--gold); }

body[data-page]:not([data-page="home"]) main { padding-top: 0; }

@media (max-width: 900px) {
  .brand img { width: 150px; }

  .modal-artist {
    padding: 2rem 1.25rem 1.5rem;
  }

  .modal-artist-avatar {
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 600px) {
  .hero { min-height: 85vh; }
  .filters { flex-direction: column; }
  .filters input, .filters select { min-width: 100%; }

  body::after {
    background-attachment: scroll;
    opacity: 0.03;
  }

  .hero-slide {
    background-attachment: scroll;
  }

  .fab-whatsapp { bottom: 1rem; right: 1rem; }
}

@media (max-width: 520px) {
  .container {
    width: min(1180px, 94%);
  }

  .stats-bar {
    margin-top: -1rem;
    padding: 0;
  }

  .hero-scroll {
    display: none;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .hero-dots {
    bottom: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head .btn {
    width: 100%;
    justify-content: center;
  }

  .event-banner-img {
    aspect-ratio: 16 / 9;
    min-height: 140px;
    max-height: none;
  }

  .event-banner-info {
    padding: 0.85rem 0.9rem;
  }

  .event-banner-info h3 {
    font-size: 1rem;
  }

  .event-banner-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    font-size: 0.72rem;
  }

  .event-banner-sep {
    display: none;
  }

  .event-banner-cta {
    opacity: 1;
    transform: none;
    margin-top: 0.5rem;
  }

  .back-top {
    right: 4.75rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }

  .fab-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    right: 1rem;
  }
}

/* ——— Modern UI extras ——— */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) #0a0806;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0806; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--gold-dark));
  border-radius: 4px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  box-shadow: 0 0 12px rgba(212, 168, 75, 0.6);
  transition: width 0.1s linear;
}

/* Hero scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 5rem;
  right: clamp(1rem, 4vw, 3rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Stats bar */
.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  padding: 0 0 1rem;
  overflow: hidden;
  max-width: 100%;
}

.stats-bar .container {
  max-width: 100%;
}

/* Mobile-first: 2 linhas × 2 colunas */
.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0.55rem;
  background: rgba(18, 14, 10, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 168, 75, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.stat-item {
  text-align: center;
  padding: 0.6rem 0.35rem;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border-right: none;
}

.stat-item strong {
  display: block;
  font-size: 1.25rem;
  font-family: "Playfair Display", serif;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
  white-space: nowrap;
}

/* Desktop: 4 colunas em 1 linha */
@media (min-width: 521px) {
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }

  .stats-row {
    display: contents;
  }

  .stat-item {
    padding: 0.5rem;
    background: transparent;
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .stat-item:last-child {
    border-right: none;
  }

  .stat-item strong {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .stat-item span {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    white-space: normal;
  }
}

/* Cards com borda animada */
.card {
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(212, 168, 75, 0.35), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover::before { opacity: 1; }

.cards-grid .card:nth-child(1) { animation-delay: 0.05s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.1s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.15s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.2s; }
.cards-grid .card:nth-child(5) { animation-delay: 0.25s; }
.cards-grid .card:nth-child(6) { animation-delay: 0.3s; }
.cards-grid .card:nth-child(7) { animation-delay: 0.35s; }
.cards-grid .card:nth-child(8) { animation-delay: 0.4s; }

/* Menu mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(212, 168, 75, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

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

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* FAB WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.fab-whatsapp svg { width: 28px; height: 28px; }

/* Voltar ao topo */
.back-top {
  position: fixed;
  bottom: 1.75rem;
  right: 5.5rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 75, 0.4);
  background: rgba(18, 14, 10, 0.9);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--gold);
  color: #111;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    background: rgba(12, 10, 8, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(212, 168, 75, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
  }

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

  .main-nav a {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-wrap .btn-primary:not(.nav-ingressos) { display: none; }

  .nav-wrap .nav-ingressos {
    display: inline-flex;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ——— Mapa de Mesas ——— */
.mesas-page-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.mesas-page-header .section-title {
  margin-bottom: 0.5rem;
}

#mesas-evento-info {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

#mesas-evento-info strong {
  color: var(--gold-light);
}

.mesas-page-body {
  max-width: 960px;
  margin: 0 auto;
}

.mesas-legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.08), rgba(18, 16, 14, 0.6));
  border: 1px solid rgba(212, 168, 75, 0.22);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
}

.legenda-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mesa-preview {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.mesa-preview.casal {
  background: linear-gradient(145deg, #0f2218, #1a3d28);
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}

.mesa-preview.grupo {
  background: linear-gradient(145deg, #0f1a2e, #1e3a5f);
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.35);
}

.mesa-preview.reservada {
  background: linear-gradient(145deg, #1e1c24, #2a2832);
  border-color: rgba(140, 135, 155, 0.55);
}

.mesas-mapa-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.mesas-mapa {
  margin: 0 auto;
}

/* Salão — layout em clusters (sem sobreposição) */
.mesas-mapa--salao {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.25rem 1rem 1rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 168, 75, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(96, 165, 250, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(52, 211, 153, 0.06), transparent 50%),
    linear-gradient(168deg, #1c1814 0%, #141820 42%, #10121a 100%);
  border-radius: 20px;
  border: 1px solid rgba(212, 168, 75, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(212, 168, 75, 0.06);
  color: #f0ebe3;
}

.sala-palco {
  align-self: center;
  padding: 0.5rem 2.5rem;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.45), rgba(154, 116, 40, 0.3));
  color: #1a1408;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 10px;
  border: 1px solid rgba(240, 203, 115, 0.5);
  box-shadow: 0 4px 20px rgba(212, 168, 75, 0.25);
}

.sala-corpo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 1.4fr) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
  min-height: 280px;
}

.sala-lado {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sala-lado--dir {
  align-items: flex-end;
}

.sala-lado--dir .sala-topo-grid,
.sala-lado--dir .sala-colunas {
  align-items: flex-end;
}

.sala-topo-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.5rem;
  justify-content: start;
}

.sala-topo-grid--dir {
  justify-content: end;
}

.sala-colunas {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
}

.sala-lado--dir .sala-colunas {
  justify-content: flex-end;
}

.sala-coluna {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.sala-centro {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 0.5rem 0;
}

.sala-pista {
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  text-align: center;
  background: linear-gradient(180deg, rgba(212, 168, 75, 0.22), rgba(212, 168, 75, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(212, 168, 75, 0.15));
}

.sala-baixo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.sala-baixo-fileira {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.sala-entrada {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  margin-right: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(212, 168, 75, 0.65);
}

.sala-entrada svg {
  opacity: 0.85;
}

.mesas-mapa--salao .mesa {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mesas-mapa--salao .mesa--sm {
  width: 38px;
  height: 38px;
  border-width: 2px;
}

.mesas-mapa--salao .mesa--sm .mesa-numero {
  font-size: 0.62rem;
}

.mesas-mapa--salao .mesa.casal {
  background: linear-gradient(145deg, #0d1f16, #1a3d2a);
  border-color: #34d399;
  color: #6ee7b7;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.15), 0 4px 14px rgba(52, 211, 153, 0.2);
}

.mesas-mapa--salao .mesa.grupo {
  background: linear-gradient(145deg, #0d1528, #1a3055);
  border-color: #60a5fa;
  color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.15), 0 4px 14px rgba(96, 165, 250, 0.2);
}

.mesas-mapa--salao .mesa.reservada {
  background: linear-gradient(145deg, #1a1820, #25232e);
  border-color: rgba(130, 125, 145, 0.45);
  color: rgba(160, 155, 175, 0.55);
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.75;
}

.mesas-mapa--salao .mesa.casal:not(.reservada):hover {
  transform: scale(1.1);
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.35), 0 6px 20px rgba(52, 211, 153, 0.35);
  z-index: 2;
}

.mesas-mapa--salao .mesa.grupo:not(.reservada):hover {
  transform: scale(1.1);
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.35), 0 6px 20px rgba(96, 165, 250, 0.35);
  z-index: 2;
}

.mesas-mapa--salao .mesa-numero {
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

/* Grid — outros eventos */
.mesas-mapa--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  max-width: 720px;
  background: var(--card);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
}

.mesas-mapa--grid .mesa {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s var(--ease);
}

.mesas-mapa--grid .mesa.casal {
  background: rgba(34, 197, 94, 0.12);
  border-color: #22c55e;
  color: #4ade80;
}

.mesas-mapa--grid .mesa.reservada {
  background: rgba(120, 120, 120, 0.2);
  border-color: #888;
  color: #888;
  cursor: not-allowed;
  opacity: 0.65;
}

.mesas-mapa--grid .mesa:not(.reservada):hover {
  transform: scale(1.08);
}

.mesas-mapa--grid .mesa-numero {
  font-size: 0.85rem;
  font-weight: 700;
}

/* Modal de reserva — compacto e proporcional */
.modal-reserva-root .modal-panel--reserva {
  width: min(400px, calc(100vw - 2rem));
  max-height: min(90vh, 640px);
  padding: 0;
}

.modal-reserva {
  padding: 1.5rem 1.5rem 1.25rem;
  width: 100%;
}

.modal-reserva h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  padding-right: 2rem;
  color: var(--gold);
  line-height: 1.3;
}

.modal-reserva-info {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(212, 168, 75, 0.08);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  line-height: 1.55;
}

.modal-reserva-evento {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label,
.form-valor-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gold-light);
}

.form-group input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 168, 75, 0.3);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.12);
}

.form-group input::placeholder {
  color: var(--muted);
  opacity: 0.55;
}

.form-group-valor {
  margin-top: 0.25rem;
}

.valor-mesa {
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.12), rgba(154, 116, 40, 0.08));
  border: 1px solid rgba(212, 168, 75, 0.45);
  border-radius: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  font-family: "Playfair Display", serif;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.form-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(16, 185, 129, 0.15));
  color: rgb(52, 211, 153);
  border: 2px solid rgba(52, 211, 153, 0.5);
  padding: 0.875rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.3), rgba(16, 185, 129, 0.25));
  border-color: rgba(52, 211, 153, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.25);
}

@media (max-width: 768px) {
  .mesas-mapa--salao {
    padding: 1rem 0.65rem;
  }

  .sala-corpo {
    grid-template-columns: minmax(0, 1fr) minmax(72px, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
  }

  .mesas-mapa--salao .mesa {
    width: 40px;
    height: 40px;
  }

  .mesas-mapa--salao .mesa--sm {
    width: 34px;
    height: 34px;
  }

  .sala-baixo-fileira {
    gap: 0.4rem;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .mesas-legenda {
    gap: 0.75rem 1.25rem;
  }

  .legenda-item {
    font-size: 0.75rem;
  }
}

/* Telas pequenas: mantém layout do salão + pan/zoom */
@media (max-width: 530px) {
  .mesas-mapa-wrap--pan {
    margin: 0 -0.25rem;
  }

  .mesas-pan-viewport {
    position: relative;
    height: min(58vh, 400px);
    min-height: 280px;
    overflow: hidden;
    touch-action: none;
    border-radius: 16px;
    background: linear-gradient(168deg, #141820, #10121a);
    border: 1px solid rgba(212, 168, 75, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    cursor: grab;
  }

  .mesas-pan-viewport:active {
    cursor: grabbing;
  }

  .mesas-pan-inner {
    transform-origin: 0 0;
    will-change: transform;
  }

  .mesas-mapa-wrap--pan .mesas-mapa--salao {
    width: 540px;
    max-width: none;
    margin: 0;
    flex-shrink: 0;
    border-radius: 14px;
    padding: 0.85rem 0.65rem 0.75rem;
    gap: 0.5rem;
  }

  .mesas-mapa-wrap--pan .sala-corpo {
    grid-template-columns: minmax(0, 1fr) minmax(56px, 1fr) minmax(0, 1fr);
    gap: 0.4rem 0.5rem;
    min-height: 200px;
  }

  .mesas-mapa-wrap--pan .sala-lado {
    gap: 0.4rem;
  }

  .mesas-mapa-wrap--pan .sala-topo-grid,
  .mesas-mapa-wrap--pan .sala-colunas {
    gap: 0.35rem;
  }

  .mesas-mapa-wrap--pan .sala-coluna {
    gap: 0.35rem;
  }

  .mesas-mapa-wrap--pan .sala-baixo {
    gap: 0.35rem;
  }

  .mesas-mapa-wrap--pan .sala-baixo-fileira {
    gap: 0.35rem;
  }

  .mesas-mapa-wrap--pan .mesas-mapa--salao .mesa {
    width: 34px;
    height: 34px;
    border-width: 2px;
  }

  .mesas-mapa-wrap--pan .mesas-mapa--salao .mesa--sm {
    width: 28px;
    height: 28px;
  }

  .mesas-mapa-wrap--pan .mesas-mapa--salao .mesa-numero {
    font-size: 0.58rem;
  }

  .mesas-mapa-wrap--pan .sala-pista {
    font-size: 1rem;
  }

  .mesas-mapa-wrap--pan .sala-palco {
    padding: 0.35rem 1.5rem;
    font-size: 0.62rem;
  }

  .mesas-pan-hint {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(8, 8, 10, 0.82);
    border-radius: inherit;
  }

  .mesas-pan-hint.hidden {
    display: none;
    pointer-events: none;
  }

  .mesas-pan-hint-box {
    max-width: 280px;
    text-align: center;
    color: #f2f2f2;
  }

  .mesas-pan-hint-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    opacity: 0.95;
  }

  .mesas-pan-hint-box p {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
  }

  .mesas-pan-hint-box strong {
    color: var(--gold-light);
    font-weight: 700;
  }

  .mesas-pan-hint-btn {
    width: 100%;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
  }

  .mesas-pan-hint-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
  }

  .mesas-mapa-wrap:not(.mesas-mapa-wrap--pan) .mesas-mapa--salao {
    border-radius: 14px;
  }
}

@media (max-width: 520px) {
  .mesas-mapa--grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    padding: 1rem;
  }

  .modal-reserva-root .modal-panel--reserva {
    width: min(360px, calc(100vw - 1.5rem));
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .valor-mesa {
    font-size: 1.2rem;
  }
}

/* Laravel — alertas e mesa selecionada */
.front-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  border: 1px solid;
}
.front-alert--ok { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.4); color: #6ee7b7; }
.front-alert--warn { background: rgba(212, 168, 75, 0.12); border-color: rgba(212, 168, 75, 0.4); color: var(--gold-light); }
.front-alert--err { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }

.mesas-mapa--salao .mesa.selecionada {
  box-shadow: 0 0 0 4px rgba(212, 168, 75, 0.55), 0 6px 20px rgba(212, 168, 75, 0.35);
  transform: scale(1.08);
  z-index: 4;
}

.comprar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.comprar-card {
  background: var(--card);
  border: 1px solid rgba(212, 168, 75, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (max-width: 768px) {
  .comprar-grid { grid-template-columns: 1fr; }
}

/* SweetAlert2 — tema AB (alto contraste) */
.swal2-container {
  z-index: 12000;
}

.swal2-popup,
.swal2-popup.ab-swal-popup {
  background: #2a2622 !important;
  color: #f8f8f8 !important;
  border: 1px solid rgba(212, 168, 75, 0.45) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7) !important;
  padding: 1.75rem 1.5rem 1.5rem !important;
}

.swal2-title,
.swal2-title.ab-swal-title {
  color: #ffffff !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

.swal2-content,
.swal2-content.ab-swal-content,
.swal2-popup .swal2-content {
  color: #ececec !important;
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
}

#swal2-content,
.swal2-popup #swal2-content {
  color: #ececec !important;
}

.swal2-confirm,
.swal2-confirm.ab-swal-confirm {
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  color: #111 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.65rem 2rem !important;
  box-shadow: 0 4px 16px rgba(212, 168, 75, 0.4) !important;
}

.swal2-confirm:focus,
.swal2-confirm:hover {
  background: linear-gradient(135deg, #f5d88a, var(--gold-light)) !important;
  color: #111 !important;
}

.swal2-icon.swal2-warning {
  border-color: var(--gold) !important;
  color: var(--gold-light) !important;
}

.swal2-icon.swal2-warning .swal2-icon-text {
  color: var(--gold-light) !important;
}

.swal2-icon.swal2-success {
  border-color: #34d399 !important;
  color: #6ee7b7 !important;
}

.swal2-icon.swal2-error {
  border-color: #f87171 !important;
  color: #fca5a5 !important;
}

.swal2-icon.swal2-info {
  border-color: #60a5fa !important;
  color: #93c5fd !important;
}
