html,
body,
.container {
  height: 100vh;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a0a0a;
  flex-direction: column;
}

.title {
  font-size: 38px;
  color: #616161;
  font-style: italic;
  font-weight: 800;
}

.timeline {
  width: 100%;
  background-color: #000000;
  box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.2);
}
.timeline .swiper-container {
  height: 100vh;
  width: 100%;
  position: relative;
}
.timeline .swiper-wrapper {
  transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
}
.timeline .swiper-slide {
  position: relative;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.timeline .swiper-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -10%;
  bottom: -10%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: -400px 0 150px 100vw rgba(0, 0, 0, 0.7);
  border-radius: 100%;
}
.timeline .swiper-slide-content {
  position: absolute;
  text-align: center;
  width: 80%;
  width: clamp(300px, 85vw, 600px);
  right: 50%;
  top: 13%;
  transform: translate(50%, 0);
  font-size: 12px;
  z-index: 2;
}
.timeline .swiper-slide .timeline-year {
  display: block;
  font-style: italic;
  font-size: 42px;
  margin-bottom: 50px;
  transform: translate3d(20px, 0, 0);
  color: #d4a024;
  font-weight: 300;
  opacity: 0;
  transition: 0.2s ease 0.4s;
}
.timeline .swiper-slide .timeline-title {
  font-weight: 800;
  font-size: 34px;
  margin: 0 0 30px;
  opacity: 0;
  transform: translate3d(20px, 0, 0);
  transition: 0.2s ease 0.5s;
}
.timeline .swiper-slide .timeline-text {
  line-height: 1.5;
  opacity: 0;
  transform: translate3d(20px, 0, 0);
  transition: 0.2s ease 0.6s;
}
.timeline .swiper-slide-active .timeline-year {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.6s;
}
.timeline .swiper-slide-active .timeline-title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.7s;
}
.timeline .swiper-slide-active .timeline-text {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.8s;
}
.timeline .swiper-pagination {
  right: 5% !important;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 2rem);
  z-index: 1;
}
.timeline .swiper-pagination::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}
.timeline .swiper-pagination-bullet {
  width: auto;
  height: auto;
  text-align: center;
  opacity: 1;
  background: transparent;
  color: #d4a024;
  margin: 15px 0 !important;
  position: relative;
}
.timeline .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -32.5px;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background-color: #d4a024;
  transform: scale(0);
  transition: 0.2s;
}
.timeline .swiper-pagination-bullet-active {
  color: #d4a024;
}
.timeline .swiper-pagination-bullet-active::before {
  transform: scale(1);
}
.timeline .swiper-button-next,
.timeline .swiper-button-prev {
  background-size: 20px 20px;
  top: 15%;
  width: 20px;
  height: 20px;
  margin-top: 0;
  z-index: 2;
  transition: 0.2s;
}
.timeline .swiper-button-prev {
  left: 8%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23d4a024'%2F%3E%3C%2Fsvg%3E");
}
.timeline .swiper-button-prev:hover {
  transform: translateX(-3px);
}
.timeline .swiper-button-next {
  right: 8%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23d4a024'%2F%3E%3C%2Fsvg%3E");
}
.timeline .swiper-button-next:hover {
  transform: translateX(3px);
}
@media screen and (min-width: 768px) {
  .timeline .swiper-slide::after {
    right: -10%;
    bottom: -8%;
    width: 240px;
    height: 50%;
    box-shadow: -400px 0 150px 100vw rgba(0, 0, 0, 0.7);
  }
  .timeline .swiper-slide-content {
    right: 30%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(400px, 40vw, 700px);
    font-size: clamp(1rem, 2.5vw, 2rem);
    text-align: right;
  }
  .timeline .swiper-slide .timeline-year {
    margin-bottom: 0;
    font-size: clamp(1rem, 3.0vw, 2rem);;
  }
  .timeline .swiper-slide .timeline-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    margin: 0;
  }
  .timeline .swiper-pagination {
    display: flex;
  }
  .timeline .swiper-button-prev {
    top: 5%;
    left: auto;
    right: 7%;
    transform: rotate(90deg) translate(0, 10px);
  }
  .timeline .swiper-button-prev:hover {
    transform: rotate(90deg) translate(-3px, 10px);
  }
  .timeline .swiper-button-next {
    top: auto;
    bottom: 5%;
    right: 7%;
    transform: rotate(90deg) translate(0, 10px);
  }
  .timeline .swiper-button-next:hover {
    transform: rotate(90deg) translate(3px, 10px);
  }
}
@media screen and (min-width: 1024px) {
  .timeline .swiper-slide::after {
    right: -10%;
    bottom: -12%;
    width: 240px;
    height: 50%;
    box-shadow: -400px 0 150px 90vw rgba(0, 0, 0, 0.7);
  }
  .timeline .swiper-slide-content {
    right: 20%;
  }
}


.session {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  color: #333;
  font-size: 1.2rem;
  line-height: 1.6;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* Modal overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 4vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(3px);
}

.modal-content {
  background: rgba(20, 20, 20, 0.95);
  color: #fff;
  margin: auto;
  padding: 2rem;
  width: 95%;
  max-width: 1420px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  font-family: 'Open Sans', sans-serif;
  animation: fadeInModal 0.3s ease-out;
}

/* Close button */
.fechar {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.fechar:hover {
  color: #fff;
}

.botao-container {
  position: absolute;
  bottom: 12%; /* aumenta o respiro inferior */
  right: 20%; /* alinha com o conteúdo textual */
  width: clamp(240px, 40vw, 400px); /* mais proporcional ao conteúdo */
  z-index: 2;
  display: flex;
  justify-content: center;
}

.saiba-mais-full {
  width: 100%;
  height: 48px;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 700;
  font-style: italic;
  font-family: 'Open Sans', sans-serif;
  background-color: transparent;
  border: 2px solid #d4a024;
  color: #d4a024;
  cursor: pointer;
  text-align: center;
  animation: pulse 2.5s infinite;
  transition: all 0.3s ease;
}
.saiba-mais-full:hover {
  background-color: rgba(212, 160, 36, 0.2);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 160, 36, 0.5);
  }
  50% {
    box-shadow: 0 0 10px 5px rgba(212, 160, 36, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 160, 36, 0.0);
  }
}

.timeline .swiper-slide .saiba-mais-full {
  opacity: 0;
  transform: translate3d(20px, 0, 0);
  transition: 0.2s ease 0.7s; /* aparece depois dos textos */
}

/* Aplica a animação apenas no slide ativo */
.timeline .swiper-slide-active .saiba-mais-full {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.9s; /* inicia depois dos textos */
}

.modal-content section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}
.modal-content h3 {
  color: #d4a024;
  margin-bottom: 0.5rem;
}

.galeria {
  margin-top: 1rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: start;
}
.thumb {
  width: 120px;
  border-radius: 6px;
  border: 1px solid #333;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}



.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
}

.image-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 10px black;
  transition: transform 0.3s ease;
}

.image-modal-content:hover {
  transform: scale(1.02);
}

.image-modal-close {
  position: absolute;
  top: 15px;
  right: 30px;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}

.image-caption {
  text-align: center;
  color: white;
  margin-top: 10px;
  font-size: 14px;
}


.modal .modal-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 1em;
}

.modal .modal-body {
  font-size: 1.1em;
  line-height: 1.7;
}

.markdown-text {
  font-size: 1.1em;
  line-height: 1.8;
}

/* Scrollbar moderna para navegadores baseados em WebKit (Chrome, Edge, etc) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1c1c1c; /* cor de fundo do trilho */
}

::-webkit-scrollbar-thumb {
  background-color: #555; /* cor da alça */
  border-radius: 10px;
  border: 2px solid #1c1c1c; /* dá um efeito de profundidade */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #777;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #555 #1c1c1c;
}

.markdown-text a {
  color: #f0c040; /* ou qualquer cor mais próxima do seu amarelo/dourado */
  text-decoration: underline;
}

.markdown-text a:hover {
  color: #ffd75f; /* tom mais claro no hover */
}


.timeline .swiper-slide.introducao-slide .timeline-text {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.timeline .swiper-slide.slide-ota {
  background-position: center top;
}