/* ===== CSS VARIABLES UNIFICADAS ===== */
:root {
  --azul: #1e3d3f;
  --areia: #f9f7f4;
  --dourado: #d6a66a;
  --marrom: #8a6f52;
  --verde: #2d7d32;
  --vermelho: #d32f2f;
  --laranja: #ff8f00;
  --cinza: #9e9e9e;
  --cinza-claro: #f5f5f5;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--areia);
  color: var(--azul);
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* ===== HEADER FIXO - TOTALMENTE CORRIGIDO ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(249, 247, 244, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 30px rgba(30, 61, 63, 0.1);
  height: 100px;
  transition: all 0.3s ease;
  width: 100%;
}

header.scrolled {
  background: rgba(249, 247, 244, 0.98);
  box-shadow: 0 4px 40px rgba(30, 61, 63, 0.15);
  height: 90px;
}

/* ===== NAVEGAÇÃO ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  position: relative;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 1002;
}

.logo img {
  height: 170px;
  width: auto;
  max-width: 180px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 10px rgba(30, 61, 63, 0.15));
}

header.scrolled .logo img {
  height: 130px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--azul);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  padding: 0.5rem;
}

.nav-links a:hover {
  color: var(--dourado);
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--dourado);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== HEADER AUTH ===== */
.header-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-width: 120px;
  max-width: 250px;
  margin-right: 10px;
  justify-content: flex-end;
}

.header-auth .btn-auth {
  background: linear-gradient(45deg, #1e3d3f, #d6a66a);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.9rem;
  justify-content: center;
}

.header-auth .btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 61, 63, 0.3);
}

.header-auth .btn-auth i {
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===== USER MENU ===== */
.user-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  justify-content: flex-end;
  min-width: 120px;
  max-width: 250px;
}

.user-menu .user-name {
  color: #1e3d3f;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  line-height: 1.2;
}

.user-menu .avatar-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d6a66a;
  flex-shrink: 0;
  cursor: pointer;
}

.user-menu .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-menu:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown a:hover {
  background: #f8f9fa;
  color: #d6a66a;
}

/* ===== MENU HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  background: var(--dourado);
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1002;
  width: 40px;
  height: 36px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hamburger:hover {
  background: var(--marrom);
  transform: scale(1.05);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: white;
  transition: 0.3s;
  border-radius: 1px;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--azul);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 1rem 1rem;
  z-index: 999;
  width: 100%;
}

.mobile-menu.active {
  max-height: 400px;
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.mobile-menu a {
  display: block;
  padding: 1rem 2rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  font-size: 1rem;
}

.mobile-menu a:hover {
  background: rgba(214, 166, 106, 0.2);
  border-left-color: var(--dourado);
  padding-left: 2.5rem;
}

/* ===== MODAL DE AUTENTICAÇÃO ===== */
.modal-auth {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-auth.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-auth-content {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  padding: 2.5rem;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.7) translateY(50px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-auth.show .modal-auth-content {
  transform: scale(1) translateY(0);
}

.modal-auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-auth-close:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

#authTabs {
  display: flex;
  margin-bottom: 2rem;
  background: #f1f3f4;
  border-radius: 15px;
  padding: 4px;
  position: relative;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  color: #666;
}

.tab-btn.active {
  color: white;
  background: linear-gradient(45deg, #1e3d3f, #d6a66a);
  box-shadow: 0 4px 15px rgba(30, 61, 63, 0.3);
}

.auth-tab-content {
  animation: slideIn 0.3s ease;
}

.auth-tab-content input {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  background: white;
}

.auth-tab-content input:focus {
  outline: none;
  border-color: #d6a66a;
  box-shadow: 0 0 0 3px rgba(214, 166, 106, 0.1);
  transform: translateY(-2px);
}

.auth-tab-content button {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(45deg, #1e3d3f, #d6a66a);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-tab-content button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 61, 63, 0.4);
}

.auth-error {
  background: #ff6b6b;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  display: none;
  animation: shake 0.5s ease;
}

/* ===== TICKER/MARQUEE ===== */
.ticker {
  background: var(--dourado);
  color: var(--azul);
  font-weight: 600;
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 100px;
  width: 100%;
}

.ticker-content {
  display: inline-block;
  animation: scroll 25s linear infinite;
  font-size: 1rem;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(30, 61, 63, 0.6), rgba(30, 61, 63, 0.4)),
    url("../img/geral/hero_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(30, 61, 63, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 95%;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(214, 166, 106, 0.9);
  color: var(--azul);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--dourado);
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-content .subtitle {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
  opacity: 0.95;
}

.hero-content .date-location {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: var(--dourado);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ===== BOTÕES GERAIS ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(45deg, var(--dourado), #e6b86a);
  color: white;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(214, 166, 106, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(214, 166, 106, 0.6);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid white;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: white;
  color: var(--azul);
  transform: translateY(-2px);
}

.btn-disabled {
  background: var(--cinza) !important;
  color: white !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.btn-disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ===== COUNTDOWN ===== */
.countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.2rem 0.8rem;
  border-radius: 1rem;
  min-width: 80px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-item span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dourado);
}

.countdown-item small {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ===== SECTIONS GERAIS ===== */
section {
  padding: 6rem 0;
  position: relative;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--azul);
  position: relative;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--marrom);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dark-section {
  background: var(--azul);
  color: white;
}

.dark-section .section-title {
  color: var(--dourado);
}

.dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== ESTILOS DA PÁGINA DE VENDAS ===== */
.main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SEÇÃO DO EVENTO ===== */
.event-section {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.event-banner {
  width: 100%;
  height: 300px;
  background: linear-gradient(45deg, var(--azul), var(--dourado));
  background-image: url("../img/geral/hero_bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.event-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 61, 63, 0.7);
}

.banner-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: white;
  z-index: 2;
}

.event-badge {
  background: var(--dourado);
  color: var(--azul);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.event-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== INFO DO EVENTO ===== */
.event-info {
  padding: 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--dourado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.info-text h4 {
  color: var(--azul);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-text p {
  color: var(--marrom);
  font-size: 0.9rem;
}

.event-description {
  border-top: 1px solid #eee;
  padding-top: 2rem;
}

.event-description h3 {
  color: var(--azul);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.description-text {
  color: var(--marrom);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--azul);
}

.highlight-item i {
  color: var(--verde);
  width: 20px;
}

/* ===== SIDEBAR DE COMPRA ===== */
.purchase-sidebar {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.sidebar-title {
  color: var(--azul);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ===== SELEÇÃO DE INGRESSOS ===== */
.ticket-selection {
  margin-bottom: 2rem;
}

.ticket-type {
  border: 2px solid #e0e0e0;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ticket-type.selected {
  border-color: var(--dourado);
  background: rgba(214, 166, 106, 0.05);
}

.ticket-type.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f9f9f9;
}

.ticket-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-info h4 {
  color: var(--azul);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.ticket-info p {
  color: var(--marrom);
  font-size: 0.85rem;
}

.ticket-price {
  text-align: right;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dourado);
}

.price-installment {
  font-size: 0.8rem;
  color: var(--marrom);
  margin-top: 0.2rem;
}

.coming-soon-badge {
  background: var(--cinza);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ===== CONTROLES DE QUANTIDADE ===== */
.quantity-selector {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.ticket-type.selected .quantity-selector {
  display: block;
}

.quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.qty-btn {
  width: 35px;
  height: 35px;
  border: 2px solid var(--dourado);
  background: white;
  color: var(--dourado);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.qty-btn:hover:not(:disabled) {
  background: var(--dourado);
  color: white;
}

.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-display {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--azul);
  min-width: 40px;
  text-align: center;
}

/* ===== RESUMO DO PEDIDO ===== */
.order-summary {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--azul);
  border-top: 1px solid #eee;
  padding-top: 0.8rem;
}

.summary-total {
  color: var(--dourado);
}

/* ===== LOGIN REQUIRED ===== */
.login-required {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.login-required .btn-auth {
  background: linear-gradient(45deg, var(--dourado), #e6b86a);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: auto;
  margin: 0 auto;
}

.login-required .btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 166, 106, 0.4);
}

/* ===== FORMULÁRIO DE COMPRA ===== */
.buyer-form {
  margin-bottom: 2rem;
  display: block; /* ✅ SEMPRE VISÍVEL SE LOGADO */
}
.buyer-form[style*="display: none"] {
  display: block !important;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  color: var(--azul);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.5rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dourado);
}

.form-group input[readonly] {
  background: var(--cinza-claro);
  cursor: not-allowed;
}

.form-group small {
  color: var(--marrom);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== BOTÃO DE COMPRA ===== */
.purchase-btn {
  width: 100%;
  background: linear-gradient(45deg, var(--dourado), #e6b86a);
  color: white;
  border: none;
  padding: 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.purchase-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(214, 166, 106, 0.4);
}

.purchase-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.purchase-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== BADGES DE SEGURANÇA ===== */
.security-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--verde);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== POLÍTICAS ===== */
.policies-section {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.policies-title {
  color: var(--azul);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-item {
  margin-bottom: 1.5rem;
}

.policy-item h4 {
  color: var(--dourado);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-item p {
  color: var(--marrom);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ===== MODAL SYSTEM ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.modal-title {
  color: var(--azul);
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--cinza);
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--azul);
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.modal-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.modal-icon.success {
  color: var(--verde);
}

.modal-icon.error {
  color: var(--vermelho);
}

.modal-icon.warning {
  color: var(--laranja);
}

.modal-message {
  font-size: 1.1rem;
  color: var(--azul);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-details {
  background: var(--cinza-claro);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
  font-size: 0.9rem;
  color: var(--marrom);
}

.modal-details h4 {
  color: var(--azul);
  margin-bottom: 0.5rem;
}

.modal-details p {
  margin-bottom: 0.3rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.btn-modal {
  background: var(--dourado);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal:hover {
  background: var(--marrom);
  transform: translateY(-1px);
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(30, 61, 63, 0.1);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-10px);
}

.why-card .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--dourado), #e6b86a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.why-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--azul);
  margin-bottom: 1rem;
}

/* ===== PRICING SECTION ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 50px rgba(30, 61, 63, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card.active {
  transform: scale(1.05);
  border: 3px solid var(--dourado);
}

.pricing-card.active::before {
  content: "PRÉ-VENDA ATIVA";
  position: absolute;
  top: 2rem;
  right: -6rem;
  background: var(--dourado);
  color: white;
  padding: 0.5rem 3rem;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
}

.pricing-card.disabled {
  opacity: 0.5;
  background: #f5f5f5;
  transform: none !important;
  filter: grayscale(100%);
}

.pricing-card:hover:not(.disabled) {
  transform: translateY(-10px);
}

.pricing-card.active:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--azul);
  margin-bottom: 1rem;
}

.pricing-card.disabled .pricing-header h3 {
  color: var(--cinza);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dourado);
  margin-bottom: 0.5rem;
}

.pricing-card.disabled .price {
  color: var(--cinza);
}

.price-subtitle {
  font-size: 0.9rem;
  color: var(--marrom);
  margin-bottom: 1.5rem;
}

.pricing-card.disabled .price-subtitle {
  color: var(--cinza);
}

.features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.features li {
  padding: 0.4rem 0;
  color: var(--azul);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.features li::before {
  content: "✓";
  color: var(--verde);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.pricing-card.disabled .features li {
  color: var(--cinza);
}

.pricing-card.disabled .features li::before {
  color: var(--cinza);
}

.coming-soon {
  background: var(--cinza);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== LINEUP ===== */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.lineup-card {
  background: white;
  padding: 2rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(30, 61, 63, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lineup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dourado), var(--marrom));
}

.lineup-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.lineup-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--dourado);
}

.lineup-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--azul);
  margin-bottom: 0.5rem;
}

.lineup-card .genre {
  color: var(--marrom);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.lineup-card .time {
  background: var(--dourado);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== SPONSORS ===== */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.sponsor-logo {
  width: 140px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 5px 15px rgba(30, 61, 63, 0.1);
  transition: all 0.3s ease;
}

.sponsor-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(30, 61, 63, 0.15);
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.sponsor-logo:hover img {
  filter: grayscale(0%);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--azul);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.author-info span {
  font-size: 0.9rem;
  color: var(--marrom);
}

/* ===== LOCATION ===== */
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--azul);
  margin-bottom: 1rem;
}

.location-details {
  list-style: none;
  margin-bottom: 2rem;
}

.location-details li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
}

.location-details .icon {
  width: 20px;
  height: 20px;
  background: var(--dourado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 61, 63, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FAQ (Accordion Moderno) ===== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-card {
  border-radius: 1rem;
  overflow: hidden;
  margin: 0 0 1rem 0;
  background: white;
  box-shadow: 0 10px 30px rgba(30, 61, 63, 0.12);
  border: 1px solid rgba(30, 61, 63, 0.08);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary {
  list-style: none;
}

.faq-card > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, var(--azul), #2a5356);
  position: relative;
  transition: background 0.25s ease, color 0.25s ease;
  outline: none;
}

.faq-card > summary::after {
  content: "";
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
  opacity: 0.9;
}

.faq-card[open] > summary {
  background: var(--dourado);
  color: var(--azul);
}

.faq-card[open] > summary::after {
  transform: rotate(45deg);
}

.faq-content {
  background: var(--areia);
  color: var(--azul);
  padding: 1.2rem 1.5rem 1.5rem;
  line-height: 1.7;
  animation: faq-reveal 0.28s ease;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-card > summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(214, 166, 106, 0.45) inset;
  border-radius: 1rem;
}

/* ===== FLOATING BUTTON ===== */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(45deg, var(--dourado), #e6b86a);
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 8px 30px rgba(214, 166, 106, 0.5);
  transition: all 0.3s ease;
  z-index: 997;
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(214, 166, 106, 0.7);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--azul);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--dourado);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
  margin-bottom: 0.5rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--dourado);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  padding-bottom: 4rem;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 768px) {
  header {
    height: 80px;
  }

  header.scrolled {
    height: 70px;
  }

  nav {
    padding: 0 0.8rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 0;
  }

  .logo {
    flex: 1;
    justify-content: center;
    margin-right: 50px;
  }

  .header-auth {
    flex: 0 0 auto;
    min-width: auto;
    margin-right: 10px;
    max-width: 200px;
  }

  .header-auth .btn-auth {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    min-width: 120px;
  }

  .user-menu {
    min-width: auto;
    max-width: 180px;
  }

  .user-menu .user-name {
    max-width: 100px;
    font-size: 0.85rem;
  }

  .user-menu .avatar-mini {
    width: 35px;
    height: 35px;
    margin-right: 10px;
  }

  .logo img {
    height: 170px;
    margin: 24px 15px 7px 33px;
  }

  header.scrolled .logo img {
    height: 130px;
  }

  .ticker {
    margin-top: 80px;
    font-size: 0.9rem;
  }

  .hero {
    height: 90vh;
    background-attachment: scroll;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .subtitle {
    font-size: 1.2rem;
  }

  .hero-content .date-location {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: auto;
    min-width: 200px;
  }

  .countdown {
    gap: 0.8rem;
  }

  .countdown-item {
    min-width: 70px;
    padding: 1rem 0.5rem;
  }

  .countdown-item span {
    font-size: 1.8rem;
  }

  .countdown-item small {
    font-size: 0.75rem;
  }

  section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  .why-grid,
  .pricing-grid,
  .lineup-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card.active {
    transform: none;
  }

  .location-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .location-details li {
    font-size: 0.9rem;
  }

  .security-badges {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .security-badge {
    min-width: auto;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
  }

  .sponsors-grid {
    gap: 1.5rem;
  }

  .sponsor-logo {
    width: 120px;
    height: 65px;
  }

  .floating-btn {
    bottom: 15px;
    right: 15px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    padding-bottom: 4rem;
  }

  .container {
    padding: 0 0.8rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .modal-auth-content {
    padding: 2rem;
    margin: 1rem;
  }

  /* PÁGINA DE VENDAS - MOBILE */
  .main-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
    margin-top: 0;
  }

  .purchase-sidebar {
    position: static;
    order: -1;
    top: auto;
  }

  .event-title {
    font-size: 2rem;
  }

  .event-banner {
    height: 250px;
  }

  .banner-content {
    bottom: 1rem;
    left: 1rem;
  }

  .event-info,
  .purchase-sidebar {
    padding: 1.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .security-badges {
    flex-direction: column;
    align-items: center;
  }

  .modal {
    width: 95%;
    margin: 1rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 0.5rem;
  }

  .hamburger {
    width: 36px;
    height: 32px;
    padding: 6px;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
  }

  .logo {
    margin-right: 42px;
  }

  .logo img {
    height: 170px;
    margin: 24px 15px 7px 33px;
  }

  header.scrolled .logo img {
    height: 130px;
  }

  .header-auth .btn-auth span {
    display: none;
  }

  .header-auth .btn-auth {
    min-width: 45px;
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .user-menu .user-name {
    max-width: 80px;
    font-size: 0.8rem;
  }

  .user-menu .avatar-mini {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-content .subtitle {
    font-size: 1.1rem;
  }

  .hero-content .date-location {
    font-size: 0.95rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    min-width: 180px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .countdown-item {
    min-width: 65px;
    padding: 0.8rem 0.3rem;
  }

  .countdown-item span {
    font-size: 1.5rem;
  }

  .countdown-item small {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .floating-btn {
    bottom: 12px;
    right: 12px;
    padding: 8px 12px;
    font-size: 0.75rem;
    border-radius: 40px;
  }

  .security-badge {
    font-size: 0.75rem;
    padding: 0.6rem 0.8rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .price {
    font-size: 2rem;
  }

  .sponsors-grid {
    gap: 1rem;
  }

  .sponsor-logo {
    width: 100px;
    height: 55px;
  }

  .container {
    padding: 0 0.5rem;
  }

  .why-card,
  .lineup-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .why-card .icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .lineup-card img {
    width: 100px;
    height: 100px;
  }

  .mobile-menu a {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .modal-icon {
    font-size: 3rem;
  }

  .modal-body {
    padding: 1rem;
  }

  /* PÁGINA DE VENDAS - MOBILE PEQUENO */
  .event-title {
    font-size: 1.8rem;
  }

  .ticket-header {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .quantity-selector {
    padding: 0 1rem 1rem;
  }

  .container {
    padding: 0 0.5rem;
  }
}

@media (max-width: 360px) {
  .hamburger {
    width: 32px;
    height: 28px;
  }

  .logo {
    margin-right: 38px;
  }

  .logo img {
    height: 170px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn-primary,
  .btn-secondary {
    min-width: 160px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .floating-btn {
    bottom: 10px;
    right: 10px;
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .countdown-item {
    min-width: 60px;
  }

  .countdown-item span {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
/* ===== MODAL OVERLAY STYLES ===== */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.8) !important;
  display: none !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 99999 !important;
  backdrop-filter: blur(5px) !important;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-overlay .modal {
  background: white !important;
  border-radius: 12px !important;
  max-width: 500px !important;
  width: 90% !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
  transform: scale(0.8) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  z-index: 100000 !important;
}

.modal-overlay.active .modal {
  transform: scale(1) !important;
}

@keyframes modalAppear {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-overlay .modal-header {
  background: linear-gradient(45deg, var(--azul), var(--dourado));
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-overlay .modal-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
}

.modal-overlay .modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-overlay .modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-overlay .modal-body {
  padding: 2rem;
  background: white;
  max-height: 60vh;
  overflow-y: auto;
  text-align: center;
}

.modal-overlay .modal-message {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: var(--marrom);
  line-height: 1.5;
}

.modal-overlay .modal-footer {
  padding: 1rem 2rem;
  background: #f9f9f9;
  text-align: center;
  border-top: 1px solid #eee;
}

.modal-overlay .btn-modal {
  background: linear-gradient(45deg, var(--dourado), #e6b86a);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

.modal-overlay .btn-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(214, 166, 106, 0.4);
}

/* ===== LOADING BUTTON STYLES ===== */
.button-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.button-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== ICON STYLES ===== */
.modal-overlay .modal-icon {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.modal-overlay .modal-icon.success i {
  color: #4caf50;
}

.modal-overlay .modal-icon.error i {
  color: #f44336;
}

.modal-overlay .modal-icon.warning i {
  color: #ff9800;
}

.modal-overlay .modal-icon.info i {
  color: var(--azul);
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.loading.loaded,
.loading[data-aos] {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback se AOS não carregar */
.loading:not([data-aos]) {
  opacity: 1;
  transform: translateY(0);
}
