
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-color: #A7C3E6;
  --secondary-color: #CFE1F4;
  --accent-color: #D6BFA5;
  --light-color: #FDFCFB;
  --dark-color: #374146;
  --text-color: #374146;
  --light-text: #F0F4F8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  background-color: transparent; /* Tornando o header transparente */
  color: var(--light-text);
  padding: 0; /* Removendo o padding */
  position: relative;
  height: 55px; /* Altura fixa para o header */
  z-index: 9999; /* Garantindo que fique acima de outros elementos */
}

nav {
    position: fixed; /* Mudando para fixed para que o menu fique fixo na tela */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Aumentando o z-index para garantir que fique acima de tudo */
    background-color: var(--dark-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Adicionando sombra para destacar */
    margin: 0; /* Garantindo que não haja margem */
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-mobile {
    display: none;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--light-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

/* Menu responsivo */
@media (max-width: 768px) {
    .logo-mobile {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    /* Animação para o menu hamburguer */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 9998; /* Ajustando para ficar logo abaixo do nav principal */
        max-height: calc(100vh - 70px); /* Limita a altura para não ultrapassar a tela */
        overflow-y: auto; /* Adiciona rolagem se necessário */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    /* Ajustes para o body quando o menu está aberto */
    body.menu-open {
        padding-top: 70px; /* Adiciona espaço para o menu fixo */
    }

    /* Ajuste especial para o hero em telas menores */
    #hero {
        padding-top: 70px; /* Apenas o espaço necessário para o menu */
        margin-top: 0;
    }

    /* Garante que todas as outras seções tenham espaço suficiente */
    section:not(#hero) {
        padding-top: 70px;
        margin-top: 0;
    }
}



/* Hero Section Styles */
#hero {
  background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.6)), url('banner.png') no-repeat center center/cover;
  color: var(--light-text);
  min-height: 90vh;
  display: flex;
  align-items: center;
  margin-top: 0; /* Garante que não haja margem acima do hero */
  box-sizing: border-box; /* Garante que o padding não aumente a altura total */
}

.hero-container {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: center; /* Center items vertically */
  align-items: center; /* Center items horizontally */
  height: 100vh; /* Full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.hero-main-content {
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.hero-left {
  flex: 1;
  text-align: left;
}

.hero-right {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 20px;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #F0F4F8;
}

.hero-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background-color: rgba(255, 255, 255, 1);
  padding: 20px;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .hero-main-title {
    font-size: 2.8rem;
  }

  /* Reduzir o tamanho da imagem em telas médias */
  .hero-logo {
    max-width: 90%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .hero-main-content {
    flex-direction: column;
    align-items: center;
    min-height: 50vh;
    justify-content: center;
  }

  .hero-left {
    margin-bottom: 20px;
    text-align: center;
    display: none; /* Oculta o container da imagem em telas pequenas */
  }

  .hero-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
  }

  .hero-main-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-bottom-content {
    flex-direction: column;
    align-items: center;
  }

  .hero-logo {
    max-width: 80%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

 /* Garantir que a imagem não apareça em telas muito pequenas */
  .hero-logo {
    display: none;
  }
}

.hero-logos {
  flex-grow: 1;
  margin-left: 20px;
}

.hero-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}

@media (max-width: 1200px) {
  .hero-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-logos-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }
}

.hero-logos-grid .logo-item img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  filter: grayscale(50%) contrast(120%);
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.hero-logos-grid .logo-item img:hover {
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
  transform: translateY(-5px);
}

.logos-grid-centered {
  grid-template-columns: repeat(3, 1fr); /* Adjust to 2 columns for the two logos */
  justify-content: center; /* Horizontally center the grid items if the grid itself doesn't fill the container */
  max-width: 400px; /* Optional: constrain the max width of this specific logo row */
  margin-left: auto; /* Center the grid container */
  margin-right: auto; /* Center the grid container */
}

/* Ensure items within the centered grid are also centered if they don't fill their cell */
.logos-grid-centered .logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* General Button Style (kept from old .hero section, might need adjustments) */
.c {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #B68C30;
}

/* Main Content */
.main-content {
  padding: 80px 0 60px; /* Aumentando o padding-top para compensar o menu fixo */
  scroll-margin-top: 70px; /* Ajusta o ponto de rolagem para seções com ID */
}

.main-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

.main-content h3 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.main-content p {
  margin-bottom: 20px;
}

.section {
  margin-bottom: 50px;
}

/* Previous Events */
.previous-events {
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 80px 0 70px; /* Aumentando o padding-top */
  scroll-margin-top: 70px; /* Ajusta o ponto de rolagem */
}

.previous-events h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--light-text);
}

/* Contêiner da timeline para adicionar sombra de rolagem */
.timeline-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Sombras para indicar rolagem */
.timeline-wrapper::before,
.timeline-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 3;
  pointer-events: none;
}

.timeline-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark-color) 0%, rgba(100, 112, 123, 0) 100%);
}

.timeline-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, rgba(100, 112, 123, 0) 0%, var(--dark-color) 100%);
}

/* Timeline horizontal estilizada */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 20px 0;
  overflow-x: auto;
  white-space: nowrap;
  /* Esconde a barra de rolagem mas mantém a funcionalidade */
  scrollbar-width: none; /* Para Firefox */
  -ms-overflow-style: none; /* Para IE e Edge */
}

/* Remove a barra de rolagem para Chrome e Safari */
.timeline::-webkit-scrollbar {
  display: none;
}

/* Container para os itens da timeline */
.timeline-item {
  position: relative;
  display: inline-block;
  width: 300px;
  min-width: 300px;
  margin-right: 50px;
  padding-top: 90px;
  opacity: 0.7;
  transition: all 0.3s ease;
  vertical-align: top;
}

.timeline-item:last-child {
  margin-right: 50px;
}

/* Item ativo (edição atual) */
.timeline-item.active {
  opacity: 1;
}

.timeline-item.active .timeline-content {
  background-color: var(--primary-color);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.timeline-item.active .timeline-dot {
  background-color: var(--accent-color);
  border: 4px solid var(--light-text);
  width: 24px;
  height: 24px;
}

/* Indicador do final da linha do tempo */
.timeline-item.active::after {
  display: none;
}

/* Círculo na linha do tempo */
.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  top: 60px;
  left: 50%;
  margin-left: -10px;
  z-index: 2;
  border: 3px solid var(--dark-color);
  transition: all 0.3s ease;
}

/* Ano do evento */
.timeline-date {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  font-size: 22px;
  color: #fff;
  z-index: 2;
  background-color: var(--accent-color);
  border-radius: 50px;
  padding: 4px 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  min-width: 65px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Efeito hover na data */
.timeline-item:hover .timeline-date {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Item ativo com data destacada */
.timeline-item.active .timeline-date {
  background-color: var(--primary-color);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%) scale(1.1);
  font-weight: 700;
  animation: pulseDate 2s infinite;
  z-index: 10;
  position: absolute;
}

/* Keyframes para efeito de pulsação */
@keyframes pulseDate {
  0% {
    box-shadow: 0 0 0 0 rgba(167, 195, 230, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(167, 195, 230, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(167, 195, 230, 0);
  }
}

/* Keyframes para efeito de pulsação na extremidade */
@keyframes pulseEnd {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 191, 165, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(214, 191, 165, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 191, 165, 0);
  }
}

/* Efeito hover no item ativo */
.timeline-item.active:hover .timeline-date {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

/* Conteúdo do card */
.timeline-content {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  height: auto;
  min-height: 150px;
    display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
  margin: 0 0 10px 0;
  color: var(--light-text);
  font-size: 20px;
}

.timeline-content p {
  margin: 0 0 15px 0;
  font-style: italic;
    /* Garantir quebra de linha para evitar sobreposição */
  word-wrap: break-word;
  overflow-wrap: break-word;
  /* Limitar altura para textos longos */
  max-height: 3.2em;
  overflow: hidden;
}

/* Container para local e data */
.timeline-location {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.8;
  margin-top: auto;
}

/* Aumentar a visibilidade do container de localização no card ativo */
.timeline-item.active .timeline-location {
  opacity: 1;
}

/* Estilo para o item de local */
.timeline-location .location-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 2px;
}

/* Aumentar o contraste da localização no card ativo */
.timeline-item.active .timeline-location .location-item {
  color: var(--light-text);
  font-weight: 600;
}

.timeline-item.active .timeline-location .location-item i {
  color: var(--light-text);
}

/* Estilo para o item de data */
.timeline-location .date-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--accent-color);
  font-weight: 500;
}

@media (max-width: 768px) {
  .timeline-item {
    margin-bottom: 30px;
  }

  .timeline-content {
    min-height: auto;
    padding: 15px;
  }

  .timeline-content h3 {
    font-size: 18px;
  }
}

/* Aumentar o contraste da data no card ativo */
.timeline-item.active .timeline-location .date-item {
  color: var(--light-text);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.timeline-item.active .timeline-location .date-item i {
  color: var(--light-text);
}

/* Ícones nos itens de local e data */
.timeline-location .location-item i,
.timeline-location .date-item i {
  margin-right: 5px;
  color: var(--accent-color);
}

/* Controles de navegação da timeline */
.timeline-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.timeline-control {
  background-color: var(--accent-color);
  color: var(--light-text);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-control:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.timeline-control:disabled {
  background-color: #666;
  cursor: not-allowed;
  opacity: 0.5;
}


/* Themes Section */
.themes {
  padding: 80px 0 50px;
  scroll-margin-top: 70px; /* Ajusta o ponto de rolagem */
}

.themes h2 {
  text-align: center;
  margin-bottom: 30px;
}

.themes-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.theme-item {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.theme-item:hover {
  transform: translateY(-5px);
}

.theme-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Registration Section */
.registration {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 80px 0 50px;
  text-align: center;
  scroll-margin-top: 70px; /* Ajusta o ponto de rolagem */
}

.registration h2 {
  margin-bottom: 20px;
  color: var(--dark-color);
}

.registration p {
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 80px 0 20px;
  scroll-margin-top: 70px; /* Ajusta o ponto de rolagem */
}

/* Regra geral para todas as seções com ID para ajustar a rolagem com menu fixo */
section[id],
footer[id] {
  scroll-margin-top: 70px;
}

/* Estilo para o menu quando a página é rolada */
body.scrolled nav {
  background-color: rgba(55, 65, 70, 0.95); /* Cor com transparencia */
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  padding: 10px 0; /* Reduz o padding para um menu mais compacto */
  transition: all 0.3s ease;
}

/* Ajuste para o menu móvel quando a página é rolada */
body.scrolled .nav-menu {
  top: 60px; /* Ajusta a posição do menu móvel quando o menu principal está compacto */
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--light-text);
}

.footer-section p, .footer-section a {
  color: #bdc3c7;
  margin-bottom: 10px;
}

.footer-section a {
  display: block;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdc3c7;
}

/* Estilos para o footer */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons .social-icon {
  color: var(--light-text);
  background-color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icons .social-icon:hover {
  background-color: var(--secondary-color);
}

.map {
  margin-top: 10px;
}

.map iframe {
  border-radius: 5px;
}

/* Program Schedule */
.program {
  padding: 80px 0 50px;
  background-color: #f8f9fa;
  scroll-margin-top: 70px; /* Ajusta o ponto de rolagem */
}

.program h2 {
  text-align: center;
  margin-bottom: 30px;
}

.day-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.day-tab {
  padding: 10px 20px;
  background-color: var(--light-color);
  color: var(--primary-color);
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.day-tab:first-child {
  border-radius: 5px 0 0 5px;
}

.day-tab:last-child {
  border-radius: 0 5px 5px 0;
}

.day-tab.active {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.schedule {
  max-width: 900px;
  margin: 0 auto;
}

.day-content {
  display: none;
}

.day-content.active {
  display: block;
}

.schedule-item {
  display: flex;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
}

.moderator-name {
  font-weight: bold;
  color: var(--primary-color);
}

.schedule-time {
  width: 100px;
  min-width: 100px;
  background-color: var(--primary-color);
  color: var(--light-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 10px;
  font-weight: bold;
}

.schedule-detail {
  padding: 15px;
  flex-grow: 1;
}

.schedule-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.schedule-speaker {
  font-style: italic;
  color: #666;
  margin-bottom: 5px;
}

.participant-function {
  font-weight: bold;
  color: var(--primary-color); /* Using primary color for emphasis */
  margin-right: 5px;
}

/* Speakers Section */
.speakers {
  padding: 80px 0 50px;
  background-color: white;
  scroll-margin-top: 70px; /* Ajusta o ponto de rolagem */
}

.speakers h2 {
  text-align: center;
  margin-bottom: 40px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.speaker-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.speaker-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.speaker-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.speaker-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-img img {
  transform: scale(1.05);
}

.speaker-info {
  padding: 20px;
}

.speaker-info h3 {
  margin: 0 0 10px;
  color: #2c3e50;
  font-size: 1.4rem;
}

.speaker-institution {
  color: #4b6584;
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 1rem;
}

.speaker-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 15px;
  padding: 10px 0;
}

.speaker-talk {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
  font-style: italic;
}

.speaker-moderator {
  background-color: rgba(214, 191, 165, 0.2);
  padding: 8px 12px;
  border-radius: 4px;
  margin: 10px 0;
  font-size: 0.9rem;
  border-left: 3px solid var(--accent-color);
}

.speaker-theme {
  font-size: 0.95rem; /* Similar to talk */
  line-height: 1.4;
  color: #333; /* Similar to talk */
  margin-top: 5px; /* Add some space if both talk and theme are present */
  /* font-style: italic; /* Optional: if you want theme to also be italic */
}

/* Estilos específicos do carrossel */
.speakers-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 2rem 0;
  padding: 20px 50px;
}

.speakers-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Estilizando a barra de rolagem nos resumos de bio */
.speaker-bio::-webkit-scrollbar {
  width: 4px;
}

.speaker-bio::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.speaker-bio::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.speaker-bio::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Estilos do carrossel - melhorando controles de navegação */
.carousel-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: calc(100% + 20px);
    transform: translateY(-50%);
    z-index: 50;
    left: -10px;
    pointer-events: none;
}

.carousel-control {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0.9;
    position: relative;
    z-index: 60;
}

@media (max-width: 768px) {
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Efeito pulsante suave para chamar atenção aos botões */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(167, 195, 230, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(167, 195, 230, 0); }
    100% { box-shadow: 0 0 0 0 rgba(167, 195, 230, 0); }
}

.carousel-control:not(:disabled):not(.disabled) {
    animation: pulse 2s infinite;
}

.carousel-control:hover {
    background-color: var(--dark-color);
    transform: scale(1.1);
    opacity: 1;
    animation: none;
}

.carousel-control.clicked {
    transform: scale(0.95);
    opacity: 0.9;
}

.carousel-control:disabled,
.carousel-control.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.5;
    animation: none;
    box-shadow: none;
}

/* Ajustando a posição dos controles para melhor alinhamento */
#prevSpeaker {
    margin-left: 5px;
}

#nextSpeaker {
    margin-right: 5px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 10px;
    position: relative;
    z-index: 10;

}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.carousel-indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
    border: 2px solid var(--accent-color);
}



/* Estilos para centralizar botões */
.text-center {
    text-align: center;
    margin: 30px 0;
}

/* Estilos para o Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background-color: var(--light-color);
    margin: 3% auto;
    padding: 30px 40px;
    width: 85%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--primary-color);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--dark-color);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.3;
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
}

.modal h3 {
    color: var(--dark-color);
    margin: 30px 0 15px;
    font-size: 22px;
    font-weight: 600;
}

.modal-date {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(214, 191, 165, 0.15);
    border-radius: 20px;
}

.modal-body {
    margin-bottom: 30px;
}

/* Estilo simplificado para os parágrafos do modal */
.modal-body p {
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
    font-size: 16px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-body p:first-of-type {
    font-size: 17px;
    font-weight: 500;
}

.modal-body p:first-letter {
    font-size: 1.15em;
    font-weight: 600;
}

.modal-body p strong {
    color: var(--dark-color);
    font-weight: 700;
}

.modal-eixos {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
}

.modal-eixos li {
    position: relative;
    padding: 12px 15px 12px 30px;
    background-color: rgba(167, 195, 230, 0.1);
    border-radius: 6px;
    transition: transform 0.2s, background-color 0.2s;
    font-size: 15px;
    line-height: 1.5;
}

.modal-eixos li:hover {
    background-color: rgba(167, 195, 230, 0.25);
    transform: translateX(5px);
}

.modal-eixos li:before {
    content: "•";
    position: absolute;
    left: 12px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    top: 50%;
    transform: translateY(-50%);
}

.modal-section {
    margin-bottom: 30px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-color);
}

.modal-btn {
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.modal-btn:hover {
    background-color: #C5A37D;
}

/* Style for footnotes */
.footnote {
    font-size: 14px;
    color: var(--dark-color);
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px dashed var(--secondary-color);
}

.footnote p {
    margin-bottom: 8px;
    font-style: italic;
}

/* Modal scrollbar styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 5% auto;
        max-height: 90vh;
    }

    .modal h2 {
        font-size: 24px;
    }

    .modal h3 {
        font-size: 20px;
    }

    .modal-date {
        font-size: 16px;
    }

    .modal-body p {
        font-size: 15px;
    }

    .modal-eixos {
        grid-template-columns: 1fr;
    }

    .close-modal {
        right: 15px;
        top: 10px;
        font-size: 28px;
    }
}

/* Destaque para textos com citações */
.modal-body p em {
    background-color: rgba(214, 191, 165, 0.2);
    padding: 0 4px;
    border-radius: 3px;
    font-style: italic;
}

/* Estilo para botão no modal */
.btn-modal {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.btn-modal:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.text-center {
    text-align: center;
    margin: 30px 0;
}

/* Novos estilos para melhorar a estrutura do carrossel */
.speakers-carousel-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
}

.carousel-indicators-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.carousel-description {
    font-size: 0.9rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-style: italic;
}

/* Estilo para visualizar qual slide está ativo no carrossel */
.speaker-card.active {
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    .speakers-track {
        flex-direction: column;
    }

    .speaker-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .speaker-card.active {
        border-left: none;
        border-top: 4px solid var(--primary-color);
    }
}

/* Animações simplificadas para o carrossel */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.speaker-card {
    animation: fadeIn 0.5s ease-out;
    transition: all 0.4s ease;
}

/* Estilo para destacar o speaker atual */
.speaker-card.current {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

/* Estilo simplificado para os cartões */
.speaker-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

/* Adicionando contador de slides */
.carousel-indicators-container {
    position: relative;
}

.carousel-indicators::after {
    content: attr(data-info);
    position: absolute;
    bottom: -25px;
    font-size: 0.8rem;
    color: var(--dark-color);
    opacity: 0.7;
    width: 100%;
    text-align: center;
}

/* Melhorando a acessibilidade com foco */
.carousel-control:focus,
.carousel-indicator:focus,
.speaker-card:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Tornando a experiência de navegação mais imersiva */
.speakers-carousel-container {
    position: relative;
}

.speakers-carousel-container::before,
.speakers-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 5;
    pointer-events: none;
}

.speakers-carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
}

.speakers-carousel-container::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
}

/* Melhorando a responsividade */
@media (max-width: 992px) {
    .speakers-carousel-container::before,
    .speakers-carousel-container::after {
        width: 30px;
    }
}

@media (max-width: 768px) {
    .speakers-carousel-container::before,
    .speakers-carousel-container::after {
        width: 20px;
    }

    .carousel-description {
        font-size: 0.8rem;
    }

    .carousel-indicators {
        gap: 8px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Classe para elementos visíveis apenas para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Marcador do final da linha do tempo */
.timeline-end-marker {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 60px;
  right: -15px;
  z-index: 4;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--light-text);
  box-shadow: 0 0 20px rgba(214, 191, 165, 0.8);
  animation: endMarkerPulse 3s infinite ease-in-out;

  /* Adicionando um efeito de brilho */
  filter: drop-shadow(0 0 5px var(--accent-color));

  /* Adicionar texto ao marcador */
  color: var(--light-text);
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Adicionar o ano 2025 dentro do marcador */
.timeline-end-marker::after {
  content: '25';
  position: absolute;
  font-size: 10px;
  font-weight: 900;
  color: var(--light-text);
}

/* Anéis concêntricos animados */
.timeline-end-marker::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  opacity: 0.6;
  animation: ringExpand 3s infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Animação para os anéis se expandirem */
@keyframes ringExpand {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

/* Animação do marcador principal */
@keyframes endMarkerPulse {
  0% {
    transform: translateY(-50%) scale(1);
    background-color: var(--primary-color);
  }
  50% {
    transform: translateY(-50%) scale(1.15);
    background-color: var(--accent-color);
  }
  100% {
    transform: translateY(-50%) scale(1);
    background-color: var(--primary-color);
  }
}

/* Responsividade para o marcador de fim */
@media screen and (max-width: 768px) {
  .timeline-end-marker {
    width: 26px;
    height: 26px;
    top: 55px;
    font-size: 12px;
    border-width: 3px;
  }
}

@media screen and (max-width: 480px) {
  .timeline-end-marker {
    width: 20px;
    height: 20px;
    top: 50px;
    font-size: 10px;
    border-width: 2px;
  }
}

.timeline-line {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.3;
}

/* Animações */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-countdown-days.pulse {
    animation: pulse 0.5s ease;
}

/* Transições suaves para os logos */
.hero-logos-grid .logo-item {
    transition: transform 0.3s ease;
}

.hero-logos-grid .logo-item:hover {
    transform: translateY(-5px);
}

/* Estilo para botão destacado */
.btn-highlight {
    font-size: 1.2rem;
    padding: 15px 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
    margin-top: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Efeito hover para botão destacado */
.btn-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background-color: #C5A37D;
}
