.vestibular-parceiros {
  padding: 58px 24px 56px;
  background: linear-gradient(120deg, #edf5fa, #f5f9fb 48%, #eaf5f1);
  border-block: 1px solid var(--line);
  text-align: center;
}

.vestibular-parceiros__conteudo {
  max-width: 1110px;
  margin-inline: auto;
}

.vestibular-parceiros h2 {
  margin: 0 0 34px;
  color: #004788;
  font-size: clamp(25px, 3vw, 33px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.vestibular-parceiros h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: #13b69a;
}

.vestibular-parceiros__lista {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.vestibular-parceiros__cartao {
  display: block;
  color: #004788;
}

.vestibular-parceiros__foto {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 5 / 3;
  background: var(--surface-alt);
}

.vestibular-parceiros__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.vestibular-parceiros h3 {
  margin: 18px 0 0;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 600;
  line-height: 1.45;
}

.vestibular-parceiros__cartao:hover img,
.vestibular-parceiros__cartao:focus-visible img {
  transform: scale(1.035);
}

.vestibular-parceiros__cartao:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

[data-theme="dark"] .vestibular-parceiros {
  background: linear-gradient(120deg, #19243a, #1b2940 48%, #19352f);
}

[data-theme="dark"] .vestibular-parceiros h2,
[data-theme="dark"] .vestibular-parceiros__cartao {
  color: #b3dfff;
}

@media (max-width: 650px) {
  .vestibular-parceiros { padding: 38px 24px; }
  .vestibular-parceiros__lista { grid-template-columns: 1fr; gap: 28px; }
  .vestibular-parceiros__cartao { width: 100%; max-width: 420px; margin-inline: auto; }
  .vestibular-parceiros h3 { margin-top: 12px; font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .vestibular-parceiros__foto img { transition: none; }
  .vestibular-parceiros__cartao:hover img,
  .vestibular-parceiros__cartao:focus-visible img { transform: none; }
}
