/* =========================================
   FOOTER & COOKIES
   ========================================= */

.site-footer {
    background-color: var(--primary-color); /* Bleu foncé evOrg */
    color: #fff;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Petit trait bleu clair sous les titres du footer */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color); 
}

.footer-col p {
    color: #ccc;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px; /* Petit effet de glissement sympa au survol */
}

/* Icônes réseaux sociaux */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%; /* Rond parfait */
    margin-right: 10px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

/* Bas du footer (Copyright) */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Ligne séparatrice très discrète */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #aaa;
    font-size: 0.9rem;
}

.legal-links a {
    color: #aaa;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #fff;
}

/* --- Bandeau Cookies --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(0, 51, 102, 0.95); /* Bleu foncé evOrg avec légère transparence */
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}

.cookie-banner p {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

/* Bouton J'accepte */
.btn-cookie {
    background-color: var(--secondary-color); /* Bleu moyen */
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.btn-cookie:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* --- Réactivité du footer --- */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .legal-links a {
        margin: 0 10px;
    }
}