/* ==========================================================================
   RÉVEILLON 2027 — BAM BAM CAFÉ
   Design System & Styling Sheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,400&display=swap');

:root {
  /* Brand Color Palette */
  --bg-primary: #5A0E23;
  --bg-dark: #3A0714;
  --bg-card: rgba(80, 12, 31, 0.75);
  --bg-card-hover: rgba(112, 20, 44, 0.85);
  
  --accent-gold: #C89B6C;
  --accent-gold-bright: #E8C194;
  --accent-gold-dark: #9E7345;
  --accent-gold-glow: rgba(200, 155, 108, 0.35);
  
  --text-main: #FFF7F0;
  --text-muted: #E2CBB7;
  --text-dim: #B38E78;
  
  /* Status Colors */
  --status-available: #2E9B5B;
  --status-available-glow: rgba(46, 155, 91, 0.4);
  --status-reserved: #E5A93C;
  --status-reserved-glow: rgba(229, 169, 60, 0.4);
  --status-sold: #661828;
  --status-sold-text: #9E5664;
  
  /* Area Theme Colors */
  --area-1-yellow: #D99B26;
  --area-2-red: #E25364;
  --area-3-green: #2E9B5B;

  /* Fonts */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout Spacing */
  --container-max: 1240px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows & Glassmorphism */
  --shadow-gold: 0 10px 30px rgba(200, 155, 108, 0.15);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glass-border: 1px solid rgba(200, 155, 108, 0.22);
}

/* --- BASE & RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #75142F 0%, #460919 50%, #29040D 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .serif-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFF0D6 0%, #C89B6C 50%, #E8C194 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.star-icon {
  color: var(--accent-gold);
  display: inline-block;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #D6A472 0%, #A67543 100%);
  color: #26040C;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(200, 155, 108, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(200, 155, 108, 0.45);
  background: linear-gradient(135deg, #E8C194 0%, #B88550 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(112, 20, 44, 0.5);
  color: var(--text-main);
  border: 1px solid var(--accent-gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: #26040C;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #28E16D 0%, #15A090 100%);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(41, 4, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: var(--glass-border);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

/* Header Logo Image */
.header-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* The logo is bordô on white — invert to make it show on dark header */
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.brand-logo:hover .header-logo-img {
  opacity: 1;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--accent-gold-bright);
}

.brand-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

/* ── SECTION BREAK BANNER ── */
.opening-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
}

.opening-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── ALTERNATING SECTION THEMES ── */

/* WHITE sections */
.section-white {
  background: #FFFFFF !important;
  border-top: none !important;
  border-bottom: none !important;
  color: #2B0A14;
}

.section-white .section-tag {
  color: #8B3A52;
}

.section-white .star-icon {
  color: #8B3A52;
}

.section-white .gold-gradient-text {
  background: linear-gradient(135deg, #7A1C35 0%, #5A0E23 50%, #8B3A52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-white .section-subtitle {
  color: #6B3040;
}

.section-white .manifesto-card {
  background: #fff;
  border: 1px solid rgba(139, 58, 82, 0.2);
  box-shadow: 0 12px 40px rgba(90, 14, 35, 0.1);
}

.section-white .manifesto-quote {
  color: #2B0A14;
}

.section-white .manifesto-text {
  color: #5A2030;
}

.section-white .menu-item-card {
  background: #fff;
  border: 1px solid rgba(139, 58, 82, 0.18);
  box-shadow: 0 4px 20px rgba(90, 14, 35, 0.06);
}

.section-white .menu-item-card:hover {
  border-color: #8B3A52;
  box-shadow: 0 8px 30px rgba(90, 14, 35, 0.12);
}

.section-white .menu-item-name {
  color: #2B0A14;
}

.section-white .menu-item-desc {
  color: #6B3040;
}

.section-white .menu-tab {
  border-color: rgba(139, 58, 82, 0.35);
  color: #6B3040;
}

.section-white .menu-tab:hover,
.section-white .menu-tab.active {
  background: #5A0E23;
  color: #FFF8F3;
  border-color: #5A0E23;
  box-shadow: 0 4px 15px rgba(90, 14, 35, 0.25);
}

.section-white .menu-cat-badge {
  background: rgba(90, 14, 35, 0.06);
  border-color: rgba(90, 14, 35, 0.25);
  color: #5A0E23;
}

.section-white .menu-item-tag {
  color: #5A0E23;
  border-color: #8B3A52;
}

.section-white .menu-item-badge {
  background: #5A0E23;
  color: #FFF8F3;
}

.section-white .accordion-item {
  background: #fff;
  border: 1px solid rgba(139, 58, 82, 0.18);
}

.section-white .accordion-header {
  color: #2B0A14;
}

.section-white .accordion-header:hover {
  background: rgba(90, 14, 35, 0.04);
}

.section-white .accordion-icon {
  color: #8B3A52;
}

.section-white .accordion-body {
  color: #5A2030;
}

/* RED sections */
.section-red {
  background: #75142F !important;
  border-top: none !important;
  border-bottom: none !important;
}

.section-red .experience-card {
  background: rgba(80, 12, 31, 0.75);
  border: 1px solid rgba(200, 155, 108, 0.22);
}

.section-red .area-legend-card {
  background: rgba(60, 8, 22, 0.85);
  border: 1px solid rgba(200, 155, 108, 0.22);
}

.section-red .pix-notice-banner {
  background: linear-gradient(135deg, rgba(200, 155, 108, 0.12), rgba(80, 12, 31, 0.5));
}

/* Responsive: smaller logo on mobile */
@media (max-width: 768px) {
  .header-logo-img {
    height: 34px;
  }
}


.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

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

/* Header Countdown Badge */
.header-countdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(80, 12, 31, 0.9);
  border: 1px solid rgba(200, 155, 108, 0.4);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.countdown-digits {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(117, 20, 47, 0.4) 0%, rgba(41, 4, 13, 0.92) 80%),
    url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
  filter: brightness(0.65) contrast(1.1);
  z-index: 1;
}

.hero-patterns {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 180px;
  background: radial-gradient(circle at 50% 100%, var(--accent-gold-glow), transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 2rem 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 155, 108, 0.15);
  border: 1px solid var(--accent-gold);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold-bright);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  color: var(--accent-gold-bright);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* --- MANIFESTO / CONCEPT --- */
.manifesto-section {
  padding: 7rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(90, 14, 35, 0.6) 0%, rgba(41, 4, 13, 0.95) 100%);
  border-bottom: var(--glass-border);
}

.manifesto-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-dark);
  position: relative;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 2rem;
  font-weight: 400;
}

.manifesto-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto;
}

/* --- EXPERIENCES --- */
.experiences-section {
  padding: 7rem 0;
}

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

.experience-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-dark);
  display: flex;
  flex-direction: column;
}

.experience-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.experience-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.experience-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.experience-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.experience-num {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.experience-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.experience-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- MENU SECTION --- */
.menu-section {
  padding: 7rem 0;
  background: rgba(35, 3, 10, 0.8);
  border-top: var(--glass-border);
  border-bottom: var(--glass-border);
}

.menu-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200, 155, 108, 0.3);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.menu-tab:hover, .menu-tab.active {
  background: var(--accent-gold);
  color: #26040C;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(200, 155, 108, 0.3);
}

.menu-category-content {
  display: none;
}

.menu-category-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.menu-item-card {
  background: var(--bg-card);
  border: var(--glass-border);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease;
}

.menu-item-card:hover {
  border-color: var(--accent-gold);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.menu-item-name {
  font-size: 1.35rem;
  color: var(--text-main);
}

.menu-item-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Menu Category Intro Badge */
.menu-category-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.menu-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 155, 108, 0.1);
  border: 1px solid rgba(200, 155, 108, 0.35);
  color: var(--accent-gold-bright);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
}

/* Menu Item Icon */
.menu-item-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

/* Menu Item Tag (type: Carne/Peixe etc.) */
.menu-item-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-dark);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* Menu Item Badge (e.g. "Exclusiva" or "Meia-Noite") */
.menu-item-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #26040C;
  background: var(--accent-gold);
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
}

.menu-item-badge--gold {
  background: linear-gradient(135deg, #E8C194, #C89B6C);
  animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 155, 108, 0); }
  50% { box-shadow: 0 0 0 4px rgba(200, 155, 108, 0.3); }
}

/* Featured card (Entrada) */
.menu-item-card--featured {
  border-color: var(--accent-gold);
  background: rgba(112, 20, 44, 0.55);
  max-width: 600px;
}

/* Centered grid (for single-item categories) */
.menu-grid--centered {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.menu-grid--centered .menu-item-card {
  flex: 0 1 600px;
}

/* --- INTERACTIVE FLOOR PLAN / TABLE MAP --- */
.tables-section {
  padding: 7rem 0;
  position: relative;
}

.map-viewport-wrapper {
  background: rgba(28, 3, 8, 0.9);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
}

.map-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200, 155, 108, 0.15);
  flex-wrap: wrap;
  gap: 1rem;
}

.map-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.map-hint {
  font-size: 0.85rem;
  color: var(--accent-gold-bright);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.map-action-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-btn {
  background: rgba(112, 20, 44, 0.6);
  border: 1px solid rgba(200, 155, 108, 0.3);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.map-btn:hover {
  background: var(--accent-gold);
  color: #26040C;
}

/* Interactive SVG Map Canvas */
.map-canvas-container {
  width: 100%;
  height: 580px;
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  border-radius: var(--radius-md);
  background: #1B0409;
}

.map-canvas-container:active {
  cursor: grabbing;
}

#map-svg {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 0.1s ease-out;
}

/* SVG Table Elements & States */
.map-table-node {
  cursor: pointer;
  transition: all 0.25s ease;
}

.map-table-node:hover {
  filter: drop-shadow(0 0 12px rgba(232, 193, 148, 0.8));
}

.map-table-node.status-disponivel circle,
.map-table-node.status-disponivel rect {
  fill: #70142C;
  stroke: var(--accent-gold);
  stroke-width: 3;
}

.map-table-node.status-disponivel text {
  fill: #FFFFFF;
  font-weight: bold;
}

.map-table-node.status-em_reserva circle,
.map-table-node.status-em_reserva rect {
  fill: var(--status-reserved);
  stroke: #FFF;
  stroke-width: 2;
}

.map-table-node.status-vendida {
  cursor: not-allowed;
  opacity: 0.55;
}

.map-table-node.status-vendida circle,
.map-table-node.status-vendida rect {
  fill: #3A0C16;
  stroke: #752938;
  stroke-width: 2;
  stroke-dasharray: 4 2;
}

.map-table-node.status-vendida text {
  fill: var(--status-sold-text);
}

/* Hover Tooltip (Desktop) */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(35, 4, 11, 0.95);
  border: 1px solid var(--accent-gold);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-dark);
  z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: translate(-50%, -120%);
}

.map-tooltip.active {
  display: block;
  opacity: 1;
}

.tooltip-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent-gold-bright);
}

.tooltip-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* --- LEGEND & PRICING --- */
.legend-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.area-legend-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-dark);
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.area-badge.area-1 { background: rgba(217, 155, 38, 0.2); color: var(--area-1-yellow); border: 1px solid var(--area-1-yellow); }
.area-badge.area-2 { background: rgba(226, 83, 100, 0.2); color: var(--area-2-red); border: 1px solid var(--area-2-red); }
.area-badge.area-3 { background: rgba(46, 155, 91, 0.2); color: var(--area-3-green); border: 1px solid var(--area-3-green); }

.lot-price-list {
  list-style: none;
  margin-top: 1rem;
}

.lot-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(200, 155, 108, 0.15);
  font-size: 0.9rem;
}

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

.lot-price-item.current-lot {
  color: var(--accent-gold-bright);
  font-weight: 700;
}

.pix-notice-banner {
  background: linear-gradient(135deg, rgba(200, 155, 108, 0.15) 0%, rgba(112, 20, 44, 0.4) 100%);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* --- MODAL (TABLE DETAILS) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 2, 6, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #3B0716;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--accent-gold-bright);
}

.modal-table-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-table-number {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-gold-bright);
  font-family: var(--font-serif);
}

.modal-status-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-top: 0.5rem;
}

.modal-details-grid {
  background: rgba(20, 2, 7, 0.6);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(200, 155, 108, 0.15);
  font-size: 0.95rem;
}

.detail-row:last-child {
  border-bottom: none;
}

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

.detail-value {
  font-weight: 600;
  color: var(--text-main);
}

/* --- FAQ / INFORMATIONS --- */
.faq-section {
  padding: 7rem 0;
  background: rgba(30, 3, 9, 0.85);
  border-top: var(--glass-border);
}

.accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.5rem 1.75rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: rgba(112, 20, 44, 0.4);
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem 1.75rem;
  transition: max-height 0.4s ease-in-out;
}

/* --- FOOTER & CONTACT --- */
.site-footer {
  background: #180207;
  padding: 5rem 0 2rem 0;
  border-top: var(--glass-border);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(200, 155, 108, 0.15);
  padding-top: 2rem;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(35, 4, 11, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.75rem;
    border-bottom: var(--glass-border);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }
  
  .header-countdown {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }
  
  .hero-section {
    padding-top: calc(var(--header-height) + 1rem);
  }
  
  .manifesto-card {
    padding: 2.5rem 1.5rem;
  }
  
  .map-canvas-container {
    height: 480px;
  }
  
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}

/* Keep the opening artwork fully visible below the fixed header. */
.opening-banner { margin-top: var(--header-height); }
section[id] { scroll-margin-top: var(--header-height); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.section-white {
  --text-main: #2B0A14;
  --text-muted: #5A2030;
  --text-dim: #6B3040;
  --accent-gold-bright: #7A1C35;
}
@media (max-width: 768px) {
  .experiences-grid, .menu-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }
}

/* Compact branding and always-visible quick navigation. */
:root { --header-height: 72px; }
.header-container { gap: 1.25rem; }
.brand-logo { flex-shrink: 0; }
.header-logo-img { width: 92px; height: auto; }
.footer-logo-img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.header-tools { display: flex; align-items: center; flex-shrink: 0; }
.header-container nav { min-width: 0; }
.nav-menu {
  position: static;
  width: auto;
  background: none;
  backdrop-filter: none;
  flex-direction: row;
  gap: clamp(0.7rem, 1.8vw, 1.5rem);
  padding: 0;
  border: 0;
  transform: none;
}
.nav-link { font-size: 0.75rem; letter-spacing: 0.04em; white-space: nowrap; }
.header-countdown { display: flex; flex-direction: column; gap: 0; padding: 0.35rem 0.7rem; }
.countdown-label { font-size: 0.6rem; }
.countdown-digits { font-size: 0.75rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.section-tag { display: flex; justify-content: center; }
.experience-img-wrap { height: 300px; }
.experience-img-wrap img { object-position: center 40%; }
.menu-source-note { text-align: center; max-width: 660px; margin: 2.5rem auto 1rem; color: var(--text-muted); }
.menu-document-link { text-align: center; color: #75142F; text-decoration: underline; text-underline-offset: 4px; }
.menu-item-name { margin-bottom: 0.5rem; }

@media (max-width: 760px) {
  :root { --header-height: 110px; }
  .header-container { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 62px 48px; gap: 0; padding: 0 0.75rem; }
  .header-logo-img { width: 80px; height: auto; }
  .header-tools { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-container nav { grid-column: 1 / -1; grid-row: 2; width: 100%; overflow-x: auto; }
  .nav-menu { min-height: 42px; justify-content: space-between; gap: 0.5rem; width: max-content; min-width: 100%; padding: 0 0.2rem 6px; }
  .nav-link { display: flex; align-items: center; min-height: 40px; font-size: 0.65rem; letter-spacing: 0; }
  .footer-logo-img { width: 112px; }
  .legend-pricing-grid { grid-template-columns: minmax(0, 1fr); }
}
