/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  background: #17171C;
  padding: 32px 0 32px;
}

.footer__container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;

}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 303px;
}

.footer__logo {
  display: block;
  line-height: 0;
}

.footer__logo img {
  width: 199px;
  max-width: 100%;
  height: auto;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 32px;
  width: 100%;
  flex: 1;
}

.footer__col {
  width: 100%;
  max-width: 180px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.footer__list a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__list a:hover {
  color: var(--color-text);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 32px;
  margin-top: 48px;
  width: 100%;
}

.footer__social li {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 14.79px;
  font-weight: 500;
  line-height: 29.58px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  transition: color var(--transition);
}

.footer__social-link:hover {
  color: var(--color-text);
}

.footer__social-link img {
  flex-shrink: 0;
}

.rede-instagram {
  width: 28px;
  height: 28px;
}

.rede-facebook {
  width: 14px;
  height: 27px;
}

.rede-youtube {
  width: 35px;
  height: 24px;
}

.rede-site {
  width: 35px;
  height: 29px;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  color: #FFFFFF;
  padding: 8px 0;
}

.footer__copy--mobile {
  display: none;
}

@media (min-width: 1024px) {
  .footer {
    padding-top: 32px;
  }

  .footer__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }

  .footer__brand {
    align-items: center;
    flex-shrink: 0;
  }

  .footer__col {
    width: 180px;
    max-width: 180px;
  }

  .footer__nav {
    grid-template-columns: repeat(4, 180px);
    justify-content: end;
    gap: 18px;
  }
}
@media (min-width: 576px) and (max-width: 1130px) {
  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

@media (min-width: 576px) and (max-width: 1023px) {
  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer__col {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .footer {
    padding-top: 32px;
    padding-bottom: 16px;
  }
  .footer__nav {
    margin-bottom: 54px;
  }
  .footer__top {
    gap: 101px;
    align-items: flex-start;
  }

  .footer__brand {
    max-width: 100%;
  }

  .footer__social {
    flex-direction: column;
    margin-top: 16px;
    gap: 12px;
  }

  .footer__social-link {
    font-size: 14.79px;
    white-space: normal;
  }

  .footer__copy--mobile {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
    color: #FFFFFF;
    padding: 8px 0;
  }
  .footer__copy {
    display: none;
  }
}
