/* ==========================================================================
   Footer compartilhado — estilo alinhado ao Figma (Aristo, modelo mobile)
   Fundo navy, logo Aristo branca no topo, navegacao limpa, links legais
   sublinhados e copyright. Conteudo identico ao anterior (8 links, WhatsApp,
   URLs reais de politicas, (c) 2026).
   ========================================================================== */

.shared-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  align-self: flex-start;
  background-color: #021023;
  border-radius: 20px 20px 0px 0px;
  color: #ffffff;
}

.shared-footer .ft-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 40px 40px;
}

/* ---- topo: marca + navegacao ---- */
.shared-footer .ft-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}

.shared-footer .ft-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.shared-footer .ft-logo {
  display: block;
  width: 140px;
  height: auto;
}

/* ---- redes sociais (movidas do rail flutuante para o rodape) ---- */
.shared-footer .ft-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shared-footer .ft-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, transform 0.15s ease;
}

.shared-footer .ft-social a:hover {
  background: #0473e3;
  transform: translateY(-2px);
}

.shared-footer .ft-social img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.shared-footer .ft-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: 18px 72px;
}

.shared-footer .ft-nav a {
  font-family: "Inter", Helvetica, sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease;
}

.shared-footer .ft-nav a:hover {
  color: #0473e3;
}

/* ---- base: links legais (empilhados, sublinhados) + copyright ---- */
.shared-footer .ft-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.shared-footer .ft-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.shared-footer .ft-copy {
  margin: 0;
  font-family: "Inter", Helvetica, sans-serif;
  font-weight: 300;
  color: #b7c4d6;
  font-size: 14px;
  line-height: 21px;
}

.shared-footer .ft-legal a {
  font-family: "Inter", Helvetica, sans-serif;
  font-weight: 300;
  color: #b7c4d6;
  font-size: 14px;
  line-height: 21px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.shared-footer .ft-legal a:hover {
  color: #ffffff;
}

/* ---- responsivo ---- */
@media (max-width: 640px) {
  .shared-footer .ft-inner {
    padding: 60px 24px 32px;
  }

  .shared-footer .ft-top {
    flex-direction: column;
    gap: 40px;
  }

  .shared-footer .ft-nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shared-footer .ft-nav a {
    font-size: 22px;
  }

  .shared-footer .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
