/* =======================
   FOOTER
======================= */
.footer {
  background: #000;
  color: #fff;
  padding: 60px 20px 30px;
}

/* =======================
   CTA DO FOOTER
======================= */
.footer-cta {
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 40px;
}

.footer-cta h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-cta p {
  opacity: 0.8;
  margin-bottom: 15px;
}

/* BOTÃO COM EFEITO */
.footer-cta button {
  background: red;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;

  animation: footerPulse 2.5s infinite ease-in-out;
}

/* animação */
@keyframes footerPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,0,0,0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(255,0,0,0.6);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,0,0,0.4);
  }
}

.footer-cta button:hover {
  animation-play-state: paused;
  transform: scale(1.08);
}

/* =======================
   DIVISOR
======================= */
.footer-divider {
  height: 1px;
  background: #222;
  margin: 40px auto;
  max-width: 1000px;
}

/* =======================
   GRID PRINCIPAL
======================= */
.footer-main {
  max-width: 1000px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* COLUNAS */
.footer-col h3 {
  margin-bottom: 12px;
}

.footer-col p,
.footer-col a {
  display: block;
  font-size: 14px;
  color: #bbb;
  margin-bottom: 6px;
  text-decoration: none;
}

/* HOVER LINKS */
.footer-col a:hover {
  color: white;
  transform: translateX(3px);
}

/* =======================
   COPYRIGHT
======================= */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

/* =======================
   SCROLL SUAVE GLOBAL
======================= */
html {
  scroll-behavior: smooth;
}

/* evitar header tapar secções */
section {
  scroll-margin-top: 100px;
}

/* =======================
   RESPONSIVO
======================= */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
}