*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-900: #0a0a0c;
  --bg-800: #0d0d13;
  --bg-700: #13141a;
  --bg-600: #1a1b23;
  --bg-500: #242630;
  --bg-400: #2e303a;
  --text-0: #ffffff;
  --text-200: #a0a4b0;
  --text-300: #8b8f9a;
  --accent: #009dff;
  --accent-hover: #0088dd;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --fee: 6.5;
  --hero-gradient: linear-gradient(135deg, #1e2433 0%, #13141a 45%, #0d0d13 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-600);
  color: var(--text-0);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Nav */
.nav {
  background: var(--bg-800);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-300);
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-0);
}

.nav-actions {
  display: none;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
  }
}

.btn-ghost {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: var(--text-0);
  border-radius: var(--radius-sm);
  transition: opacity 0.2s;
}

.btn-ghost:hover {
  opacity: 0.8;
}

.btn-white {
  padding: 0.5rem 1rem;
  font-weight: 600;
  background: #fff;
  color: #111;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s;
}

.btn-white:hover {
  opacity: 0.85;
}

.menu-toggle {
  display: flex;
  color: var(--text-0);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  background: var(--bg-900, #0a0a0c);
  padding: 0;
}

.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0a0c;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 1;
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .hero-banner img {
    aspect-ratio: 16 / 10;
    max-height: 360px;
  }
}

.hero-info {
  padding: 2rem 0 2.5rem;
}

.hero-grid {
  display: block;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: none;
  }
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.meta-row svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.meta-row .date {
  color: var(--accent);
}

.meta-row .address {
  color: var(--text-200);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--bg-500);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-0);
  transition: background 0.2s;
}

.btn-outline:hover {
  background: var(--bg-400);
}

.btn-outline svg {
  width: 18px;
  height: 18px;
}

.hero-poster {
  display: none;
}

.hero-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.share-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s;
}

.share-btn:hover {
  transform: translateX(-50%) translateY(-2px);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

/* City selector */
.cities-bar {
  background: var(--bg-700);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow-x: auto;
}

.cities-scroll {
  display: flex;
  gap: 0.5rem;
  min-width: max-content;
}

.city-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  background: var(--bg-500);
  color: var(--text-300);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.city-chip:hover {
  color: var(--text-0);
  border-color: var(--border);
}

.city-chip.active {
  background: var(--accent);
  color: #fff;
}

/* Main layout */
.main-section {
  padding: 2.5rem 0 4rem;
}

.content-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
}

.content-grid > .tickets-column,
.content-grid > .cart-sidebar {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }

  .content-grid > .tickets-column {
    grid-column: 1;
    order: 1;
  }

  .content-grid > .cart-sidebar {
    grid-column: 2;
    order: 2;
  }
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Ticket accordion */
.ticket-categories {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ticket-category {
  background: var(--bg-500);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  text-align: left;
  color: var(--text-0);
  transition: background 0.2s;
}

.category-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.category-name {
  font-size: 1rem;
  font-weight: 600;
}

.category-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-200);
}

.category-price .from {
  color: var(--text-0);
}

.chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.25s;
}

.ticket-category.open .chevron {
  transform: rotate(180deg);
}

.category-body {
  display: none;
  border-top: 1px solid var(--border);
}

.ticket-category.open .category-body {
  display: block;
}

.ticket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.ticket-item:last-child {
  border-bottom: none;
}

.ticket-info {
  flex: 1;
  min-width: 0;
}

.ticket-name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ticket-desc {
  font-size: 0.8125rem;
  color: var(--text-300);
  margin-bottom: 0.5rem;
}

.ticket-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.ticket-price .fee {
  font-weight: 400;
  color: var(--text-300);
}

.ticket-unavailable {
  font-size: 0.8125rem;
  color: var(--text-300);
  font-style: italic;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-400);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-0);
  font-size: 1.125rem;
  transition: background 0.2s;
}

.qty-btn:hover:not(:disabled) {
  background: var(--bg-600);
}

.qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-value {
  width: 36px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Cart */
.cart-sidebar {
  position: relative;
}

@media (min-width: 1024px) {
  .cart-sidebar {
    position: sticky;
    top: 80px;
  }
}

.cart-box {
  background: var(--bg-500);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cart-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cart-subtitle {
  font-size: 0.8125rem;
  color: var(--text-300);
  margin-bottom: 1.25rem;
}

.coupon-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  margin-bottom: 1.25rem;
}

.coupon-row svg {
  width: 18px;
  height: 18px;
  color: var(--text-300);
  flex-shrink: 0;
}

.coupon-row input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-0);
  font-size: 0.8125rem;
}

.coupon-row input::placeholder {
  color: var(--text-300);
}

.coupon-apply {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.cart-items {
  min-height: 40px;
  margin-bottom: 1rem;
}

.cart-empty {
  font-size: 0.8125rem;
  color: var(--text-300);
  text-align: center;
  padding: 0.5rem 0;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-name {
  color: var(--text-200);
}

.cart-item-qty {
  color: var(--text-300);
}

.cart-summary {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-200);
}

.summary-row.total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-0);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.btn-checkout {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.875rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.btn-checkout:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Valores table */
.valores-section {
  background: linear-gradient(180deg, #3d2520 0%, #2a1815 50%, #1a100e 100%);
  padding: 3rem 0;
}

.valores-inner {
  max-width: 900px;
  margin: 0 auto;
}

.valores-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  text-align: center;
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  color: #f5ebe0;
}

.valores-grid {
  display: grid;
  grid-template-columns: 80px repeat(3, 1fr);
  gap: 0;
  margin-bottom: 2rem;
}

.valores-col-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f5ebe0;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius) var(--radius) 0 0;
}

.valores-col-header:first-of-type {
  background: transparent;
}

.valores-row-label {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f5ebe0;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.valores-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.valores-cell:last-child,
.valores-row-label:last-of-type {
  border-bottom: none;
}

.price-pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: #f5ebe0;
  color: #1a100e;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-star {
  color: #f5ebe0;
  font-size: 1rem;
}

.extras-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.5rem;
}

.extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.extra-row:last-child {
  border-bottom: none;
}

.extra-name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f5ebe0;
}

.extra-sub {
  font-size: 0.6875rem;
  color: rgba(245, 235, 224, 0.6);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .valores-grid {
    grid-template-columns: 60px repeat(3, 1fr);
    font-size: 0.75rem;
  }

  .price-pill {
    padding: 0.3rem 0.625rem;
    font-size: 0.6875rem;
  }
}

/* Contatos */
.contatos-section {
  padding: 3rem 0;
  background: var(--bg-600);
}

.contatos-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.organizer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-500);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  max-width: 480px;
}

.organizer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.organizer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b21a8, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.organizer-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.organizer-events {
  font-size: 0.8125rem;
  color: var(--text-300);
}

.btn-ver-mais {
  padding: 0.5rem 1.25rem;
  background: #fff;
  color: #111;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-300);
  transition: color 0.2s;
}

.instagram-link:hover {
  color: var(--text-0);
}

.instagram-link svg {
  width: 18px;
  height: 18px;
}

/* Footer */
.footer {
  background: var(--bg-800);
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-200);
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-400);
  border-radius: 50%;
  transition: transform 0.2s;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--text-0);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-0);
}

.footer-info {
  font-size: 0.8125rem;
  color: var(--text-300);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-info .small {
  font-size: 0.75rem;
}

/* Tour landing (index) */
body.tour-page {
  background: #3c2f2f;
}

.tour-main {
  background: #3c2f2f;
}

.tour-container {
  max-width: 720px;
}

.hero-banner-link {
  display: block;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.75rem;
}

.bolt-icon {
  width: 22px;
  height: 22px;
  color: #e53935;
  flex-shrink: 0;
}

.cities-section,
.faq-section {
  padding: 3rem 0;
}

.city-search-wrap {
  margin-bottom: 2rem;
}

.city-search {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 0.9375rem;
  outline: none;
}

.city-search::placeholder {
  color: #888;
}

.city-list {
  list-style: none;
}

.city-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.city-item:last-child {
  border-bottom: none;
}

.city-flag {
  font-size: 1.125rem;
  line-height: 1;
}

.city-date,
.city-name {
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.city-venue {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
  min-width: 0;
}

.city-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.city-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.city-item.hidden {
  display: none;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
}

.faq-chevron {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: transform 0.25s;
}

.faq-chevron svg {
  width: 20px;
  height: 20px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.social-bar-coral {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.75rem 1rem;
  background: #f08080;
}

.social-bar-coral a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: opacity 0.2s;
}

.social-bar-coral a:hover {
  opacity: 0.75;
}

.social-bar-coral svg {
  width: 20px;
  height: 20px;
}

.footer-dark {
  background: #0a0a0c;
  border-top: none;
  padding: 2.5rem 1rem 3rem;
}

@media (max-width: 640px) {
  .city-item {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
  }

  .city-date {
    grid-column: 2;
    grid-row: 1;
  }

  .city-name {
    grid-column: 2;
    grid-row: 2;
  }

  .city-venue {
    grid-column: 1 / -1;
    grid-row: 3;
    padding-left: 2rem;
  }

  .city-btn {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .city-flag {
    grid-row: 1 / 3;
    align-self: center;
  }
}
