/* ── SITE FOOTER ──────────────────────────────────────────────── */

.site-footer {
    background-color: var(--text-dark);
    color: var(--bg-color);
    padding: 56px 0 0;
    margin-top: 80px;
    font-family: var(--font-text);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

/* Colonne brand */
.footer-brand .footer-logo-img {
    height: 2.2rem;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--border-color);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 200px;
    margin: 0;
}

/* Colonnes de liens */
.footer-col__title {
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 16px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--border-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--bg-color);
}

/* Réseaux sociaux */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-color);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.footer-social:hover {
    background: var(--primary-color);
}

/* Séparateur */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Barre de bas de footer */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    color: var(--border-color);
    font-size: 0.8rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--border-color);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--bg-color);
}

/* Responsive */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer {
        margin-top: 48px;
    }
}

/* ── COOKIE BANNER ────────────────────────────────────────────── */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 20px;
    max-width: 300px;
    box-shadow: 0 4px 24px rgba(62, 39, 35, 0.15);
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: cookie-slide-in 0.3s ease;
}

@keyframes cookie-slide-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cookie-banner--out {
    animation: cookie-slide-out 0.35s ease forwards;
}

@keyframes cookie-slide-out {
    to { opacity: 0; transform: translateY(12px); }
}

.cookie-banner__text {
    font-family: var(--font-text);
    font-size: 0.82rem;
    color: var(--text-dark);
    line-height: 1.55;
    margin: 0;
}

.cookie-banner__btn {
    align-self: flex-start;
    padding: 8px 22px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-family: var(--font-text);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-banner__btn:hover {
    background: var(--primary-hover);
}

@media (max-width: 400px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 12px;
    }
}
