/* ===== Footer épuré ===== */
.footer {
    padding: 5em 0;
    background-color: #C9A974;
    font-family: Arial, sans-serif;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-menu ul li {
    display: inline-block;
    margin: 0.3em 1em; /* espace horizontal entre les liens */
}

.footer-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

.footer-menu ul li a:hover {
    color: #000; /* effet au survol */
}

.footer-top2 {
    padding: 2em 0 0;
    border-top: 1px solid #DCC092;
    text-align: center;
}

.footer-top2 p {
    color: #fff;
    font-size: 0.9em;
    margin: 0;
}

/* ===== Bouton ToTop ===== */
#toTop {
    display: none; /* sera activé par JS */
    position: fixed;
    bottom: 25px;
    right: 10px;
    width: 52px;
    height: 52px;
    background: url('../images/up.png') no-repeat center center;
    background-size: contain;
    border: none;
    text-indent: 100%;
    cursor: pointer;
    z-index: 9999;
}

#toTop:hover {
    opacity: 0.8;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
    .footer-menu ul li {
        display: block;
        margin: 0.5em 0;
    }
}
/* ===== To Top discret ===== */
#toTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background-color: #C9A974;
    color: #fff;
    font-size: 1.5em;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    display: none; /* caché par défaut */
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background 0.3s;
}

#toTop:hover {
    background-color: #a58b57;
}

/* Afficher le bouton quand l'utilisateur a scrollé */
body.scrolled #toTop {
    display: block;
}

/* Responsive */
@media screen and (max-width: 768px) {
    #toTop {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1.2em;
        bottom: 15px;
        right: 15px;
    }
}