footer {
    background: linear-gradient(135deg, var(--primary), #095f75);
    /* Dégradé bleu foncé */
    color: var(--accent);
    padding: 3rem 1rem 2rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--highlight), transparent);
    /* Bande orange en haut */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Séparateur discret */
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    /* Blanc légèrement transparent */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.3rem;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--highlight);
    /* Soulignement orange */
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-links a:hover::after {
    width: 100%;
    /* Soulignement complet au survol */
}

.social-media {
    margin-top: 1.5rem;
    text-align: center;
}

.social-media a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-media a:hover {
    color: var(--highlight);
    /* Orange au survol */
    transform: translateY(-3px) scale(1.1);
}

.footer-copyright {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animation subtile pour les icônes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.social-media a {
    animation: float 3s ease-in-out infinite;
}

.social-media a:nth-child(1) {
    animation-delay: 0.2s;
}

.social-media a:nth-child(2) {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-media a {
        margin: 0 0.7rem;
        font-size: 1.3rem;
    }
}