/* ═══════════════════════════════════════════════════
   AYO THEME — Footer
═══════════════════════════════════════════════════ */
.ayo-footer {
  background: var(--black-900);
  padding: var(--sp-16) var(--sp-6) var(--sp-8);
  position: relative;
  z-index: 1;
}
.ayo-footer__inner  { max-width: 1280px; margin: 0 auto; }
.ayo-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
}

/* Brand */
.ayo-footer__logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.ayo-footer__logo em { font-style: normal; color: var(--gold-500); }

/* WCAG AA: #D4D4D4 ✅ */
.ayo-footer__tagline {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--black-200);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: var(--sp-5);
}

.ayo-footer__socials { display: flex; gap: var(--sp-3); }
.ayo-footer__social {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--black-200);
  text-decoration: none;
  transition: all var(--t-spring);
}
.ayo-footer__social:hover {
  background: rgba(228,177,1,0.10);
  color: var(--gold-400);
  transform: scale(1.08);
}


/* Logo imagem no footer */
.ayo-footer__logo-img-wrap {
  display: inline-block;
  margin-bottom: var(--sp-3);
  text-decoration: none;
  line-height: 0;
}
.ayo-footer__logo-img-wrap img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  transition: opacity var(--t-fast);
}
.ayo-footer__logo-img-wrap:hover img { opacity: .85; }

/* Columns */
.ayo-footer__col-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--sp-4);
}
.ayo-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.ayo-footer__col a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--black-200);
  text-decoration: none;
  transition: color var(--t-fast);
}
.ayo-footer__col a:hover { color: var(--gold-400); }

/* Bottom */
.ayo-footer__bottom {
  border-top: 1px solid rgba(212,197,172,0.07);
  padding-top: var(--sp-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.ayo-footer__copy {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--black-300);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ayo-footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 768px) {
  .ayo-footer { padding: var(--sp-12) var(--sp-4) var(--sp-8); }
  .ayo-footer__top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .ayo-footer__bottom { flex-direction: column; text-align: center; }
}

/* ── Apoio institucional ── */
.ayo-footer__apoio {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-top: 1px solid rgba(212, 197, 172, 0.07);
  flex-wrap: wrap;
}
.ayo-footer__apoio-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black-500);
  white-space: nowrap;
  flex-shrink: 0;
}
.ayo-footer__apoio-logos {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

/* Centelha: paisagem (2.49) — altura 32px → ~80px largura */
/* Tecnova: retrato (0.67) — altura 32px → ~21px largura muito estreito,
   então usamos altura 28px e deixamos width:auto */
.ayo-footer__apoio-img {
  display: block;
  height: 44px;
  width: auto;
  max-height: 44px;
  opacity: 0.85;
  transition: opacity var(--t-fast);
  filter: brightness(1);
}
.ayo-footer__apoio-img:hover { opacity: 1; }

/* Tecnova: logo com cores azul/laranja, semitransparente no fundo escuro.
   brightness(1.2) realça levemente sem distorcer as cores. */
.ayo-footer__apoio-img:nth-child(2) {
  height: 44px;
  max-height: 44px;
  filter: brightness(1.2);
  opacity: 0.85;
}

@media (max-width: 600px) {
  .ayo-footer__apoio { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .ayo-footer__apoio-logos { gap: var(--sp-4); }
}
