/* Boulevard — rodapé e navegação legal, 07/11/2026.
 * Isolated from the shared theme styles. The footer tag raises specificity
 * above the legacy .home rules without affecting the header or curation menu.
 * Existing footer/sponsor outer margins remain controlled by the theme.
 */
footer.site-footer {
    padding: 0;
    background: #b68d4a;
    color: #fff;
    font-family: 'Raleway', sans-serif;
}

footer.site-footer a { color: inherit; text-decoration: none; }
footer.site-footer a:hover,
footer.site-footer a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

footer.site-footer .site-footer__grid {
    display: grid;
    width: min(100% - 48px, var(--container, 1200px));
    margin-inline: auto;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
    grid-template-areas: 'brand brand brand' 'navigation legal contact';
    gap: 32px;
    padding-block: 32px 56px;
}

footer.site-footer .site-footer__brand,
footer.site-footer .site-footer__contact,
footer.site-footer .site-footer__legal,
footer.site-footer .footer-nav {
    min-width: 0;
    overflow-wrap: anywhere;
}

footer.site-footer .site-footer__brand {
    grid-area: brand;
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgb(255 255 255 / 35%);
}

footer.site-footer .footer-nav { grid-area: navigation; }
footer.site-footer .site-footer__legal { grid-area: legal; }
footer.site-footer .site-footer__contact { grid-area: contact; }

footer.site-footer .site-footer__legal,
footer.site-footer .site-footer__contact {
    border-left: 1px solid rgb(255 255 255 / 35%);
    padding-left: 32px;
}

footer.site-footer .site-footer__logo-link { display: inline-block; }
footer.site-footer .site-footer__logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    object-position: left center;
}

footer.site-footer .site-footer__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.3;
}

footer.site-footer .site-footer__contact p { margin: 0 0 10px; }
footer.site-footer .site-footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

footer.site-footer .site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer.site-footer .site-footer__social img {
    display: block;
    width: 24px;
    height: 22px;
    object-fit: contain;
}

footer.site-footer .footer-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    align-items: start;
}

footer.site-footer .footer-nav__list li { margin: 0; }
footer.site-footer .footer-nav__list a { display: inline-block; padding-block: 5px; }
footer.site-footer .footer-nav__group summary {
    cursor: pointer;
    padding-block: 5px;
    line-height: 1.5;
}

footer.site-footer .footer-nav__group summary:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

footer.site-footer a:focus-visible,
footer.site-footer .footer-nav__group summary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

footer.site-footer .footer-nav__group .sub-menu {
    margin: 6px 0 10px;
    padding: 0 0 0 12px;
    border-left: 1px solid rgb(255 255 255 / 35%);
    list-style: none;
}

footer.site-footer .footer-nav__overview { margin-top: 4px; font-weight: 600; }
footer.site-footer .site-footer__legal-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

footer.site-footer .site-footer__legal-list li + li { margin-top: 6px; }
footer.site-footer .site-footer__legal-list a { display: inline-block; padding-block: 5px; }
footer.site-footer .footer-nav__list a,
footer.site-footer .footer-nav__group summary,
footer.site-footer .site-footer__legal-list a { max-width: 100%; }

footer.site-footer .site-footer__copyright {
    padding: 16px;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.8;
}

@media (max-width: 800px) {
    footer.site-footer .site-footer__grid {
        width: min(100% - 32px, var(--container, 1200px));
        grid-template-columns: 1fr;
        grid-template-areas: 'brand' 'navigation' 'legal' 'contact';
        gap: 32px;
        padding-block: 40px;
    }
    footer.site-footer .site-footer__legal,
    footer.site-footer .site-footer__contact { border-left: 0; padding-left: 0; }
    footer.site-footer .site-footer__logo { height: 72px; }
}

@media (max-width: 480px) {
    footer.site-footer .footer-nav__list { grid-template-columns: 1fr; }
}
