/* =================================================
   FOOTER BASE
================================================= */

.footer{
  background: var(--cinza-claro);
  padding-top: 70px;
  font-size: 15px;
}

.footer .container{
  max-width: 1200px;
}

.footer p{
  color: var(--azul-primario);
  line-height: 1.7;
}

.footer a{
  color: var(--azul-primario);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer a:hover{
  opacity: 0.75;
}

/* =================================================
   GRID
================================================= */

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* =================================================
   COLUNAS
================================================= */

.footer-col{
  display: flex;
  flex-direction: column;
}

.footer-col h3{
  margin-bottom: 18px;
  color: var(--azul-primario);
  font-size: 18px;
  position: relative;
}

/* linha decorativa premium */
.footer-col h3::after{
  content: "";
  width: 35px;
  height: 3px;
  background: var(--azul-secundario);
  display: block;
  margin-top: 6px;
  border-radius: 2px;
}

/* LOGO */

.footer-logo{
  width: 190px;
  margin-bottom: 18px;
}

/* LINKS */

.footer-links{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a{
  position: relative;
  width: fit-content;
}

/* efeito underline elegante */
.footer-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--azul-secundario);
  transition: width 0.3s ease;
}

.footer-links a:hover::after{
  width: 100%;
}

/* =================================================
   CONTATO
================================================= */

.footer-col p{
  margin-bottom: 10px;
  
}

/* =================================================
   LINHA INFERIOR
================================================= */

.footer-bottom{
  margin-top: 60px;
  background: var(--azul-primario);
  padding: 22px 0;
}

.footer-bottom-flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p{
  color: #fff;
  margin: 0;
  font-size: 14px;
}

.footer-redes a{
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}

.footer-redes a:hover{
  opacity: 0.8;
}

/* =================================================
   RESPONSIVO
================================================= */

@media (max-width: 992px){

  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

}

@media (max-width: 768px){

  .footer{
    text-align: center;
    padding-top: 60px;
  }

  .footer-grid{
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-logo{
    margin: 0 auto 18px;
  }

  .footer-links{
    align-items: center;
  }

  .footer-col h3::after{
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom-flex{
    flex-direction: column;
    text-align: center;
  }

}
