.testimonial-carousel {
  position: relative;
  background: #f7f6ff;
  padding: 100px 0; 
  overflow: hidden;
}

.testimonial-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  justify-content: center;
}

.testimonial-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  width: 80vw;
  max-width: 850px;
  box-sizing: border-box;
  overflow: hidden;
}

.testimonial-image {
  width: 200px;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.testimonial-content {
  flex: 1;
}
.testimonial-content {
  max-width: 600px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.testimonial-author strong {
  display: block;
  font-size: 18px;
  color: #1a1a1a;
}

.testimonial-author span {
  font-size: 13px;
  color: #777;
}

.testimonial-stars {
  color: #f9a825;
  font-size: 16px;
  margin-top: 10px;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--cor-blue);
  color: white;
  border: none;
  font-size: 14px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.testimonial-arrow:hover {
  background: var(--cor-blue-light);
  color: #f9a825;
}

.testimonial-arrow.left {
  left: 20px;
}

.testimonial-arrow.right {
  right: 20px;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
  }
  .testimonial-image {
    width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1; /* pode manter para garantir proporção */
  }
  .testimonial-image {
    flex: 1;
  }
  .testimonial-arrow.right {
      right: 12px;
  }
  .testimonial-arrow.left {
    left: 12px;
  }
}