footer {
  background-color: var(--color-text);
  color: var(--color-bg);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.footer-brand-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.name {
  margin-left: var(--space-md);
  display: flex;
  align-items: center;
}

.footer-logos {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.footer-logo-svg {
  height: 60px;
  width: auto;
  fill: currentColor;
}

.footer-text {
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  font-weight: 400;
  line-height: 1.5;
  width: 100%;
  margin: 0 0 var(--space-lg) 0;
  text-align: center;
  opacity: 0.9;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer-section-endereco h4,
.footer-section h4 {
  margin-bottom: var(--space-md);
  font-weight: 700;
  text-transform: uppercase;
}

.footer-section-endereco a {
  font-size: var(--font-size-sm);
  line-height: 1.8rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* .footer-links li { */
/*   ; */
/* } */
/**/
.footer-links a {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  transition: opacity 0.2s;
  display: block;
  white-space: nowrap;
}

.icons {
  display: flex;
  justify-content: center; /* Centraliza os ícones */
  gap: var(--space-md);
  margin-top: 10px;
  width: 100%;
}

.icons a {
  display: flex;
  align-items: center;
  transition:
    transform 0.2s,
    color 0.2s;
}

.footer-icon {
  font-size: calc(var(--font-size-md) * 1.5);
  color: var(--color-bg);
}

.footer-copyright {
  width: 100%;
  padding: var(--space-md) var(--space-md);
  border-top: 1px solid var(--color-border);
  text-align: center; /* Centraliza o texto do copyright */
}

.footer-copyright p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin: 0;
}

/*=====[HOVER]=====*/
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
  }
  .footer-section-endereco a:hover {
    opacity: 1;
    text-decoration: underline;
  }
  .icons a:hover {
    transform: translateY(-3px);
  }
}

@media screen and (min-width: 1024px) {
  .footer-content {
    display: grid;
    grid-template-columns: 4fr 1fr 1fr 1.5fr;

    align-items: start;
    text-align: left;

    gap: var(--space-xl);
  }

  .footer-brand-area {
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;
  }

  .footer-logos {
    justify-content: flex-start;
    margin-bottom: var(--space-md);
  }

  .footer-text {
    text-align: left;
    margin: 0;
    max-width: 100%;
  }

  .footer-section {
    align-items: flex-start;
    width: auto;
  }

  .footer-section h4 {
    text-align: left;
    align-self: flex-start;
  }

  .footer-links {
    align-items: flex-start;
  }

  .icons {
    justify-content: flex-start;
    margin-top: 0;
  }

  .footer-copyright {
    padding: 10px;
    text-align: center;
  }
  .footer-copyright p {
    font-size: var(--font-size-sm);
  }
}
