.testimonials{
  width:100%;
  padding:120px 0;
  background:#f5f7fa;
  position:relative;
  overflow:hidden;
}

.testimonials-inner{
  width:100%;
  max-width:80%;
  margin:0 auto;
}

/* ===============================
   TOPO (AJUSTADO)
================================ */

.testimonials-top{
  max-width:620px;
  margin-bottom:35px; /* 🔥 REDUZIDO (antes era 90px) */
}

.testimonials-top span{
  display:block;
  margin-bottom:12px;
  color:#0d6efd;
  font-weight:700;
  letter-spacing:2px;
}

.testimonials-top h2{
  font-size:44px;
  font-weight:900;
  color:#252525;
  margin-bottom:12px;
}

.testimonials-top p{
  font-size:17px;
  color:#555;
  line-height:1.6;
}

/* ===============================
   GRID
================================ */

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:0; /* segurança */
  margin-bottom:100px;
}

/* ===============================
   CARD
================================ */

.testimonial-card{
  background:#fff;
  border-radius:20px;
  padding:44px;
  border:1px solid #e5e7eb;

  opacity:1;
  transform:translateY(40px);

  transition:
    transform .45s ease,
    box-shadow .45s ease,
    border-color .45s ease,
    opacity .45s ease;
}

.testimonial-card.show{
  transform:translateY(0);
}

.testimonial-card:hover{
  transform:translateY(-10px);
  border-color:#0d6efd;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.testimonial-card p{
  font-size:15px;
  line-height:1.7;
  color:#444;
  margin-bottom:30px;
}

/* ===============================
   USER
================================ */

.testimonial-user{
  display:flex;
  align-items:center;
  gap:14px;
}

.testimonial-avatar{
  width:46px;
  height:46px;
  border-radius:50%;
  background:#0d6efd;
  color:#fff;
  font-weight:800;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 0 0 rgba(13,110,253,.6);
  animation:pulseAvatar 4s infinite;
}

@keyframes pulseAvatar{
  0%{ box-shadow:0 0 0 0 rgba(13,110,253,.5); }
  70%{ box-shadow:0 0 0 12px rgba(13,110,253,0); }
  100%{ box-shadow:0 0 0 0 rgba(13,110,253,0); }
}

.testimonial-user strong{
  display:block;
  font-size:14px;
  color:#252525;
}

.testimonial-user span{
  font-size:12px;
  color:#777;
}

/* ===============================
   LOGOS
================================ */

.testimonials-logos{
  overflow:hidden;
  position:relative;
}

.logos-track{
  display:flex;
  gap:60px;
  animation:logosMove 28s linear infinite;
}

.logos-track img{
  max-height:40px;
  object-fit:contain;
  filter:grayscale(100%) opacity(.6);
}

@keyframes logosMove{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ===============================
   MOBILE
================================ */

@media(max-width:900px){
  .testimonials-grid{
    grid-template-columns:1fr;
  }

  .testimonials-top h2{
    font-size:34px;
  }
}
