/* =========================
   APOIADORES — GRUPOS
========================= */

.apoiadores-grupo {
  margin-bottom: var(--space-12);
}

.apoiadores-grupo__titulo {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-8);
  position: relative;
}

.apoiadores-grupo__titulo::before,
.apoiadores-grupo__titulo::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 5rem);
  height: 1px;
  background: var(--color-border);
}

.apoiadores-grupo__titulo::before { left: 0; }
.apoiadores-grupo__titulo::after  { right: 0; }

/* =========================
   GRID DE LOGOS
========================= */

.apoiadores-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
}

.apoiadores-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast);
}

.apoiadores-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.apoiadores-logo img {
  height: var(--logo-height, 60px);
  max-height: none;
  max-width: none;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition:
    filter var(--transition-base),
    opacity var(--transition-base),
    transform var(--transition-base);
  display: block;
}

.apoiadores-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.apoiadores-logo__nome {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 560px) {
  .apoiadores-grupo__titulo::before,
  .apoiadores-grupo__titulo::after {
    width: calc(50% - 4rem);
  }

  .apoiadores-logos {
    gap: var(--space-4);
  }

  .apoiadores-logo img {
    height: var(--logo-height, 48px);
    max-height: none;
    max-width: none;
  }
}
