* {
  box-sizing: border-box;
}

.carousel-section {
  padding: 1rem 0 1.5rem 0; /* cima | lados | baixo */
}

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

.container-body {
  padding: 1.5rem;
  line-height: 1.6;
  text-align: justify;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel {
  height: 600px;
  display: flex;
  flex-direction: column; 
  align-items: center;
}

.swiper-wrapper {
  align-items: center;
}

/* Slides */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

/* Imagens dos banners */
.swiper-slide img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  display: block;
}


/* Destaque do slide central */
.swiper-slide-active {
  transform: scale(1.15);
  opacity: 1;
  z-index: 3;
}

.swiper-slide-prev,
.swiper-slide-next {
  transform: scale(0.9);
  opacity: 0.5;
  z-index: 2;
}

.swiper-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;       
  max-width: 475px;  
  margin: 0.25rem auto 0 auto;
  gap: 1rem;       
}

/* Setas de navegação */
.swiper-button-next,
.swiper-button-prev {
  width: 44px;
  height: 44px;
  color: #01204C;
  position: static; 
  transform: none;  
}

/* Paginação */
.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #3AA3FC;
  opacity: 0.5;
  margin: 0 4px;
}


.swiper-pagination-bullet-active {
  opacity: 1;
}


/* ===== MODAL DO BANNER ===== */

.banner-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.banner-modal-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  animation: zoomIn 0.3s ease;
}

.banner-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/*  INFO DOS BANNER  */
.banner-info-section{
    background-color: #ffffff;
    width: 100%;
    padding: 0 0;
}

.info-carousel{
  width: 100%;
}

.info-container{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.info-carousel .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.info-carousel .swiper-wrapper {
  box-sizing: border-box;
  align-items: stretch;
}

.banner-card {
  display: flex;
  flex-direction: column;
  background: #01204C;
  color: white;
  width: 80%;
  height: 50%;
  box-sizing: border-box;
  margin-top: 4rem;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.banner-card h3 {
  margin-bottom: 0.75rem;
}

.banner-card p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  opacity: 0.9;
  text-align: justify;
}

/* Animação suave */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.banner-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-view,
.btn-download {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-view {
  background-color: #3AA3FC;
  color: #fff;
  border: none;
}

.btn-view:hover {
  background-color: #1a8de0;
  transform: translateY(-2px);
}

.btn-download {
  background-color: transparent;
  color: #3AA3FC;
  border: 2px solid #3AA3FC;
}

.btn-download:hover {
  background-color: #3AA3FC;
  color: #fff;
  transform: translateY(-2px);
}

@media screen and (min-width: 1025px) {
    .container-header {
        padding: 50px 60px;
    }

    .container-header h2 {
        font-size: 50px;
        margin-bottom: 20px;
        font-weight: bold;
    }

    .container-header h3 {
        font-size: 30px;
        margin-bottom: 20px;
        font-weight: normal;
    }

    .container-header p {
        font-size: 16px;
        font-weight: normal;
    }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .container-header {
        padding: 20px 70px;
    }

    .container-header h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .container-header h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .container-header p {
        font-size: 9px;
        font-weight: normal;
    }

}

@media screen and (max-width: 600px) {
    .swiper-slide img{
      max-width: 95%;
    } 

    .container-header {
        padding: 20px 40px;
    }

    .container-header h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .container-header h3 {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .container-header p {
        font-size: 5px;
        font-weight: normal;
    }
   
}






@media (max-width: 768px) {
  .carousel-container{
    padding: 0 16px;
  }

  .container-body {
    padding: 2.5rem 4rem;
  }

  .swiper-slide img {
    max-width: 80%;
    max-height: 95%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none; 
  }

  .banner-card{
    height: 45%;
  }

  .banner-card h3 {
    font-size: 1rem;
    margin: none;
  }

  .banner-card p {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .banner-card-actions {
    gap: 0.7rem;
    padding-bottom: 5 rem;
  }

  .btn-view,
  .btn-download {
    width: 60%;
    height: 80%;
    font-size: 0.8rem;
    padding: 0.6rem;
  }


}


