.public-footer {
    --pf-surface: var(--portal-surface, var(--s-surface, var(--p-surface, var(--staff-surface, #ffffff))));
    --pf-soft: var(--portal-bg, var(--s-soft, var(--p-soft, var(--staff-bg, #eef5fb))));
    --pf-text: var(--portal-text, var(--s-text, var(--p-text, var(--staff-text, #13253c))));
    --pf-muted: var(--portal-muted, var(--s-muted, var(--p-muted, var(--staff-muted, #5c6d82))));
    --pf-border: var(--portal-border, var(--s-border, var(--p-border, var(--staff-border, #d8e2ee))));
    --pf-blue: var(--portal-blue-strong, var(--s-blue-strong, var(--p-blue-strong, var(--staff-primary-dark, #164a91))));
    margin-top: auto;
    border-top: 1px solid var(--pf-border);
    color: var(--pf-muted);
    background: var(--pf-surface);
}

.public-footer .container {
    width: min(1150px, calc(100% - 32px));
    margin-inline: auto;
}

.public-footer__main {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(170px, .7fr) minmax(250px, .95fr);
    gap: clamp(28px, 5vw, 70px);
    padding-top: 42px;
    padding-bottom: 34px;
}

.public-footer__brand img {
    display: block;
    width: min(230px, 100%);
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
}

.public-footer__credits {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    color: var(--pf-muted);
    font-size: .72rem;
    line-height: 1.45;
}

.public-footer__credits a {
    color: var(--pf-blue) !important;
    font-weight: 800;
    text-decoration: none;
}

.public-footer__instagram {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    border: 1px solid var(--pf-border);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--pf-muted) !important;
    background: color-mix(in srgb, #d62976 6%, var(--pf-surface));
    font-size: .75rem;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.public-footer__instagram svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #d62976;
    stroke-width: 1.8;
}

.public-footer__instagram strong { color: var(--pf-text); }
.public-footer__instagram:hover,
.public-footer__instagram:focus-visible {
    color: var(--pf-text) !important;
    border-color: color-mix(in srgb, #d62976 48%, var(--pf-border));
    transform: translateY(-1px);
}

.public-footer__title {
    margin: 2px 0 15px;
    color: var(--pf-text) !important;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.public-footer__links {
    display: grid;
    gap: 10px;
}

.public-footer__links a,
.public-footer__privacy {
    width: fit-content;
    color: var(--pf-muted) !important;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.public-footer__links a:hover,
.public-footer__links a:focus-visible,
.public-footer__privacy:hover,
.public-footer__privacy:focus-visible {
    color: var(--pf-blue) !important;
    transform: translateX(2px);
}

.public-footer__links a[aria-current="page"] {
    color: var(--pf-blue) !important;
}

.public-footer__metric {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 2px 0;
}

.public-footer__metric-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #119b58;
    background: color-mix(in srgb, #119b58 10%, var(--pf-surface));
}

.public-footer__metric-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-footer__metric strong,
.public-footer__metric span {
    display: block;
}

.public-footer__metric strong {
    color: var(--pf-text) !important;
    font-size: .86rem;
    line-height: 1.15;
}

.public-footer__metric span {
    margin-top: 2px;
    color: var(--pf-muted) !important;
    font-size: .68rem;
}

.public-footer__lgpd {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 13px 0 0;
    color: var(--pf-muted) !important;
    font-size: .75rem;
    line-height: 1.5;
}

.public-footer__lgpd svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 1px;
    fill: none;
    stroke: #119b58;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-footer__privacy {
    display: inline-block;
    margin-top: 11px;
    color: var(--pf-blue) !important;
}

.public-footer__notice {
    border-top: 1px solid var(--pf-border);
    padding: 15px 0 18px;
    color: var(--pf-muted) !important;
    background: color-mix(in srgb, #ffb000 6%, var(--pf-surface));
    font-size: .76rem;
    line-height: 1.55;
    text-align: center;
}

.public-footer__notice strong {
    color: var(--pf-text) !important;
}

@media (max-width: 840px) {
    .public-footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .public-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .public-footer__main {
        grid-template-columns: 1fr;
        gap: 27px;
        padding-top: 34px;
    }

    .public-footer__brand {
        grid-column: auto;
    }

    .public-footer__notice {
        text-align: left;
    }

}
