/* === DEPOIMENTOS — CARROSSEL === */

#testimonials-section {
  padding: 40px 0;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  background-color: #0E0E0E;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 70px;
}

#testimonials-section .section-title {
  max-width: 1280px;
  width: 100%;
  padding: 0 32px;
}

#testimonials-section .section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  margin: 0;
}

.testimonials-swiper-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px 40px;
}

.testimonials-swiper {
  overflow: hidden;
  width: 100%;
}

.swiper-slide {
  display: flex;
  height: auto;
}

.testimonials-prev,
.testimonials-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 108px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.testimonials-prev:hover,
.testimonials-next:hover {
  opacity: 0.7;
}

.testimonials-prev {
  left: 0;
}

.testimonials-next {
  right: 0;
}

.testimonial-card {
  width: 100%;
  flex: 1;
  min-height: 300px;
  box-sizing: border-box;
  background: rgba(38, 38, 38, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  padding: 32px 16px;
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.3s;
}

.testimonial-card:hover {
  border-color: var(--color-primary);
}

.testimonial-avatar {
  width: 136px;
  height: 136px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: #262626;
}

.testimonial-name {
  width: 296px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  color: #fff;
  margin: 0;
}

.testimonial-identity {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 296px;
}

.testimonial-company {
  width: 296px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.6px;
  text-align: center;
  text-transform: uppercase;
  color: #ADAAAA;
  margin: 0;
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  color: #FF923E;
  font-size: 20px;
  line-height: 19px;
  margin: 0;
}

.testimonial-text {
  width: 329px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: #ADAAAA;
  text-align: left;
  margin: 0;
}

.buttons {
  display: flex;
  justify-content: center;
}

.btn-primary {
  width: 441px;
  background: linear-gradient(90deg, #F58934 0%, #B4601E 100%);
  border: 1px solid #F4883333;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 28px;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 137, 52, 0.4);
}


/* === RESPONSIVIDADE === */

@media (max-width: 1280px) {
  .testimonial-text,
  .testimonial-name,
  .testimonial-company,
  .testimonial-identity {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .testimonials-swiper {
    overflow: visible;
  }

  .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: none !important;
  }

  .swiper-slide {
    width: 100% !important;
  }

  .testimonial-card {
    overflow: hidden;
  }

  .testimonials-prev,
  .testimonials-next {
    display: none;
  }

  .testimonial-text,
  .testimonial-name,
  .testimonial-company,
  .testimonial-identity {
    width: 100%;
  }
}

@media (max-width: 768px) {
  #testimonials-section .section-title h2 {
    font-size: 32px;
  }
}

@media (max-width: 430px) {
  #testimonials-section {
    padding: 22px 24px;
  }

  .testimonials-swiper-wrapper {
    padding: 0;
    gap: 48px;
  }

  #testimonials-section .section-title {
    width: 100%;
    padding: 0;
  }

  #testimonials-section .section-title h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0;
  }

  .swiper-wrapper {
    gap: 24px;
  }

  .testimonial-card {
    width: 345px;
    min-height: auto;
    border-radius: 16px;
    padding: 24px;
    gap: 24px;
  }

  .testimonial-avatar {
    width: 103px;
    height: 103px;
    border-radius: 12px;
    border: 1px solid rgba(255, 146, 62, 0.3);
  }

  .testimonial-identity {
    gap: 12px;
    width: 100%;
  }

  .testimonial-text {
    width: 295px;
    line-height: 24px;
  }

  .buttons .btn-primary {
    width: 363px;
    max-width: 100%;
  }
}