/* ============================================================
   ---- Footer (Correction définitive de la police) ----
   ============================================================ */

/* Import de Poppins au cas où elle n'est pas chargée */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap');

.footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between; /* Aligne le texte à gauche et les icônes à droite */
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* On cible spécifiquement la balise p à l'intérieur du footer pour tuer l'Instine Sans */
.footer .footer__container p.footer__copy {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.1rem; /* Plus grand */
    font-weight: 500;  /* Plus épais pour ne plus être trop fin */
    color: rgba(255, 255, 255, 0.85); /* Visible sur fond sombre */
}

/* Style des Icônes */
.footer__socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer__socials a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem; /* Icônes plus grandes */
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
}

.footer__socials a:hover {
    transform: translateY(-2px);
}
.footer__socials a[aria-label="Facebook"]:hover { color: #1877f2; }
.footer__socials a[aria-label="Instagram"]:hover { color: #e1306c; }


/* ---- Pages fond clair ---- */
body.page-light {
    background-color: #f0f6f8;
    color: #3a4a5a;
    padding-top: var(--nav-height, 88px);
}

body.page-light .footer {
    border-top-color: rgba(26, 46, 74, 0.10);
}

/* Correction de la couleur sur fond clair */
body.page-light .footer .footer__container p.footer__copy {
    color: #1a2e4a !important; /* Couleur foncée très lisible */
}

body.page-light .footer__socials a {
    color: #1a2e4a; /* Icônes sombres sur fond clair */
}


/* ---- Version Mobile ---- */
@media (max-width: 650px) {
    .footer__container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}