/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* barra inicial */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    background: #003a66;
    color: white;
    padding: 1rem;
    text-align: center;
}

footer p {
    margin-bottom: 0;
}

.row {
    margin: 0;
}

.container-fluid {
    padding: 0
}

.navbar-nav .nav-link {
    color: #007bff;
    font-weight: 500;
    margin-left: 1.1rem;
}

.navbar-nav .nav-link:hover {
    color: #555;
}

.navbar {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.navbar-brand img {
    max-height: 178px;
    margin: -50px 0px -36px 30px;
}

.menu-inferior {
    padding: 10px 0;
}

.menu-inferior .nav-link {
    color: #007bff;
    font-weight: 500;
    margin-left: 10px;
}

.menu-inferior .nav-link:hover {
    color: #555;
}

/* noticias */
.card-title {
    font-size: 1rem;
    font-weight: 600;
}

.card-body a {
    text-decoration: underline;
    font-weight: 500;
}

h2, h4 {
    font-weight: bold;
}

hr {
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: inset;
    border-width: 1px;
}

.custom-banner {
    background-color: #007bff; /* Cor de fundo azul */
    color: white; /* Texto branco */
    padding: 70px; /* Espaçamento interno */
    border-radius: 50px 0 50px 0; /* Cantos arredondados */
    text-align: center; /* Centralizar texto */
    max-width: 100%; /* Ajuste para responsividade */
    width: 900px; /* Largura fixa */
    margin: auto; /* Centralizar na página */
}

/* MOBILE */
@media (max-width: 576px) {
    .custom-banner {
        padding: 30px; /* Reduz o espaçamento em telas menores */
        width: 90%; /* Ajusta a largura para telas pequenas */
        border-radius: 50px 0 50px 0; /* Ajusta os cantos arredondados */
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 113px;
        margin: -50px 0px -50px 17px;
    }
}

.menu-item {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.icon-circle {
    background-color: #007bff; /* azul roxo padrão */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.menu-item:hover .icon-circle {
    background-color: #ff4b5c; /* vermelho no hover */
}

.menu-item span {
    flex: 1;
}

/* Ajustes para o Offcanvas ocupar a tela toda com desfoque */
.offcanvas {
    background-color: rgba(255, 255, 255, 0.2) !important; /* Transparente */
    backdrop-filter: blur(10px); /* Efeito de desfoque */
    -webkit-backdrop-filter: blur(10px); /* Safari */
    width: 100% !important; /* Ocupa toda a largura */
    height: 100% !important; /* Ocupa toda a altura */
    max-width: none !important; /* Remove limite de largura */
    box-shadow: none !important; /* Sem sombra */
    border: none !important; /* Sem borda */
}

/* Ajuste opcional para mobile (se quiser limitar start menus) */
@media (max-width: 576px) {
    .offcanvas-start {
        width: 250px;
    }
}
