/* monswim · Footer global
 * Chargé via frame_view.php avant theme.css.
 */

.site-footer {
    background: var(--primary);
    color: var(--color-text-on-dark);
    font-family: var(--font-monswim);
}

body.ev-context .site-footer {
    display: none;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-5) var(--space-5);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: space-between;
}

.site-footer__brand {
    flex: 1 1 240px;
    min-width: 200px;
}

.site-footer__logo img {
    display: block;
    height: 44px;
    width: auto;
}

.site-footer__tagline {
    margin: var(--space-2) 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    max-width: 28ch;
}

.site-footer__col {
    flex: 0 1 auto;
}

.site-footer__heading {
    margin: 0 0 var(--space-3);
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
    color: var(--tertiary);
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: var(--tertiary);
}

.site-footer__bottom p {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-5);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
    .site-footer__inner {
        gap: var(--space-5) var(--space-6);
        padding: var(--space-5) var(--space-4);
    }

    .site-footer__brand {
        flex: 1 1 100%;
        text-align: center;
    }

    .site-footer__logo img {
        margin: 0 auto;
    }

    .site-footer__tagline {
        max-width: none;
    }

    .site-footer__bottom p {
        padding: var(--space-4);
    }
}
