/* =========================================
   FOOTER & COOKIES
   ========================================= */

.site-footer {
    background-color: #002c5e; /* Bleu foncé evOrg */
    color: #a3b8cc; 
    padding: 50px 20px 20px; /* Réduit (avant: 80px) */
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 30px auto; /* Marge basse réduite (avant: 60px) */
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr; 
    gap: 30px; /* Espace entre les colonnes réduit */
}

/* --- Colonne Marque (Logo) --- */
.brand-col .footer-logo {
    margin: 0 0 10px 0;
}

/* On force la taille du logo image pour éviter qu'il n'explose la hauteur */
.brand-col .footer-logo img {
    max-height: 40px; 
    width: auto;
    display: block;
}

.footer-desc {
    line-height: 1.5;
    margin-bottom: 15px; /* Réduit */
    font-size: 0.85rem; /* Légèrement plus petit */
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #4fa3d1; 
}

/* --- Titres des colonnes --- */
.footer-col h3 {
    font-family: var(--font-family);
    color: #ffffff;
    font-size: 1.15rem; /* Plus fin */
    margin-bottom: 15px; /* Réduit (avant: 25px) */
    position: relative;
    padding-bottom: 10px; /* Réduit */
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 2px;
    background-color: #2b6b8c; 
}

/* --- Liens --- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px; /* Liens plus resserrés (avant: 15px) */
}

.footer-links a {
    color: #a3b8cc;
    text-decoration: none;
    font-size: 0.9rem; /* Plus compact */
    transition: all 0.3s ease;
    display: inline-block; 
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px); 
}

/* --- Réseaux Sociaux --- */
.social-desc {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; /* Icône plus petite */
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: #2b6b8c;
    transform: translateY(-2px);
}

/* --- Bas du footer --- */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px; /* Espace réduit au-dessus de la ligne (avant: 30px) */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.8rem; /* Plus discret */
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #a3b8cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

/* --- Bandeau Cookies (Inchangé mais compact) --- */
.cookie-banner {
    position: fixed;
    bottom: 30px; 
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 15px 25px; /* Rendu un poil plus fin */
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
}

.cookie-banner a {
    color: #2b6b8c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-banner a:hover {
    color: #1e4e66;
    text-decoration: underline;
}

.btn-cookie {
    background-color: #002c5e;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; 
}

.btn-cookie:hover {
    background-color: #2b6b8c;
    transform: translateY(-2px);
}

/* --- Réactivité Mobile et Tablette --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 0; 
        width: 100%;
        border-radius: 0;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr; 
        gap: 35px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}