/* ================================================================= */
/* ===== FOOTER.CSS - Modern Mountain Theme (2025) ===== */
/* ================================================================= */

:root {
    /* Palette Indigo/Slate (Alignée avec le reste du site) */
    --footer-primary: #4f46e5;       /* Indigo 600 */
    --footer-primary-hover: #4338ca; /* Indigo 700 */
    --footer-bg: #f8fafc;            /* Slate 50 (Fond très clair) */
    --footer-text: #0f172a;          /* Slate 900 */
    --footer-text-muted: #64748b;    /* Slate 500 */
    --footer-border: #e2e8f0;        /* Slate 200 */
    
    --font-main: 'Outfit', sans-serif;
    --radius-lg: 16px;
}

/* --- Base Footer --- */
.site-footer {
    background-color: var(--footer-bg);
    padding: 4rem 0 3rem;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text-muted);
    font-family: var(--font-main);
    margin-top: auto; /* Pousse le footer en bas si peu de contenu */
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: start;
}

/* --- Colonne About --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--footer-text);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 0.8; }

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--footer-text-muted);
    max-width: 300px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--footer-text-muted);
    opacity: 0.8;
    margin-top: 1rem;
}

/* --- Colonne Nav --- */
.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--footer-text);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    text-decoration: none;
    color: var(--footer-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--footer-primary);
    transform: translateX(4px); /* Petit effet de mouvement */
}

/* --- Colonne Social --- */
.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: white;
    border: 1px solid var(--footer-border);
    border-radius: 12px; /* Arrondi moderne */
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--footer-primary);
    border-color: var(--footer-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.social-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: filter 0.2s;
}

/* Inverser la couleur de l'icône au survol pour le contraste */
.social-link:hover img {
    filter: brightness(0) invert(1);
}

.emoji-icon {
    font-size: 1.4rem;
    line-height: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-about .footer-logo,
    .footer-social .social-links {
        justify-content: center;
    }
    
    .footer-desc {
        margin: 0 auto 1.5rem;
    }
}
