/* ==========================================================================
   TESTIMONIALS — depoimentos dos alunos
   ========================================================================== */

.testimonials {
  position: relative;
  padding: 100px 0;
  background-color: #000;
}

.testimonials-grid {
  column-count: 3;
  column-gap: 20px;
  width: 100%;
}

.testimony-card {
  --card-color: #d946ef;
  --star-to: #8b5cf6;

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  padding: 24px;
  break-inside: avoid;
  border: 2px solid var(--card-color);
  border-radius: 6px;
  background-color: #07070a;
  transition: transform 0.3s ease;
}

.testimony-card:hover {
  transform: translateY(-3px);
}

.testimony-card--fuchsia {
  --card-color: #d946ef;
  --star-to: #8b5cf6;
}

.testimony-card--sky {
  --card-color: #0ea5e9;
  --star-to: #2dd4bf;
}

.testimony-card--emerald {
  --card-color: #10b981;
  --star-to: #84cc16;
}

.testimony-card--orange {
  --card-color: #f97316;
  --star-to: #eab308;
}

.testimony-card--rose {
  --card-color: #f43f5e;
  --star-to: #fb923c;
}

.testimony-card--indigo {
  --card-color: #6366f1;
  --star-to: #3b82f6;
}

.testimony-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 13px;
  color: #a1a1aa;
}

.stars {
  font-size: 13px;
  letter-spacing: 2px;
  background: linear-gradient(45deg, var(--card-color), var(--star-to));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimony-text {
  font-size: 16px;
  line-height: 1.6;
  color: #a1a1aa;
}

.testimony-author {
  align-self: flex-start;
  padding: 4px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #a1a1aa;
}

@media (max-width: 992px) {
  .testimonials-grid {
    column-count: 2;
  }
}

@media (max-width: 650px) {
  .testimonials-grid {
    column-count: 1;
  }
}
