/* ============================================================
   Site Footer — CSS compartilhado entre páginas
   ============================================================
   Inclua este arquivo em qualquer página que use o footer
   padrão do site (4 colunas + copyright).
   ============================================================ */

.site-footer {
  padding: 70px 0 56px;
  color: #fff;
  background: #002652;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.site-footer .container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 42px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col__logo {
  margin-bottom: 18px;
}

.footer-col__logo img {
  width: 128px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-col h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-col p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

/* Newsletter */
.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter input {
  flex: 1;
  border: 0;
  padding: 8px 14px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter button {
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #002652;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.newsletter button:hover {
  filter: brightness(0.95);
}

/* Redes sociais */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* App stores */
.app-stores {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 18px;
}

.app-stores a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.app-stores a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.app-stores svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.back-to-top {
  display: inline-block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: #fff;
}

/* Copyright */
.copyright {
  padding: 22px 0;
  background: #061b36;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  text-align: center;
}

.copyright .container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.copyright p {
  margin: 0;
}

/* Responsivo */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer {
    padding: 50px 0 40px;
  }
}
