@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

body {
  background-color: #030305;
  color: #f3f4f6;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
}

/* Textura de Grid Arquitetônico no Fundo */
.bg-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.text-glow {
  text-shadow: 0 0 35px rgba(212, 175, 55, 0.35);
}

/* Botão Dourado Premium */
.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #C59B27 100%);
  color: #030305;
  box-shadow: 0 8px 25px -4px rgba(212, 175, 55, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px rgba(212, 175, 55, 0.65);
  filter: brightness(1.05);
}

/* Efeito Spotlight nos Cards do Carrossel */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.spotlight-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-4px);
}

/* Customização dos Pontos do Carrossel Swiper */
.swiper-pagination-bullet {
  background: #4b5563 !important;
  opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
  background: #D4AF37 !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 999px !important;
  transition: all 0.3s ease;
}

/* Modal Blur */
#modalOverlay {
  backdrop-filter: blur(12px);
  background: rgba(3, 3, 5, 0.82);
}

/* Animação dos Toasts */
.toast {
  animation: slideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards, fadeOut 0.4s ease-in 4.2s forwards;
}

@keyframes slideIn {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; pointer-events: none; }
}

.spin {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 639px) {
  section {
    scroll-margin-top: 5rem;
  }

  .swiper {
    width: 100%;
    overflow: hidden;
  }

  #toastContainer {
    right: 1rem;
    left: 1rem;
  }

  .toast {
    width: min(18rem, 100%);
    margin-left: auto;
  }
}