/* ==========================================================
   Arena Ingressos — Design System
   Cores: brand-primary #1A3A5A | cyan #4CE0E0 | orange #FF6B4C
   Font: Poppins
   ========================================================== */

/* ----------------------------------------------------------
   CSS Custom Properties (Tokens) — Light Mode
   ---------------------------------------------------------- */
:root {
  --color-primary: #1A3A5A;
  --color-primary-light: #254d78;
  --color-primary-dark: #112840;
  --color-cyan: #4CE0E0;
  --color-cyan-glow: rgba(76, 224, 224, 0.25);
  --color-orange: #FF6B4C;
  --color-orange-dark: #e85534;
  --color-bg: #ffffff;
  --color-surface: #f9f9f9;
  --color-surface-2: #f8fafc;
  --color-text: #1A3A5A;
  --color-text-muted: #5c6a7b;
  --color-text-light: #94a3b8;
  --color-border: #e0e0e0;
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;

  --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .12), 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-glow: 0 0 24px rgba(76, 224, 224, .3);

  --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------
   Dark Mode Tokens
   ---------------------------------------------------------- */
html[data-theme="dark"] {
  --color-bg: #1A202C;
  --color-surface: #2D3748;
  --color-surface-2: #2D3748;
  --color-text: #E2E8F0;
  --color-text-muted: #A0AEC0;
  --color-border: #4A5568;
  --color-primary: #4CE0E0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
}

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  line-height: 1.7;
}

/* ----------------------------------------------------------
   Layout
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

/* ----------------------------------------------------------
   HEADER / NAVBAR — Light style (matches original HTML)
   ---------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 1rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 75px;
  width: auto;
  transition: opacity 0.3s ease;
}

/* Logo switching: light logo visible by default, dark logo hidden */
.navbar__logo-img--dark {
  display: none;
}

html[data-theme="dark"] .navbar__logo-img--light {
  display: none;
}

html[data-theme="dark"] .navbar__logo-img--dark {
  display: block;
}

.navbar__nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: flex-end;
}

/* Desktop nav — hidden on mobile */
.navbar__nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.navbar__nav a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.navbar__nav a:hover {
  color: var(--color-cyan);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Theme toggle */
.navbar__theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.navbar__theme-toggle:hover {
  background-color: var(--color-border);
}

/* User avatar pill in navbar */
.navbar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .15s;
}

.navbar__avatar:hover {
  transform: scale(1.08);
}

/* Hamburger mobile */
.navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Mobile menu */
.navbar__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-surface);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  flex-direction: column;
  z-index: 99;
}

.navbar__mobile-menu.open {
  display: flex;
}

.navbar__mobile-menu a,
.navbar__mobile-menu form {
  display: block;
  text-align: center;
  padding: 0.8rem 1.5rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  width: 100%;
}

.navbar__mobile-menu a:hover {
  color: var(--color-cyan);
}

.navbar__mobile-menu hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0.25rem 0;
}


/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
  box-shadow: 0 4px 14px rgba(255, 107, 76, 0.35);
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 76, 0.45);
}

.btn-secondary {
  background: var(--color-cyan);
  color: var(--color-primary-dark);
  border-color: var(--color-cyan);
  box-shadow: 0 4px 14px rgba(76, 224, 224, 0.3);
}

.btn-secondary:hover {
  background: #3dcece;
  border-color: #3dcece;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(76, 224, 224, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* ----------------------------------------------------------
   BADGES / TAGS
   ---------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-green {
  background: #d1fae5;
  color: #065f46;
}

.badge-orange {
  background: #ffedd5;
  color: #9a3412;
}

.badge-yellow {
  background: #fef9c3;
  color: #854d0e;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
}

.badge-gray {
  background: #f1f5f9;
  color: #475569;
}

.badge-red {
  background: #fee2e2;
  color: #991b1b;
}

.badge-cyan {
  background: rgba(76, 224, 224, .15);
  color: var(--color-primary);
}

/* ----------------------------------------------------------
   CARDS
   ---------------------------------------------------------- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Event card */
.event-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.event-card__cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a5a 100%);
}

.event-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.event-card:hover .event-card__cover img {
  transform: scale(1.04);
}

.event-card__cover-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.event-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.event-card__date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-cyan);
}

.event-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card__location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.event-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.event-card__footer {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface-2);
}

.event-card__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}

.event-card__price small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  display: block;
}

/* ----------------------------------------------------------
   HERO — dark gradient animado (home + static pages)
   ---------------------------------------------------------- */
@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero,
.hero--static {
  background: linear-gradient(135deg,
      var(--color-primary-dark) 0%,
      #0d3b6e 25%,
      var(--color-primary) 50%,
      #0f2d52 75%,
      var(--color-primary-dark) 100%);
  background-size: 300% 300%;
  animation: heroGradient 12s ease infinite;
  color: #fff;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Glow orbs decorativos */
.hero::before,
.hero--static::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 224, 224, .12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero::after,
.hero--static::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 76, .08) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  pointer-events: none;
}

/* Search bar no hero */
.hero__search {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, .97);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  max-width: 560px;
  align-items: center;
}

.hero__search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: transparent;
  min-width: 0;
  padding: .35rem 0;
}

.hero__search input::placeholder {
  color: var(--color-text-light);
}

.hero__search button {
  border: none;
  background: var(--color-orange);
  color: #fff;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__search button:hover {
  background: var(--color-orange-dark);
  transform: scale(1.03);
}

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

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(76, 224, 224, 0.12);
  border: 1px solid rgba(76, 224, 224, 0.25);
  color: var(--color-cyan);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero__title {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero__title span {
  color: var(--color-cyan);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-cyan);
  line-height: 1;
  display: block;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
}

/* ----------------------------------------------------------
   CATEGORY CHIPS — horizontal scroll carousel
   ---------------------------------------------------------- */
.category-carousel-wrap {
  position: relative;
}

.category-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

.category-carousel::-webkit-scrollbar {
  display: none;
}

.category-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  transition: background var(--transition);
  font-size: .85rem;
}

.category-carousel-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.category-carousel-btn--prev {
  left: -18px;
}

.category-carousel-btn--next {
  right: -18px;
}

.category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-slow);
  cursor: pointer;
  text-align: center;
  flex: 0 0 calc(33.33% - .67rem);
  scroll-snap-align: start;
  min-width: 130px;
}

.category-chip:hover {
  border-color: var(--color-cyan);
  background: rgba(76, 224, 224, 0.05);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

.category-chip__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, #254d78 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform var(--transition);
}

.category-chip:hover .category-chip__icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Category card (Font Awesome style — home page) */
.category-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .07);
  color: var(--color-primary);
}

.category-card i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-orange);
}

.category-card:nth-child(2) i {
  color: var(--color-cyan);
}

.category-card:nth-child(3) i {
  color: var(--color-primary);
}

/* Section title */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Full calendar link */
.full-calendar-link {
  display: block;
  max-width: 280px;
  margin: 2rem auto 0;
  text-align: center;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  text-decoration: none;
}

.full-calendar-link:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* CTA Produtor section */
.produtor-cta-section {
  padding: 2.5rem 0;
}

.produtor-cta {
  padding: 3rem 1.5rem;
  background-color: var(--color-primary);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

html[data-theme="dark"] .produtor-cta {
  background-color: var(--color-cyan);
  color: #1A202C;
}

.produtor-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: inherit;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.produtor-cta p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: inherit;
  opacity: 0.9;
}

.btn-cta {
  display: inline-block;
  background-color: var(--color-orange);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.3s ease;
}

.btn-cta:hover {
  filter: brightness(0.9);
}

/* ----------------------------------------------------------
   SECTION HEADER
   ---------------------------------------------------------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-header__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
}

.section-header__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Events grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ----------------------------------------------------------
   CAPACITY BAR
   ---------------------------------------------------------- */
.capacity-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.capacity-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-cyan), var(--color-primary));
  transition: width 0.6s ease;
}

.capacity-bar__fill--high {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

/* ----------------------------------------------------------
   FLASH MESSAGES
   ---------------------------------------------------------- */
.flash-container {
  position: fixed;
  top: 80px;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
  width: calc(100vw - 3rem);
}

.flash {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.flash-success {
  background: #fff;
  border-left: 4px solid var(--color-success);
  color: #065f46;
}

.flash-error,
.flash-alert {
  background: #fff;
  border-left: 4px solid var(--color-error);
  color: #991b1b;
}

.flash-notice {
  background: #fff;
  border-left: 4px solid var(--color-cyan);
  color: var(--color-primary);
}

.flash__close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.5;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.flash__close:hover {
  opacity: 1;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 52px;
  width: auto;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.footer__col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--color-cyan);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.8rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------------------------
   PAGE MAIN (abaixo do navbar fixo)
   ---------------------------------------------------------- */
.page-main {
  min-height: calc(100vh - 90px);
}

/* ----------------------------------------------------------
   FORMS
   ---------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(76, 224, 224, 0.15);
}

.form-control.is-invalid {
  border-color: var(--color-error);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.form-error {
  font-size: 0.78rem;
  color: var(--color-error);
  font-weight: 500;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Auth cards */
.auth-wrapper {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: 2rem 1.5rem;
}

.auth-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-card__logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-card__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* ----------------------------------------------------------
   SOLD OUT / ESGOTADO
   ---------------------------------------------------------- */
.sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 90, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.sold-out-label {
  background: var(--color-error);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: rotate(-5deg);
}

/* ----------------------------------------------------------
   Turbo progress bar
   ---------------------------------------------------------- */
.turbo-progress-bar {
  height: 3px;
  background: var(--color-cyan);
  box-shadow: var(--shadow-glow);
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .navbar__hamburger {
    display: none;
  }

  .navbar__nav {
    display: flex;
  }
}

@media (max-width: 767px) {
  .navbar__nav-wrapper .navbar__actions .btn {
    display: none;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .section {
    padding: 3rem 0;
  }

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

@media (max-width: 480px) {
  .hero__search {
    padding: 0.3rem 0.3rem 0.3rem 1rem;
  }

  .hero__search button {
    padding: .6rem 1rem;
    font-size: .82rem;
  }
}