
/* ================================================
   PSS 2026 - RODAPÉ INSTITUCIONAL
   PREFEITURA MUNICIPAL DE NOSSA SENHORA DO SOCORRO
   SEMED / DTIC
   ================================================ */

/* ESTRUTURA GERAL DA PÁGINA */

body.pss-layout {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
    margin: 0;

    background-color: #f7f9fc;
}

/* RODAPÉ */

.footer-institucional {
    --footer-bg: #4367b3;
    --footer-text: #ffffff;
    --footer-muted: #f0f5ff;
    --footer-border: rgba(255, 255, 255, 0.25);

    width: 100%;
    height: auto;
    min-height: 0;

    margin-top: auto;
    padding: 38px 24px 20px;

    background-color: var(--footer-bg);

    border-top: 3px solid rgba(255, 255, 255, 0.18);

    color: var(--footer-text);

    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.footer-institucional,
.footer-institucional * {
    box-sizing: border-box;
}

/* CONTAINER */

.footer-institucional__container {
    width: 100%;
    max-width: 1140px;

    margin: 0 auto;
}

/* CONTEÚDO PRINCIPAL */

.footer-institucional__main {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: start;
    gap: 50px;

    padding-bottom: 30px;
}

/* IDENTIDADE INSTITUCIONAL */

.footer-institucional__identity h2 {
    max-width: 480px;

    margin: 0 0 12px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.5;
}

.footer-institucional__identity p {
    margin: 0 0 7px;

    color: var(--footer-muted);

    font-size: 13px;
    line-height: 1.7;
}

.footer-institucional__identity strong {
    color: #ffffff;
    font-weight: 700;
}

.footer-institucional__description {
    margin-top: 12px !important;

    font-size: 12px !important;

    color: #d3e0f7 !important;
}

/* CONTATO */

.footer-institucional__contact h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.5;
}

.footer-institucional__contact-item {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 14px;

    color: var(--footer-muted);
}

.footer-institucional__contact-item svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    margin-top: 2px;

    color: #b9d1ff;
}

.footer-institucional__contact-item address {
    margin: 0;

    font-size: 13px;
    font-style: normal;

    line-height: 1.7;

    color: var(--footer-text);
}

.footer-institucional__contact-item address span {
    display: block;
}

.footer-institucional__contact-item a {
    color: #ffffff;

    font-size: 13px;
    line-height: 1.6;

    text-decoration: none;
    overflow-wrap: anywhere;

    transition: color 0.2s ease;
}

.footer-institucional__contact-item a:hover {
    color: #c1d6ff;

    text-decoration: underline;
}

.footer-institucional__contact-item a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;

    border-radius: 3px;
}

/* BARRA INFERIOR */

.footer-institucional__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;
    gap: 12px 25px;

    padding-top: 19px;

    border-top: 1px solid var(--footer-border);
}

.footer-institucional__bottom p {
    margin: 0;

    color: var(--footer-muted);

    font-size: 12px;
    font-weight: 400;

    line-height: 1.7;
}

.footer-institucional__bottom strong {
    color: #ffffff;
    font-weight: 600;
}

/* TABLETS */

@media (max-width: 800px) {

    .footer-institucional {
        padding: 32px 22px 20px;
    }

    .footer-institucional__main {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .footer-institucional__bottom {
        align-items: flex-start;
    }

}

/* CELULARES */

@media (max-width: 480px) {

    .footer-institucional {
        padding: 30px 20px 22px;
    }

    .footer-institucional__identity h2 {
        font-size: 16px;
    }

    .footer-institucional__contact h2 {
        font-size: 15px;
    }

    .footer-institucional__contact-item {
        gap: 10px;
    }

    .footer-institucional__bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 7px;
    }

    .footer-institucional__bottom p {
        font-size: 11px;
    }

}

/* IMPRESSÃO DE COMPROVANTES */

@media print {

    .footer-institucional {
        display: none !important;
    }

}

/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {

    .footer-institucional__contact-item a {
        transition: none;
    }

}
