/* FOOTER - CORRIGIDO
   ============================================ */

/* paleta do rodapé */
:root {
  --green: #303922;
  --cream: #F5ECCF;
  --brown: #603E1E;
}

/* rodapé */
footer {
  background: linear-gradient(180deg, #F5ECCF 0%, #E8E2D4 100%);
  border-top: 6px solid #303922;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.10);
  color: var(--brown);
  font-family: "Inter", "Segoe UI", sans-serif;
  padding: 18px 20px; 
  margin-top: 0; /* GARANTIR que não há margem top */
}

/* grid principal */
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  transform: translateY(10px);
  animation: fadeUp .6s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* cada bloco */
.footer-section h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: var(--green);
  font-family: 'Playfair Display', serif;
}

.footer-section p {
  margin: 6px 0;
  line-height: 1.4;
  font-size: 14px;
}

/* --- BLOCO SIGA-NOS --- */
.footer-social-icons {
  text-align: left; /* Mantido para compatibilidade, mas o pai é footer-section */
}

.footer-social-icons a {
  display: inline-block;
  margin-right: 6px;
}

.footer-social-icons img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  backdrop-filter: blur(2px);
  transition: .25s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  vertical-align: middle;
}

.footer-social-icons img:hover {
  transform: translateY(-4px) scale(1.09);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}

/* --- BLOCO PAGAMENTO --- */
.footer-payment-icons img {
  width: 30px; /* Ajuste para ícones de pagamento */
  height: auto;
  margin-right: 6px;
  transition: .25s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  vertical-align: middle;
}

.footer-payment-icons img:hover {
  transform: translateY(-2px) scale(1.05);
}

/* subtexto */
.footer-bottom {
  margin-top: 40px;
  text-align: center !important;
  grid-column: 1 / -1;
  opacity: .75; 
}

.footer-bottom p {
  font-size: 0.72rem;
  opacity: .55;
}

/* remove espaço embaixo */
body {
  margin: 0;
  padding: 0;
}

/* responsividade */
@media (max-width: 800px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .footer-social-icons {
    text-align: center;
  }
}

@media (max-width: 500px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}
