/* ========================================
   COMPONENTES ESPECÍFICOS
   ======================================== */
/* Estilo geral do header */
.header {
  width: 100%;
  background: #fff; /* ou a cor que você quiser */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 40px;
  height: auto;
}

.nav-title {
  font-size: 18px;
  font-weight: bold;
}

/* Responsividade */
@media (max-width: 768px) {
  .nav {
    justify-content: center;
  }

  .nav-brand {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .nav-title {
    text-align: center;
    margin: 0 auto;
    font-size: 16px;
  }

  .nav-menu {
    display: none; /* se você quiser esconder o menu no mobile */
  }
}

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color:#9a6925;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  margin: 0;
}

.nav-link {
  font-weight: 500;
  color: var(--bg-dark);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color:#9a6925;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #9a6925;
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-2xl) 0;
}

.hero-logo {
  margin-bottom: var(--spacing-xl);
}

.hero-logo-img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.hero-theme {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  color: var(--secondary-color);
}

.hero-impact {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-2xl);
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
  font-weight: 600;
}

/* Contagem Regressiva */
.countdown-section {
  margin: var(--spacing-2xl) 0;
}

.countdown-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
  opacity: 0.9;
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  min-width: 80px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-light);
  line-height: 1;
}

.countdown-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0.8;
  margin-top: var(--spacing-xs);
}

.countdown-separator {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  opacity: 0.6;
}

.countdown-expired {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  color: var(--text-light);
  font-size: 2rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Seções Gerais */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Programação Section */
.programacao {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
}

/* Carrossel de Datas */
.dates-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
}

.carousel-item {
  display: none;
  opacity: 0;
  transform: translateX(100px);
  transition: all var(--transition-slow);
}

.carousel-item.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.date-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-large);
  overflow: hidden;
  display: flex;
  min-height: 400px;
}

.date-header {
  background: linear-gradient(135deg,#ea840f, var(--primary-dark));
  color: var(--text-light);
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  text-align: center;
}

.date-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.date-month {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.date-year {
  font-size: 1rem;
  opacity: 0.8;
}

.date-content {
  flex: 1;
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.date-theme {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ea840f;
  margin-bottom: var(--spacing-lg);
}

.date-speakers {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.speaker {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.speaker-photo {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.speaker-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.speaker-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.date-time {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: var(--spacing-lg);
}

/* Navegação do Carrossel */
.carousel-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.carousel-prev,
.carousel-next {
  background: #ea840f;
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-full);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1.25rem;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  gap: var(--spacing-sm);
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-full);
  border: none;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Localização Section */
.localizacao {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-primary);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-normal);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.location-icon {
  background: var(--primary-color);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.location-details p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.location-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.location-map {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-large);
}

.location-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-sm);
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: var(--spacing-md);
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-xl);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-sm);
}

/* Modais */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: var(--spacing-md);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-large);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: var(--spacing-xs);
  border-radius: var(--border-radius-sm);
}

.modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.modal-body {
  padding: var(--spacing-xl);
}

.modal-speakers {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.modal-speaker {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.modal-speaker img {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.modal-speaker h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.modal-speaker p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.modal-schedule h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

.modal-schedule ul {
  list-style: none;
  padding: 0;
}

.modal-schedule li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.modal-schedule li:last-child {
  border-bottom: none;
}

.modal-schedule strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Animações de Scroll */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 1024px) {
  .location-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
   .hero-logo-img {
    height: 400px;
  }
  header {
  display: flex;
  justify-content: center; /* Alinha o conteúdo horizontalmente no centro */
  align-items: center; /* Alinha o conteúdo verticalmente no centro */
}

.nav-title {
  display: flex;
  align-items: center;
  justify-content: center; /* Centraliza o conteúdo dentro de .nav-title */
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.60rem;
  color: #9a6925;
}
  .date-card {
    flex-direction: column;
    min-height: auto;
  }
  
  .date-header {
    min-width: auto;
    padding: var(--spacing-xl);
    flex-direction: row;
    gap: var(--spacing-md);
  }
  
  .date-number {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
 .header {
  display: flex;
  justify-content: center; /* Alinha o conteúdo horizontalmente no centro */
  align-items: center; /* Alinha o conteúdo verticalmente no centro */
}
@media (max-width: 768px) {
  .nav {
    justify-content: center;
  }

  .nav-brand {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .nav-title {
    text-align: center;
    margin: 0 auto;
  }
}

.nav-title {
  display: flex;
  align-items: center;
  justify-content: center; /* Centraliza o conteúdo dentro de .nav-title */
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.60rem;
  color: #9a6925;
}
 .hero-logo-img {
    height: 290px;
  }
  .nav-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
  
  .countdown-container {
    gap: var(--spacing-sm);
  }
  
  .countdown-item {
    min-width: 70px;
    padding: var(--spacing-md);
  }
  
  .countdown-number {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .date-speakers {
    gap: var(--spacing-md);
  }
  
  .speaker {
    flex-direction: column;
    text-align: center;
  }
  
  .location-actions {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .modal-content {
    margin: var(--spacing-md);
    max-height: calc(100vh - 2rem);
  }
  
  .modal-speaker {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-logo-img {
    height: 190px;
  }
  header {
  display: flex;
  justify-content: center; /* Alinha o conteúdo horizontalmente no centro */
  align-items: center; /* Alinha o conteúdo verticalmente no centro */
}

.nav-title {
  display: flex;
  align-items: center;
  justify-content: center; /* Centraliza o conteúdo dentro de .nav-title */
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.30rem;
  color: #9a6925;
}
  .hero-title {
    font-size: 2rem;
  }
  
  .countdown-item {
    min-width: 60px;
    padding: var(--spacing-sm);
  }
  
  .countdown-number {
    font-size: 1.5rem;
  }
  
  .countdown-label {
    font-size: 0.75rem;
  }
  
  .date-header {
    padding: var(--spacing-md);
  }
  
  .date-content {
    padding: var(--spacing-md);
  }
  
  .date-theme {
    font-size: 1.5rem;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
