/* =============================================
   LIZINOX — FOOTER STYLES (Modular & Elegant)
   ============================================= */

.footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.45);
  padding: 90px 0 45px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Divisor Fino com Brilho Laser Neon Menta no Topo do Footer */
.footer-laser-line {
  display: none;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 40px;
}

/* Marca & Redes Sociais */
.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 20px 0;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__brand .nav__logo-mark {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  box-shadow: 0 4px 12px rgba(0, 137, 123, 0.2);
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Grades de Links & Newsletter */
.footer__grids {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col strong {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.footer__col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer__col a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Captura de Newsletter */
.footer__col--newsletter p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form {
  display: flex;
  margin-top: 8px;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 4px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-form:focus-within {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--white);
  font-family: var(--font-body);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.btn--newsletter-submit {
  width: 38px;
  height: 38px;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn--newsletter-submit svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s ease;
}

.newsletter-form:focus-within .btn--newsletter-submit {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.btn--newsletter-submit:hover svg {
  transform: scale(1.1) translate(1px, -1px);
}

/* Rodapé Inferior */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Botão Voltar ao Topo */
.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s ease;
}

.back-to-top:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }
  .footer__top {
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer__grids {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
