/* ============================
   🌟 FOOTER MODERNE ET SIMPLE ASSEMA
   ============================ */

/* ============================ FOOTER PRINCIPAL ============================ */
.modern-footer {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    color: white;
    position: relative;
    margin-top: auto;
    padding: 3rem 0 1.5rem 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    /* Assurer que tout le footer soit vert */
    overflow: hidden;
}

/* Contenu principal du footer */
.footer-content {
    position: relative;
    z-index: 2;
    background: transparent;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    background: transparent;
}

/* ============================ SECTION BRAND ============================ */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: transparent;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
}

.footer-logo {
    height: 45px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    background: transparent;
}

.footer-brand-text {
    background: transparent;
}

.footer-brand-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin: 0;
    background: transparent;
}

.footer-brand-subtitle {
    font-size: 0.9rem;
    color: #FFB74D;
    font-weight: 500;
    margin: 0;
    background: transparent;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 350px;
    background: transparent;
}

/* ============================ SECTIONS DE LIENS ============================ */
.footer-links {
    background: transparent;
}

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

/* Liens rapides */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: transparent;
}

.footer-links-list li {
    background: transparent;
}

.footer-links-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-radius: 4px;
    background: transparent;
}

.footer-links-list li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
}

/* ============================ SECTION CONTACT ============================ */
.footer-contact {
    background: transparent;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: transparent;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.contact-item i {
    color: #FFB74D;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    background: transparent;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    background: transparent;
}

.contact-item:hover {
    transform: translateX(3px);
}

/* ============================ SECTION INFÉRIEURE ============================ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    background: transparent;
}

.footer-copyright {
    background: transparent;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    background: transparent;
}

/* ============================ BOUTON RETOUR EN HAUT ============================ */
#backToTop,
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 45px !important;
    height: 45px !important;
    background: #9E9E9E !important;
    border: none !important;
    border-radius: 50% !important;
    color: #212121 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    opacity: 1 !important;
}

.back-to-top:hover {
    transform: translateY(-3px) !important;
    background: #757575 !important;
    box-shadow: none !important;
}

/* ============================ RESPONSIVE DESIGN ============================ */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        padding: 2rem 0 1rem 0;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-brand-title {
        font-size: 1.4rem;
    }
    
    .footer-section-title {
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

/* ============================ COMPATIBILITÉ AVEC LES STYLES EXISTANTS ============================ */
.modern-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    background: transparent;
}

/* ============================ ÉLIMINATION DES FONDS BLANCS ============================ */
.modern-footer * {
    background: transparent !important;
}

.modern-footer .container,
.modern-footer .footer-content,
.modern-footer .footer-main,
.modern-footer .footer-brand,
.modern-footer .footer-links,
.modern-footer .footer-contact,
.modern-footer .footer-bottom {
    background: transparent !important;
}

/* Assurer que le fond vert couvre tout */
.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    z-index: 1;
}

.modern-footer .footer-content {
    position: relative;
    z-index: 2;
}
