.main {
  background-color: #fcf6ff;
  margin: 0 auto 100px;
  overflow: hidden;
}
.cta-header {
  background-color: #e9b638;
  font-family: 'Albert Sans', sans-serif !important;
  color: #ffffff;
  display: none;
  font-size: 14px;
  text-decoration: none;
  text-transform: none;
}
.nav-link {
  color: #88316a;
  font-family: 'Albert Sans', sans-serif !important;
  font-size: 15px;
  font-weight: 500;
}
.btn-tertiary {
  padding: 14px 30px;
  border-radius: 100px;
  text-align: center;
  border: none;
}
.section-primary {
  background-image: url('../images/banner-section-1.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 834px;
  color: #fff;
  align-items: center;
  display: flex;
}
.section-primary-content {
  width: 700px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.title-h1 {
  font-size: 120px;
  font-weight: 500;
  line-height: 82%;
  margin-bottom: 50px;
}
.paragraph-primary {
  width: 340px;
  color: #fff !important;
}
.nav-pills .nav-link {
  background-color: #f3edf8;
  color: #8a63a4;
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
  background-color: #e9b638;
  color: #fff;
}
.card-icon {
  height: 339px;
  width: 340px;
}
.card-especialidades {
  color: #88316a;
}
.card-especialidades:hover {
  background-color: #88316a;
  color: #fff !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.card-title {
  font-size: 26px;
  font-weight: 500;
  width: 197px;
}
.card-number {
  font-size: 20px;
  font-weight: 500;
}
.card-paragraph {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0;
}
.img-secondy-section {
  width: 100%;
  border-radius: 20px;
}

/* Imagens do carrossel */

.profissional-img-wrapper {
  width: 180px;
  height: 180px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-item.active .profissional-img-wrapper {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profissional-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/* Centralizando info */
.carousel-inner .carousel-item {
  display: flex;
  justify-content: center;
}

.carousel-indicators [data-bs-target] {
  background-color: #88316a;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators .active {
  background-color: #e9b638;
}
.testimonial-card {
  background-color: #fff;
  border-radius: 20px;
  height: 100%;
}
.testimonial-text {
  font-size: 16px;
  font-weight: 400;
  color: #8a63a4;
}
.section-ctas {
  height: 1000px;
}
.container-main {
  margin-top: 100px;
  width: 656px;
  align-items: center;
  justify-content: center;
}
/* container relative */
.img1 {
  top: 40px;
  left: 250px;
  width: 255px;
  height: 255px;
}
.img2 {
  top: 380px;
  left: 0px;
  width: 187px;
  height: 187px;
}
.img3 {
  bottom: 150px;
  left: 300px;
  width: 106px;
  height: 106px;
}
.img4 {
  top: 40px;
  right: 40px;
  width: 106px;
  height: 106px;
}
.img5 {
  top: 260px;
  right: 120px;
  width: 187px;
  height: 187px;
}
.img6 {
  bottom: 100px;
  right: 0px;
  width: 255;
  height: 255;
}
/* footer */
.img-logo {
  width: 83px;
}
.title-footer {
  font-family: 'Albert Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
}
.footer-paragraph {
  color: #ffffff;
  font-weight: 300;
  font-size: 14px;
  margin-bottom: 0;
}

/* logos carrossel */
.logos-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
}

.logos-container {
    display: flex;
    animation: logos-slide 20s linear infinite;
    gap: 20px;
}

.logos-slide {
    background-color: #fff;
    border-radius: 10px;
    min-width: 16.666%;
    padding: 0 15px;
    box-sizing: border-box;
}

.logos-slide img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}
/* carrossel primary */
.swiper-wrapper {
  padding: 130px 0;
  width: 100%;
  height: auto !important;
  z-index: 1;
  display: flex;
  gap: 40px;
  transition-property: transform;
  transition-timing-function: var(
    --swiper-wrapper-transition-timing-function,
    initial
  );
  box-sizing: content-box;
}
.swiper-slide {
  flex-shrink: initial;
  width: 232px;
  height: 305px;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide {
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-container {
  transition: all 0.4s ease;
  padding: 0;
}

.medico-foto {
  transition: all 0.4s ease;
  transform: scale(1);
}

/* Quando o slide está ativo (centralizado) */
.swiper-slide-active .medico-foto {
  transform: scale(1.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.div-infos-medicos {
  width: 350px;
  height: 280px;
  color: #8a63a4;
}

.div-infos-medicos h3 {
  color: #88316a;
}

.div-infos-medicos .especialidade {
  font-size: 1.1rem;
  color: #495057;
  font-weight: 500;
  margin-bottom: 15px;
}

.div-infos-medicos .descricao {
  color: #6c757d;
  line-height: 1.6;
}

.div-infos-medicos .badge {
  font-family: 'Albert Sans', sans-serif !important;
  font-weight: 300;
  background: #8a63a4;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 10px;
}
.filter-btn {
  background-color: #88316a1a;
  padding: 8px 14px;
  border-radius: 100px;
  color: #88316a;
  border: none;
  font-family: 'Albert Sans', sans-serif !important;
  font-weight: 300;
}
.filter-btn.active {
  background-color: #e9b638;
  color: #fff;
}

/* segundo carrossel */
.div-videos {
  max-width: 100%;
}

#videoCarousel {
  display: flex;
  transition: transform 1s ease;
  justify-content: center;
}

.video-card {
  margin-left: -80px;
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.5s ease;
  flex-shrink: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.video-card img {
  border-radius: 16px;
  display: block;
  transition: opacity 0.5s ease, width 0.5s ease, height 0.5s ease;
}

/* Desktop - Escala e opacidade */
.video-card:nth-child(1) {
  z-index: 10;
}

.video-card:nth-child(1) img {
  width: 457px;
  height: 710px;
  opacity: 1;
  transform: scale(1.05);
  object-position: center;
}

.video-card:nth-child(2) {
  z-index: 4;
}

.video-card:nth-child(2) img {
  width: 412px;
  height: 639px;
  opacity: 0.6;
  object-position: center;
}

.video-card:nth-child(3) {
  z-index: 3;
}

.video-card:nth-child(3) img {
  width: 371px;
  height: 575px;
  opacity: 0.5;
  object-position: center;
}

.video-card:nth-child(4) {
  z-index: 2;
}

.video-card:nth-child(4) img {
  width: 308px;
  height: 477px;
  opacity: 0.3;
  object-position: center;
}

.video-card:nth-child(5) {
  z-index: 1;
}

.video-card:nth-child(5) img {
  width: 250px;
  height: auto;
  opacity: 0.2;
  object-position: center;
}

.video-card:nth-child(n + 6) {
  display: none;
}
/* responsividade < 1400 */
@media (max-width: 1399px) {
  .container-main {
    width: 500px;
    align-items: center;
  }
  .img1 {
    top: 40px;
    left: 50px;
    width: 255px;
    height: 255px;
  }
  .img2 {
    top: 380px;
    left: 0px;
    width: 187px;
    height: 187px;
  }
  .img3 {
    bottom: 150px;
    left: 300px;
    width: 106px;
    height: 106px;
  }
  .img4 {
    top: 40px;
    right: 80px;
    width: 106px;
    height: 106px;
  }
  .img5 {
    top: 260px;
    right: 10px;
    width: 187px;
    height: 187px;
  }
  .img6 {
    bottom: 100px;
    right: 0px;
    width: 255;
    height: 255;
  }
}
@media (max-width: 1040px) {
  /* container relative */
  .container-main {
    width: 550px;
    align-items: center;
  }
  .img1 {
    top: 40px;
    left: 50px;
    width: 255px;
    height: 255px;
  }
  .img2 {
    top: 380px;
    left: 0px;
    width: 187px;
    height: 187px;
  }
  .img3 {
    bottom: 150px;
    left: 300px;
    width: 106px;
    height: 106px;
  }
  .img4 {
    top: 40px;
    right: 80px;
    width: 106px;
    height: 106px;
  }
  .img5 {
    top: 260px;
    right: 10px;
    width: 187px;
    height: 187px;
  }
  .img6 {
    bottom: 100px;
    right: 0px;
    width: 255;
    height: 255;
  }
}
/* responsividade tablet */
@media (max-width: 990px) {
    .container-main {
    width: 550px;
    align-items: center;
  }
  .img1 {
    top: 40px;
    left: 10px;
    width: 180px;
    height: 180px;
  }
  .img2 {
    top: 600px;
    left: 0px;
    width: 187px;
    height: 187px;
  }
  .img3 {
    bottom: 150px;
    left: 300px;
    width: 106px;
    height: 106px;
  }
  .img4 {
    top: 40px;
    right: 80px;
    width: 106px;
    height: 106px;
  }
  .img5 {
    top: 200px;
    right: 10px;
    width: 137px;
    height: 137px;
  }
  .img6 {
    bottom: 100px;
    right: 0px;
    width: 255;
    height: 255;
  }
  .logos-slide {
        min-width: 25%;
    }
}
/* responsividade mobile*/
@media (max-width: 768px) {
  .swiper-wrapper {
    gap: 0 !important;
    padding: 30px 0 !important;
  }
  .cta-header {
    display: block;
    font-weight: 300;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3px 0;
  }
  .section-primary {
    height: 426px;
    background-position: center;
  }
  .section-primary-content {
    width: 100%;
    align-items: left;
  }
  .title-h1 {
    font-size: 53px;
    margin-bottom: 10px;
  }
  .paragraph-primary {
    width: 100%;
    font-size: 16px;
  }
  .card-icon,
  .card-especialidades {
    width: 100%;
    height: auto;
  }
  .card-title {
    width: 100%;
    font-size: 22px;
  }
  .container-main {
    width: 100%;
    height: 529px;
    margin-top: 150px;
  }
  .container-main h2 {
    font-size: 47px;
    line-height: 110%;
    font-weight: 500;
  }
  .section-ctas {
    margin: 100px 0px 50px 0px;
  }
  /* imagens */
  .img-secondy-section {
    width: 106px;
    height: auto;
  }
  .img1 {
    top: 0px;
    left: 80px;
    width: 118px;
    height: 118px;
  }
  .img2 {
    top: 180px;
    left: 20px;
    width: 86px;
    height: 86px;
  }
  .img3 {
    top: 130px;
    right: 50px;
    width: 48px;
    height: 48px;
  }
  .img4 {
    top: 250px;
    right: 20px;
    width: 49px;
    height: 49px;
  }
  .img5 {
    top: 750px;
    right: 0px;
    left: 52px;
    width: 86px;
    height: 86px;
  }
  .img6 {
    bottom: 50px;
    right: 50px;
    width: 117px;
    height: 117px;
  }
  .div-infos-medicos{
        height: auto;
    }
    .logos-slide {
        min-width: 50%;
    }
}
@keyframes logos-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


@media (max-width: 768px) {
  .div-videos {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding-left: 1rem;
  }

  #videoCarousel {
    width: auto;
    justify-content: flex-start;
  }

  .video-card {
    margin-left: -100px;
  }

  .video-card:first-child {
    margin-left: 0;
  }

  .video-card:nth-child(1) {
    z-index: 10;
  }

  .video-card:nth-child(1) img {
    width: 246px;
    height: 380px;
    opacity: 1;
    transform: scale(1);
  }

  .video-card:nth-child(2) {
    z-index: 5;
  }

  .video-card:nth-child(2) img {
    width: 221px;
    height: 343px;
    opacity: 0.6;
  }

  .video-card:nth-child(n + 3) {
    display: none;
  }
}
/* terceiro carrossel */
.swiper {
  width: 100%;
  padding-bottom: 40px;
}

.swiper-pagination-bullet {
  background: #88316a;
}

.swiper-pagination-bullet-active {
  background: #88316a;
}

.desktop-testimonials {
  display: none;
}

.mobile-carousel {
  display: block;
}
@media (min-width: 768px) {
  .desktop-testimonials {
    display: flex;
  }

  .mobile-carousel {
    display: none;
  }
}



/* Botões de filtro */
.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.filter-btn.active {
    background: #FDB913;
    border-color: #FDB913;
    color: white;
}

.filter-btn:hover {
    border-color: #FDB913;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-slides {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 25px;
    transition: transform 0.6s ease;
}

.slide-item {
    flex-shrink: 0;
    width: 280px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.slide-item.center img {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0%);
}

.slide-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 15px;
    opacity: 0.4;
    transform: scale(0.8);
    transition: all 0.4s ease;
    filter: grayscale(50%);
}

@media (max-width: 1200px) {
    .slide-item {
        width: 220px;
    }

    .slide-item img {
        height: 300px;
    }
}

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

    .slide-item {
        width: 100%;
    }

    .slide-item img {
        height: 350px;
        opacity: 1;
        transform: scale(1);
        filter: grayscale(0%);
        object-fit: contain;
        border-radius: 20px;
    }

    .carousel-dots {
        display: none;
    }
}
