/* ============================================================
   css/footer.css - PIED DE PAGE
   ============================================================ */

.site-footer {
    background-color: var(--primary-blue); /* Ton bleu principal */
    color: #ffffff;
    padding-top: 60px;
    margin-top: auto; /* Colle le footer en bas si la page est courte */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    /* 4 colonnes sur desktop */
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 40px;
}

/* --- Typographie des colonnes --- */
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 5px; /* Petit effet de décalage au survol */
    text-decoration: none;
}

/* --- Colonne Identité (Marque) --- */
.footer-brand .footer-logo {
    display: block;
    font-weight: 800;
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

/* --- Colonne Réseaux Sociaux --- */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    background-color: #ffffff;
    color: var(--primary-blue);
    border-color: #ffffff;
    padding-left: 12px; /* Annule l'effet de décalage du lien standard */
}

.footer-mail {
    font-weight: 700 !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}

/* --- Barre Copyright (Bas) --- */
.footer-bottom {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   RESPONSIVE (Mobile)
   ========================================= */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto; /* Centre le texte de bio */
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}