/* Footer Global */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* Sections du footer */
.footer-section {
    flex: 1 1 200px;
    min-width: 220px;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #f0c040;
}

.footer-section p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f0c040;
}

/* Icônes de contact */
.footer-section.contact i {
    margin-right: 8px;
}

/* Réseaux sociaux */
.footer-section.social a {
    display: inline-block;
    margin-right: 15px;
    color: #ddd;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section.social a:hover {
    color: #f0c040;
    transform: scale(1.1);
}

/* Bas du footer */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 15px;
    margin-top: 20px;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #f0c040;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}
/* Bouton Retour en Haut */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Caché au départ */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}
