/*
Theme Name: Inove OpenBus
Theme URI: https://openbus.app.br/
Author: VBU Tecnologia
Description: Tema operacional da Inove para fretamento, gestão de frota e manutenções corretivas e preventivas, sem remover dados na atualização.
Version: 1.0.59
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: inove-openbus
*/

:root {
    --ob-azul: #0C1A10;
    --ob-amarelo: #51A91F;
    --ob-fundo: #F2FAF2;
    --ob-texto: #1E2219;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
    margin: 0;
    background: var(--ob-fundo);
    color: var(--ob-texto);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; }
.ob-site-main { min-height: 100vh; }
.ob-theme-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0; }
.ob-theme-card { padding: 28px; border: 1px solid #DCE5EF; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px rgba(15, 41, 68, .08); }
.ob-theme-card + .ob-theme-card { margin-top: 20px; }
.ob-theme-card h1, .ob-theme-card h2 { margin-top: 0; }
@media (max-width: 700px) {
    .ob-theme-shell { width: min(100% - 20px, 1180px); padding: 18px 0; }
    .ob-theme-card { padding: 20px; border-radius: 14px; }
}

/* ========================================================================== 
   Barra institucional VBU — rodapé real
   ========================================================================== */
:root { --ob-vbu-footer-height: 66px; }

/* Mantém o rodapé naturalmente na região inferior em páginas curtas. */
.ob-site-main { min-height: calc(100vh - var(--ob-vbu-footer-height)); }

.ob-vbu-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border-top: 1px solid #e4e9e5;
    box-shadow: 0 -3px 14px rgba(20, 35, 26, .035);
    clear: both;
    z-index: auto;
}

.ob-vbu-footer-inner {
    width: min(100% - 32px, 1180px);
    min-height: var(--ob-vbu-footer-height);
    margin: 0 auto;
    padding: 7px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.ob-vbu-footer-logo {
    display: block;
    width: 78px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
}

.ob-vbu-footer-copy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #39443d;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .005em;
}

.ob-vbu-footer-copy a {
    color: #1f6539;
    font-weight: 800;
    text-decoration: none;
    transition: color .16s ease, text-decoration-color .16s ease;
}

.ob-vbu-footer-copy a:hover,
.ob-vbu-footer-copy a:focus-visible {
    color: #124c29;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 520px) {
    :root { --ob-vbu-footer-height: 60px; }
    .ob-vbu-footer-inner {
        width: calc(100% - 20px);
        gap: 10px;
        padding: 6px 0;
    }
    .ob-vbu-footer-logo {
        width: 66px;
        max-height: 45px;
    }
    .ob-vbu-footer-copy {
        font-size: 11.5px;
    }
}

@media print {
    .ob-vbu-footer { display: none !important; }
}
