footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    background: #642d19;
    color: #f2e9ce;
    padding: 20px;
    overflow-x: hidden; /* ✅ Ajout pour bloquer les débordements */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* ✅ Correction */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 200px; /* ✅ Empêche l’écrasement sur petits écrans */
    margin: 10px;
    text-align: center;
    text-transform: uppercase;
}

.footer-column h3 {
    font-size: 1.2em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: #f2e9ce;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-column ul li a:hover {
    color: #a37a5a;
}

/* Réseaux sociaux */
.footer-socials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-socials a {
    color: #f2e9ce;
    font-size: 2.2rem;
    transition: color 0.3s ease-in-out;
}

.footer-socials a:hover {
    color: #a37a5a;
}

/* Footer bas */
.footer-bottom {
    width: 100%;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 10px;
    margin-top: auto;
}

/* ✅ Responsive mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}
