/* Pied de page public partagé (voir includes/footer.php). Extrait le 02/09/2026 (audit
   performance, suite du chantier CSS) : bloc <style> inline, ré-inclus (donc re-téléchargé
   par le navigateur) sur chaque page publique qui charge footer.php (index.php, etudiant.php,
   entreprise.php). Zéro variable PHP dans ce bloc à l'origine -- extraction mécanique. */
.lmp-footer {
  margin-top: 0;
  padding: 44px 24px 36px;
  border-top: 1px solid #E2E8F0;
  background: #FAFBFC;
  text-align: center;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  /* Repris explicitement : les pages hôtes définissent encore un sélecteur
     `footer { ... }` dont ces trois propriétés seraient sinon héritées. */
  color: #475569;
  font-size: 14px;
  font-weight: 400;
}

.lmp-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.lmp-footer-nav,
.lmp-footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.lmp-footer-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: #0F172A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lmp-footer-legal a,
.lmp-cookie-reopen {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lmp-footer-nav a:hover,
.lmp-footer-legal a:hover,
.lmp-cookie-reopen:hover {
  color: #047857;
  text-decoration: underline;
}

.lmp-footer-nav a:focus-visible,
.lmp-footer-legal a:focus-visible,
.lmp-cookie-reopen:focus-visible,
.lmp-footer-copy a:focus-visible {
  outline: 2px solid #047857;
  outline-offset: 3px;
  border-radius: 3px;
}

/* Révélé par includes/cookie-banner.php uniquement si la bannière est sur la page. */
.lmp-cookie-reopen {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.lmp-footer-copy {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
}

.lmp-footer-copy a {
  color: #047857;
  font-weight: 600;
  text-decoration: none;
}

.lmp-footer-copy a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .lmp-footer { padding: 36px 20px 30px; }
  .lmp-footer-nav { gap: 10px 16px; }
  .lmp-footer-nav a { font-size: 14px; }
  .lmp-footer-legal { gap: 8px 14px; }
}
