.footer {
  background: #1c3d5a;
  color: #fff;
  padding: 70px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  padding: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transition: 0.3s;
}

.footer-col a:hover {
  opacity: 1;
  color: #ffb066;
}

.footer-col {
  text-align: left;
}

.footer-logo {
  margin-top: 24px;
  max-width: 150px;
  display: block;
}

.footer-col p {
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 20px; 
  justify-content: flex-start;
}

.social-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover img {
  transform: scale(1.2); 
  filter: brightness(1) invert(0); 
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

@media (hover: hover) {
  .social-icon:hover img {
    transform: scale(1.1);
    filter: none;
  }
}

@media (max-width: 768px) {

  .social-icon img {
    filter: none; 
    width: 40px;
    height: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center; 
  }

  .footer-logo {
    display: none;
  }

  .footer-col p,
  .footer-col ul {
    margin-bottom: 16px;
  }
}
/* WhatsApp flutuante */
.whatsapp-flutuante {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  /* abaixo do header (1000) e do menu mobile (1100), acima do conteudo */
  z-index: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-flutuante:hover,
.whatsapp-flutuante:focus-visible {
  background: #1ebe5a;
  transform: scale(1.08);
}

.whatsapp-flutuante:focus-visible {
  outline: 3px solid #0b3d20;
  outline-offset: 3px;
}

.whatsapp-icone {
  width: 34px;
  height: 34px;
  fill: #fff;
  position: relative;
  z-index: 1;
}

/* anel que pulsa por tras do botao */
.whatsapp-pulso {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.7;
  animation: whatsapp-pulso 2s ease-out infinite;
}

@keyframes whatsapp-pulso {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-flutuante {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-icone {
    width: 30px;
    height: 30px;
  }
}

/* quem pediu menos animacao no sistema nao ve o pulso */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-pulso {
    animation: none;
    opacity: 0;
  }

  .whatsapp-flutuante {
    transition: none;
  }
}