.site-footer {
  padding: 3rem 0;
  background-color: var(--custom-primary-white);
  border-top: 1px solid var(--custom-primary-border);
}

.footer-menu {
  width: 100%;
  display: flex;
}

.footer-menu h5 {
  font-family: var(--barlow-condensed);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--custom-primary-color-text);
  margin-bottom: 1.25rem;
}

.footer-menu ul {
  list-style-type: none;
  margin: 0;
}

.footer-menu ul li,
.footer-menu ul li a {
  color: var(--Escala-de-Cinza-Grey-800, #404648);
  font-family: Barlow;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; 
  margin-bottom: 0.875rem;
}

.footer-menu ul li:hover,
.footer-menu ul li a:hover {
  color: var(--custom-primary-color);
}

.footer-menu-block {
  width: 20%;
}

.footer-menu-sitemap {
  width: 80%;
  display: flex;
}

.footer-menu-sitemap .footer-menu-sitemap-box {
  width: 25%;
}

.footer-menu-sitemap .footer-menu-sitemap-box.show {
  display: flex;
  flex-direction: column;
}

.footer-menu-sitemap .footer-menu-sitemap-box.sitemap-editorias ul {
  max-height: 410px;
  overflow: hidden;
}

.footer-menu-sitemap .footer-menu-sitemap-box.sitemap-editorias ul.show {
  max-height: none;
  overflow: visible;
}

.site-footer button {
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  align-items: center;
  background: 0 0;
  color: var(--custom-primary-color);
  margin-top: 1rem;
}

.site-footer button:hover {
  text-decoration: underline;
}

.site-footer button svg {
  margin-left: 5px;
}

.footer-bottom .socials img {
  transition: all 0.2s ease-in-out;
}

.footer-bottom .footer-logo {
  max-width: 150px;
  /* height: 64px; */
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
}

.footer-bottom p {
  color: var(--custom-secondary-gray);
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  line-height: normal;
  max-width: 50%;
}

.footer-bottom .socials {
  display: flex;
  gap: 1rem;
}

.footer-bottom .socials img:hover {
  filter: brightness(0.8);
}

.site-footer button.footer-mobile-button {
  display: none;
}

.site-footer button.footer-mobile-button svg.hide {
  display: none;
}

@media (max-width: 768px) {
  .site-footer {
    text-align: center;
    padding: 1rem 0 2rem;
  }

  .footer-menu {
    flex-direction: column;
  }

  .footer-menu h5 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .footer-menu-block {
    width: 100%;
  }

  .footer-menu-sitemap {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .footer-menu-sitemap .footer-menu-sitemap-box {
    width: 100%;
  }

  .site-footer button.footer-desktop-button {
    display: none;
  }

  .footer-bottom {
    justify-content: center;
    margin-top: 3rem;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom p {
    max-width: 80%;
  }

  .site-footer button.footer-mobile-button {
    display: flex;
  }

  .footer-menu-sitemap .footer-menu-sitemap-box {
    display: none;
  }

  .footer-menu-sitemap .footer-menu-sitemap-box.sitemap-editorias ul {
    max-height: none;
  }
}