/* ==========================================================================
   TEMA: PORTAL DE CONCURSOS
   AUTOR: Marcus Vinicius - DSI
   ARQUIVO: Estilos Principais (main.css)
   
   ÍNDICE:
   1. Variáveis Globais
   2. Estilos Globais e Acessibilidade
   3. Header e Navegação
   4. Sidebar (Menu Lateral)
   5. Footer e Modais
   6. Componentes Compartilhados (Banners Dinâmicos)
   7. Home (Página Inicial)
   8. Arquivos e Listagens (Taxonomias)
   9. Singles (Concursos e Processos Seletivos)
   10. Páginas Específicas (Contato, FAQ, Legislação, DO)
   11. Responsividade (Mobile e Tablet)
   ========================================================================== */

/* ================= 1. VARIÁVEIS GLOBAIS ================= */
:root {
    /* Cores de Fundo e Layout */
    --cor-fundo-main: #f1f5f9;
    --cor-fundo-sidebar: #ffffff;
    --borda-suave: #e2e8f0;

    /* Cores de Texto */
    --texto-principal: #334155;
    --texto-secundario: #64748b;

    /* Identidade Visual (Azul Prefeitura) */
    --azul-escuro-topo: #06182C;
    --azul-escuro-header: #0B2A4A;
    --azul-rodape: #005b8f;
    --cor-contorno-botoes: #cbd5ff;

    /* Temas Dinâmicos */
    --verde-banner: #0f6044;
    --verde-claro-bg: #dcfce7;
    --verde-escuro-texto: #166534;

    /* Cores diversas*/
    --amarelo: #f9de16;
    --azul-claro: #7dc1de;

}

/* ================= 2. ESTILOS GLOBAIS E ACESSIBILIDADE ================= */
html,
body {
    max-width: 100% !important;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cor-fundo-main);
    color: var(--texto-principal);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
}

.layout-wrapper {
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 94px);
    /* Desconta o tamanho do header */
}

.main-content {
    padding: 30px 30px 0 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    overflow-x: hidden;
}

.content-area {
    flex-grow: 1;
    margin-bottom: 50px;
}

/* Acessibilidade (POJO) */
.pojo-a11y-toolbar-link.pojo-a11y-toolbar-toggle-link {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px 0 0 10px !important;
    background-color: #00b0f0 !important;
    color: white !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.pojo-a11y-toolbar-link.pojo-a11y-toolbar-toggle-link:hover {
    background-color: #1a7ea2 !important;
}

.pojo-a11y-toolbar-link.pojo-a11y-toolbar-toggle-link svg {
    display: none !important;
}

.pojo-a11y-toolbar-link.pojo-a11y-toolbar-toggle-link::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='4' r='1'%3E%3C/circle%3E%3Cpath d='m18 19 1-7-6 1'%3E%3C/path%3E%3Cpath d='m5 8 3-3 5.5 3-2.36 3.5'%3E%3C/path%3E%3Cpath d='M4.24 14.5a5 5 0 0 0 6.88 6'%3E%3C/path%3E%3Cpath d='M13.76 17.5a5 5 0 0 0-6.88-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay {
    border: 0;
}

/* VLibras */
div[vw].enabled {
    top: 365px !important;
    right: 0 !important;
    margin-right: 0 !important;
    border-radius: 10px 0 0 10px !important;
    background-color: #3186F1 !important;
    color: white !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* ================= 3. HEADER E NAVEGAÇÃO ================= */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.barra-superior {
    background-color: var(--azul-escuro-topo);
    color: #cbd5e0;
    font-size: 11px;
    padding: 6px 0;
}

.barra-superior a {
    color: #cbd5e0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.barra-superior .divisor {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
}

.header-principal {
    background-color: var(--azul-escuro-header);
    padding: 15px 0;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.header-principal img {
    height: 50px;
}

.logo-box {
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    font-size: 10px;
    text-align: center;
    border-radius: 4px;
}

.prefeitura-rio h1 {
    font-weight: 900;
    font-size: 24px;
    margin: 0;
    line-height: 1;
}

.prefeitura-rio span {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vertical-divider {
    width: 1px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 20px;
}

.portal-titulo {
    font-size: 20px;
    font-weight: 300;
}

.portal-titulo strong {
    font-weight: 800;
}

/* Pesquisa */
.search-container {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.search-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    padding: 12px 15px 12px 45px;
    width: 100%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #cbd5e0;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e0;
    font-size: 20px;
    font-variation-settings: 'FILL' 0;
    transition: color 0.3s ease;
    pointer-events: none;
}

.search-input:focus {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--texto-principal);
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-input:focus::placeholder {
    color: #94a3b8;
}

.search-container:focus-within .search-icon {
    color: var(--texto-principal);
}

/* Usuário e Notificações */
.user-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-circle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-circle .material-symbols-outlined {
    font-variation-settings: 'FILL' 0;
}

.notif-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
}

.notification-dropdown {
    width: 360px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    margin-top: 15px !important;
    padding: 0;
    overflow: hidden;
}

.notification-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

.notification-list {
    max-height: 320px;
    overflow-y: auto;
    background-color: #ffffff;
}

.notification-list::-webkit-scrollbar {
    width: 8px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.notification-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    gap: 15px;
    transition: background-color 0.2s;
    text-decoration: none;
}

.notification-item:hover {
    background-color: #f8fafc;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.notification-item.unread .status-dot {
    background-color: #3b82f6;
}

.notification-item.unread p {
    color: #1e293b;
    font-weight: 700;
}

.notification-item.read .status-dot {
    background-color: #e2e8f0;
}

.notification-item.read p {
    color: #64748b;
    font-weight: 500;
}

.notification-time {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

/* ================= 4. SIDEBAR (MENU LATERAL) ================= */
.sidebar {
    width: 300px;
    background-color: var(--cor-fundo-sidebar);
    border-right: 1px solid var(--borda-suave);
    flex-shrink: 0;
    position: sticky;
    top: 94px;
    height: calc(100vh - 94px);
    display: flex;
    flex-direction: column;
    z-index: 1020;
}

.sidebar-scrollable {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 15px;
}

.sidebar-scrollable::-webkit-scrollbar {
    width: 5px;
}

.sidebar-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.sidebar-scrollable::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.nav-item-menu {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--texto-principal);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    transition: 0.2s;
}

.nav-item-menu .material-symbols-outlined {
    width: 30px;
    color: var(--texto-secundario);
    font-size: 20px;
    font-variation-settings: 'FILL' 0;
}

.nav-item-menu:hover,
.nav-item-menu.active {
    background-color: var(--cor-fundo-main);
    color: #0B2A4A;
}

.nav-item-menu.active {
    background-color: #e2e8f0;
}

.nav-item-menu.active .material-symbols-outlined {
    color: #0B2A4A;
}

.nav-item-menu[aria-expanded="true"] {
    background-color: var(--cor-fundo-main);
    color: var(--azul-escuro-header);
}

.nav-item-menu[aria-expanded="true"] .material-symbols-outlined {
    color: var(--azul-escuro-header);
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.nav-item-menu[aria-expanded="true"] .chevron-icon {
    transform: rotate(90deg);
}

.submenu-container {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 30px;
    border-left: 1px solid #cbd5e0;
}

.submenu-item {
    display: block;
    padding: 10px 15px 10px 20px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.submenu-item:hover {
    color: var(--azul-escuro-header);
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 0 8px 8px 0;
}

.submenu-item.active-sub {
    color: var(--azul-escuro-header);
    font-weight: 800;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0 8px 8px 0;
    border-left: 3px solid var(--azul-escuro-header);
}

.btn-sidebar {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 10px;
    cursor: pointer;
    text-align: left;
}

.btn-orange {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.btn-dark-blue {
    background: linear-gradient(90deg, #0D2C50, #1D3987);
}

.btn-blue {
    background: linear-gradient(90deg, #38bdf8, #7dd3fc);
}

.btn-sidebar .material-symbols-outlined {
    font-size: 24px;
    margin-right: 10px;
    font-variation-settings: 'FILL' 0;
}

.btn-sidebar span span {
    font-size: 9px;
    text-transform: lowercase;
}

.btn-sidebar span span::first-letter {
    text-transform: uppercase;
}

.banner-estagios {
    border: 2px dashed #cbd5e0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
}

.banner-estagios:hover {
    background-color: #F1F5F9;
    border: 2px dashed #3B87F6;
}

.banner-estagios .material-symbols-outlined {
    font-variation-settings: 'FILL' 0;
}

.sidebar-fixed-bottom {
    flex-shrink: 0;
    padding: 0 15px 15px 15px;
    background-color: var(--cor-fundo-sidebar);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.box-1746 {
    background-color: var(--azul-escuro-header);
    color: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    font-size: 11px;
}

.box-1746 h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 5px 0 0 0;
    display: flex;
    align-items: center;
}

.box-1746 .material-symbols-outlined {
    font-variation-settings: 'FILL' 0;
}

/* ================= 5. FOOTER E MODAIS ================= */

/* --- Faixa Superior do Footer --- */
.footer-top-strip {
    background-color: #ffffff;
    border-top: 5px solid #00a2e8;
    /* Cyan bar as seen in image */
    text-align: center;
    padding: 18px 20px;
}

.footer-top-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.footer-top-strip a {
    color: #00a2e8;
    text-decoration: none;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-top-strip a:hover {
    color: var(--azul-escuro-header, #0B2A4A);
}

.footer-sep {
    color: #94a3b8;
    font-weight: 400;
    margin: 0 4px;
    user-select: none;
}

/* --- Footer Principal --- */
.main-footer {
    padding: 40px 20px 30px;
    background-color: var(--azul-rodape, #1351b4);
    color: #ffffff;
    text-align: center;
}

.footer-main-inner {
    max-width: 600px;
    margin: 0 auto;
}

/* Logo Prefeitura Rio */
.footer-logo-area {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.img-logo-footer {
    max-width: 100%;
    width: 100px;
    height: auto;
    display: block;
}

/* Seção Cidadão */
.footer-cidadao-area {
    margin-bottom: 28px;
}

.footer-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Link destaque (Portal Antigo) - cor laranja */
.footer-link-destaque {
    color: #f5a623 !important;
    font-weight: 600 !important;
}

.footer-link-destaque:hover {
    color: #fbbf24 !important;
}
/* Link sma (Secretaria Municipal de Administração) - cor branca */
.footer-link-sma {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;

}

.footer-link-sma:hover {
    color: #f0fdf4 !important;
}

/* Divider */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255);
    margin: 24px 0;
}

/* Bottom: social + endereço */
.footer-bottom-area {
    text-align: center;
}

.footer-org-name {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 6px 0;
}

.footer-address {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Ícones Sociais */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 4px;
    margin: 0 4px;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 15px;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.25);
}


/* Modal Login */
.modal-login .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-login .modal-header {
    background-color: var(--azul-escuro-header);
    padding: 25px 30px;
    border-bottom: none;
}

.modal-login .btn-close-custom {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 10px;
    opacity: 0.8;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-login .btn-close-custom:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-govbr {
    background-color: #1351b4;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-govbr:hover {
    background-color: #0f3f8c;
    color: white;
}

.modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    margin: 25px 0;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.modal-divider span {
    padding: 0 15px;
}

.modal-login .form-label {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.modal-login .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    font-size: 14px;
}

.modal-login .form-control::placeholder {
    color: #94a3b8;
}

.btn-acessar-painel {
    background-color: #1e293b;
    color: white;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
}

.btn-acessar-painel:hover {
    background-color: #0f172a;
    color: white;
}

.modal-login .modal-footer {
    background-color: #f8fafc;
    padding: 20px;
    border-top: none;
    justify-content: center;
}

/* ================= 6. COMPONENTES COMPARTILHADOS (BANNERS DINÂMICOS E SEÇÕES) ================= */
/* Utilizados em Contato, FAQ e Legislação */
.page-banner-dynamic {
    background-color: var(--acf-bg-color);
    color: white;
    padding: 50px 0 110px 0;
    /* Espaço para as caixas brancas subirem */
    position: relative;
}

.btn-voltar {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 30px;
}

.btn-voltar:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.badge-dynamic {
    background-color: var(--acf-highlight-color);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.title-dynamic {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.1;
}

.title-dynamic .material-symbols-outlined,
.title-dynamic .highlight-text {
    color: var(--acf-highlight-color);
}

.title-dynamic .material-symbols-outlined {
    font-size: 42px;
    font-variation-settings: 'FILL' 0;
}

.subtitle-dynamic {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 400;
}

.white-section {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 50px;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.overlap-top {
    margin-top: -60px;
}

/* Puxa a primeira caixa para cima do banner */

.agency-header-full {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.agency-icon-full {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #faf5ff;
    /* Padrão, pode ser sobreposto inline */
}

.agency-icon-full .material-symbols-outlined {
    font-variation-settings: 'FILL' 0;
    font-size: 24px;
    color: var(--acf-highlight-color);
}

.agency-title-full {
    font-size: 22px;
    font-weight: 900;
    color: var(--azul-escuro-header);
    margin: 0;
}

/* ================= 7. HOME (PÁGINA INICIAL) ================= */
.carousel-item {
    border-radius: 16px;
    overflow: hidden;
}

.hero-banner {
    padding: 40px;
    color: white;
    position: relative;
    min-height: 300px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-abertas {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    width: max-content;
}

.hero-banner h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    max-width: 80%;
}

.hero-banner p {
    font-size: 1.25rem;
    color: #cbd5e0;
    max-width: 70%;
    margin-bottom: 25px;
}

/* Controles Carrossel */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 3px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 20px;
    border-radius: 4px;
    background-color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Cards 4 Colunas */
.quick-card {
    background-color: white;
    border-radius: 16px;
    padding: 25px 20px;
    border: 1px solid var(--borda-suave);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-weight: 800;
    font-size: 15px;
    color: var(--texto-principal);
    cursor: pointer;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-card .icon-wrapper {
    padding: 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quick-card .material-symbols-outlined {
    font-size: 28px;
}

a:has(> .quick-card),
.quick-card,
.quick-card span,
.quick-card .material-symbols-outlined {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}

.card-blue {
    border-color: #0284c7;
    background: linear-gradient(135deg, #ffffff 60%, #ecfdf5 100%);
}

.card-blue .icon-wrapper {
    background-color: #e0f2fe;
}

.card-blue .material-symbols-outlined {
    color: #0284c7;
}

.card-gray {
    border-color: #64748b;
    background: linear-gradient(135deg, #ffffff 60%, #ecfdf5 100%);
}

.card-gray .icon-wrapper {
    background-color: #f1f5f9;
}

.card-gray .material-symbols-outlined {
    color: #64748b;
}

.card-green {
    border-color: #22c55e;
    color: #166534;
    background: linear-gradient(135deg, #ffffff 60%, #ecfdf5 100%);
}

.card-green .icon-wrapper {
    background-color: #E1F7EF;
}

.card-green .material-symbols-outlined {
    color: #166534;
}

.card-dark-home {
    border-color: #0B2A4A;
    background: linear-gradient(135deg, #ffffff 60%, #ecfdf5 100%);
}

.card-dark-home .icon-wrapper {
    background-color: #e0f2fe;
}

.card-dark-home .material-symbols-outlined {
    color: #0B2A4A;
}

/* Timeline D.O */
.section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--texto-principal);
}

.section-title .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: 'FILL' 0;
}

.timeline-container {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--borda-suave);
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 45px;
    top: 40px;
    bottom: 80px;
    width: 2px;
    background-color: #e2e8f0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texto-secundario);
}

.timeline-icon .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: 'FILL' 0;
}

.timeline-content {
    flex-grow: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.timeline-date {
    font-size: 12px;
    color: var(--texto-secundario);
    font-weight: 500;
}

.timeline-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.timeline-subtitle {
    font-size: 12px;
    color: var(--texto-secundario);
    margin: 0;
}

.tag {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-dark {
    background-color: var(--azul-escuro-header);
    color: white;
}

.tag-light {
    background-color: #f1f5f9;
    color: var(--texto-secundario);
    border: 1px solid #e2e8f0;
}

.btn-todas {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--texto-principal);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    margin-top: 10px;
    transition: 0.2s;
}

.btn-todas:hover {
    background-color: #e2e8f0;
}

/* Minicards de Inscrições */
.inscricao-card {
    background: linear-gradient(to right, #dcfce7 0%, #ffffff 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
}

.inscricao-card.gray {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.inscricao-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px 0;
    padding-right: 30px;
    color: #333;
}

.inscricao-card p {
    font-size: 12px;
    color: var(--texto-secundario);
    margin: 0 0 15px 0;
}

.badge-green {
    background-color: #22c55e;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.badge-gray {
    background-color: #e2e8f0;
    color: var(--texto-principal);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.inscricao-card .arrow-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 25px;
    height: 25px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texto-principal);
}

.inscricao-card .material-symbols-outlined {
    font-size: 18px;
    font-variation-settings: 'FILL' 0;
}

/* ================= 8. ARQUIVOS E LISTAGENS (TAXONOMIAS E DO) ================= */
.page-banner {
    background-color: var(--verde-banner);
    color: white;
    padding: 40px 50px 100px 50px;
    position: relative;
}

.top-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.page-title {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.total-box {
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.total-box span.lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.total-box .number {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.total-box .number span {
    font-size: 16px;
    font-weight: 400;
    margin-left: 5px;
}

.content-overlap {
    background-color: white;
    margin: -50px 50px 50px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: relative;
    z-index: 2;
}

.agency-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.agency-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agency-icon.icon-abertas {
    background-color: #f0fdf4;
    color: #166534;
}

.agency-icon.icon-andamento {
    background-color: #eff6ff;
    color: #1e3a8a;
}

.agency-icon.icon-expirados {
    background-color: #f8fafc;
    color: #475569;
}

.agency-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--azul-escuro-header);
    margin: 0;
}

.edital-card {
    background-color: #f8fafc;
    border: 1px solid var(--borda-suave);
    border-radius: 12px;
    padding: 30px 25px 25px 25px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.edital-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
    background-color: #ffffff;
}

.edital-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 0;
    background-color: var(--azul-escuro-header);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.edital-card:hover::before {
    width: 100%;
}

.badge-status {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.edital-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--azul-escuro-header);
    margin-bottom: 25px;
    line-height: 1.3;
}

.edital-info {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.edital-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: var(--texto-secundario);
    margin-bottom: 15px;
}

.icon-circle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--borda-suave);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    flex-shrink: 0;
}

.edital-info li .material-symbols-outlined {
    font-size: 18px;
    color: #94a3b8;
    font-variation-settings: 'FILL' 0;
}

.edital-info li strong {
    color: var(--texto-principal);
    font-weight: 800;
    font-size: 15px;
}

.btn-acessar {
    width: 100%;
    background-color: var(--cor-fundo-main);
    color: var(--texto-principal);
    border: 1px solid var(--cor-contorno-botoes);
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-acessar:hover {
    background-color: #08213b;
    color: white;
    box-shadow: 0 6px 15px rgba(11, 42, 74, 0.2);
}

/* Temas Dinâmicos Listagem */
.page-banner.theme-abertas {
    background: linear-gradient(135deg, #0f6044, #064e3b);
}

.theme-abertas .page-title .material-symbols-outlined {
    color: #4ade80;
}

.page-banner.theme-andamento {
    background: linear-gradient(135deg, #0c4a8e, #1e3a8a);
}

.theme-andamento .btn-voltar,
.theme-andamento .top-badge,
.theme-andamento .total-box {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.theme-andamento .page-title .material-symbols-outlined {
    color: #93c5fd;
}

.page-banner.theme-expirados {
    background: linear-gradient(135deg, #334155, #1e293b);
}

.theme-expirados .btn-voltar,
.theme-expirados .top-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-expirados .total-box {
    background-color: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.theme-expirados .page-title .material-symbols-outlined {
    color: #cbd5e0;
}

/* Arquivo Publicações DO */
.timeline-cards-layout {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    position: relative;
}

.timeline-cards-layout .timeline-line {
    left: 60px;
    top: 50px;
    bottom: 50px;
    width: 2px;
    background-color: #cbd5e0;
    position: absolute;
    z-index: 0;
}

.timeline-cards-layout .timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.timeline-cards-layout .timeline-icon {
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-cards-layout .timeline-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    flex-grow: 1;
    transition: all 0.2s ease;
}

.timeline-cards-layout .timeline-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.timeline-cards-layout .tag-dynamic {
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Paginação Nativa WP */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination .page-numbers {
    padding: 10px 16px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pagination .page-numbers:hover {
    background-color: #f1f5f9;
}

.pagination .page-numbers.current {
    background-color: #0B2A4A;
    color: white;
    border-color: #0B2A4A;
}

/* ================= 9. SINGLES (CONCURSOS E PROCESSOS SELETIVOS) ================= */
.concurso-hero {
    background-color: #afafaf;
    padding: 50px 0 140px 0;
    color: white;
    position: relative;
}

.btn-voltar-hero {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.2s;
    margin-bottom: 30px;
}

.btn-voltar-hero:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.badge-hero {
    background-color: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.concurso-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    max-width: 800px;
}

.concurso-updated-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.3px;
}

.concurso-updated-date .material-symbols-outlined {
    font-size: 14px;
    font-variation-settings: 'FILL' 0;
    color: rgba(255, 255, 255, 0.75);
}

.content-overlap-container {
    max-width: 1080px;
    width: 92%;
    margin: -80px auto 60px auto;
    position: relative;
    z-index: 10;
}

.info-cards-grid {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.info-card-box {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    min-width: 130px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.info-card-icon {
    width: 36px;
    height: 36px;
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.info-card-label {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.info-card-value {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
}

.content-box {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.box-blue-border {
    border-left: 5px solid #0B2A4A;
}

.box-title {
    font-size: 18px;
    font-weight: 800;
    color: #0B2A4A;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.box-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.content-box-docs {
    background-color: white;
    border-radius: 16px;
    padding: 25px 0 0 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
    overflow: hidden;
}

.box-title-docs {
    padding: 0 30px;
    font-size: 22px;
    font-weight: 900;
    color: #0B2A4A;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.icon-folder-title {
    width: 45px;
    height: 45px;
    background-color: #eff6ff;
    color: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-list {
    display: flex;
    flex-direction: column;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 30px;
    background-color: #ffffff;
    gap: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.doc-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    min-width: 0;
}

.doc-item-right {
    flex-shrink: 0;
}

.doc-item:last-child {
    border-bottom: none;
}

.doc-item.highlight {
    background-color: #f4f8ff;
    border-bottom: 1px solid #e6f0fd;
}

.doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #e2e8f0;
    color: #64748b;
}

.doc-item.highlight .doc-icon {
    background-color: #3b82f6;
    color: white;
}

.doc-info {
    flex-grow: 1;
    min-width: 0;
}

.doc-badge {
    font-size: 10px;
    font-weight: 800;
    background-color: #3b82f6;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.doc-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 6px;
    line-height: 1.4;
    word-break: break-word;
}

.doc-item.highlight .doc-title {
    color: #1e3a8a;
}

.doc-meta {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    display: flex;
    gap: 8px;
    align-items: center;
}

.doc-meta span {
    color: #64748b;
}

.doc-item.highlight .doc-meta {
    color: #3b82f6;
}

.doc-item.highlight .doc-meta span {
    color: #3b82f6;
}

/* --- ESTILOS DAS GUIAS/ABAS DE PUBLICAÇÕES --- */
.docs-nav-tabs {
    border-bottom: 2px solid #e2e8f0;
    gap: 8px;
    padding: 0 30px;
    background-color: #f8fafc;
    display: flex;
}

.docs-nav-tabs .nav-item {
    margin-bottom: -2px;
    list-style: none;
}

.docs-nav-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
    transition: all 0.2s ease-in-out;
}

.docs-nav-tabs .nav-link:hover {
    color: #1e293b;
    border-bottom-color: #cbd5e1;
}

.docs-nav-tabs .nav-link.active {
    color: #1e3a8a;
    border-bottom: 2px solid #1e3a8a;
    background-color: transparent;
}

.docs-nav-tabs .nav-link .nav-tab-icon {
    font-size: 20px;
    color: inherit;
}

.docs-nav-tabs .nav-link .badge {
    background-color: #e2e8f0 !important;
    color: #475569 !important;
    font-size: 11px;
    font-weight: 750;
    border-radius: 10px;
    padding: 3px 8px;
}

.docs-nav-tabs .nav-link.active .badge {
    background-color: #1e3a8a !important;
    color: #ffffff !important;
}

.docs-tab-content {
    background-color: #ffffff;
}

/* Responsividade das abas */
@media (max-width: 768px) {
    .docs-nav-tabs {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding: 0 15px;
    }
    
    .docs-nav-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .docs-nav-tabs::-webkit-scrollbar-thumb {
        background-color: #cbd5e1;
        border-radius: 4px;
    }
    
    .docs-nav-tabs .nav-link {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* --- ESTILOS DOS GRUPOS DE CATEGORIAS (PUBLICACÕES) --- */
.category-group {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.category-group:last-child {
    border-bottom: none;
}

.category-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #f1f5f9;
}

.category-group-header .material-symbols-outlined {
    font-size: 20px;
}

/* Editais - Tema Azul */
.category-group.group-editais .category-group-header {
    background-color: #f0f7ff;
    color: #1d4ed8;
    border-left: 4px solid #1d4ed8;
}
.category-group.group-editais .doc-item {
    border-left: 4px solid #3b82f6;
}

/* Cronograma - Tema Laranja/Ambar */
.category-group.group-cronograma .category-group-header {
    background-color: #fffbeb;
    color: #b45309;
    border-left: 4px solid #b45309;
}
.category-group.group-cronograma .doc-item {
    border-left: 4px solid #fb923c;
}

/* Informações - Tema Verde/Teal */
.category-group.group-informacoes .category-group-header {
    background-color: #f0fdf4;
    color: #15803d;
    border-left: 4px solid #15803d;
}
.category-group.group-informacoes .doc-item {
    border-left: 4px solid #22c55e;
}

/* Outros/Padrão - Tema Cinza */
.category-group.group-default .category-group-header {
    background-color: #f8fafc;
    color: #475569;
    border-left: 4px solid #475569;
}
.category-group.group-default .doc-item {
    border-left: 4px solid #94a3b8;
}

/* Responsividade de Publicações */
@media (max-width: 576px) {
    .category-group-header {
        padding: 12px 20px;
        font-size: 12px;
    }
    .doc-item {
        padding: 18px 20px;
        gap: 12px;
        flex-direction: column;   /* empilha verticalmente no mobile */
        align-items: flex-start;  /* alinha à esquerda */
    }
    .doc-item-left {
        width: 100%;
    }
    .doc-item-right {
        width: 100%;
    }
    .btn-download-dark,
    .btn-download-light {
        width: 100%;              /* botão ocupa toda a largura */
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
        gap: 6px;
    }
    .doc-icon {
        width: 38px;
        height: 38px;
    }
    .doc-icon .material-symbols-outlined {
        font-size: 18px;
    }
    .doc-title {
        font-size: 13.5px;
    }
    .btn-download-dark .material-symbols-outlined,
    .btn-download-light .material-symbols-outlined {
        font-size: 16px;
    }
}

.btn-download-dark {
    background-color: #0B2A4A;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-download-dark:hover {
    background-color: #06182C;
    color: white;
}

.btn-download-light {
    background-color: white;
    color: #0B2A4A;
    border: 1px solid #cbd5e0;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-download-light:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.sidebar-acoes {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 110px;
}

.sidebar-title-line {
    font-size: 18px;
    font-weight: 900;
    color: #0B2A4A;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.btn-action-green {
    width: 100%;
    background-color: #22c55e;
    color: white;
    padding: 14px 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.2s;
    text-align: center;
}

.btn-action-green:hover {
    background-color: #16a34a;
    color: white;
}

.btn-action-disable,
.btn-action-disabled {
    width: 100%;
    background-color: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 14px 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    cursor: not-allowed;
    text-decoration: none;
}

.btn-action-primary-outline {
    width: 100%;
    background-color: white;
    color: #0B2A4A;
    border: 2px solid #0B2A4A;
    padding: 14px 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.2s;
    text-align: center;
}

.btn-action-primary-outline:hover {
    background-color: #f8fafc;
    color: #06182C;
}

.taxa-box {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.btn-action-outline {
    width: 100%;
    background-color: white;
    color: #334155;
    border: 1px solid #cbd5e0;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.2s;
    text-align: center;
}

.btn-action-outline:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    color: #0B2A4A;
}

.help-divider {
    font-size: 11px;
    color: #94a3b8;
    margin: 25px 0 15px 0;
    text-align: center;
}

.btn-action-gray {
    width: 100%;
    background-color: #f1f5f9;
    color: #475569;
    border: none;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.2s;
    text-align: center;
}

.btn-action-gray:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* ================= 10. PÁGINAS ESPECÍFICAS ================= */

/* Contato */
.contact-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.contact-card {
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-light {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    flex-direction: row;
    gap: 30px;
}

.icon-box-light {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background-color: #e0f2fe;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box-light .material-symbols-outlined {
    font-size: 36px;
    font-variation-settings: 'FILL' 0;
}

.card-light .contact-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--azul-escuro-header);
    margin-bottom: 10px;
}

.card-light .contact-desc {
    font-size: 15px;
    color: var(--texto-secundario);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-contact-primary {
    background-color: var(--azul-escuro-header);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.2s;
    width: max-content;
}

.btn-contact-primary:hover {
    background-color: #06182c;
    color: white;
}

.card-dark {
    background-color: #1e293b;
    color: #ffffff;
    flex-direction: column;
    gap: 15px;
}

.icon-box-dark {
    color: #ffffff;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.icon-box-dark .material-symbols-outlined {
    font-size: 36px;
    font-variation-settings: 'FILL' 0;
}

.card-dark .contact-title {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 5px;
}

.card-dark .contact-desc {
    font-size: 14px;
    color: #cbd5e0;
    margin-bottom: 25px;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-contact-secondary {
    background-color: #ffffff;
    color: #1e293b;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: 0.2s;
    gap: 8px;
}

.btn-contact-secondary:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.btn-contact-secondary .material-symbols-outlined {
    font-size: 18px;
    font-variation-settings: 'FILL' 0;
}

/* ================= ESTILOS DA PÁGINA ================= */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Banner Principal (Hero) */
.inscricoes-hero {
    background: linear-gradient(135deg, #0B2A4A, #1e3a8a);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(11, 42, 74, 0.15);
}

.hero-tag {
    background-color: #f97316;
    color: white;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-title span {
    color: #93c5fd;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

/* Caixa de Contador no Banner */
.hero-counter {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.counter-icon {
    background-color: white;
    color: #0B2A4A;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-icon .material-symbols-outlined {
    font-size: 28px;
}

.counter-text {
    display: flex;
    flex-direction: column;
}

.counter-text .lbl {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.counter-text .val {
    font-size: 36px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

/* Cards de Inscrição */
.card-inscricao {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-inscricao:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.card-badge {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    width: max-content;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0B2A4A;
    margin-bottom: 30px;
    line-height: 1.4;
    flex-grow: 1;
}

/* Botões do Card */
.card-actions {
    display: flex;
    gap: 15px;
}

.btn-icon-info {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s;
    flex-shrink: 0;
}

.btn-icon-info:hover {
    background-color: #e2e8f0;
    color: #0B2A4A;
}

.btn-action-fill {
    flex-grow: 1;
    background-color: #0B2A4A;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    gap: 8px;
    transition: 0.2s;
}

.btn-action-fill:hover {
    background-color: #06182C;
    color: white;
}

/* Responsividade */
@media (max-width: 991px) {
    .inscricoes-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-counter {
        width: 100%;
        justify-content: center;
    }

    .card-actions {
        flex-direction: column;
    }

    .btn-icon-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-card.card-light {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }

    .btn-contact-primary {
        width: 100%;
        justify-content: center;
    }

    .card-dark {
        text-align: center;
        align-items: center;
    }

    .contact-wrapper {
        margin-top: -40px;
    }
}

/* FAQ (Accordion) */
.faq-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 15px;
    background-color: white;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 14px;
    color: var(--azul-escuro-header);
    padding: 20px 25px;
    background-color: white;
    box-shadow: none !important;
    border-radius: 12px !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #f8fafc;
    color: var(--azul-escuro-header);
    box-shadow: none;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.faq-accordion .accordion-body {
    padding: 0 25px 25px 25px;
    color: var(--texto-secundario);
    font-size: 14px;
    line-height: 1.6;
    background-color: #f8fafc;
}

.faq-accordion .accordion-button::after {
    background-size: 16px;
    opacity: 0.5;
}

/* Legislação */
.law-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 6px solid #cbd5e0;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.2s ease;
}

.law-card:hover {
    border-color: #cbd5e0;
    border-left-color: #94a3b8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.law-badge {
    background-color: white;
    border: 1px solid #e2e8f0;
    color: var(--texto-secundario);
    font-weight: 800;
    font-size: 10px;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 20px;
    width: max-content;
    letter-spacing: 0.5px;
}

.law-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--azul-escuro-header);
    margin-bottom: 10px;
    line-height: 1.4;
}

.law-desc {
    font-size: 13px;
    color: var(--texto-secundario);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.law-divider {
    border-top: 1px solid #e2e8f0;
    margin: 0 0 20px 0;
    opacity: 1;
}

.law-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-law,
.btn-law1 {
    flex: 1;
    min-width: 120px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--texto-principal);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-law:hover {
    background-color: var(--azul-escuro-header);
    color: #f1f5f9;
    border-color: #cbd5e0;
}

.btn-law1:hover {
    background-color: #f1f5f9;
    color: var(--azul-escuro-header);
    border-color: #cbd5e0;
}

.btn-law .material-symbols-outlined,
.btn-law1 .material-symbols-outlined {
    font-size: 18px;
    font-variation-settings: 'FILL' 0;
    color: #64748b;
}

/* Single Publicação DO */
.publicacao-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

.publicacao-content h2,
.publicacao-content h3 {
    color: #0B2A4A;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.publicacao-content a {
    color: #3b82f6;
    text-decoration: underline;
    font-weight: 600;
}

.publicacao-content a:hover {
    color: #2563eb;
}

.publicacao-content ul,
.publicacao-content ol {
    margin-bottom: 1.5rem;
    color: #334155;
    line-height: 1.8;
}

/* HERO BANNER */
.hero-banner h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

.hero-banner p {
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
}

/* TIMELINE */
.timeline-cards-layout {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px;
    padding: 30px !important;
    position: relative;
}

.timeline-cards-layout .timeline-line {
    left: 50px;
    top: 40px;
    bottom: 85px;
    width: 2px;
    background-color: #cbd5e0;
    position: absolute;
    z-index: 0;
}

.timeline-cards-layout .timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.timeline-cards-layout .timeline-item:last-of-type {
    margin-bottom: 30px;
}

.timeline-cards-layout .timeline-icon {
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-cards-layout .timeline-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 25px;
    flex-grow: 1;
    transition: all 0.2s ease;
}

.timeline-cards-layout .timeline-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.timeline-cards-layout .tag-dynamic {
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* ================= 11. RESPONSIVIDADE (MOBILE E TABLET) ================= */

@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 991px) {

    /* Main Content */
    .main-content {
        padding: 15px 15px 0 15px;
    }

    .user-circle {
        border: none;
    }



    /* ================= SIDEBAR OFF-CANVAS ================= */
    .sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        height: 100vh;
        width: 300px;
        z-index: 1050;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar.open {
        left: 0;
    }

    /* Garante que o rodapé fixo do sidebar sempre apareça na base */
    .sidebar .sidebar-fixed-bottom {
        position: sticky;
        bottom: 0;
        flex-shrink: 0;
        z-index: 2;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

    .sidebar-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 20px 10px 20px;
    }

    .sidebar-header-mobile h3 {
        font-size: 18px;
        font-weight: 900;
        color: var(--azul-escuro-header);
        margin: 0;
    }

    .btn-close-sidebar {
        background-color: #f1f5f9;
        border: none;
        border-radius: 8px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
    }

    /* ================= BANNERS E CARDS ================= */
    .hero-banner {
        padding: 25px;
        min-height: 250px;
    }

    .hero-banner h2 {
        font-size: 24px;
        max-width: 100%;
    }

    .hero-banner p {
        font-size: 15px;
        max-width: 100%;
    }

    .quick-card {
        padding: 20px 15px;
        font-size: 13px;
        gap: 10px;
    }

    .quick-card .material-symbols-outlined {
        font-size: 24px;
    }

    /* FOOTER */
    .main-footer {
        padding: 30px 20px;
    }

    .footer-top-strip-inner {
        flex-direction: column;
        gap: 4px;
    }

    .footer-sep {
        display: none;
    }

    .footer-top-strip a {
        padding: 6px;
        font-size: 11px;
    }

    .img-logo-footer {
        width: 120px;
    }

    /* TAX CONCURSO E PROCESSO */
    .page-banner {
        padding: 40px 20px 100px 20px;
    }

    .content-overlap {
        margin: -50px 20px 50px 20px;
    }

    /* LEGISLAÇÃO */
    .white-section {
        padding: 40px 20px;
    }

    .title-dynamic {
        font-size: x-large;
    }
}



/* ================= CARD DE AJUDA (FAQ) ================= */
.faq-help-card {
    border: 2px dashed #cbd5e0;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    background-color: white;
    margin-top: 40px;
    transition: 0.2s;
}

.faq-help-card:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
}

.faq-help-icon-box {
    width: 64px;
    height: 64px;
    background-color: #e0f2fe;
    color: #3b82f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-help-icon-box .material-symbols-outlined {
    font-size: 32px;
    font-variation-settings: 'FILL' 0;
}

.faq-help-text {
    flex-grow: 1;
}

.faq-help-text h4 {
    font-size: 20px;
    font-weight: 900;
    color: #0B2A4A;
    margin: 0 0 5px 0;
}

.faq-help-text p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.btn-faq-contact {
    background-color: #0B2A4A;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
}

.btn-faq-contact:hover {
    background-color: #06182C;
    color: white;
    transform: scale(1.02);
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .faq-help-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .btn-faq-contact {
        width: 100%;
        text-align: center;
    }
}

/* ================= SIDEBAR NAS PÁGINAS INTERNAS (SINGLE) ================= */
/* O sidebar é incluído apenas para ativar o menu hamburguer mobile.        */
/* No desktop, deve ser invisível e não ocupar espaço no layout.            */
@media (min-width: 992px) {
    .single-concurso .sidebar,
    .single-processo-seletivo .sidebar {
        display: none !important;
    }
}