/* =============================================
   depoimentos.css — Seção de depoimentos
   ============================================= */

#depoimentos {
  background-color: var(--color-primary);
  padding: var(--section-pad-v) var(--section-pad-h);
}

.depoimentos__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Cabeçalho ───────────────────────────────── */
.depoimentos__header {
  text-align: center;
  margin-bottom: 3rem;
}

.depoimentos__header h2 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: var(--fw-black);
  margin-bottom: .5rem;
}

.depoimentos__header p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ── Grid de cards ───────────────────────────── */
.depoimentos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ── Card individual ─────────────────────────── */
.depoimento {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.depoimento:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.depoimento__stars {
  color: #FACC15;
  font-size: 1.125rem;
  letter-spacing: .1em;
}

.depoimento__text {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.depoimento__author {
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.depoimento__author strong {
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

/* ── Tablet ≥768px ───────────────────────────── */
@media (min-width: 768px) {
  .depoimentos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .depoimentos__grid .depoimento:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - .75rem);
    margin: 0 auto;
  }
}

/* ── Desktop ≥1024px ─────────────────────────── */
@media (min-width: 1024px) {
  .depoimentos__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .depoimentos__grid .depoimento:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
}
