/* Style général du footer */
.footer {
    position: relative; 
    text-align: left; 
    bottom: 0;
    z-index: 2;
    border-top: 2px solid black;
    border-bottom: 0px;
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    display: flex;
    gap: 10px;
    background-color: white;
}
.footer-link, .footer-backtotop, .footer-nav ul {
    border: 2px solid black;
    padding: 4px;
}


/* Style pour Back to Top */
.footer-backtotop {
    cursor: pointer;
    text-align: center;
    font-size: 1em;
    line-height: 1.5;
    border: 2px solid black;
    transition: transform 0.3s ease, color 0.3s ease;
}

@media (hover: hover) { .footer-backtotop:hover {
    transform: translateY(-5px);
    color: #333;
} }

/* Flèche */
.footer-backtotop::before {
    content: "↑";
    display: block;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Lien du footer */
.footer a {
    text-decoration: none;
    font-size: 1em;
    color: black;
}

@media (hover: hover) { .footer a:hover {
    text-decoration: underline;
} }

/* Menu de navigation */
.footer-nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    gap: 10px;
    text-align: center;
}

/* Layout Desktop (+1000px) */
@media (min-width: 600px) {
    .footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .footer-nav ul {
        flex-direction: row;
    }
}

/* Layout Mobile (-1000px) */
@media (max-width: 600px) {
    .footer {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        align-items: center;
        gap: 15px;
        padding: 5px;
    }
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}
