body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
.timeline-container {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline-years {
  width: 20%;
  border-right: 2px solid #f0a500;
}
.timeline-years ul {
  list-style: none;
  padding: 0;
}
.timeline-years li {
  padding: 10px;
  cursor: pointer;
  color: #f0a500;
}
.timeline-years li.active {
  font-weight: bold;
  color: #000;
  border-left: 4px solid #000;
}
.timeline-slides {
  width: 80%;
  padding: 20px;
  position: relative;
}
.slide {
  display: none;
}
.slide.active {
  display: block;
}
.controls {
  text-align: center;
  margin-top: 10px;
}












.text-content, .image-content {
  opacity: 0;
  transition: all 0.6s ease;
}

.text-content.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.image-content.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.image-content {
  transform: translateX(100px);
  flex: 1
  ;
}

.text-content {
  transform: translateY(20px);
  min-width: 460px;
  flex-shrink: 0;
}

#content-area > div:not(.text-content) {
    flex: 1;
}


.carousel-list {
  transition: transform 0.3s ease;
}


@media (max-width: 768px) {
  #content-area {
    flex-direction: column;
  }

  #content-area > .text-content {
    width: 100%;
  }
}





.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-top: 10px;
}

.carousel-controls .arrow {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #f0a500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.carousel-controls .arrow:hover {
  color: #000;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  display: block;
  width: 12px;
  height: 12px;
  background: #f0a500;
  border-radius: 50%;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots span.active {
  width: 20px;
  border-radius: 20px;
  background: #000;
  opacity: 1;
}












.vertical-carousel {
  position: relative;
  padding-left: 30px; /* espaço para a linha */
  height: 710px; /* altura do carrossel */
}

.vertical-carousel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background-color: #f0a500; /* linha amarela */
}

.vertical-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 70px;
  background-color: #000; /* barra preta no topo */
}

.carousel-wrapper {
  overflow: hidden;
  height: 100%;
}

.carousel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.4s ease;

}

.carousel-list li {
  font-size: 24px;
  font-weight: 500;
  color: #f0a500;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 20px 0 10px 0;
}

.carousel-list li.active {
  color: #000;
  font-weight: 500;
}










.flex {
  display: flex;
}
.w-10 {
  width: 10%;
}
.w-50 {
  width: 50%;
}

.w-25 {
  width: 25%;
}

.w-75 {
  width: 75%;
  flex: 1;
}

.w-90 {
  width: 90%;
  flex: 1;
}



.content-area {height: 100%; gap:50px}



.flex-direction {flex-direction: column;}
.justify-between {justify-content: space-between}

.text-content{}
.text-content-info-year-small {font-size: 16px; font-weight: 600;}
.text-content-info-title {font-size: 48px;}
.text-content-info-step {font-size: 32px;}
.text-content-info-year {color:#D01518; font-size: clamp(100px, 10.42vw, 200px);}


.image-content p {font-size:16px; margin-top:10px}

.overflow-hidden {overflow: hidden !important;}

.elementor-7 .elementor-element.elementor-element-731c32c {height:1192px; overflow:hidden;}

@media (max-width: 480px) {
  .elementor-7 .elementor-element.elementor-element-731c32c {height:auto !important; overflow:hidden;}


}


@media (max-width: 768px) {
  .items-years {display:none}
  
  	.text-content {min-width: auto !important}


.timeline-custom .text-content {
  flex-direction:row
}
}






/* Layout principal */
.flex {
  display: flex;
  gap: 20px;
}

/* Coluna da timeline */
.w-10 {
  width: 10%;
  min-width: 120px; /* garante legibilidade */
}

/* Coluna do conteúdo */
.w-90 {
  width: 90%;
  flex: 1;
}

/* Responsividade */
@media (max-width: 1024px) {
  .text-content-info-title {
    font-size: 32px;
  }
  .text-content-info-year {
    font-size: clamp(60px, 12vw, 120px);
  }
  .carousel-list li {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  /* Muda para layout em coluna */
  .flex {
    flex-direction: column;
    gap: 30px;
  }
  
  .w-10, .w-90 {
    width: 100%;
  }

  .vertical-carousel {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    height: auto;
    padding-left: 0;
  }

  .vertical-carousel::before,
  .vertical-carousel::after {
    display: none;
  }

  .carousel-list {
    flex-direction: row;
    gap: 20px;
  }

  .carousel-list li {
    padding: 10px;
    white-space: nowrap;
  }

  .content-area {
    flex-direction: column;
    gap: 20px;
  }

  .image-content img {
    max-width: 100%;
    height: auto;
  }

  .carousel-controls {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .text-content-info-title {
    font-size: 24px;
  }
  .text-content-info-year {
    font-size: clamp(40px, 14vw, 80px);
  }
  .carousel-list li {
    font-size: 18px;
  }
}

.timeline-custom .w-90 {
 touch-action: pan-y;
}




.carousel-controls {
    display:none;
}

@media (max-width: 768px) {
.carousel-controls {
    display:flex;
}
}


/* Esconde no desktop */
.mobile-arrows {
  display: none;
}
@media (max-width: 768px) {
  .mobile-arrows {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 15px;
  }

  .mobile-arrow {
    background: #F9B233 !important;
    border: none;
    color: #000;
    font-size: 36px;
    font-weight: bold;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .mobile-arrow:hover {
    background: #000;
    color: #fff;
  }

  .mobile-counter {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    min-width: 60px;
    text-align: center;
  }
}


