body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #1c2b39;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

/* =========================
   ACESSIBILIDADE DO TOPO
========================= */

.btn-acessibilidade {
    background: transparent;
    border: 1px solid #143d79;
    color: #143d79;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 5px 9px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
}

.btn-acessibilidade:hover {
    background: #143d79;
    color: #ffffff;
}

.btn-acessibilidade.ativo,
.btn-contraste.ativo {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}


/* =========================
   ALTO CONTRASTE
========================= */

body.alto-contraste {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.alto-contraste .topo-site,
body.alto-contraste .menu-principal,
body.alto-contraste .banner-principal,
body.alto-contraste .atalhos,
body.alto-contraste .conteudo-home,
body.alto-contraste .bg-cinza,
body.alto-contraste main,
body.alto-contraste section,
body.alto-contraste footer {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.alto-contraste .card,
body.alto-contraste .card-lista,
body.alto-contraste .card-atalho,
body.alto-contraste .card-instituto-home,
body.alto-contraste .contato-card,
body.alto-contraste .dropdown-menu {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    box-shadow: none !important;
}

body.alto-contraste h1,
body.alto-contraste h2,
body.alto-contraste h3,
body.alto-contraste h4,
body.alto-contraste h5,
body.alto-contraste h6,
body.alto-contraste p,
body.alto-contraste span,
body.alto-contraste small,
body.alto-contraste li,
body.alto-contraste strong,
body.alto-contraste label {
    color: #ffffff !important;
}

body.alto-contraste a,
body.alto-contraste .nav-link,
body.alto-contraste .dropdown-item,
body.alto-contraste .link-ver-todos {
    color: #ffff00 !important;
}

body.alto-contraste .btn,
body.alto-contraste .btn-busca,
body.alto-contraste .btn-verde,
body.alto-contraste .btn-acessibilidade {
    background: #ffff00 !important;
    background-color: #ffff00 !important;
    color: #000000 !important;
    border: 1px solid #ffff00 !important;
}

body.alto-contraste .btn-contraste.ativo {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
}

body.alto-contraste input,
body.alto-contraste textarea,
body.alto-contraste select {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

body.alto-contraste img {
    filter: none !important;
}


/* =========================
   TOPO DO SITE
========================= */

.topo-site {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.logo-area {
    color: inherit;
}

.logo-area:hover {
    text-decoration: none;
}

.topo-site h1 {
    color: #003b7a;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.2;
}

.acoes-topo a {
    color: #143d79;
    font-weight: 600;
    font-size: 0.95rem;
}

/* =========================
   MENU PRINCIPAL
========================= */

.menu-principal {
    background: #143d79;
}

.menu-principal .nav-link {
    font-weight: 600;
    padding: 15px 14px;
}

.menu-principal .nav-link.active {
    border-bottom: 3px solid #3bb273;
}

.campo-busca {
    border-radius: 8px;
    min-width: 220px;
}

.btn-busca {
    background: #0f2f61;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 45px;
}

/* =========================
   BANNER PRINCIPAL
========================= */

.banner-principal {
    background: linear-gradient(
        90deg,
        rgba(20, 61, 121, 0.95) 0%,
        rgba(20, 61, 121, 0.85) 50%,
        rgba(20, 61, 121, 0.75) 100%
    );
    color: #fff;
    padding: 70px 0;
}

.banner-conteudo h2 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.banner-conteudo p {
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.tag-institucional {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.banner-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 500;
}

.info-item i {
    font-size: 1.1rem;
}

/* =========================
   BOTÕES
========================= */

.btn-verde {
    background: #31b76a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 600;
}

.btn-verde:hover {
    background: #269b59;
    color: #fff;
}

/* =========================
   CARD INSTITUCIONAL HOME
========================= */

.card-instituto-home {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    max-width: 430px;
    margin-left: auto;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    text-align: left;
}

.icone-instituto {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #198754;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 18px;
}

.card-instituto-home h3 {
    color: #164b35;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.card-instituto-home p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 22px;
}

.linha-instituto {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.linha-instituto i {
    color: #198754;
    margin-top: 2px;
}

/* =========================
   ÁREA ANTIGA DE IMAGEM/BLOCO
========================= */

.banner-imagem {
    display: flex;
    justify-content: end;
}

.predio-fake {
    background: linear-gradient(180deg, #f0f0f0, #cfcfcf);
    width: 95%;
    min-height: 260px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.placa-predio {
    position: absolute;
    top: 30px;
    left: 35px;
    background: #fff;
    color: #143d79;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* =========================
   ATALHOS DA HOME
========================= */

.atalhos {
    background: #eef2f7;
}

.card-atalho {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    padding: 25px 15px;
    background: #fff;
    transition: 0.2s;
}

.card-atalho:hover {
    transform: translateY(-4px);
}

.icone-atalho {
    font-size: 2rem;
    color: #2d63b3;
    margin-bottom: 15px;
}

.card-atalho h6 {
    font-weight: 700;
    color: #143d79;
    margin-bottom: 10px;
}

.card-atalho p {
    font-size: 0.9rem;
    color: #555;
    min-height: 50px;
}

.card-atalho a {
    color: #2d63b3;
    font-weight: 600;
}

/* =========================
   CONTEÚDO DA HOME
========================= */

.bg-cinza {
    background: #f5f7fb;
}

.card-lista {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 20px;
    background: #fff;
}

.card-lista small {
    color: #6b7280;
    display: block;
    margin-bottom: 8px;
}

.card-lista h5 {
    color: #143d79;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-lista p {
    color: #444;
    margin-bottom: 12px;
}

.link-ver-todos {
    color: #2d63b3;
    font-weight: 600;
}

/* =========================
   PÁGINA CONTATO
========================= */

.titulo-pagina {
    color: #082846;
    font-weight: 700;
    margin-bottom: 10px;
}

.contato-card {
    border: 1px solid #e0e5ec;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.contato-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.contato-icone {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background: #123f7a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contato-item h6 {
    margin-bottom: 4px;
    font-weight: 700;
    color: #082846;
}

.contato-item p {
    margin-bottom: 0;
    color: #333;
}

.contato-item a {
    color: #123f7a;
    text-decoration: none;
    font-weight: 500;
}

.contato-item a:hover {
    text-decoration: underline;
}

/* =========================
   RODAPÉ
========================= */

.rodape-site {
    background: #102f5f;
    color: #fff;
}

.rodape-site h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.rodape-site p,
.rodape-site li,
.rodape-site a {
    color: #dbeafe;
    font-size: 0.95rem;
}

.rodape-site a:hover {
    color: #fff;
}

.lista-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.lista-links li {
    margin-bottom: 8px;
}

.rodape-site hr {
    border-color: rgba(255, 255, 255, 0.15);
    margin-top: 30px;
    margin-bottom: 20px;
}

.pequeno-rodape {
    font-size: 0.9rem;
    color: #dbeafe;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 991px) {
    .banner-conteudo h2 {
        font-size: 2rem;
    }

    .campo-busca {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .topo-site h1 {
        font-size: 1.2rem;
    }

    .acoes-topo {
        margin-top: 12px;
        width: 100%;
    }

    .banner-principal {
        padding: 45px 0;
    }

    .banner-conteudo h2 {
        font-size: 1.8rem;
    }

    .banner-conteudo p {
        font-size: 1rem;
    }

    .info-item {
        width: 100%;
    }
}