.footer-wrapper {
  position: relative;
  background-color: #f7f7f7;
  color: #555;
  font-family: Arial, sans-serif;
}

.footer-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

/* Seção principal do rodapé */
.footer-main {
  background-color: var(--preto);
  padding: 50px 0;
}

/* Container para alinhar o conteúdo */
.footer-main .container,
.footer-bottom .container {
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Colunas do rodapé */
.footer-col {
  flex: 1;
  min-width: 220px; /* Evita que as colunas fiquem espremidas */
  padding: 0 15px;
  margin-bottom: 30px;
}

/* Logo na primeira coluna */
.footer-logo {
  max-width: 170px;
  margin-bottom: 15px;
}

.footer-address {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Ícones das redes sociais */
.social-icons a {
  color: #ffffff;
  font-size: 20px;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0f2c54; /* Cor primária ao passar o mouse */
}

/* Títulos das colunas (Categorias, Institucional, etc.) */
.footer-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Links das colunas */
.footer-links a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff0000;
}

/* Links das colunas */
.footer-links a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff0000;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #ffffff; /* Garante cor padrão */
    transition: color 0.3s;
}

/* Aplica o hover vermelho ao número e ao ícone */
.footer-links a.whatsapp-link:hover,
.footer-links a.whatsapp-link:hover .c_branco,
.footer-links a.whatsapp-link:hover .fab.fa-whatsapp {
    color: #ff0000 !important;
}

.footer-links a.whatsapp-link .c_branco {
  display: inline;
  flex-direction: unset;
}

/* Seção de Atendimento */
.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-contact i {
  font-size: 24px;
  margin-right: 10px;
  color: #333;
}

.footer-contact span {
  display: flex;
  flex-direction: column;
}

.footer-contact strong {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

.footer-contact .horario span {
  font-size: 14px;
  font-weight: bold;
  color: #000;
}

/* Barra inferior do rodapé */
.footer-bottom {
  background-color: rgba(
    255,
    255,
    255,
    0
  ); /* Cor cinza claro com leve transparência */
  padding: 15px 0;
  font-size: 12px;
}

.footer-bottom .container {
  align-items: center;
}

.footer-bottom p {
  margin: 0;
}

.trn-logo {
  height: 35px;
}

/* Ajustes para telas menores (celular) */
@media (max-width: 768px) {
  .footer-main .container,
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    padding-top: 15px;
  }

  .footer-bottom .tr1mobile {
    margin-top: 0px !important;
  }

  .footer-col {
    min-width: 100%;
  }

  .social-icons,
  .footer-bottom a {
    margin-top: 15px;
  }

  .footer-bottom p {
    margin-bottom: 10px;
  }

  .footer-wrapper::before {
    background-position: top center;

    background-position: 50% 20px;
  }

  .footer-main {
    padding: 0px; /* Ajuste o padding para compensar o deslocamento da imagem */
  }

  .centro-img-mobile {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .centralizar-mobile {
    justify-items: center;
  }
}

.footer-contact a {
  text-decoration: none;
}
