.footer {
  background-color: var(--preto-claro-cw);
  padding: 7rem 0 3.2rem;
    margin-top: 7rem;
}

[data-theme="light"] .footer {
    background-color: var(--cinza-cw);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
    gap: 4.8rem;
}

.footer-col.col-1 {
  flex: 1 1 20rem;
  min-width: 20rem;
  max-width: 29.8rem;
}

.footer-col:not(.col-1) {
  flex: 0 1 auto;
  min-width: 0;
}

.logo-dark {
  width: auto;
  height: 2.2rem;
}

.logo-light {
  display: none;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="light"] .logo-light {
  display: block;
  width: auto;
  height: 2.2rem;
}

.footer-text {
  margin: 3.2rem 0 1.6rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 4.5rem;
    border: 1px solid var(--cinza-escuro-cw);
    background-color: var(--preto-claro-cw);
    color: var(--color-text);
}
.newsletter-form button {
    width: 100% !important;
}
[data-theme="light"] .newsletter-form input {
    background-color: var(--cinza-cw);
}

.footer-title {
  margin-bottom: 1.6rem;
  font-size: var(--font-size-md);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-socials {
    width: fit-content;
}

.footer-socials a svg path {
    fill: var(--color-text);
}

.footer-links a {
  text-decoration: none;
  transition: ease 0.3s;
}

.footer-links a:hover {
  opacity: 0.5;
}

.footer-divider {
    opacity: 1;
    border: none;
    border-top: 1px solid var(--cinza-escuro-cw);
    margin: 7rem 0 3.2rem;
}

.footer-copy {
  text-align: center;
}

@media (max-width: 1024px) {
  .footer {
    padding: 5.6rem 0 3.2rem;
    margin-top: 5.6rem;
  }

  .footer-content {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-col {
    width: calc(50% - 2.4rem);
    flex: 0 0 calc(50% - 2.4rem);
    max-width: 100%;
  }

  .footer-col.col-1 {
    width: calc(50% - 2.4rem);
    flex: 0 0 calc(50% - 2.4rem);
    max-width: 100%;
  }

  .footer-divider {
    margin: 4rem 0 3.2rem;
  }
}


@media (max-width: 768px) {
    .footer {
        padding: 4.8rem 0 2.4rem;
        margin-top: 4.8rem;
    }
  .footer-content {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col.col-1 {
    width: 100%;
    max-width: 100%;
    max-height: fit-content;
  }
  .footer-divider {
        margin: 3.2rem 0 2.4rem;
    }
    .footer-copy {
        text-align: left;
    }
}






