footer {
  position: relative;
  width: 100%;
  height: 200px;
  margin-top: auto; /* Empurra o footer para o fim */
  padding: 1rem 3.5rem 1rem 3.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.nav-item {
  display: flex;
  justify-content: left;
  width: 100%;
}
#fixed-button {
  position: fixed;
  top: 89%;
  right: 40px;
  z-index: 9999;
  width: 70px;
  height: 70px;
  max-width: 70px;
  max-height: 70px;
  cursor: pointer;
}

#fixed-button img {
  width: 70px;
  height: 70px;
  max-width: 70px;
  max-height: 70px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

#fixed-button img:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

#nav_list-footer {
  display: flex;
  width: 100%;
  height: auto;
  max-height: 400px;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
  margin: 0rem 3.5rem 0rem 3.5rem;
}
.nav-footer {
  width: 30%;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: start;
  text-align: left;
}

#nav_list-footer a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
}

#nav_list-footer a:hover {
  text-decoration: none;
  color: var(--secondary);
  background-color: var(--primary);
}

#group-location p {
  align-self: center;
  font-weight: 400;
  padding-top: 16px;
}

#group-icons {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 24px;
}

#group-icons #agency-icon {
  width: 100%;
  max-height: 170px;
  min-height: 100px;
  z-index: 0;
}

/*/////////////////////////////////////////////////////////////////////////////////*/

/* Ajuste em telas menores */
@media (max-width: 768px) {
  footer {
    height: 400px;
  }
  #group-icons {
    justify-content: center;
  }
  #nav_list-footer {
    flex-direction: column;
    width: 100%;
    margin: 0;
  }
  .nav-footer {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }
  #nav_list-footer a {
    padding: 0.1rem;
    text-align: center;
  }
  .nav-item {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  footer {
    margin-top: 1000px;
  }
  .nav-footer {
    width: 100%;
    list-style: none;
    display: inline;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;

    gap: 0.5rem;
  }
  #nav_list-footer {
    margin-top: 2rem;
  }
}
@media screen and (max-width: 425px) {
  footer {
    height: 400px;
    padding: 1rem 1.5rem;
  }

  #nav_list-footer a {
    font-size: 0.9rem;
    text-align: center;
  }
}

@media screen and (max-width: 320px) {
  #nav_list-footer a {
    font-size: 0.7rem;
  }
}
