/* Rolagem suave na página inteira */
html {
    scroll-behavior: smooth;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden; /* Trava de segurança no body sem quebrar o position sticky */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Compensação para o menu fixo não cobrir os títulos das seções ao rolar */
section.panel {
    scroll-margin-top: 90px;
}

.accordion-item {
    scroll-margin-top: 100px;
}

/* ------------------------------------ */
/* 1. TOPO BRANCO                        */
/* ------------------------------------ */
.top-bar {
    background-color: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-atendimento {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon {
    background-color: #112d69;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.info-text strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
}

.info-text span {
    font-size: 12px;
    color: #64748b;
}

/* Redes Sociais no Topo */
.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.2s;
}

.social-btn:hover {
    background-color: #c59b27;
    color: white;
    border-color: #c59b27;
}

/* ------------------------------------ */
/* 2. MENU DE NAVEGAÇÃO & DROPDOWN      */
/* ------------------------------------ */
.main-navbar {
    background-color: #112d69;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.site-logo {
    max-height: 50px;
    max-width: 180px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

.brand-text {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #f3d068;
}

/* SUBMENU (DROPDOWN) */
.dropdown {
    position: relative;
    padding: 20px 0;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-seta {
    font-size: 11px;
    color: #c59b27;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-seta {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    border-top: 3px solid #c59b27;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
}

.submenu li a {
    color: #0f172a;
    padding: 10px 16px;
    display: block;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.submenu li a:hover {
    background-color: #f1f5f9;
    color: #112d69;
}

.search-btn {
    background-color: #c59b27;
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
    transition: background 0.2s;
}

.search-btn:hover {
    background-color: #a37f1e;
}

/* ------------------------------------ */
/* 3. CONTEÚDO PRINCIPAL                */
/* ------------------------------------ */
.hero-section {
    background-color: #112d69;
    color: white;
    padding: 40px 0 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero-section p {
    color: #94a3b8;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: -30px 0 30px 0;
    position: relative;
    z-index: 10;
}

.card-metric {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #ccc;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card-metric.blue { border-color: #2563eb; }
.card-metric.green { border-color: #16a34a; }
.card-metric.orange { border-color: #d97706; }

.card-metric h3 { font-size: 13px; color: #64748b; text-transform: uppercase; }
.card-metric .amount { font-size: 24px; font-weight: 700; color: #0f172a; margin: 5px 0; }
.card-metric small { color: #94a3b8; font-size: 12px; }

.panel {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.panel-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Tabelas */
/* Garante que o container da tabela não corte elementos flutuantes no topo */
.table-container {
    overflow-x: auto;
    overflow-y: visible; /* Permite o balão subir sem cortar */
    padding-top: 10px;    /* Espaço extra para o balão respirar */
}
table { width: 100%; border-collapse: collapse; text-align: left; }
th { background: #f1f5f9; padding: 12px; font-size: 13px; color: #475569; }
td { padding: 16px 12px; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.valor-positivo { color: #16a34a; font-weight: bold; }

.btn-doc {
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    display: inline-block;
    transition: background 0.2s;
}

.btn-doc:hover {
    background: #e2e8f0;
}

/* ------------------------------------ */
/* 4. PRESTAÇÃO EXPANSÍVEL (ACCORDION)   */
/* ------------------------------------ */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item[open] {
    border-color: #112d69;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.accordion-header {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #112d69;
    background-color: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seta-icon {
    font-size: 12px;
    color: #c59b27;
    transition: transform 0.3s ease;
}

.accordion-item[open] .seta-icon {
    transform: rotate(180deg);
}

.accordion-header:hover {
    background-color: #f1f5f9;
}

.badge-ano {
    background-color: #16a34a;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.accordion-content {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
}

/* ------------------------------------ */
/* 5. BOTÃO VOLTAR AO TOPO              */
/* ------------------------------------ */
.btn-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: #c59b27;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-top:hover {
    background-color: #112d69;
    transform: translateY(-3px);
}

/* ------------------------------------ */
/* 6. RODAPÉ                            */
/* ------------------------------------ */
footer { 
    text-align: center; 
    padding: 30px; 
    color: #64748b; 
    font-size: 13px; 
}

/* ==================================== */
/* ESTILOS SOBRE NÓS E NOSSA HISTÓRIA   */
/* ==================================== */

.panel-sobre {
    padding: 40px !important;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.sobre-media {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 90px;
}

.logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.sobre-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.logo-card-info h3 {
    font-size: 18px;
    color: #112d69;
    margin-bottom: 4px;
    font-weight: 700;
}

.logo-card-info .loc {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px !important;
}

.badge-fundacao {
    display: inline-block;
    background-color: #f1f5f9;
    color: #112d69;
    border: 1px solid #cbd5e1;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.panel-header-custom {
    margin-bottom: 15px;
}

.sub-title {
    font-size: 11px;
    font-weight: 700;
    color: #c59b27;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.panel-header-custom h2 {
    font-size: 26px;
    color: #112d69;
    margin: 0;
}

.header-line {
    width: 50px;
    height: 3px;
    background-color: #c59b27;
    margin-top: 6px;
    border-radius: 2px;
}

.sobre-content p {
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 16px;
}

.lead-text {
    font-size: 16.5px !important;
    color: #0f172a !important;
}

.highlight-badge {
    background-color: #fafaf9;
    border: 1px solid #e7e5e4;
    border-left: 4px solid #c59b27;
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    color: #44403c;
    margin: 20px 0;
}

.conquista-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #112d69;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.conquista-info strong {
    color: #112d69;
    font-size: 14px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.conquista-info p {
    margin-bottom: 0 !important;
    font-size: 14px;
    color: #334155;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 35px 0;
}

.final-statement {
    font-weight: 500;
    color: #0f172a !important;
}

@media (max-width: 900px) {
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-media {
        position: static;
        margin-bottom: 25px;
    }
}

#historia,
.panel-header-custom {
    scroll-margin-top: 100px;
}

/* ==================================== */
/* ESTILOS DO CARROSSEL & LIGHTBOX      */
/* ==================================== */

#galeria {
    scroll-margin-top: 100px;
}

.carrossel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.galeria-carrossel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 15px 5px;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.galeria-carrossel::-webkit-scrollbar {
    display: none;
}

.carrossel-item {
    flex: 0 0 240px;
    height: 170px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    scroll-snap-align: start;
}

.carrossel-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.carrossel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carrossel-item:hover img {
    transform: scale(1.08);
}

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 45, 105, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.carrossel-item:hover .galeria-overlay {
    opacity: 1;
}

.btn-carrossel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #112d69;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: background 0.2s, transform 0.2s;
}

.btn-carrossel:hover {
    background: #c59b27;
    transform: translateY(-50%) scale(1.05);
}

.btn-carrossel.prev { left: -10px; }
.btn-carrossel.next { right: -10px; }

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2010;
}

.lightbox-close:hover { color: #c59b27; }

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-btn:hover { background: #c59b27; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

#lightbox-caption {
    margin-top: 14px;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 500;
}

/* ==================================== */
/* ESTILOS DA SEÇÃO CONTATO             */
/* ==================================== */

#contato {
    scroll-margin-top: 100px;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
    margin-bottom: 35px;
}

.contato-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contato-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    border: 2px dashed #c59b27;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fefce8;
}

.contato-icon {
    width: 26px;
    height: 26px;
    stroke: #d97706;
}

.contato-card h3 {
    font-size: 17px;
    color: #112d69;
    margin-bottom: 8px;
    font-weight: 700;
}

.contato-card p {
    font-size: 14.5px;
    color: #334155;
    margin-bottom: 4px;
}

.contato-card p a {
    color: #112d69;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contato-card p a:hover {
    color: #c59b27;
    text-decoration: underline;
}

.contato-card .sub-text {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 4px;
}

.mapa-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.mapa-container iframe {
    display: block;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand-slogan {
    font-size: 11px;
    font-weight: 300;
    color: #f1f5f9;
    font-style: italic;
    margin-top: 2px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    opacity: 0.9;
}

/* ==================================== */
/* ESTILO DO RODAPÉ INSTITUCIONAL       */
/* ==================================== */

.main-footer {
    background-color: #112d69;
    border-top: 4px solid #c59b27;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-container p {
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.footer-subtext {
    font-size: 12.5px;
    color: #cbd5e1;
    font-weight: 300;
    display: block;
}

/* ==================================== */
/* RODAPÉ EM LARGURA TOTAL (CORRIGIDO)  */
/* ==================================== */

.area-contato-footer {
    width: 100%; /* Corrigido de 100vw para 100% para acabar com o vazamento lateral */
    background-color: #112d69;
    border-top: 4px solid #c59b27;
    padding-top: 60px;
    color: #ffffff;
    box-sizing: border-box;
}

.contato-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-dark {
    text-align: center;
    margin-bottom: 12px;
}

.header-dark .sub-title {
    color: #facc15;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.header-dark h2 {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 10px 0;
}

.header-dark .header-line {
    width: 60px;
    height: 3px;
    background-color: #c59b27;
    margin: 0 auto 20px auto;
}

.section-desc-dark {
    color: #cbd5e1;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-size: 15px;
}

.contato-clean-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 45px;
}

.contato-clean-item {
    text-align: center;
}

.icon-circle-dark {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    border: 2px dashed #c59b27;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle-dark .contato-icon {
    width: 26px;
    height: 26px;
    stroke: #facc15;
}

.contato-clean-item h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 6px;
    font-weight: 700;
}

.contato-clean-item p {
    font-size: 14.5px;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.contato-clean-item p a {
    color: #facc15;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contato-clean-item p a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.sub-text-dark {
    font-size: 12.5px;
    color: #94a3b8;
    display: block;
}

.mapa-container-dark {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 40px;
}

.mapa-container-dark iframe {
    display: block;
}

.main-footer-clean {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 25px 0 35px 0;
    text-align: center;
}

.main-footer-clean p {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-subtext-dark {
    font-size: 12.5px;
    color: #94a3b8;
}

/* ==================================== */
/* SEÇÃO DE DIRIGENTES (TRANSPARÊNCIA)  */
/* ==================================== */

#dirigentes {
    scroll-margin-top: 100px;
}

.nota-legal-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #f8fafc;
    border-left: 4px solid #112d69;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.nota-legal-icon i {
    font-size: 26px;
    color: #112d69;
    flex-shrink: 0;
}

.nota-legal-texto p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.nota-legal-texto em {
    color: #112d69;
    font-weight: 600;
}

.dirigentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 22px;
}

.dirigente-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dirigente-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.cargo-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #112d69;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.cargo-badge i {
    color: #facc15;
    font-size: 14px;
}

.dirigente-nome {
    font-size: 16px;
    color: #112d69;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    min-height: 48px;
    display: flex;
    align-items: center;
    line-height: 1.35;
}

.dirigente-dados p {
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.4;
}

.dirigente-dados p strong {
    color: #1e293b;
}

.dirigente-dados p a {
    color: #112d69;
    text-decoration: none;
    font-weight: 600;
}

.dirigente-dados p a:hover {
    color: #c59b27;
    text-decoration: underline;
}

/* ==================================== */
/* ESTILOS DOS CARDS DE PROJETOS        */
/* ==================================== */

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 340px));
    gap: 25px;
    margin-top: 20px;
}

.projeto-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.projeto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.projeto-capa {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.projeto-capa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projeto-card:hover .projeto-capa img {
    transform: scale(1.05);
}

.projeto-corpo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.projeto-titulo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.projeto-titulo a {
    color: #112d69;
    text-decoration: underline;
    text-decoration-color: #112d69;
    transition: color 0.2s;
}

.projeto-titulo a:hover {
    color: #c59b27;
    text-decoration-color: #c59b27;
}

.projeto-descricao {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.projeto-descricao a {
    color: #475569;
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
}

.projeto-descricao a:hover {
    color: #112d69;
}

/* Footer do Card com Ícones de Compartilhamento */
.projeto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.share-label {
    font-size: 18px;
    font-weight: 700;
    color: #112d69;
}

.share-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.share-icons a {
    color: #112d69;
    font-size: 17px;
    transition: color 0.2s, transform 0.2s;
}

.share-icons a:hover {
    color: #c59b27;
    transform: translateY(-2px);
}

/* ==================================== */
/* ESTILOS DA SEÇÃO DE NOTÍCIAS         */
/* ==================================== */

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.noticia-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.noticia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Header do Card com Status e Data */
.noticia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 12px;
}

.badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Badges Personalizadas de Status */
.badge-status.em-andamento {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #fcd34d;
}

.badge-status.contemplado {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.noticia-data {
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Corpo da Notícia */
.noticia-corpo {
    flex-grow: 1;
}

.noticia-titulo {
    font-size: 17px;
    color: #112d69;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
}

/* CAIXA PADRÃO DE CONTEMPLAÇÃO */
.destaque-info {
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-left: 3px solid #16a34a;
    padding: 9px 12px;
    border-radius: 6px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.destaque-info.azul {
    border-left-color: #112d69;
}

.info-rotulo {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.info-valor {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.info-valor.verde {
    color: #16a34a;
}

.info-valor.texto-destaque {
    color: #112d69;
    font-size: 14px;
    margin-top: 2px;
}

.noticia-resumo {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Rodapé do Card */
.noticia-footer {
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autor-tag {
    font-size: 12.5px;
    font-weight: 700;
    color: #112d69;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.autor-tag i {
    color: #c59b27;
}

.btn-noticia-mais {
    background-color: #112d69;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    transition: background 0.2s, transform 0.2s;
}

.btn-noticia-mais:hover {
    background-color: #c59b27;
    transform: scale(1.1);
}

/* ==================================== */
/* ESTILOS DE DOCUMENTOS E AVISOS       */
/* ==================================== */

.doc-indisponivel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: help;
}

.doc-indisponivel i {
    color: #d97706; /* Ícone em tom âmbar/alerta sutil */
    font-size: 13px;
}

/* Container da mensagem abaixo do botão */
.msg-pdf-alerta {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #dc2626; /* Vermelho aviso */
    display: none;  /* Inicia escondido */
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

.msg-pdf-alerta.ativo {
    display: flex;
}

/* Container de ancoragem do botão */
/* Container de ancoragem na célula */
.tooltip-container {
    position: relative;
    display: inline-block;
}

/* Balão flutuante (Popover) sem gerar rolagem */
.pdf-popover {
    position: absolute;
    bottom: calc(100% + 8px); /* Fica acima do botão */
    right: 0; /* Alinha à direita do botão para não vazar a tela */
    
    /* Largura fixa ajustada para caber em qualquer tela */
    width: 170px; 
    text-align: center;
    
    /* Estilo Visual */
    background: #112d69;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    padding: 7px 10px;
    border-radius: 6px;
    
    /* Borda sutil e sombra */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    /* Oculto por padrão */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(4px);
    z-index: 99;
}

/* Setinha apontando para o botão */
.pdf-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px; /* Alinhada à direita junto com o botão */
    border-width: 5px;
    border-style: solid;
    border-color: #112d69 transparent transparent transparent;
}

/* Estado Visível */
.pdf-popover.visivel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==================================== */
/* HERO SECTION (FUNDO E OVERLAY)       */
/* ==================================== */

.hero-section {
    position: relative;
    background-image: url('../img/campo-bg.jpg'); /* Adicione sua imagem de fundo na pasta img/ */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito parallax leve */
    padding: 80px 20px 100px 20px; /* Altura ideal sem ficar gigante */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

/* Camada azul transparente (Máscara/Overlay estilo a imagem de exemplo) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 45, 105, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-section h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-lema {
    font-size: 16px;
    color: #e2e8f0;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* BOTÕES DE AÇÃO DO HERO */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-hero.btn-primary {
    background-color: #c59b27; /* Dourado / Amarelo da associação */
    color: #ffffff;
    border: 1px solid #b28a22;
}

.btn-hero.btn-primary:hover {
    background-color: #d6a92d;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 155, 39, 0.4);
}

.btn-hero.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-hero.btn-secondary:hover {
    background-color: #ffffff;
    color: #112d69;
    transform: translateY(-2px);
}

/* ==================================== */
/* CARDS DE MÉTRICAS (SOBREPOSTOS)      */
/* ==================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: -45px; /* Faz os cards flutuarem sobre a imagem de fundo */
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.card-metric {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Ícones dos Cards */
.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.card-metric.blue .card-icon {
    background-color: #eff6ff;
    color: #2563eb;
}

.card-metric.green .card-icon {
    background-color: #f0fdf4;
    color: #16a34a;
}

.card-metric.orange .card-icon {
    background-color: #fff7ed;
    color: #ea580c;
}

/* Informações internas do Card */
.card-info h3 {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.card-info .amount {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.card-info small {
    font-size: 11.5px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

/* Ajustes para Telas Menores */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 15px 80px 15px;
    }
    .hero-section h1 {
        font-size: 22px;
    }
    .hero-lema {
        font-size: 14px;
    }
    .cards-grid {
        margin-top: -30px;
    }
}

/* LEMA EM DESTAQUE */
.hero-lema {
    font-size: 24px;                  /* Tamanho bem visível e destacado */
    font-weight: 700;                 /* Letra em negrito */
    font-style: italic;               /* Estilo itálico elegante */
    color: #fbbf24;                   /* Tom dourado/âmbar vibrante para destacar do azul */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Sombra para dar leitura perfeita sobre a foto */
    
    margin-top: 15px;                 /* Distância do título principal */
    margin-bottom: 45px;              /* Aumenta o afastamento dos botões abaixo */
    
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Ajuste Responsivo para Celulares */
@media (max-width: 768px) {
    .hero-lema {
        font-size: 19px;              /* Ajusta para telas menores sem quebrar a tela */
        margin-bottom: 30px;          /* Espaçamento ligeiramente menor no celular */
    }
}