
/* CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* A fonte moderna */
}

:root {
    --primary-orange: #FF8800; /* Laranja da Seta */
    --bg-black: #1A1A1A; /* Preto do Texto */
    --bg-white: #FFFFFF;
    --text-grey: #666666;
    --border-grey: #EEEEEE;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CABEÇALHO */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-grey);
    position: sticky; /* Fica fixo no topo ao rolar */
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-area {
    text-align: left;
}

.logo-text {
    font-weight: 700;
    font-size: 24px;
    color: var(--bg-black);
}

.sub-logo {
    display: block;
    font-size: 11px;
    color: var(--text-grey);
    text-transform: uppercase;
    margin-top: -3px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

header nav ul li a {
    text-decoration: none;
    color: var(--bg-black);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-orange);
}

header nav ul li a.btn-contato {
    background-color: var(--primary-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

header nav ul li a.btn-contato:hover {
    background-color: #E67A00; /* Laranja mais escuro no hover */
}

header nav ul li a.btn-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 2px solid var(--primary-orange);
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
}

header nav ul li a.btn-admin:hover {
    background-color: var(--primary-orange);
    transform: scale(1.1);
}

/* SEÇÃO HERO */
.hero {
    background-color: var(--bg-black);
    color: var(--bg-white);
    padding: 120px 0; /* Mais espaçamento para o visual moderno */
    position: relative;
    display: flex;
    align-items: center;
}

/* Dica: Adicionar uma imagem de fundo sutil ou um padrão geométrico no CSS aqui */

.title-large {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.destaque {
    color: var(--primary-orange);
}

.subtitle-large {
    font-size: 18px;
    color: #CCCCCC;
    max-width: 600px;
    font-weight: 300;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background-color: #E67A00;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background-color: var(--primary-orange);
    color: white;
}

/* SEÇÃO TRANSPARÊNCIA */
.transparencia-home {
    padding: 80px 0;
    background-color: #F9F9FB; /* Cinza bem claro para diferenciar */
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.tag-orange {
    color: var(--primary-orange);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 36px;
    color: var(--bg-black);
    margin: 10px 0;
}

.section-subtitle {
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
}

/* GRID DE CARDS */
.transparencia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card-transp {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-grey);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.card-transp:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-transp.highlight {
    border-left: 5px solid var(--primary-orange);
}

.icon-box {
    font-size: 30px;
    margin-bottom: 20px;
}

.card-transp h3 {
    font-size: 20px;
    color: var(--bg-black);
    margin-bottom: 15px;
}

.card-transp p {
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 25px;
}

.link-doc {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.3s;
}

.link-doc:hover {
    text-decoration: underline;
}

.transparencia-footer {
    margin-top: 50px;
    font-size: 14px;
    color: var(--text-grey);
}

.transparencia-footer a {
    color: var(--bg-black);
    font-weight: 700;
}

/* SEÇÃO NOTÍCIAS */
.noticias-home {
    padding: 100px 0; /* Maior espaçamento para visual moderno */
    background-color: var(--bg-white);
}

.align-left {
    text-align: left;
    margin-bottom: 60px;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* CARD DA NOTÍCIA */
.card-noticia {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden; /* Garante que a imagem e a tag não saiam do card */
    border: 1px solid var(--border-grey);
    transition: box-shadow 0.3s ease;
}

.card-noticia:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* THUMBNAIL E TAGS */
.noticia-thumb {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.noticia-thumb img {
    width: 100%;
    height: 100%;
    object-fit: crop; /* Ajusta a imagem sem distorcer */
    transition: transform 0.5s ease;
}

.card-noticia:hover .noticia-thumb img {
    transform: scale(1.1); /* Efeito de zoom no hover */
}

.categoria-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-orange);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cores específicas para tags (opcional) */
.categoria-tag.educación {
    background-color: #007bff; /* Azul */
}

.categoria-tag.transparencia {
    background-color: var(--bg-black); /* Preto */
}

/* CONTEÚDO DO CARD */
.noticia-content {
    padding: 25px;
}

.noticia-date {
    display: block;
    color: var(--text-grey);
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 300;
}

.noticia-content h3 {
    font-size: 20px;
    color: var(--bg-black);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.noticia-content p {
    font-size: 15px;
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: 25px;
    display: -webkit-box; /* Limita a 3 linhas */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.3s;
}

.read-more:hover {
    opacity: 0.7;
}

.text-center {
    text-align: center;
}
/* SEÇÃO PARCEIROS */
.parceiros-home {
    padding: 60px 0 100px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-grey);
}

.parceiros-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.parceiro-item {
    filter: grayscale(100%); /* Deixa a logo cinza por padrão */
    opacity: 0.6;
    transition: all 0.4s ease;
    max-width: 160px;
}

.parceiro-item img {
    width: 100%;
    height: auto;
    display: block;
}

.parceiro-item:hover {
    filter: grayscale(0%); /* A logo ganha cor original no hover */
    opacity: 1;
    transform: scale(1.05); /* Leve aumento para destaque */
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .parceiros-slider {
        gap: 30px;
    }
    .parceiro-item {
        max-width: 120px;
    }
}

/* RODAPÉ (FOOTER) */
.footer-main {
    background-color: var(--bg-black);
    color: #FFFFFF;
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-col h3 {
    color: var(--primary-orange);
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    font-size: 32px;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-description {
    color: #AAAAAA;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 20px;
    max-width: 300px;
}

/* Links do Rodapé */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
}

/* Contatos */
.footer-col.contact p {
    color: #CCCCCC;
    font-size: 14px;
    margin-bottom: 8px;
}

.mt-20 { margin-top: 20px; }

/* Redes Sociais */
.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #333;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* Barra Inferior */
.footer-bottom {
    background-color: #111111;
    padding: 25px 0;
    border-top: 1px solid #222;
    font-size: 12px;
    color: #666;
}

.flex-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsividade */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-description {
        margin: 20px auto;
    }
    .social-links {
        justify-content: center;
    }
    .flex-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* PÁGINA QUEM SOMOS */
.quem-somos-page {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-title {
    margin-bottom: 60px;
}

.page-title h1 {
    font-size: 42px;
    color: var(--bg-black);
    margin-bottom: 15px;
}

.quem-somos-content .text-block {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
    line-height: 1.8;
    color: var(--text-grey);
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pilar {
    background: #F9F9FB;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 4px solid var(--primary-orange); /* Toque da cor da logo */
}

.pilar .icon {
    font-size: 40px;
    display: block;
    margin-bottom: 20px;
}

.pilar h3 {
    color: var(--bg-black);
    margin-bottom: 15px;
}

.pilar p {
    font-size: 14px;
    color: var(--text-grey);
}
.impacto-numeros {
    background-color: var(--bg-black);
    padding: 60px 0;
    color: white;
    text-align: center;
}
.grid-numeros {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}
.numero-item .count {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-orange);
}
.numero-item p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}
.highlight-orange .count {
    color: #FFFFFF;
    background: var(--primary-orange);
    padding: 5px 15px;
    border-radius: 8px;
}

/* DESIGN DOS PROJETOS */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.projeto-card {
    background: #FFFFFF;
    border: 1px solid var(--border-grey);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.projeto-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.status-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    display: inline-block;
}

.em-andamento { background: #E8F5E9; color: #2E7D32; }
.captacao { background: #FFF3E0; color: #EF6C00; }

.meta-dados {
    margin: 20px 0;
    font-size: 13px;
    color: var(--text-grey);
    display: flex;
    gap: 15px;
}

.btn-detalhe {
    display: block;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}
.progress-container {
    background-color: #eee;
    border-radius: 10px;
    height: 10px;
    margin: 15px 0 5px 0;
    overflow: hidden;
}
.progress-bar {
    background-color: var(--primary-orange); /* Laranja da sua logo */
    height: 100%;
}
.progress-text {
    font-size: 12px;
    color: var(--text-grey);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   ACESSIBILIDADE – IBSC
   Conforme WCAG 2.1 AA e Lei Brasileira de Inclusão (LBI)
   ═══════════════════════════════════════════════════════ */

/* Skip link */
.ibsc-skip-link {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange, #FF8800);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    text-decoration: none;
    z-index: 999999;
    transition: top 0.2s;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}
.ibsc-skip-link:focus {
    top: 0;
    outline: 3px solid white;
    outline-offset: 2px;
}

/* Foco padrão para todos os elementos interativos */
:focus-visible {
    outline: 3px solid var(--primary-orange, #FF8800);
    outline-offset: 2px;
}

/* Tamanhos mínimos de área de clique (WCAG 2.5.5) */
button, a, input, select, textarea {
    min-height: 44px;
}

header nav ul li a,
header nav ul li a.active {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Contraste adequado para textos (WCAG 1.4.3) */
.text-grey-accessible {
    color: #595959; /* Contraste 7:1 em fundo branco */
}

/* Animações respeitam prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Imagens decorativas - garantir que não recebam foco */
img[role="presentation"] {
    pointer-events: none;
}

/* Formulários acessíveis */
label {
    cursor: pointer;
}

input[aria-required="true"],
select[aria-required="true"],
textarea[aria-required="true"] {
    border-left: 3px solid var(--primary-orange, #FF8800);
}

/* Estados de erro acessíveis */
[aria-invalid="true"] {
    border-color: #c0392b !important;
    background-color: #fff8f8;
}

/* Tabelas acessíveis */
table caption {
    font-weight: 700;
    text-align: left;
    padding: 12px 0;
    color: var(--bg-black, #1A1A1A);
}

/* Badge com contraste adequado */
.categoria-tag {
    /* Garantir contraste mínimo 4.5:1 */
    color: #fff;
}

/* Links com contraste mínimo */
.read-more:focus,
.link-doc:focus,
.doc-link:focus {
    outline: 3px solid var(--primary-orange, #FF8800);
    border-radius: 3px;
}
