/* ==========================================================================
   SEÇÃO 11: PROVA SOCIAL / DEPOIMENTOS (Figma Node 566:1813)
   ========================================================================== */

.section-depoimentos {
  padding: 80px 0 100px;
  background-color: var(--color-bg-primary, #ffffff);
}

.depoimentos-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.depoimentos-eyebrow {
  margin-bottom: 20px;
}

.depoimentos-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 44px;
  line-height: 1.2;
  font-weight: 400;
  color: #4e4e4e;
  margin: 0;
  max-width: 590px;
}

/* Carrossel */
.depoimentos-carousel-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depoimento-card {
  background: rgba(110, 221, 212, 0.025);
  border: 1px solid rgba(110, 221, 212, 0.3);
  border-radius: 30px;
  padding: 56px 70px 50px;
  text-align: center;
  width: 100%;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(110, 221, 212, 0.08);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Conteúdo com Transição Suave */
.depoimento-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Estados de Saída / Entrada para Transição Suave */
.depoimento-content.is-exit-left {
  opacity: 0;
  transform: translateX(-24px);
}

.depoimento-content.is-exit-right {
  opacity: 0;
  transform: translateX(24px);
}

.depoimento-content.is-enter-left {
  opacity: 0;
  transform: translateX(24px);
}

.depoimento-content.is-enter-right {
  opacity: 0;
  transform: translateX(-24px);
}

.depoimento-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  color: #4e4e4e;
  margin: 0;
  max-width: 740px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depoimento-author-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.depoimento-avatar-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #6eddd4;
  box-shadow: 0 4px 12px rgba(110, 221, 212, 0.25);
  flex-shrink: 0;
}

.depoimento-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.depoimento-meta {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.depoimento-stars {
  display: flex;
  gap: 4px;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 2px;
}

.depoimento-stars .filled {
  color: #21948b;
}

.depoimento-stars .empty {
  color: #cae2e2;
}

.author-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #4e4e4e;
  margin: 0;
}

.author-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: #64748b;
  margin: 0;
}

/* Botões de Navegação */
.carousel-nav-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #6eddd4;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(110, 221, 212, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.carousel-nav-btn:hover {
  background-color: #21948b;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(33, 148, 139, 0.4);
}

.carousel-nav-btn:active {
  transform: scale(0.96);
}

.prev-btn {
  left: -26px;
}

.next-btn {
  right: -26px;
}

/* Dots de Navegação */
.depoimentos-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.depoimento-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: rgba(33, 148, 139, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.depoimento-dot:hover {
  background-color: rgba(33, 148, 139, 0.5);
}

.depoimento-dot.active {
  width: 26px;
  background-color: #21948b;
}

/* Responsividade */
@media (max-width: 768px) {
  .section-depoimentos {
    padding: 60px 0;
  }

  .depoimentos-title {
    font-size: 30px;
    max-width: 300px;
  }

  .depoimento-card {
    padding: 40px 20px 32px;
    min-height: 320px;
  }

  .depoimento-quote {
    font-size: 16px;
    line-height: 1.55;
  }

  .prev-btn {
    left: -12px;
    width: 42px;
    height: 42px;
  }

  .next-btn {
    right: -12px;
    width: 42px;
    height: 42px;
  }
}