/* Seção de Depoimentos NAPSE */
.depoimentos-secao {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding-block: 80px;
}

@media (min-width: 768px) {
  .depoimentos-secao {
    padding-block: 104px;
  }
}

.depoimentos-header {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 16px;
  margin-bottom: 48px;
}

.depoimentos-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6A35D4;
  margin-bottom: 12px;
}

.depoimentos-titulo {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: #1B1838;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

.depoimentos-subtitulo {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
}

/* Trilho com rolagem infinita contínua */
.depoimentos-trilho-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 12px 20px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.depoimentos-trilho {
  display: flex;
  width: max-content;
  gap: 20px;
  padding-inline: 20px;
  animation: depoimentos-marquee 64s linear infinite;
  will-change: transform;
}

.depoimentos-trilho:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .depoimentos-trilho {
    animation-play-state: paused;
  }
}

@keyframes depoimentos-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

/* Card individual */
.depoimento-card {
  position: relative;
  width: clamp(280px, 78vw, 360px);
  height: clamp(440px, 60vh, 520px);
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  background-color: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px -10px rgba(27, 24, 56, 0.16);
  isolation: isolate;
  user-select: none;
}

.depoimento-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.depoimento-card:hover .depoimento-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.depoimento-gradiente {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(10, 10, 20, 0.95) 85%);
  z-index: 2;
  pointer-events: none;
}

.depoimento-topo {
  position: absolute;
  inset-inline: 0;
  top: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  z-index: 10;
}

.depoimento-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  pointer-events: none;
}

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

.depoimento-info {
  min-width: 0;
  z-index: 12;
}

.depoimento-nome {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.depoimento-instagram {
  display: inline-block;
  position: relative;
  z-index: 20;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-top: 3px;
  padding: 2px 0;
  transition: color 0.18s ease;
}

.depoimento-instagram:hover {
  color: #FFC94D;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.depoimento-base {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 24px;
  color: #ffffff;
  z-index: 3;
}

.depoimento-aspas {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 32px;
  line-height: 1;
  color: #FFC94D;
  display: block;
  margin-bottom: 6px;
}

.depoimento-texto {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}
