/* Variáveis CSS para consistência */
:root {
  --primary: orange;
  --primary-dark: #d35400;
  --dark: #111;
  --darker: #000;
  --light: #eee;
  --gray: #888;
  --dark-gray: #222;
  --medium-gray: #333;
  --light-gray: #ccc;
}

/* Estilo base melhorado */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 165, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 165, 0, 0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Navbar interativa */
header {
  background: var(--darker);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 2rem;
  background: rgba(0, 0, 0, 0.95);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover:after {
  width: 100%;
}

/* Hero Banner redesenhado */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23333"/><path d="M0 0L100 100" stroke="%23d35400" stroke-width="2"/><path d="M100 0L0 100" stroke="%23d35400" stroke-width="2"/></svg>');
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  letter-spacing: 3px;
}

.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content .date {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--light);
  font-weight: 600;
}

.hero-content .location {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light);
  font-style: italic;
}

.hero-content .slogan {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: var(--light);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: var(--primary);
  color: var(--darker);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  animation: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--primary);
  color: var(--darker);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Seções melhoradas */
section {
  padding: 5rem 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

h3:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--primary);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--dark-gray);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--medium-gray);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  margin-bottom: 1.5rem;
  color: var(--light-gray);
}

.card ul {
  text-align: left;
  margin-left: 1.5rem;
  color: var(--light-gray);
}

.card ul li {
  margin-bottom: 0.5rem;
}

/* Imagens dos preletores */
.preletores-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.card:hover .preletores-img {
  transform: scale(1.1);
  border-color: var(--light);
}

/* Modal de aviso */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--dark-gray);
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border: 2px solid var(--primary);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.modal p {
  margin-bottom: 1.5rem;
  color: var(--light);
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-btn.confirm {
  background: var(--primary);
  color: var(--darker);
}

.modal-btn.confirm:hover {
  background: var(--primary-dark);
}

.modal-btn.cancel {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--light);
}

.modal-btn.cancel:hover {
  background: var(--light);
  color: var(--dark);
}

/* Footer melhorado */
footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--darker);
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

footer p {
  margin: 0.5rem 0;
}

/* ==================== */
/* MENU MOBILE ESTILIZADO */
/* ==================== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.3s;
}

.mobile-menu-btn:hover {
  background: rgba(255, 165, 0, 0.2);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  height: 100vh;
  background: var(--darker);
  z-index: 1000;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  right: 0;
  animation: slideIn 0.4s ease;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--medium-gray);
  background: var(--dark);
}

.mobile-logo {
  height: 35px;
  width: auto;
}

.close-menu {
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.3s;
}

.close-menu:hover {
  background: rgba(255, 165, 0, 0.2);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  flex-grow: 1;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 1.2rem 1rem;
  color: var(--light);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}

.mobile-nav-links a i {
  margin-right: 15px;
  width: 25px;
  text-align: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.mobile-nav-links a:hover {
  background: rgba(255, 165, 0, 0.15);
  color: var(--primary);
  transform: translateX(5px);
}

.mobile-menu-footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--medium-gray);
  background: var(--dark);
}

.mobile-menu-footer p {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Overlay para quando o menu mobile estiver aberto */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Responsividade - FOCO EM MOBILE FIRST */
@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.8rem 1rem;
  }
  
  .navbar {
    justify-content: center;
    position: relative;
  }
  
  .logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 1rem;
  }
  
  .hero {
    height: 100vh;
    min-height: 100vh;
    padding: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content .date {
    font-size: 1.2rem;
  }
  
  .hero-content .location {
    font-size: 1rem;
  }
  
  .hero-content .slogan {
    font-size: 1.1rem;
  }
  
  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
  }
  
  section {
    padding: 3rem 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .modal-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-content .date {
    font-size: 1rem;
  }
  
  .hero-content .slogan {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .mobile-menu {
    width: 100%;
  }
}

/* Animações de entrada para elementos */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Ícones */
.icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Loading suave */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--darker);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--medium-gray);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Botões de pagamento */
.payment-btn {
  margin: 0.5rem;
  width: 80%;
}