/*
Theme Name: Tema ICEP
Author: Seu Nome
Description: Tema personalizado para o site do ICEP baseado no design.
Version: 1.0
Tags: accessibility-ready, responsive-layout, bootstrap
*/

/* --- Variáveis de Cor (Baseado no Design) --- */
:root {
    --icep-orange: #f58220; /* Laranja principal */
    --icep-green: #00a99d;  /* Verde */
    --icep-red: #ec1c24;    /* Vermelho */
    --icep-dark-text: #4d4d4d;
    --icep-light-gray: #f4f4f4;
    --icep-footer-bg: #f8f1e7; /* Fundo do rodapé */
    --primary-orange: #d94a1e; /* Cor exata aproximada da imagem */
    --text-dark: #333;
    --text-light: #fff;
    --font-main: 'Montserrat', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

/* --- Configuração Global e de Acessibilidade --- */
body {
    background-color: #f4f4f4;
}

/* Foco Visível para Navegação por Teclado (Acessibilidade) */
a:focus,
button:focus,
input:focus,
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--icep-orange);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--icep-orange);
}

/* --- Barra Superior (Top Bar) --- */
.top-bar {
    background-color: var(--primary-orange);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end; /* Tudo alinhado à direita */
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Acessibilidade */
.accessibility-tools {
    display: flex;
    gap: 10px;
    align-items: center;
}

.accessibility-tools a {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* Caixa de Busca */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box form input::placeholder {
    color: #ffffff !important;
    opacity: 1; /* Safari exige isso */
}

.search-box input {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 5px 35px 5px 15px;
    color: white;
    outline: none;
    width: 200px;
    transition: 0.3s;
}

.search-box input:focus {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.search-box button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Redes Sociais */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: white;
    background-color: rgba(255,255,255,0.2); /* Círculo levemente visível */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: white;
    color: var(--primary-orange);
}

.flag-icon i {
    color: #4CAF50; /* Verde estilo bandeira BR */
    font-size: 20px;
    background: gold;
    border-radius: 50%;
    padding: 2px;
}

/* --- Header Principal --- */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Logo Setup */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-orange);
}

.logo img {
    height: 50px; /* Ajuste conforme seu logo real */
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span {
    font-weight: 700;
    font-size: 24px;
    color: #1a5c56; /* Verde escuro do logo */
}

.logo-text small {
    font-size: 9px;
    font-weight: 600;
    color: #1a5c56;
    letter-spacing: 0.5px;
}

/* Remove bolinhas do menu e submenu */
.navbar ul,
.navbar ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove underline de todos os links */
.navbar a,
.navbar a:hover,
.navbar a:focus,
.navbar .submenu a {
    text-decoration: none !important;
}

/* Menu de Navegação Desktop */
.navbar ul {
    display: flex;
    gap: 25px;
}

.navbar ul li {
    position: relative; /* Necessário para o submenu */
}

.navbar a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
    padding-bottom: 5px;
}

/* Efeito Hover e Ativo */
.navbar a:hover,
.navbar a.active {
    color: var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
}

/* Submenu seta */
.has-submenu > a i {
    font-size: 12px;
    margin-left: 5px;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 200px;
    flex-direction: column;
    gap: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary-orange);

    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.submenu li {
    width: 100%;
}

.submenu li a {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.submenu li a:hover {
    background-color: #f9f9f9;
}

/* Mostrar submenu */
.has-submenu:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsividade (Tablets e Celulares) --- */
@media (max-width: 992px) {
    .top-bar-content {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .header-content {
        height: 70px;
    }

    /* Botão Hamburger */
    .menu-icon {
        display: block;
        font-size: 28px;
        color: var(--primary-orange);
        cursor: pointer;
    }

    /* Menu Mobile */
    .navbar {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        border-top: 1px solid #eee;
        
        /* Animação de abrir */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .navbar ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .navbar ul li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    /* Comportamento do Checkbox Hack */
    #menu-toggle:checked ~ .navbar {
        max-height: 500px; /* Altura suficiente para mostrar o menu */
    }

    /* Submenu no Mobile (Estático) */
    .submenu {
        position: static;
        visibility: visible;
        opacity: 1;
        width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        transform: none;
        background-color: #fafafa;
        display: none; /* Esconde para não ficar gigante, mostra se quiser via JS ou CSS extra */
    }
    
    /* Mostrar submenu no hover mobile ou deixar sempre aberto */
    .has-submenu:hover .submenu {
        display: block;
    }
}

/* Link para "Pular para o conteúdo" (Acessibilidade) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--icep-orange);
    color: white;
    padding: 8px;
    z-index: 10000;
}
.skip-link:focus {
    top: 0;
}

/* Padrões de Tag (Acessibilidade) */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--icep-orange);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--icep-dark-text);
    margin-top: -1rem;
    margin-bottom: 1rem;
}

/* --- Estados de HOVER ('Over') --- */
.btn-icep, 
.card-noticia a {
    transition: all 0.3s ease-in-out;
}

.btn-icep {
    background-color: var(--icep-orange);
    border-color: var(--icep-orange);
    color: #fff;
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-icep:hover, 
.btn-icep:focus {
    background-color: #e06f10; /* Laranja mais escuro */
    border-color: #e06f10;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-noticia {
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card-noticia a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-noticia:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Estilos Específicos das Seções --- */

/* 1. Hero (para o texto) */
.hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--icep-orange); /* Ou outra cor do design */
}

/* 2. Quem Somos */
.quem-somos-section {
    background-color: var(--icep-light-gray);
}

/* 3. Diagrama de Venn (Recriação) */
.diagrama-venn-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px; /* Ajuste conforme necessário */
    margin: 40px auto;
}

/* Este é um método SIMPLIFICADO. O design exato requer SVG ou 'clip-path' */
.diagrama-circulo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 10px;
    opacity: 0.9;
}

.diagrama-circulo {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    overflow: hidden; /* evita que o texto extrapole */
}

/* Ambos começam ocupando o mesmo espaço */
.circulo-titulo,
.circulo-desc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    width: 80%;
}

/* Descrição começa invisível */
.circulo-desc {
    opacity: 0;
    visibility: hidden;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

/* Título some no hover */
.diagrama-circulo:hover .circulo-titulo {
    opacity: 0;
    visibility: hidden;
}

/* Descrição aparece no hover */
.diagrama-circulo:hover .circulo-desc {
    opacity: 1;
    visibility: visible;
}



/* Em telas maiores, podemos tentar sobrepor */
@media (min-width: 768px) {
    .diagrama-venn {
        position: relative;
        height: 350px;
    }
    .diagrama-circulo {
        position: absolute;
    }
    .circulo-1 {
        top: 0;
        left: 50%;
        transform: translateX(-100%);
    }
    .circulo-2 {
        top: 0;
        left: 50%;
        transform: translateX(0%);
    }
    .circulo-3 {
        top: 130px; /* Ajuste para sobrepor */
        left: 50%;
        transform: translateX(-50%);
    }
}


/* 4. Seção Mapa */
.mapa-section {
    background-color: var(--icep-orange);
}
.section-title.text-white {
    color: #ffffff;
}

/* 5. Nossos Números */
.numero-box {
    background-color: #fefcf9;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.numero-box .numero {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--icep-orange);
    line-height: 1.1;
}
.numero-box .descricao {
    font-size: 1rem;
    color: var(--icep-dark-text);
    line-height: 1.2;
    margin-top: 5px;
}
/* Responsivo para números */
@media (max-width: 767px) {
    .numero-box {
        width: 150px;
        height: 150px;
    }
    .numero-box .numero {
        font-size: 1.8rem;
    }
    .numero-box .descricao {
        font-size: 0.9rem;
    }
}


/* 6. Notícias */
.card-noticia .card-body {
    display: flex;
    flex-direction: column;
}
.card-noticia .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--icep-orange);
}
.card-noticia .card-text {
    flex-grow: 1; /* Faz o texto preencher o espaço */
}
.card-noticia .card-date {
    font-size: 0.9rem;
    color: #888;
    margin-top: 1rem;
}

/* 7. Depoimentos */
.card-depoimento {
    border: none;
    border-radius: 15px;
    /* Cada card tem sua cor, definido no HTML */
}
.card-depoimento.style-verde {
    background-color: #e6f7f5; /* Verde claro */
}
.card-depoimento.style-laranja {
    background-color: #feeddf; /* Laranja claro */
}
.card-depoimento.style-vermelho {
    background-color: #fde9e9; /* Vermelho claro */
}
.card-depoimento .depoimento-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #fff; /* Borda branca */
}
.card-depoimento blockquote {
    font-style: italic;
}
.card-depoimento .depoimento-autor strong {
    color: var(--icep-dark-text);
    font-style: normal;
}
/* Cores dos autores */
.style-verde .depoimento-autor strong { color: var(--icep-green); }
.style-laranja .depoimento-autor strong { color: var(--icep-orange); }
.style-vermelho .depoimento-autor strong { color: var(--icep-red); }


/* --- Rodapé --- */
.site-footer {
    background-color: var(--icep-footer-bg);
}
.site-footer h5 {
    color: var(--icep-orange);
    font-weight: bold;
}
.site-footer .footer-social-icons a {
    color: var(--icep-dark-text);
    font-size: 1.5rem;
    margin-right: 10px;
    text-decoration: none;
}
.site-footer .footer-social-icons a:hover {
    color: var(--icep-orange);
}


/* --- Acessibilidade: Alto Contraste --- */
/* JS é necessário para adicionar/remover a classe 'high-contrast' do <body> */
.high-contrast {
    background-color: #000 !important;
    color: #FFF !important;
}
.high-contrast .section-title,
.high-contrast .numero-box .numero,
.high-contrast .card-noticia .card-title,
.high-contrast .depoimento-autor strong,
.high-contrast .site-footer h5 {
    color: #FFFF00 !important; /* Amarelo brlihante */
}
.high-contrast .bg-orange,
.high-contrast .site-footer,
.high-contrast .circulo-verde,
.high-contrast .circulo-laranja,
.high-contrast .circulo-vermelho {
    background-color: #000 !important;
    background-image: none !important;
}
.high-contrast a {
    color: #FFFF00 !important;
    text-decoration: underline !important;
}
.high-contrast .card, 
.high-contrast .numero-box,
.high-contrast .card-depoimento {
    background-color: #1a1a1a !important;
    border: 2px solid #FFF !important;
}
.high-contrast img {
    filter: grayscale(100%) contrast(3);
}

/*Home*/

/* Remove espaço branco ao redor */
#carouselTopo img {
    object-fit: cover;
    height: 480px; /* ajuste se quiser */
}

/* Ajusta indicadores */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Ajusta botões de navegação */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* Estado destacado */
.estado-selecionado path[style] {
    fill: #f58220 !important;
}

/* Bolinha piscante */
.estado-marker {
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url('imgs/marcador-branco.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: blink 1s infinite;
    pointer-events: none;
}

/* Animação da bolinha */
@keyframes blink {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8); }
}

#educ-mapa{position: relative;}

#educ-mapa svg{width: 400px;}

/* Wrapper para posicionamento */
.educ-mapa-wrapper {
    position: relative;
    display: inline-block;
}

/****************************************************************INTERNAS************************************************************************/

.header-interna {
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
}

.header-interna h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}

/**************************PUBLICAÇÕES**************************/


/* Botões */
.filtro-btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: bold;
    border: none;
    color: #fff;
    cursor: pointer;
}
.filtro-btn.active { opacity: 0.8; }

.filtro-icep { background: #ff8c00; }
.filtro-pedagogico { background: #1c9f74; }
.filtro-portfolio { background: #e24253; }

/* Cards */
.card-pub {
    border: none;
    margin-bottom: 25px;
}
.card-pub img {
    width: 100%;
    border-radius: 8px;
}
.card-pub h5 {
    font-size: 1.1rem;
    font-weight: bold;
}
.card-pub p {
    font-size: .9rem;
    color: #555;
}

/* Sessões */
.section-titulo {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 60px;
}
.section-subtitulo {
    color: #777;
    margin-bottom: 30px;
}

.vermais-btn {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

/**************************** PÁGINA PARCEIROS ****************************/

/* Título principal da página Parceiros */
.parceiros-page .section-title {
    text-align: center;
    font-weight: 800;
    font-size: 1.9rem;
    margin: 60px 0 20px 0;
}

/* GRID dos parceiros (logos) */
.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding: 20px 0;
}

.parceiro-card img {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    display: block;
    transition: 0.3s;
}

.parceiro-card:hover img {
    transform: scale(1.05);
}

.parceiro-card a {
    display: block;
    text-align: center;
}

/* MUNICÍPIOS */
.municipios-area {
    padding: 40px 0;
    text-align: center;
}

.municipios-area h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.municipios-area .conteudo {
    max-width: 900px;
    margin: auto;
    text-align: left;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .parceiros-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    .parceiros-page .section-title {
        font-size: 1.6rem;
        margin: 40px 0 15px 0;
    }
}

/**************************** PÁGINA DEPOIMENTOS ****************************/

/* Card base */
.depoimentos-page .card-dep {
    border-radius: 30px;
    padding: 40px 50px;
    margin-bottom: 45px;
    color: #fff;
    position: relative;
}

/* Foto da pessoa */
.depoimentos-page .card-dep .foto {
    position: absolute;
    right: 35px;
    top: -25px;
}
.depoimentos-page .card-dep .foto img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

/* Nome e empresa */
.depoimentos-page .card-dep .nome {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.depoimentos-page .card-dep .empresa {
    font-size: 1rem;
    opacity: .9;
}

/* Texto do depoimento */
.depoimentos-page .card-dep .texto {
    margin-top: 18px;
    font-size: 1rem;
    max-width: 80%;
}

/* Aspas decorativas */
.depoimentos-page .card-dep .aspas {
    font-size: 3rem;
    opacity: .2;
    margin-bottom: 10px;
}

/* Botões de vídeo e áudio */
.depoimentos-page .dep-btn {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #fff;
}
.depoimentos-page .dep-btn i {
    font-size: 1.6rem;
}

/* Cores dos ciclos */
.dep-color-1 { background: #8BD9D1; }
.dep-color-2 { background: #F4B351; }
.dep-color-3 { background: #6BD0C3; }
.dep-color-4 { background: #005B4D; }
.dep-color-5 { background: #D4571A; }
.dep-color-6 { background: #9CDAD3; }

/* Responsividade */
@media (max-width: 768px) {
    .depoimentos-page .card-dep {
        padding: 30px;
    }
    .depoimentos-page .card-dep .texto {
        max-width: 100%;
    }
    .depoimentos-page .card-dep .foto {
        position: static;
        margin-top: 20px;
        text-align: right;
    }
}

/**************************** PÁGINA ESTRUTURA ****************************/

/* Cabeçalho com imagem */
.estrutura-page .estrutura-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 110px 0;
    text-align: center;
}

.estrutura-page .estrutura-header h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
}

/* Navegação entre Governança e Colaboradores */
.estrutura-page .estrutura-nav {
    text-align: center;
    margin-top: 30px;
}

.estrutura-page .estrutura-nav a {
    font-weight: bold;
    margin: 0 10px;
    font-size: 1.2rem;
    color: #555;
    text-decoration: none;
}

.estrutura-page .estrutura-nav a.active {
    color: #F48C06;
}

/* Títulos das Áreas */
.estrutura-page .estrutura-area-title {
    font-size: 28px;
    font-weight: bold;
    margin: 40px 0 20px;
    text-align: center;
}

/* Cards de estrutura */
.estrutura-page .card-estrutura {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
    transition: 0.2s;
    height: 180px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
}

.estrutura-page .card-estrutura:hover {
    transform: translateY(-4px);
}

/* Tags de Setor */
.estrutura-page .tag-setor {
    display: inline-block;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: bold;
}

.estrutura-page .tag-admin {
    background: #FDD05A;
}

.estrutura-page .tag-pedago {
    background: #8FE3CF;
}

.estrutura-page .tag-diretor {
    background: #f58220 !important;
    color: #fff;
}

/* Card títulos e textos */
.estrutura-page .card-estrutura h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 3px;
}

.estrutura-page .card-estrutura p {
    font-size: 0.9rem;
    color: #444;
}

/* Responsivo */
@media (max-width: 768px) {

    .estrutura-page .estrutura-header h1 {
        font-size: 2.3rem;
    }

    .estrutura-page .estrutura-nav a {
        margin: 0 6px;
        font-size: 1rem;
    }

    .estrutura-page .estrutura-area-title {
        font-size: 23px;
    }

    .estrutura-page .card-estrutura {
        height: auto;
        padding: 20px;
    }
}


/**************************** PÁGINA QUEM SOMOS ****************************/

/* Header com imagem */
.quemsomos-page .quemsomos-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0;
    text-align: center;
}

.quemsomos-page .quemsomos-header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}

/* Sessão Nossos Propósitos */
.quemsomos-page #qs-propositos {
    text-align: center;
    padding: 60px 0;
}

.quemsomos-page .qs-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    height: 280px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: qsCardFadeIn 0.8s ease forwards;
}

/* Títulos e textos dos cards */
.quemsomos-page .qs-card h3 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.quemsomos-page .qs-card p {
    font-size: 1rem;
}

/* Cores */
.quemsomos-page .qs-missao  { background: #e54e2e; }
.quemsomos-page .qs-visao   { background: #f58b21; }
.quemsomos-page .qs-valores { background: #009a77; }

/* Animação com delays */
.quemsomos-page .qs-card:nth-child(1) { animation-delay: .2s; }
.quemsomos-page .qs-card:nth-child(2) { animation-delay: .4s; }
.quemsomos-page .qs-card:nth-child(3) { animation-delay: .6s; }

@keyframes qsCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

/* Hover */
.quemsomos-page .qs-card:hover {
    transform: translateY(-6px) scale(1.03);
    transition: 0.25s ease;
}

/* Citação */
.quemsomos-page .qs-citacao {
    background: #2e9f6f;
    padding: 30px;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 40px auto;
    max-width: 900px;
}

/* Conteúdo da página */
.quemsomos-page .qs-content {
    padding: 40px 0;
}

.quemsomos-page .qs-content img {
    max-width: 100%;
    height: auto;
}

/* Responsivo */
@media (max-width: 768px) {

    .quemsomos-page .quemsomos-header h1 {
        font-size: 2.4rem;
    }

    .quemsomos-page .qs-card {
        height: auto;
    }

    .quemsomos-page .qs-citacao {
        font-size: 1.05rem;
        padding: 20px;
    }
}

/**************************** PÁGINA ARQUIVO DE VÍDEOS ****************************/

/* Cabeçalho */
.videos-page .page-header-videos {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videos-page .page-header-videos::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.videos-page .page-header-videos h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

/* Filtro de categorias e barra de busca */
.videos-page-filter {
    background-color: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.videos-page .categorias-list-title {
    font-weight: bold;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.videos-page .categorias-list a {
    text-decoration: none;
    color: #495057;
    margin-right: 10px;
    font-size: 0.9rem;
}

.videos-page .categorias-list a:hover {
    color: #007bff;
}

/* Cards de vídeo */
.videos-page .video-card {
    margin-bottom: 2.5rem;
    border: none;
}

/* Thumbnail do vídeo */
.videos-page .video-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: block;
}

.videos-page .video-thumbnail-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.videos-page .video-card:hover .video-thumbnail-wrapper img {
    transform: scale(1.05);
}

/* Ícone Play */
.videos-page .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.videos-page .video-card:hover .play-icon {
    background-color: rgba(255, 0, 0, 1);
}

/* Texto dos cards */
.videos-page .card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.videos-page .card-text {
    color: #6c757d;
    font-size: 0.95rem;
}

.videos-page .post-date {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
}

.videos-page .post-date::before {
    content: '\f017';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

/* Responsivo */
@media (max-width: 768px) {

    .videos-page .page-header-videos {
        height: 180px;
    }

    .videos-page .page-header-videos h1 {
        font-size: 2rem;
    }

    .videos-page .categorias-list a {
        display: inline-block;
        margin-bottom: 4px;
    }

    .videos-page .video-card {
        margin-bottom: 2rem;
    }
}

/**************************** PÁGINA TRANSPARÊNCIA / BUSCA ****************************/

/* Header (caso você use header com imagem futuramente) */
.transparencia-page .transparencia-header {
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    text-align: center;
    color: #fff;
}

.transparencia-page .transparencia-header h1 {
    font-size: 3rem;
    font-weight: bold;
}

/* Caixa de busca */
.transparencia-page .search-box-container {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0 40px;
}

.transparencia-page .search-box-container form {
    display: flex;
    border: 2px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    padding-left: 15px;
}

.transparencia-page .search-box-container form input {
    border: none;
    outline: none;
    padding: 8px 12px;
    background: transparent;
}

.transparencia-page .search-box-container form button {
    border: none;
    background: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Títulos de categorias */
.transparencia-page .cat-title {
    font-size: 1.7rem;
    font-weight: 800;
    background: #ddd;
    display: inline-block;
    padding: 5px 14px;
    border-radius: 5px;
    margin-top: 40px;
}

/* Itens da listagem */
.transparencia-page .item-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 20px;
}

.transparencia-page .item-title a {
    text-decoration: none;
    color: var(--text-dark);
}

.transparencia-page .item-title a:hover {
    color: var(--primary-orange);
}

.transparencia-page .item-date {
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.transparencia-page .item-date i {
    margin-right: 5px;
}

/* Sem resultado */
.transparencia-page .sem-resultado {
    text-align: center;
    padding: 60px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsivo */
@media (max-width: 768px) {

    .transparencia-page .search-box-container {
        justify-content: center;
        margin-bottom: 25px;
    }

    .transparencia-page .cat-title {
        font-size: 1.4rem;
    }

    .transparencia-page .item-title {
        font-size: 1.2rem;
    }
}


/**************************** PÁGINA TRANSPARÊNCIA ****************************/

.transparencia-page .transp-header {
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    text-align: center;
    color: #fff;
}

.transparencia-page .transp-header h1 {
    font-size: 3rem;
    font-weight: bold;
}

/* BUSCA */
.transparencia-page .transp-search {
    margin: 30px 0;
    text-align: right;
}

.transparencia-page .transp-search form {
    display: inline-flex;
    border: 2px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    padding-left: 15px;
}

.transparencia-page .transp-search input {
    border: none;
    outline: none;
    padding: 8px 16px;
    width: 260px;
    background: transparent;
}

.transparencia-page .transp-search input::placeholder {
    color: #777;
}

.transparencia-page .transp-search button {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* CATEGORIAS */
.transparencia-page .transp-categorias {
    margin: 50px 0 40px 0;
    text-align: center;
}

.transparencia-page .transp-categorias a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: 0.2s ease;
}

.transparencia-page .transp-categorias a.active {
    opacity: .8;
}

.btn-doc { background: #F4B351; }
.btn-relat-ativ { background: #8BD9D1; }
.btn-relat-aud { background: #D4571A; }

/* TÍTULOS DAS SESSÕES */
.transparencia-page .transp-section-title {
    font-size: 1.7rem;
    font-weight: 800;
    background: #ddd;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 5px;
    margin-top: 40px;
}

/* LISTAGEM */
.transparencia-page .transp-item {
    margin-top: 25px;
}

.transparencia-page .transp-item-title a {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.transparencia-page .transp-item-title a:hover {
    color: var(--icep-orange);
}

.transparencia-page .transp-item-date {
    font-size: .95rem;
    color: #666;
}

.transparencia-page .transp-item-date i {
    margin-right: 5px;
}

/* Sem resultado */
.transparencia-page .sem-resultado {
    text-align: center;
    padding: 60px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .transparencia-page .transp-search {
        text-align: center;
    }

    .transparencia-page .transp-section-title {
        font-size: 1.4rem;
    }

    .transparencia-page .transp-item-title a {
        font-size: 1.15rem;
    }

    .transparencia-page .transp-header h1 {
        font-size: 2.4rem;
    }
}

/************************* LISTAGEM DE ARTIGOS *************************/

.artigos-page .search-box-articles {
    position: relative;
    display: flex;
    border: 1px solid #aaa;
    border-radius: 20px;
    padding: 3px 15px;
    width: 260px;
    overflow: hidden;
}

.artigos-page .search-box-articles input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
}

.artigos-page .search-box-articles button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.artigo-card {
    background: transparent;
    padding: 10px;
}

.artigo-titulo {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.artigo-titulo a {
    color: #000;
    text-decoration: none;
}

.artigo-titulo a:hover {
    color: #f58220;
}

.artigo-excerpt {
    margin: 0;
    font-size: .95rem;
    color: #333;
}

.artigo-autor a {
    color: #00a99d;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}

.artigo-data {
    margin-top: 3px;
    font-size: .85rem;
    color: #444;
}

.artigo-data i {
    margin-right: 5px;
}

.pagination {
    margin-top: 25px;
}

/************************* SINGLE ARTIGO *************************/

.single-artigo-titulo {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.single-artigo-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: .95rem;
}

.single-artigo-meta .autor-artigo a {
    color: #00a99d;
    font-weight: 600;
    text-decoration: none;
}

.single-artigo-conteudo p {
    margin-bottom: 18px;
    font-size: 1rem;
    color: #444;
}

.single-artigo-share {
    text-align: left;
    margin-top: 20px;
}

.single-artigo-share p {
    font-weight: bold;
    font-size: 1rem;
}

.single-artigo-share .share-icons a {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
}

.single-artigo-share .share-icons a:hover {
    color: #f58220;
}

.btn-success {
    background: #00a99d;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
}

.btn-success:hover {
    background: #028c7f;
}

.single-artigo-navegacao a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.single-artigo-navegacao a:hover {
    color: #f58220;
}
