/* =========================
   FOOTER MODERN SAAS
   ========================= */

/* --- MAIN FOOTER --- */
.site-footer {
    background-color: #0F172A; /* Slate 900 */
    color: #F1F5F9;
    padding-top: 72px;
    padding-bottom: 40px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    z-index: 10;
}

.site-footer .container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Colonnes inégales pour l'équilibre */
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
}

/* Col 1 : Marque */
.brand-col {
    padding-right: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    /* Si ton logo n'est pas blanc, on force le blanc avec un filtre */
    /* filter: brightness(0) invert(1); */ 
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94A3B8; /* Slate 400 */
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F1F5F9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary, #2563EB);
    transform: translateY(-2px);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Titres Colonnes */
.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Liens */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px; /* Petit effet de glissement */
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
    color: #94A3B8;
    font-size: 0.95rem;
}

.contact-list span.material-symbols-rounded {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px; /* Alignement optique */
}

.contact-list a {
    color: #F1F5F9;
    text-decoration: none;
    font-weight: 500;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* --- 3. BOTTOM FOOTER --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748B;
}

.legal-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.legal-links a,
.cookie-settings-trigger {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.legal-links a:hover,
.cookie-settings-trigger:hover {
    color: #94A3B8;
}

.legal-links .disabled-text {
    color: #64748B;
    cursor: default;
}

.separator {
    font-size: 0.6rem;
    opacity: 0.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2x2 */
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 colonne */
        text-align: center;
    }
    
    .brand-col { padding-right: 0; }
    
    .social-links { justify-content: center; }
    
    .contact-list li {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .site-footer {
        padding-top: 48px;
    }
}
