/* ==========================================================================
   EVENTO.CSS — Página Institucional de Evento (Beága Eventos)
   Direção de Arte: Editorial, sem caixas decorativas, sem sombras,
   hierarquia por tipografia e espaço em branco.
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--branco);
  color: var(--texto);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-sticky-bar {
  padding-bottom: 72px;
}

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

button, a {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--azul-principal);
  outline-offset: 2px;
}

/* Rótulo técnico em caixa alta pequena (DATA, LOCAL, CLASSIFICAÇÃO) */
.meta-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texto-mutado);
  margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   1. HEADER: Logo à esquerda + Menu simples (Eventos, Sobre, Contato)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--branco);
  border-bottom: 1px solid var(--borda);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-left {
  flex: 1;
  display: flex;
  align-items: center;
  z-index: 2;
}

.header-nav-link {
  color: var(--cinza-medio);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.header-nav-link:hover {
  color: var(--azul-principal);
}

.header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
}

.brand-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

/* MENU DE 3 PONTOS (OPÇÕES E CONTA) */
.header-dots-menu-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-dots-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--borda);
  border-radius: 50%;
  color: var(--cinza-medio);
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.header-dots-btn:hover,
.header-dots-btn[aria-expanded="true"] {
  background: var(--cinza-fundo);
  color: var(--cinza-escuro);
  border-color: var(--cinza-medio);
}

.header-dots-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 290px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.04);
  padding: 14px;
  z-index: 250;
  display: flex;
  flex-direction: column;
}

[hidden],
.header-dots-dropdown[hidden],
.dots-menu-item[hidden],
.dots-user-profile-row[hidden],
.dots-menu-divider[hidden] {
  display: none !important;
}

.dots-user-profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 2px 10px 2px;
}

.dots-user-avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.dots-user-profile-details {
  overflow: hidden;
  min-width: 0;
}

.dots-user-profile-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.dots-user-profile-email {
  display: block;
  font-size: 12px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Azul Escuro de Segurança e Dados (Idêntico à Imagem do Usuário) */
.dots-security-card {
  background: #002B49;
  border-radius: 10px;
  padding: 12px 14px 14px;
  margin: 4px 0 10px;
  color: #FFFFFF;
}

.dots-security-card-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.dots-security-card-icon {
  width: 16px;
  height: 16px;
  color: #38BDF8;
  flex-shrink: 0;
  margin-top: 2px;
}

.dots-security-card-text {
  font-size: 12px;
  line-height: 1.35;
  color: #F8FAFC;
  margin: 0;
}

.dots-security-card-text strong {
  color: #FFFFFF;
  font-weight: 600;
}

.dots-security-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.dots-security-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
}

.dots-security-progress-fill {
  height: 100%;
  background: #38BDF8;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.dots-security-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
}

.btn-dots-complete-data {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: #0073E6;
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-dots-complete-data:hover {
  background: #005FBF;
}

/* Menu de navegação */
.dots-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dots-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: all 0.12s ease;
}

.dots-menu-item svg {
  width: 17px;
  height: 17px;
  color: #0073E6;
  flex-shrink: 0;
}

.dots-menu-item:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.dots-menu-item.is-highlight {
  background: #F1F5F9;
  color: #0F172A;
  font-weight: 600;
}

.dots-menu-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 6px 0;
}

.dots-item-logout {
  color: #475569;
}

.dots-item-logout svg {
  color: #0073E6;
}

.dots-item-logout:hover {
  background: #FEF2F2;
  color: #DC2626;
}

.dots-item-logout:hover svg {
  color: #DC2626;
}

.logo-provisional {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--azul-principal);
  display: inline-flex;
  align-items: baseline;
}

.logo-provisional .logo-b {
  font-size: 1.75rem;
}

.logo-provisional.is-white {
  color: var(--branco);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--texto-suave);
}

.header-nav a:hover {
  color: var(--azul-principal);
}

/* --------------------------------------------------------------------------
   2. CAPA EM LARGURA TOTAL (Sem moldura, sem cantos arredondados)
   -------------------------------------------------------------------------- */
.hero-cover {
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--borda);
  overflow: hidden;
}

.hero-cover-inner {
  width: 100%;
  height: auto;
}

.hero-cover-inner picture,
.hero-cover-inner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  transition: opacity 0.2s ease-in-out;
}

.media-fallback {
  width: 100%;
  height: 100%;
  background-color: var(--superficie-neutra);
  color: var(--texto-mutado);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   CONTAINER CENTRAL (Máx 1200px)
   -------------------------------------------------------------------------- */
.page-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* --------------------------------------------------------------------------
   3. CABEÇALHO EDITORIAL DO EVENTO (Título + Data, Horário e Local em texto)
   -------------------------------------------------------------------------- */
.event-header {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--borda);
}

.event-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--texto);
  margin-bottom: var(--space-2);
}

.event-lead {
  font-size: var(--text-base);
  color: var(--texto-suave);
  margin-bottom: var(--space-5);
  max-width: 70ch;
}

.event-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--borda);
}

.fact-value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--texto);
  display: block;
}

.fact-sub {
  font-size: var(--text-sm);
  color: var(--texto-suave);
  display: block;
}

.event-actions-bar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--borda);
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch-target);
  background: transparent;
  border: none;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--azul-principal);
  padding: 0;
}

.link-action:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   GRID PRINCIPAL (Mobile 1 coluna | Desktop 2 colunas)
   -------------------------------------------------------------------------- */
.main-layout {
  display: flex;
  flex-direction: column;
}

.tickets-column {
  order: 1;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--borda);
}

.content-column {
  order: 2;
}

/* --------------------------------------------------------------------------
   4. INGRESSOS EM LISTA LIMPA (Borda fina 1px, sem fundo colorido)
   -------------------------------------------------------------------------- */
.tickets-box {
  background-color: var(--branco);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--texto);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

.tickets-list-wrap {
  position: relative;
}

.tickets-list {
  border-top: 1px solid var(--borda);
}

.ticket-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--borda);
}

.ticket-item.is-soldout {
  opacity: 0.6;
}

.ticket-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.ticket-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--texto);
  line-height: 1.3;
  min-width: 0;
}

.ticket-final-price {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--texto);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.ticket-Copy {
  font-size: var(--text-xs);
  color: var(--texto-suave);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.ticket-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: 2px;
}

.ticket-fee-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.ticket-fee-text {
  color: var(--texto-suave);
  font-size: var(--text-xs);
  line-height: 1.3;
}

/* Status em texto simples ao lado do preço (sem pílulas nem caixas) */
.ticket-status-text {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--texto-suave);
  white-space: nowrap;
}

.ticket-status-text.is-urgent {
  color: var(--alerta-ultimos);
}

/* Seletor de quantidade reto (44x44px no mobile, compacto no desktop) */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--borda-forte);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  margin-left: auto;
}

.qty-btn {
  width: var(--touch-target);
  height: var(--touch-target);
  background: var(--branco);
  border: none;
  color: var(--texto);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover:not(:disabled) {
  color: var(--azul-principal);
  background-color: var(--superficie-neutra);
}

.qty-btn:disabled {
  color: var(--borda-forte);
  cursor: not-allowed;
}

.qty-num {
  min-width: 32px;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--texto);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--borda);
  border-right: 1px solid var(--borda);
  line-height: var(--touch-target);
}

.link-waitlist {
  min-height: var(--touch-target);
  padding: 0 4px;
  background: transparent;
  border: none;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--azul-principal);
  text-decoration: underline;
  flex-shrink: 0;
  margin-left: auto;
}

/* Rodapé da lista de ingressos */
.tickets-summary {
  padding-top: var(--space-4);
}

.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--texto-suave);
}

.summary-line strong {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--texto);
  font-variant-numeric: tabular-nums;
}

/* Botão de compra: único elemento em azul principal sólido (#1D4ED8) com texto branco */
.btn-primary-cta {
  width: 100%;
  height: 48px;
  min-height: 48px;
  background-color: var(--azul-principal);
  color: var(--branco);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-5);
  transition: background-color 140ms ease, color 140ms ease;
}

.btn-primary-cta:hover:not(:disabled) {
  background-color: var(--azul-principal-hover);
  color: var(--branco);
}

.btn-primary-cta:disabled {
  background-color: var(--borda);
  color: var(--texto-mutado);
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   5. BARRA DE COMPRA FIXA (Azul-escuro, discreta, só quando houver ingresso selecionado)
   -------------------------------------------------------------------------- */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--azul-escuro);
  color: var(--branco);
  height: 64px;
  padding: 0 var(--space-4);
  display: none;
}

.sticky-buy-bar.is-active {
  display: block;
}

.sticky-buy-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.sticky-total {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--branco);
  font-variant-numeric: tabular-nums;
}

.sticky-buy-inner .btn-primary-cta {
  width: auto;
  min-height: 44px;
  padding: 0 var(--space-6);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   SEÇÕES DE CONTEÚDO (Fundo branco puro, separadas por linha fina 1px e margem generosa)
   -------------------------------------------------------------------------- */
.editorial-section {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--borda);
}

/* --------------------------------------------------------------------------
   6. LINE-UP EM TEXTO ORGANIZADO POR HORÁRIO / PALCO
   -------------------------------------------------------------------------- */
.schedule-table {
  width: 100%;
  border-top: 1px solid var(--borda);
  list-style: none;
}

.schedule-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: baseline;
  gap: var(--space-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--borda);
}

.schedule-row.no-time {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.schedule-time {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--texto-suave);
  font-variant-numeric: tabular-nums;
}

.schedule-artist {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--texto);
}

.schedule-stage {
  font-size: var(--text-sm);
  color: var(--texto-suave);
  display: block;
}

/* --------------------------------------------------------------------------
   7. SOBRE O EVENTO (Texto corrido editorial + nota discreta para grupos)
   -------------------------------------------------------------------------- */
.prose-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--texto-suave);
  font-size: var(--text-base);
  max-width: 70ch;
}

.group-sales-note {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--borda);
  max-width: 70ch;
}

.group-sales-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 4px;
}

.group-sales-desc {
  font-size: var(--text-sm);
  color: var(--texto-suave);
  margin-bottom: var(--space-2);
}

/* --------------------------------------------------------------------------
   8. MAPA DE SETORES (Imagem única ampliável, sem cards repetidos)
   -------------------------------------------------------------------------- */
.sector-map-trigger {
  display: block;
  width: 100%;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-xs);
  overflow: hidden;
  padding: 0;
}

.sector-map-trigger img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   9 e 12. ACORDEÕES EM TEXTO (Linha fina 1px, sem ícones laterais)
   -------------------------------------------------------------------------- */
.accordion-list {
  border-top: 1px solid var(--borda);
}

.accordion-row {
  border-bottom: 1px solid var(--borda);
}

.accordion-summary {
  width: 100%;
  min-height: 52px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--texto);
  cursor: pointer;
  list-style: none;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-arrow {
  flex-shrink: 0;
  color: var(--texto-suave);
  transition: transform 140ms ease;
}

.accordion-row[open] .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 0 var(--space-5) 0;
  color: var(--texto-suave);
  font-size: var(--text-base);
  max-width: 70ch;
}

.plain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.plain-list li {
  padding-left: var(--space-4);
  position: relative;
}

.plain-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--texto-mutado);
}

/* --------------------------------------------------------------------------
   10. LOCAL E COMO CHEGAR
   -------------------------------------------------------------------------- */
.venue-block {
  margin-bottom: var(--space-4);
}

.venue-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--texto);
}

.venue-address {
  font-size: var(--text-base);
  color: var(--texto-suave);
}

/* Mapa do Google embutido: responsivo (260px no celular, 380px no desktop) */
.venue-map-embed {
  width: 100%;
  height: 260px;
  border: 1px solid var(--borda);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--superficie-neutra);
  margin-bottom: var(--space-4);
}

.venue-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fallback exibido apenas se mapa_embed não existir no JSON */
.venue-map-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--texto-suave);
}

/* Botões de rota: sóbrios, borda fina, sem fundo colorido, mínimo 44px */
.venue-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  padding: 0 var(--space-4);
  background: transparent;
  border: 1px solid var(--borda-forte);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--texto);
  transition: border-color 140ms ease, color 140ms ease;
}

.btn-outline:hover {
  border-color: var(--azul-principal);
  color: var(--azul-principal);
}

/* Bloco "Como chegar" */
.how-to-get {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--borda);
  max-width: 70ch;
}

.how-to-get-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--texto);
  margin-bottom: var(--space-3);
}

.how-to-get-item + .how-to-get-item {
  margin-top: var(--space-4);
}

.how-to-get-item h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 2px;
}

.how-to-get-item p {
  font-size: var(--text-base);
  color: var(--texto-suave);
}

/* Legenda do mapa de setores */
.map-caption {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--texto-mutado);
}

/* --------------------------------------------------------------------------
   11. REALIZAÇÃO E APOIO (Logos em escala de cinza, em fileira simples, sem cards)
   -------------------------------------------------------------------------- */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6) var(--space-8);
  padding-top: var(--space-2);
}

.partners-row img,
.partners-row .partner-provisional {
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 140ms ease, opacity 140ms ease;
}

.partners-row img {
  height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

.partners-row img:hover,
.partners-row .partner-provisional:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   13. RODAPÉ INSTITUCIONAL COMPLETO (Azul-escuro #0B2A6F, 4 colunas no desktop)
   -------------------------------------------------------------------------- */
.institutional-footer {
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: var(--space-10) 0 var(--space-8);
  margin-top: var(--space-8);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93C5FD;
  margin-bottom: var(--space-3);
}

.footer-corp-text {
  font-size: var(--text-sm);
  color: #CBD5E1;
  line-height: 1.55;
  margin-top: var(--space-3);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-list a,
.footer-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: var(--text-sm);
  color: #E2E8F0;
}

.footer-list a:hover {
  color: var(--branco);
  text-decoration: underline;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-row a {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #CBD5E1;
  min-height: var(--touch-target);
  display: inline-flex;
  align-items: center;
}

.footer-social-row a:hover {
  color: var(--branco);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   MODAIS SÓBRIOS
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 440px;
  background-color: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-xs);
  padding: var(--space-6);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-dialog.is-wide {
  max-width: 920px;
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--borda);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--texto);
}

.modal-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--texto-mutado);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-dialog { position: relative; max-width: 460px; overflow: hidden; }
.account-dialog::before { content: ''; position: absolute; inset: 8% -20% -12% 40%; background: url('/assets/logos/logo-principal.png') center / contain no-repeat; opacity: .055; filter: blur(4px); pointer-events: none; transform: rotate(-8deg); }
.account-dialog > * { position: relative; z-index: 1; }
.account-intro, .account-note { color: var(--texto-suave); font-size: .9rem; line-height: 1.5; }
.account-intro { margin-bottom: var(--space-5); }
.account-note { margin-top: var(--space-4); font-size: .75rem; }
.account-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); color: var(--texto); font-size: .85rem; font-weight: 600; }
.account-field input { height: 44px; border: 1px solid var(--borda-forte); border-radius: var(--radius-xs); padding: 0 12px; color: var(--texto); background: var(--branco); font: inherit; font-weight: 400; }
.account-field input:focus { outline: 2px solid var(--azul-principal); outline-offset: 1px; }
.account-submit { width: 100%; justify-content: center; }
.account-error { margin: -4px 0 14px; color: #B42318; font-size: .8rem; }
.account-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; color: var(--texto-mutado); font-size: .75rem; }
.account-divider::before, .account-divider::after { content: ''; height: 1px; flex: 1; background: var(--borda); }
.google-account-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 44px; border: 1px solid var(--borda-forte); border-radius: var(--radius-xs); color: var(--texto); background: var(--branco); font-size: .85rem; font-weight: 600; }
.google-account-button:hover { border-color: var(--azul-principal); background: #F8FAFF; }
.google-mark { color: #4285F4; font: 700 1.1rem Arial, sans-serif; }

.footer-trust-strip { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,.14); color: #CBD5E1; font-size: .75rem; }
.footer-trust-strip img { max-height: 26px; width: auto; opacity: .82; filter: grayscale(1) brightness(1.9); }

.modal-close {
  width: var(--touch-target);
  height: var(--touch-target);
  background: transparent;
  border: none;
  font-size: 1.125rem;
  color: var(--texto-suave);
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-4);
}

.field-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--texto);
}

.field-group input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--borda-forte);
  border-radius: var(--radius-xs);
  font-size: var(--text-base);
  color: var(--texto);
}

/* ==========================================================================
   TABLET (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  .page-container,
  .header-inner,
  .footer-container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .event-facts {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .event-facts.is-two-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-row {
    grid-template-columns: 90px 1fr auto;
  }

  .schedule-row.no-time {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .venue-actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .venue-map-embed {
    height: 380px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   DESKTOP (1024px+ — 2 Colunas: Conteúdo à esquerda + Ingressos fixos à direita)
   ========================================================================== */
@media (min-width: 1024px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  body.has-sticky-bar {
    padding-bottom: 0;
  }

  .event-title {
    font-size: var(--text-2xl);
  }

  .venue-map-embed {
    height: 380px;
  }

  .main-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(380px, 4.5fr);
    align-items: start;
    gap: var(--space-10);
    padding-top: var(--space-6);
  }

  .content-column {
    order: 1;
  }

  .content-column .editorial-section:first-child {
    padding-top: 0;
  }

  .tickets-column {
    order: 2;
    position: sticky;
    top: 88px;
    padding: 0;
    border-bottom: none;
  }

  /* Caixa de ingressos no desktop: flex em 3 partes com altura máxima calc(100vh - 112px) */
  .tickets-box {
    max-height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--borda);
    border-radius: var(--radius-xs);
    background-color: var(--branco);
    padding: 0;
  }

  .tickets-box-header {
    flex-shrink: 0;
    padding: var(--space-4) var(--space-5) var(--space-3);
    border-bottom: 1px solid var(--borda);
  }

  .tickets-box-header .section-heading {
    margin-bottom: 0;
    font-size: 1.125rem;
  }

  .tickets-list-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  /* Leve esmaecimento no fim da lista quando houver mais itens para rolar */
  .tickets-list-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 6px;
    bottom: 0;
    height: 28px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--branco));
    pointer-events: none;
    opacity: 0;
    transition: opacity 150ms ease;
  }

  .tickets-list-wrap.has-scroll-fade::after {
    opacity: 1;
  }

  .tickets-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0 var(--space-5);
    border-top: none;
    scrollbar-width: thin;
    scrollbar-color: var(--borda-forte) transparent;
  }

  .tickets-list::-webkit-scrollbar {
    width: 5px;
  }

  .tickets-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .tickets-list::-webkit-scrollbar-thumb {
    background-color: var(--borda-forte);
    border-radius: 3px;
  }

  .ticket-item {
    padding: 12px 0;
  }

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

  .ticket-title,
  .ticket-final-price {
    font-size: 0.9375rem;
  }

  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .qty-num {
    min-width: 28px;
    line-height: 32px;
    font-size: var(--text-xs);
  }

  .link-waitlist {
    min-height: 32px;
  }

  .tickets-summary {
    flex-shrink: 0;
    padding: var(--space-3) var(--space-5) var(--space-4);
    border-top: 1px solid var(--borda);
    background-color: var(--branco);
  }

  .sticky-buy-bar {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  .main-layout {
    gap: var(--space-12);
    padding-top: var(--space-8);
  }
}

/* ----------------------------------------------------------------------------
   ABA COMPLETA: MINHA CONTA & MEUS INGRESSOS
   ---------------------------------------------------------------------------- */
.account-full-view {
  width: 100%;
  min-height: calc(100vh - 64px);
  background: #FFFFFF;
  padding: 32px 20px 80px 20px;
  box-sizing: border-box;
}

.account-full-container {
  max-width: 980px;
  margin: 0 auto;
}

.account-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.btn-back-to-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-back-to-main:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

.account-section-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0369A1;
  background: #E0F2FE;
  padding: 4px 10px;
  border-radius: 12px;
}

.account-header-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 20px;
}

.account-welcome-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px 0;
}

.account-welcome-subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.btn-logout-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-logout-account:hover {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #FCA5A5;
}

/* CARDS DA ABA COMPLETA */
.account-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
}

.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.account-card-icon-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  font-size: 22px;
}

.account-card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.account-card-subtitle {
  font-size: 12.5px;
  color: #64748B;
  margin: 2px 0 0 0;
}

.account-status-badge {
  background: #ECFDF5;
  color: #047857;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.tickets-count-badge {
  background: #EFF6FF;
  color: #0073E6;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.profile-field {
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 6px;
  padding: 12px 14px;
}

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  margin-bottom: 4px;
}

.field-val {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  word-break: break-word;
}

.account-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-purchase-card {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 18px;
  transition: border-color 0.15s ease;
}

.ticket-purchase-card:hover {
  border-color: #CBD5E1;
}

.ticket-purchase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticket-event-media {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticket-event-thumb {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: #F1F5F9;
}

.ticket-event-badge {
  display: inline-block;
  background: #E0F2FE;
  color: #0369A1;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 3px;
}

.ticket-event-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 2px 0;
}

.ticket-event-meta {
  font-size: 12px;
  color: #64748B;
  margin: 0;
}

.ticket-status-col {
  text-align: right;
  flex-shrink: 0;
}

.order-status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.status-pago {
  background: #DCFCE7;
  color: #15803D;
}

.status-analise {
  background: #FEF3C7;
  color: #B45309;
}

.order-id-label {
  display: block;
  font-size: 11px;
  color: #94A3B8;
  font-family: monospace;
}

.ticket-items-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 14px 0;
}

.ticket-items-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 6px;
  padding: 12px 14px;
}

.ticket-item-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
}

.ticket-item-sub {
  display: block;
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

.btn-view-story-access {
  background: #0073E6;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.btn-view-story-access:hover {
  background: #005bb5;
}

/* Card não-autenticado na aba completa */
.account-unauth-card {
  max-width: 440px;
  margin: 40px auto;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px 28px;
  background: #FFFFFF;
}

.account-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px 0;
}

.account-desc {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 20px 0;
}

.account-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.account-tab-btn {
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
}

.account-tab-btn.is-active {
  background: #FFFFFF;
  color: #0073E6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  height: 42px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: #0F172A;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #0073E6;
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.12);
}

.btn-account-submit {
  width: 100%;
  background: #0073E6;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
}

.btn-account-submit:hover {
  background: #005bb5;
}

.account-error-banner {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .account-profile-grid {
    grid-template-columns: 1fr;
  }
  .account-header-welcome {
    flex-direction: column;
    align-items: stretch;
  }
  .ticket-purchase-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .ticket-status-col {
    text-align: left;
  }
  .ticket-item-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-view-story-access {
    width: 100%;
    text-align: center;
  }
}
