/* ══════════════════════════════════════════════
   STELNEO — Styles des composants partagés
   Header · Footer · Logo · Icônes sociales
   À charger APRÈS style.css
══════════════════════════════════════════════ */


/* ── LOGO NAVBAR ──────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  /* On neutralise les styles texte hérités si la classe nav-logo existait déjà */
  font-size: inherit;
  letter-spacing: normal;
}

.nav-logo-img {
  display: block;
  height: 32px;        /* Hauteur fixe pour la navbar — ne jamais étirer */
  width: auto;         /* Largeur proportionnelle */
  object-fit: contain;
}

/* Fallback si SVG non trouvé : affiche un texte de secours */
.nav-logo-img[src=""],
.nav-logo-img:not([src]) {
  content: "";
}


/* ── LOGO FOOTER ──────────────────────────── */
.footer-logo-link {
  display: inline-flex;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-img {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
  /* Sur fond sombre, filtre pour rendre le logo lisible si nécessaire */
  /* filter: brightness(0) invert(1); */
  /* ↑ Décommenter si le logo est sombre et le footer est sombre */
}


/* ── ICÔNES SOCIALES ──────────────────────── */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;

  border: 1px solid rgba(244, 238, 223, 0.15);
  color: rgba(244, 238, 223, 0.75);
  background: rgba(255, 255, 255, 0.02);

  transition: all 0.25s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);

  border-color: rgba(246, 193, 60, 0.35);
  background: rgba(246, 193, 60, 0.08);

  color: #ffffff; /* ⚠️ important : blanc, pas jaune */
}

.social-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}


/* ── LIEN ACTIF NAVIGATION ────────────────── */
#nav-links a.nav-active {
  color: var(--beige, #F4EEDF);
  font-weight: 500;
}


/* ── RESPONSIVE : Navbar mobile ───────────── */
@media (max-width: 768px) {
  .nav-logo-img {
    height: 28px;
  }
}

@media (max-width: 400px) {
  .nav-logo-img {
    height: 24px;
  }

  .footer-logo-img {
    height: 24px;
  }
}