/* ==========================================
   FOOTER - VERSION FINALE 2026
   ========================================== */

.footer {
    background-color: var(--background-dark, #1a1a1a);
    color: white;
    padding: 2rem 1.5rem 1rem;
    font-family: sans-serif;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Bloc des liens légaux */
.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Augmente le gap pour que les liens ne se collent pas sans les barres */
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Style des liens (réutilisation de ta logique) */
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: white;
}

/* Petit effet de barre sous les liens au hover */
.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-light, #e63946);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Séparateur vertical | */
.footer-separator {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    user-select: none; /* Empêche de sélectionner la barre au clic */
}

/* Note de bas de page */
.footer-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 1rem;
}

/* ==========================================
   RESPONSIVE (MOBILE)
   ========================================== */

@media (max-width: 768px) {
    .footer-legal-links {
        flex-direction: column; /* On empile sur mobile */
        gap: 0.75rem;
    }

    .footer-separator {
        display: none; /* On cache les barres verticales sur mobile */
    }

    .footer-copyright {
        font-size: 0.9rem;
    }
}

/* Accessibilité Focus */
.footer-link:focus {
    outline: 2px solid var(--primary-light, #e63946);
    outline-offset: 4px;
    border-radius: 2px;
}