.footer-completo {
  background-color: #182047;
  color: #a9b3d0;
  padding: 60px 20px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-completo .footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

/* Define que os blocos principais podem crescer */
.footer-col.about,
.footer-col.social,
.footer-middle-columns {
  flex: 1;
  min-width: 250px; /* Largura mínima para desktop */
}

/* O agrupador do meio também usa flexbox */
.footer-middle-columns {
  display: flex;
  gap: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background-color: #00C6FF;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-col.links ul {
  list-style: none;
  padding: 0;
}

.footer-col.links a {
  color: #a9b3d0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
  margin-bottom: 10px;
}

.footer-col.links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-social-icons a {
  color: #fff;
  font-size: 1.2rem;
  margin-right: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #00C6FF;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #2a356a;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #a9b3d0;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* ======================================================= */
/* --- RESPONSIVIDADE PARA O FOOTER ---                    */
/* ======================================================= */

@media (max-width: 900px) {
  .footer-main {
    /* Empilha os 3 blocos principais: Sobre, Meio, e Social */
    flex-direction: column;
    text-align: center;
    align-items: center; /* Centraliza os blocos */
  }

  .footer-middle-columns {
    /* Este é o segredo: o bloco do meio CONTINUA sendo uma linha (flex-direction: row) */
    display: flex;
    justify-content: center; /* Centraliza as colunas internas */
    width: 100%;
    text-align: left; /* Alinha o texto das colunas internas à esquerda */
  }

  /* Centraliza a linha decorativa dos títulos */
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Exceto para as colunas do meio, que estão alinhadas à esquerda */
  .footer-middle-columns .footer-col h4::after {
    left: 0;
    transform: none;
  }
}