footer {
    background-color: var(--color-03);
    margin-top: 5rem;
}

.footer-section {
    display: flex;
    flex-wrap: wrap; /* Crucial pour le responsive */
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem 10%;
    gap: 3rem; /* Espace entre les blocs */
    color: var(--color-01);
}

.infoName-footer {
    flex: 1 1 300px; /* Prend de la place mais peut rétrécir */
}

.h1-footer {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
}

#lastName-footer { /* Ajoute cet ID dans ton HTML sur le span du nom dans le footer */
    padding-left: 0 !important; /* On force le retrait du décalage dans le footer */
}

.pages-footer, .contact-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
}

.h3-footer {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-link, .contact-link {
    text-decoration: none;
    color: var(--color-01);
    font-size: 0.9rem;
    transition: 0.3s opacity;
}

.footer-link:hover, .contact-link:hover {
    opacity: 0.6;
}

/* Adaptations spécifiques au footer pour mobile */
@media (max-width: 850px) {
    .footer-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .pages-footer, .contact-footer {
        align-items: center;
    }
}