/**
 * Footer site unifié — chargé avec /assets/js/site-footer.js
 * Préfixe nebula-footer__ pour éviter les collisions avec les styles par page.
 */
.nebula-site-footer {
  --nf-purple: var(--purple-nebula, #6b2fff);
  --nf-pink: var(--pink-galactic, #d24ee0);
  --nf-text: var(--text-secondary, #b8b8d1);
  --nf-bg: var(--black-space, #05030a);
  background: rgba(5, 3, 10, 0.95);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(107, 47, 255, 0.2);
}

.nebula-site-footer .nebula-footer__content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.nebula-site-footer .nebula-footer__section h3 {
  margin-bottom: 1.5rem;
  color: var(--nf-purple);
  font-size: 1rem;
  font-weight: 700;
}

.nebula-site-footer .nebula-footer__section p {
  color: var(--nf-text);
  line-height: 1.6;
}

.nebula-site-footer .nebula-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nebula-site-footer .nebula-footer__links li {
  margin-bottom: 0.8rem;
}

.nebula-site-footer .nebula-footer__links a {
  color: var(--nf-text);
  text-decoration: none;
  transition: color 0.3s;
}

.nebula-site-footer .nebula-footer__links a:hover {
  color: var(--nf-purple);
}

.nebula-site-footer .nebula-footer__social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.nebula-site-footer .nebula-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 50%;
  border: 1px solid rgba(107, 47, 255, 0.4);
  background: rgba(107, 47, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.nebula-site-footer .nebula-footer__social a:hover {
  background: rgba(107, 47, 255, 0.2);
  border-color: rgba(107, 47, 255, 0.6);
}

.nebula-site-footer .nebula-footer__social img {
  display: block;
}

.nebula-site-footer .nebula-footer__contact {
  color: var(--nf-text);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.nebula-site-footer .nebula-footer__contact a {
  color: var(--nf-purple);
  text-decoration: none;
}

.nebula-site-footer .nebula-footer__contact a:hover {
  text-decoration: underline;
}

.nebula-site-footer .nebula-footer__bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(107, 47, 255, 0.2);
  text-align: center;
  color: var(--nf-text);
  font-size: 0.9rem;
}

.nebula-site-footer .nebula-footer__bottom p {
  margin: 0;
  color: inherit;
}

.nebula-site-footer .nebula-footer__bottom-note {
  margin-top: 1rem !important;
  font-size: 0.85rem;
}
