/* === FOOTER FIXE === */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #4FBEFF 5%, white 95%);
    padding: 1em;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

footer p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    font-size: clamp(0.6em, 2vw, 0.8em);
    color: black;
    font-family: "Times New Roman", serif;
    margin: 0;
    word-wrap: break-word;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: black;
}

/* === VERSION MOBILE / PETITS ÉCRANS === */
@media (max-width: 600px), (max-height: 500px) {
    footer {
        position: relative;
        padding: 0.6em 0.4em;
    }

    footer p {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.3em;
        line-height: 1.3;
        justify-content: center;
    }

    .footer-separator {
        display: none;
    }

    footer a {
        font-size: 0.9em;
        display: inline;
    }
}
