/* Geral da Seção */
.testimonials {
  padding: 50px 0;
  background-color: #f9f6f2;
  width: 100%;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 20px;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 20px;
}

.testimonials-subtitle {
  color: #c5a47e;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.testimonials-title {
  font-size: 36px;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 25px;
}

.testimonials-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #595959;
}

/* Carousel Structure (Classes específicas para Testimonials) */
.testimonial-carousel {
  /* Renomeado */
  position: relative;
  padding: 40px 60px;
}

.testimonial-carousel-track {
  /* Renomeado */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 340px;
  margin: 0 auto;
  max-width: 1200px;
}

/* Slides/Cards (Classes específicas para Testimonials) */
.testimonial-card {
  /* Mantido */
  position: absolute;
  width: 420px;
  height: 280px;
  background: white;
  border-radius: 16px;
  padding: 35px 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9) translateX(100%) rotate(2deg);
  display: flex;
  flex-direction: column;
  backface-visibility: hidden; /* Para animação mais suave */
}

.testimonial-card.testimonial-previous {
  /* Renomeado */
  left: 50px;
  z-index: 1;
  opacity: 0.7;
  transform: scale(0.9) translateX(0) rotate(-2deg);
  pointer-events: auto;
}

.testimonial-card.testimonial-current {
  /* Renomeado */
  left: 50%;
  transform: translateX(-50%) scale(1) rotate(0);
  height: 300px;
  width: 460px;
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  box-shadow: 0 20px 40px rgba(197, 164, 126, 0.12);
}

.testimonial-card.testimonial-next {
  /* Renomeado */
  right: 50px;
  z-index: 1;
  opacity: 0.7;
  transform: scale(0.9) translateX(0) rotate(2deg);
  pointer-events: auto;
}

.testimonial-card:hover {
  transform: translateY(-5px) rotate(0) !important;
}

.testimonial-card.testimonial-current:hover {
  /* Renomeado */
  transform: translateX(-50%) translateY(-5px) scale(1) rotate(0) !important;
}

/* Removing quote style */

.testimonial-quote {
  display: none;
}

/* Content */
.testimonial-content {
  font-size: 15px;
  line-height: 1.8;
  color: #595959;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin: 5px 0 20px;
  font-style: italic;
}

/* Author */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(197, 164, 126, 0.2);
}

.testimonial-author-image {
  /* Renomeado */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c5a47e;
}

.testimonial-author-image img {
  /* Renomeado */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info {
  /* Renomeado */
  flex: 1;
}

.testimonial-author-name {
  /* Renomeado */
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 4px;
}

.testimonial-author-role {
  /* Renomeado */
  font-size: 13px;
  color: #c5a47e;
  font-weight: 500;
}

/* Navigation Buttons (Classes específicas para Testimonials) */
.testimonial-carousel-button {
  /* Renomeado */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(197, 164, 126, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #c5a47e;
}

.testimonial-carousel-button:hover {
  /* Renomeado */
  background: #c5a47e;
  color: white;
  border-color: #c5a47e;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-carousel-button.testimonial-prev {
  /* Renomeado */
  left: 120px;
}

.testimonial-carousel-button.testimonial-next {
  /* Renomeado */
  right: 120px;
}

/* Responsive */
@media (max-width: 1200px) {
  .testimonial-card {
    width: 380px;
    height: 220px;
    padding: 30px 35px;
  }

  .testimonial-card.testimonial-current {
    width: 420px;
    height: 240px;
  }

  .testimonial-content {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 768px) {
  .testimonial-carousel {
    /* Renomeado */
    padding: 20px 0 60px;
  }

  .testimonials-title {
    font-size: 24px;
  }

  .testimonial-carousel-track {
    /* Renomeado */
    height: 280px;
  }

  .testimonial-card {
    width: 300px;
    height: 200px;
    padding: 25px 30px;
  }

  .testimonial-card.testimonial-current {
    width: 340px;
    height: 220px;
  }

  .testimonial-content {
    -webkit-line-clamp: 3;
    margin-bottom: 15px;
  }

  .testimonial-quote {
    width: 35px;
    height: 35px;
    font-size: 35px;
  }

  .testimonial-author-image {
    /* Renomeado */
    width: 45px;
    height: 45px;
  }

  .testimonial-author-name {
    /* Renomeado */
    font-size: 15px;
  }

  .testimonial-author-role {
    /* Renomeado */
    font-size: 12px;
  }

  /* Reposiciona os botões para baixo em telas menores */
  .testimonial-carousel-button {
    /* Renomeado */
    top: auto;
    bottom: 20px !important;
    transform: none;
  }

  .testimonial-carousel-button:hover {
    /* Renomeado */
    transform: scale(1.1);
  }

  .testimonial-carousel-button.testimonial-prev {
    /* Renomeado */
    left: 50%;
    margin-left: -60px;
  }

  .testimonial-carousel-button.testimonial-next {
    /* Renomeado */
    right: 50%;
    margin-right: -60px;
  }
}
