/* --- Footer style restauration fidèle à la capture --- */
footer {
    background: #4B7F52 !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    font-family: 'Arial', sans-serif;
    border: none !important;
    font-size: 15px;
}

.footer-main {
    width: 100%;
}

.footer-sections {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 1150px;
    margin-left: 0;
    margin-right: auto;
    padding-left: 120px;
    padding-right: 0;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section:first-child {
    min-width: 260px;
    flex: 1.5;
}

.footer-section {
    flex: 1 1 160px;
    min-width: 160px;
    text-align: left;
}

.footer-section h3 {
    font-weight: bold;
    font-size: 1.08rem;
    margin-bottom: 10px;
    margin-top: 0;
    color: #fff;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #fff;
    margin-top: 6px;
    margin-bottom: 14px;
    transition: width 0.3s cubic-bezier(.4,1.7,.6,1);
}

.footer-section ul, .footer-section p {
    color: #fff;
    font-size: 0.98rem;
    margin: 0 0 10px 0;
    padding: 0;
    list-style: none !important;
}

.footer-section ul, .footer-section ul li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.footer-section ul li:before {
    content: none !important;
    display: none !important;
}

.footer-section ul li {
    margin-bottom: 8px;
    padding-left: 0 !important;
}

.footer-section a {
    color: #fff !important;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(.4,1.7,.6,1), color 0.2s;
    display: inline-block;
    position: relative;
}

.footer-section a:hover {
    transform: translateX(8px);
    color: #e0ffe0;
}

/* Animation du trait sous le titre au hover d'un lien */
.footer-section ul li a:hover ~ h3::after,
.footer-section a:focus ~ h3::after {
    width: 80px;
}

/* Version JS-free : on étend le trait quand on hover la colonne */
.footer-section:hover h3::after {
    width: 80px;
}

.footer-bottom {
    text-align: center;
    color: #fff;
    padding: 12px 0 8px 0;
    font-size: 0.95rem;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    letter-spacing: 0.2px;
    max-width: 400px;
}

@media (max-width: 900px) {
    .footer-sections {
        flex-direction: column;
        gap: 20px;
        padding: 0 8px;
        max-width: 100%;
    }
    .footer-section {
        min-width: 0;
    }
} 