/* style.css */
/* Variáveis CSS para consistência */
:root {
  --primary: orange;
  --primary-dark: #d35400;
  --primary-light: #ffb74d;
  --dark: #111;
  --darker: #000;
  --light: #eee;
  --gray: #888;
  --dark-gray: #222;
  --medium-gray: #333;
  --light-gray: #ccc;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* 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 float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Navbar interativa */
header {
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

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;
  padding: 0.5rem 0;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover:after {
  width: 100%;
}

/* Hero Banner NOVO - Estilo da imagem */
.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(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
              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="%23111"/></svg>');
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeIn 1.5s ease-out;
  width: 100%;
}

.hero-logo {
  font-size: 5.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--light);
  letter-spacing: 8px;
  text-transform: uppercase;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-subtitle {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--light);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.hero-subtitle:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--primary);
  bottom: -10px;
  left: 0;
}

.hero-details {
  margin-bottom: 3rem;
}

.hero-date {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--light);
  font-weight: 600;
  letter-spacing: 2px;
}

.hero-start {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 500;
}

.hero-url {
  font-size: 1.3rem;
  color: var(--light);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 3rem;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 5px;
  transition: all 0.3s;
}

.hero-url:hover {
  background: var(--primary);
  color: var(--darker);
}

.cta-button {
  background: var(--gradient);
  color: var(--darker);
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.3rem;
  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;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
  z-index: -1;
}

.cta-button:hover:before {
  left: 100%;
}

.cta-button:hover {
  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;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--light);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--gradient);
  color: var(--darker);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn:hover:before {
  left: 100%;
}

.btn:hover {
  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);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--primary);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
}

.section-header p {
  color: var(--light-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.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: 15px;
  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;
  position: relative;
  overflow: hidden;
}

.card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover:before {
  transform: scaleX(1);
}

.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: 0;
  color: var(--light-gray);
  width: 100%;
}

.card ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card ul li i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.card ul li .time {
  font-weight: bold;
  margin-right: 10px;
  min-width: 50px;
}

/* Imagens dos preletores */
.card-image {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
  border-radius: 50%;
  overflow: hidden;
}

.preletores-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card:hover .preletores-img {
  transform: scale(1.1);
}

.verse-text {
  text-align: center;
  color: var(--light);
}

.verse-text i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.verse-text p {
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
}

/* Day headers in schedule */
.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.day-header h3 {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.day-header h3 i {
  margin-right: 10px;
}

.day-tag {
  background: var(--gradient);
  color: var(--darker);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Step numbers for registration */
.step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--gradient);
  color: var(--darker);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Payment options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  margin-top: 1rem;
}

.payment-btn {
  margin: 0;
  width: 100%;
}

/* 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: 15px;
  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(--gradient);
  color: var(--darker);
}

.modal-btn.confirm:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.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 {
  background: var(--darker);
  color: var(--gray);
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem 1rem;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-section {
  text-align: left;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-section p i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.social-links a {
  color: var(--light);
  background: var(--medium-gray);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--medium-gray);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom 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;
}

/* 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;
}

/* Ícones */
.icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Local info */
.local-info {
  text-align: left;
  width: 100%;
  margin: 1.5rem 0;
}

.local-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.local-info p i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: var(--primary);
}

/* 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-logo {
    font-size: 3.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .hero-date {
    font-size: 1.4rem;
  }
  
  .hero-start {
    font-size: 1.2rem;
  }
  
  .hero-url {
    font-size: 1.1rem;
  }
  
  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  section {
    padding: 3rem 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .modal-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    font-size: 2.8rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-date {
    font-size: 1.2rem;
  }
  
  .hero-start {
    font-size: 1rem;
  }
  
  .hero-url {
    font-size: 0.9rem;
  }
  
  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .section-header 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;
}