/* ==========================================================================
   FOOTER - ESTRUTURA GERAL
   ========================================================================== */

.footer {
  background-color: #1B1C1A;
  width: 100%;
  padding-bottom: 70px;
	
}

.footer__top,
.footer__links,
.footer__social,
.footer__social-link,
.footer__nav-list,
.footer__sub-list,
.footer__bottom,
.footer__bottom-list,
.footer__copyright,
.footer__go-top,
.footer__company-info,
.footer__social__container {
  display: flex;
}

.footer__links,
.footer__nav-list,
.footer__sub-list,
.footer__bottom-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__content {
  margin: 40px 0;
}

.footer__top {
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(208, 218, 245, 0.06);
  margin-bottom: 25px;
}

.footer__links {
  gap: 16px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.01px;
  color: #3d3d3d;
  background-color: #c2ffca;
  padding: 6px 12px;
  border-radius: 16px;
  white-space: nowrap;
  text-decoration: none !important;
}

.footer__social__container {
  flex-direction: column;
  gap: 15px;
  color: #f7f7f7;
  font-size: 0.75rem;
}

.footer__social {
  gap: 8px;
  flex-wrap: wrap;
}

.footer__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #14412a;
  border-radius: 50%;
}

.footer__nav {
  margin-bottom: 40px;
}

.footer__nav-list {
  flex-direction: column;
  gap: 40px;
}

.footer__nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 150%;
  color: #f0f5eb;
}

.footer__sub-list {
  flex-wrap: wrap;
  margin-top: 16px;
}
.footer__sub-list li {
  margin-bottom: 16px;
}
.footer__sub-list a {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 150%;
  color: #f7f7f7;
  text-decoration: none;
}

.footer__sub-list a b {
  display: none;
  color: rgb(92, 95, 84);
  font-weight: 500;
}

.footer__sub-list li:not(:last-child) a {
  padding-right: 8px;
  margin-right: 8px;
  border-right: 1px solid #575757;
}

.footer__bottom-nav {
  margin: 24px 0 48px;
}

.footer__bottom-list {
  gap: 24px;
}

.footer__bottom-list a {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 150%;
  color: #fff;
  text-decoration: none;
}

.footer__copyright {
  margin-bottom: 25px;

  gap: 24px;
  align-items: center;
}

.footer__company-info {
  flex-direction: column;
  gap: 15px;
  max-width: 730px;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 150%;
  color: #8f8f8f;
}

.footer__company-info > :first-child {
  max-width: 200px;
}

.footer__go-top {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 50px;
  height: 50px;
  background-color: #3d3d3d;
  border-radius: 50%;
  margin-top: 10px;
  margin-left: auto;
}

.generic__scale__animation {
  transition: transform 0.09s ease;
}
.generic__scale__animation:hover {
  transform: scaleX(1.03);
}

/* ==========================================================================
   FOOTER - BLOCO DE ARTIGOS / FAQ ("Fique por dentro")
   ========================================================================== */

.footer__articles-content summary {
  list-style: none;
}
.footer__articles-content summary::-webkit-details-marker {
  display: none;
}
.footer__app-image {
  width: 100%;
  max-height: 509px;
  object-fit: cover;
  border-radius: 11.7px;
}
.footer__articles {
  margin: 40px 0 25px;
}
.footer__articles-title {
  color: #e0e0e0;
  font-size: 0.875rem;
}
.footer__articles-content {
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  margin: 16px 0;
  gap: 16px;
}
.footer__articles-content details {
  padding: 16px;
  background-color: rgba(143, 143, 143, 0.06);
  cursor: pointer;
  border-radius: 16px;
}
.footer__articles-content summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #effff1;
  font-size: 0.875rem;
  font-weight: 500;
}
.footer__articles-content details h5 {
  max-width: 250px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 150%;
  color: #effff1;
}
.footer__icon-more {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  position: relative;
}
.footer__icon-more::before,
.footer__icon-more::after {
  content: '';
  position: absolute;
  background-color: #55f379;
  border-radius: 16px;
  transition: transform 0.3s ease-in-out;
}
.footer__icon-more::before {
  width: 1.5px;
  height: 12.6px;
}
.footer__icon-more::after {
  width: 12.6px;
  height: 1.5px;
}
.footer__articles-content details[open] .footer__icon-more::before {
  transform: scaleY(0);
}
.footer__details-content {
  color: #b8b8b8;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 150%;
  margin-top: 16px;
}
.footer__more-btn {
  color: #55f379;
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 150%;
}
[hidden-faq-footer='true'] {
  display: none;
}
[hidden-faq-footer='false'] {
  display: block;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media screen and (min-width: 620px) {
  .footer__aside {
    display: flex;
    gap: 24px;
  }
  .footer__app-image {
    width: 320px;
  }
  .footer__articles {
    width: 100%;
    margin-top: 0;
  }
}

@media screen and (min-width: 1124px) {
  .footer {
    padding-bottom: 100px;
  }
  .footer__content {
    margin: 16px 0;
  }
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .footer__social__container {
    gap: 11px;
  }

  .footer__link {
    max-height: 30px;
    margin-bottom: 0;
  }
  .footer__bottom {
    flex-direction: column;
    justify-content: space-between;
  }

  .footer__bottom__container-nav {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }
  .footer__go-top {
    margin-top: 0;
  }

  .footer__nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  .footer__sub-list {
    flex-direction: column;
    gap: 14px;
  }

  .footer__sub-list li {
    margin-bottom: 0;
  }

  .footer__sub-list a b {
    display: block;
  }

  .footer__sub-list li:not(:last-child) a {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
  }

  .footer__nav-title {
    color: #c2ffca;
  }

  .footer__copyright {
    align-items: center;
  }

  .footer__middle {
    display: grid;
    grid-template-columns: 4fr 1fr;
  }

  .footer__aside {
    flex-direction: column;
    gap: 0;
  }
  .footer__articles {
    margin-top: 40px;
  }
}