/* ===================== FOOTER ===================== */
footer#footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding: var(--space-6) var(--space-4);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-section {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-brand {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

footer#footer ul {
    list-style: none;
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

footer#footer a {
    color: var(--text-subtle);
    font-size: 0.82rem;
    transition: color var(--t-fast);
}

footer#footer a:hover {
    color: var(--accent);
}

/* ===================== BOUTON RETOUR ===================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--t-fast);
}
.back-link:hover {
    background: var(--accent-bg);
    border-color: var(--accent);
    color: var(--accent) !important;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    footer#footer ul {
        justify-content: center;
    }
}
