/* ========================================
   COMPONENTE FOOTER
   ======================================== */

.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-sm) var(--space-base);
  margin-top: var(--space-2xl);
  color: var(--text-primary);
}

.footer__utilities {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.footer__back-to-top {
  color: var(--accent-yellow);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer__back-to-top:hover {
  color: var(--accent-yellow-dark);
}

.footer__identity {
  text-align: center;
  margin-bottom: 0;
  padding-top: 4px;
}

.footer__logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.footer__name {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.footer__divider {
  width: 40px;
  height: 2px;
  background-color: var(--accent-yellow);
  margin: 0 auto var(--space-md);
}

/* Links de navegação do footer */
.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
  text-align: center;
}

.footer__link {
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--accent-yellow);
}

/* Redes sociais do footer */
.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-base);
  margin-bottom: 4px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--accent-yellow);
  color: var(--bg-primary);
  border-color: var(--accent-yellow);
}

/* Copyright */
.footer__copyright {
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  padding-top: 4px;
  padding-bottom: 0;
  border-top: 1px solid var(--border-color);
  margin: 0;
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-lg) var(--space-base);
  }

  .footer__utilities {
    flex-direction: column;
    gap: var(--space-base);
  }

  .footer__links {
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--space-md) var(--space-sm);
  }

  .footer__logo {
    font-size: var(--font-size-lg);
  }

  .footer__links {
    gap: var(--space-sm);
    justify-content: center;
  }

  .footer__link {
    font-size: var(--font-size-xs);
  }

  .footer__social {
    gap: var(--space-sm);
  }

  .footer__social-link {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-sm);
  }
}
