/* ============================================================
   TESTIMONIALS — Depoimentos
   ============================================================ */

.tst-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.4rem; flex-wrap: wrap; margin-bottom: 2rem;
}

.tst-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.tst-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.tst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tst-card__head { display: flex; align-items: center; gap: .75rem; }
.tst-card__av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--font-body); font-weight: 700;
  font-size: .85rem; color: #fff;
}
.tst-card__id { display: flex; flex-direction: column; min-width: 0; }
.tst-card__id b { font-family: var(--font-body); font-size: .96rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tst-card__stars { display: flex; align-items: center; gap: 3px; }
.tst-card__stars svg { width: 13px; height: 13px; fill: #b06f00; filter: drop-shadow(0 1px 1px rgba(0,0,0,.08)); }
.tst-card__time { margin-left: .5rem; font-size: .76rem; color: var(--slate-400); }

.tst-card p { color: var(--slate-700); font-size: var(--step-0); line-height: 1.5; }

@media (max-width: 760px) {
  .tst-grid { grid-template-columns: 1fr; }
}

/* Mobile: carrossel horizontal (swipe), consistente com cat-grid/stats */
@media (max-width: 620px) {
  .tst-grid {
    display: flex; gap: 1rem; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: .2rem .2rem 1rem;
    margin: 0 -.2rem; scrollbar-width: none;
  }
  .tst-grid::-webkit-scrollbar { display: none; }
  .tst-card { scroll-snap-align: start; flex: 0 0 86%; min-width: 86%; }
}

/* Selo de origem das avaliações: a cliente pediu em 15/09 que ficasse
   explícito que os depoimentos vêm do perfil do Google. */
.tst-google { display:flex; align-items:center; gap:.6rem; margin-top:1rem; }
.tst-google img { width:28px; height:28px; flex:none; }
.tst-google span { font-size:var(--step--1); color:var(--muted); }
