/* ==========================================
   FOOTER (css/footer.css)
   ========================================== */

:root {
    /* --- COULEURS DU FOOTER --- */
    --footer-bg: #1f2937;                /* Fond principal du footer */
    --footer-bottom-bg: #111827;         /* Fond du bas de page (copyright) */
    
    /* --- COULEURS DE TEXTE ET TITRES --- */
    --footer-titles: #ffffff;            /* Couleur des titres H3 et H4 */
    --footer-text: #9ca3af;              /* Couleur des textes descriptifs et copyright */
    
    /* --- COULEURS DES LIENS --- */
    --footer-link-color: #ffffff;        /* Couleur initiale des liens */
    --footer-link-hover: #f6b83b;        /* Couleur des liens au SURVOL */
    
    /* --- BORDURES --- */
    --footer-border-top: #e5e7eb;        /* Bordure supérieure du footer */
    --footer-border-bottom: #374151;     /* Séparateur au-dessus du copyright */
}

.main-footer {
    background-color: var(--footer-bg);
    color: #f3f4f6;
    padding-top: 3rem;
    margin-top: auto;
    border-top: 1px solid var(--footer-border-top);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand h3 {
    color: var(--footer-titles);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: var(--footer-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--footer-titles);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

/* Liens du footer */
.main-footer .footer-links a,
.main-footer .footer-legal a {
    color: var(--footer-link-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

/* Survol des liens (Hover) */
.main-footer .footer-links a:hover,
.main-footer .footer-legal a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--footer-border-bottom);
    text-align: center;
    padding: 1.25rem 1.5rem;
    background-color: var(--footer-bottom-bg);
}

.footer-bottom p {
    color: var(--footer-text);
    font-size: 0.85rem;
    margin: 0;
}

/* Mobile & Tablettes */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}