/* ---------------------------------------------------------------------------------------------------------- */
/* FOOTER BASE */
/* ---------------------------------------------------------------------------------------------------------- */
* {
  --branco-soft: #efedfdb1;
}

footer {
  background-color: var(--destaque-escuro);
  color: var(--branco-soft);
  padding-top: 50px;
  padding-bottom: 20px;
  line-height: 1.5;
  text-align: left;
}

/* Links e listas */
footer a, footer p {
  color: var(--branco-soft);
  font-weight: 500;
  font-size: 16px;
  font-family: 'Outfit', system-ui, sans-serif;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

footer a:hover {
  color: #efedfd;
}

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

footer li {
  margin-bottom: 5px;
  font-size: 16px;
}

footer h4, footer span.titulo, footer h3 {
  font-size: 18px;
  display: block;
  margin: 0px auto 10px;
  color: var(--branco);
}

/* ---------------------------------------------------------------------------------------------------------- */
/* FOOTER TOPO */
/* ---------------------------------------------------------------------------------------------------------- */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 90px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.footer-social {
  display: flex;
  flex: 0 0 25%;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

img.footer-logo {
  max-width: auto;
  height: 150px;
}

.redes {
  display: flex;
  gap: 15px;
}

.footer-badge img {
  max-width: 150px;
  height: auto;
}

/* ---------------------------------------------------------------------------------------------------------- */
/* FOOTER LINKS / SEÇÕES */
/* ---------------------------------------------------------------------------------------------------------- */
.footer-links {
  display: flex;
  flex: 1 1 65%;
  /* flex-wrap: wrap; */
  gap: 90px;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-list-item a {
  font-weight: 500;
  display: block;
  padding: 5px 0;
}

/* ---------------------------------------------------------------------------------------------------------- */
/* FILIAIS / ENDEREÇOS */
/* ---------------------------------------------------------------------------------------------------------- */
.filiais {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}

.filial {
  max-width: 200px;
}

.filial-titulo {
  font-weight: 600;
  margin-bottom: 10px;
}

.filial a {
  color: var(--branco-soft);
}

.filial p {
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------------------------------------------------- */
/* NEWSLETTER */
/* ---------------------------------------------------------------------------------------------------------- */
.newsletter {
  display: flex;
  border-top: 2px solid #8F9DBAA6;
  padding: 20px 0;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter .form-group {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
}

.newsletter p {
  font-size: 18px;
}

.newsletter-form {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.newsletter-text {
  flex: 1;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border-radius: 20px;
  font-size: 14px;
  background: transparent;
  border: 2px solid var(--branco);
  color: var(--branco);
  outline: none;
  max-width: 300px;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--destaque-contraste);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--branco-soft);
}

.newsletter-form button {
  padding: 15px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--branco) !important;
  color: var(--destaque-escuro) !important;
}

.newsletter-form button:hover {
  filter: brightness(1.2) !important;
}

/* ---------------------------------------------------------------------------------------------------------- */
/* RODAPÉ BOTTOM */
/* ---------------------------------------------------------------------------------------------------------- */
.rodape-bottom {
  border-top: 2px solid #8F9DBAA6;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}

.rodape-bottom a {
  color: var(--branco-soft);
}

footer small {
  font-size: 12px;
}

footer .footer-bottom {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ---------------------------------------------------------------------------------------------------------- */
/* RESPONSIVO MOBILE */
/* ---------------------------------------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .footer-social {
    display: flex;
    flex: 0 0 25%;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: auto;
  }
}

@media (max-width: 768px) {
  footer {
  text-align: center;
  }

  .footer-top {
  flex-direction: column;
  gap: 30px;
  align-items: center;
  }

  .footer-social {
  flex: 1 1 100%;
  align-items: center;
  text-align: center;
  }

  .footer-links {
  flex: 1 1 100%;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  }

  .footer-section {
  flex: 1 1 100%;
  }

  .filiais {
  align-items: center;
  text-align: center;
  }

  .newsletter {
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
  }

  .newsletter-form {
  flex-direction: column;
  width: 100%;
  align-items: center;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
  width: 100%;
  max-width: 400px;
  }

  .rodape-bottom {
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
  }
}
