/* Pied de page commun à toutes les pages du site (accueil, PFE, Carrières, Actualités, Mentions légales, profil…).
   Le même HTML est recopié dans chaque page, entre <!-- pied:debut --> et <!-- pied:fin -->.
   Feuille autonome : elle ne dépend d'aucune autre (les pages n'ont pas toutes les mêmes styles de base). */

.footer {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: #111827;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 64px 0 0;
    border: 0;
}
.footer *, .footer *::before, .footer *::after { box-sizing: border-box; margin: 0; padding: 0; }
.footer a { color: inherit; text-decoration: none; }
.footer ul { list-style: none; }
.footer img { max-width: 100%; height: auto; display: block; }
.footer .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .footer-logo-img { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
.footer .footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer .footer-certifications { display: flex; gap: 12px; flex-wrap: wrap; }
.footer .cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.15);
    color: #818CF8;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}
.footer .footer-links h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer .footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer .footer-links li { font-size: 16px; }
.footer .footer-links a { font-size: 14px; transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.footer .footer-links a:hover { color: #818CF8; }
/* « Espaces » : groupe Étudiant / Enseignant + liens des applications */
.footer .footer-apps-group { display: flex; flex-direction: column; gap: 6px; }
.footer .footer-apps-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}
.footer .footer-apps-group a { display: flex; align-items: center; gap: 8px; padding-left: 20px; font-size: 13px; }
.footer .footer-apps-title i, .footer .footer-apps-group a i { width: 14px; }
.footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 13px;
}
.footer .footer-bottom p { font-size: 13px; }
.footer .footer-bottom-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer .footer-bottom-links a:hover { color: #818CF8; }
.footer a:focus-visible { outline: 2px solid #818CF8; outline-offset: 2px; border-radius: 4px; }

@media (max-width: 1024px) {
    .footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer .footer-grid { grid-template-columns: 1fr; }
    .footer .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 540px) {
    .footer .container { padding: 0 16px; }
}
@media (max-width: 480px) {
    .footer .container { padding: 0 14px; }
    .footer .footer-grid { gap: 24px; }
}
@media print {
    .footer { display: none; }
}
