/* ==========================================================================
   Footer + WhatsApp flutuante
   ========================================================================== */

/* Faixa escura full-width; conteúdo contido no container. */
.footer {
  padding: 42px 0;
  background: var(--footer);
}
/* 3 zonas: logo (esq) · tagline (centro, v+h) · redes (dir) */
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer__logo {
  justify-self: start;
  height: 54px;
  opacity: 0.96;
}
.footer__tagline {
  justify-self: center;
  text-align: center;
  font: 400 13px/1.6 var(--font-body);
  color: #8c9aab;
}
.footer__social {
  justify-self: end;
  display: flex;
  gap: 12px;
}
.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cdd6e0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer__social-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.footer__social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ---- WhatsApp flutuante ---- */
.whatsapp-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 60;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.whatsapp-float__icon {
  width: 32px;
  height: 32px;
  display: block;
}

@media (max-width: 768px) {
  .footer {
    padding: 36px 0;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 18px;
  }
  .footer__logo,
  .footer__tagline,
  .footer__social {
    justify-self: center;
  }
}
