/* =========================
   BASE DO LAYOUT - APENAS estrutura do site - body, header, footer, container, main
   ========================= */

/* 
    Created  : 04/09/2022, 18:45:27
    Revisado : 27/01/2026, 18:45:27
    Author     : Fernando Diniz
*/




html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

/* Área principal */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* =========================
   HEADER
   ========================= */

header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

header.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.texto-cabecalho {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* =========================
   CONTEÚDO
   ========================= */

.container {
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex: 1;
}

/* =========================
   FOOTER
   ========================= */

footer.footer {
    min-height: 60px;
    background-color: #fff;
    border-top: 1px solid #dee2e6;

    display: flex;
    align-items: center;
    flex-shrink: 0;

    color: #869099;
    font-size:  1.05rem;   /* 0.875rem; */
}

.footer-content {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;

    display: flex;
    align-items: center;
    justify-content: center; /* CENTRO REAL */
}

.footer-center {
    text-align: center;
    line-height: 1.4;
}

/* bloco da versão */
.footer-right {
    position: absolute;
    right: 1rem;
    white-space: nowrap;
}


footer p {
    margin: 0;
    padding:1px
}

/* =========================
   RESPONSIVO BÁSICO
   ========================= */

@media (max-width: 768px) {
    header.navbar {
        padding: 0.8rem 0;
    }
}


/* Evita que o padding lateral empurre seu header sticky ou footer */
html.swal2-shown, body.swal2-shown {
    padding-right: 0px !important;
}

