/* Estilos das páginas do JIPP, copiados sem alteração do template antigo (padraogoverno01/css). Carregados só no site do JIPP. */

/* ===== jipp-index.css ===== */
/* Ocultar o título (legenda) do banner rotativo */
.sem-espaco-banner .carousel-inner .banneritem h1 {
    display: none !important;
}

/* Ocultar a faixa azul de fundo da legenda, caso exista */
.sem-espaco-banner .carousel-inner .banneritem .faixa {
    display: none !important;
}
/* ======================================================
   ESTILOS - PÁGINA PRINCIPAL JIPP (INDEX) - HARMONIZADO
   ====================================================== */
.jipp-index-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    color: #334155;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 1. CABEÇALHO HERO (Equilibrado) */
.jipp-index-hero {
    background: linear-gradient(135deg, #004080 0%, #002b5e 100%);
    color: #ffffff;
    padding: 30px 35px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.15);
}

.jipp-index-hero h2 {
    color: #f39c12;
    font-size: 1.8rem !important; /* Tamanho natural de título */
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.jipp-index-hero p {
    font-size: 1.1rem !important; /* Texto fluido e legível */
    line-height: 1.6 !important;
    margin-bottom: 12px;
    font-weight: 400;
}
.jipp-index-hero p:last-child {
    margin-bottom: 0;
}

/* 2. TÍTULOS DE SEÇÃO */
.jipp-index-section-title {
    font-size: 1.4rem !important; /* Harmônico com o resto */
    color: #004080;
    border-left: 4px solid #f39c12;
    padding-left: 12px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 3. ACESSO RÁPIDO (Botões) */
.jipp-index-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.jipp-index-link-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    color: #004080 !important;
    font-size: 1rem !important;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.jipp-index-link-card:hover {
    transform: translateY(-2px);
    border-color: #004080;
    background: #f8fafc;
    box-shadow: 0 6px 15px rgba(0, 64, 128, 0.08);
}

.jipp-index-badge {
    font-size: 0.75rem !important;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    white-space: nowrap;
    margin-left: 10px;
}

.jipp-index-badge.badge-soon { background: #fef3c7; color: #b45309; }

.jipp-index-badge.badge-active { background: #dcfce7; color: #166534; }

/* 4. REALIZAÇÃO E AVISOS */
.jipp-index-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px 30px;
    text-align: center;
}

/* Título e Texto da Realização e Comissão */
.jipp-index-block h3 {
    margin-top: 0;
    color: #004080 !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    margin-bottom: 8px;
}

.jipp-index-block p {
    font-size: 1.1rem !important;
    color: #475569 !important;
    margin: 0;
    line-height: 1.6 !important;
}

.jipp-index-block .icone {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Scroll Reveal */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: opacity, transform;
}

.reveal-item.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ======================================================
   5. COMISSÃO ORGANIZADORA (À Prova de Falhas)
   ====================================================== */
.jipp-comissao-header {
    text-align: center !important;
    margin-bottom: 30px;
}

.jipp-comissao-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    text-align: left !important;
}

.jipp-campus-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
}

.jipp-campus-card h4 {
    color: #004080 !important;
    font-size: 1.15rem !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #f39c12 !important;
    text-align: left !important;
}

/* Força estritamente 1 item por linha usando listas nativas */
.jipp-campus-card ul {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.jipp-campus-card li {
    display: block !important;
    position: relative !important;
    padding-left: 15px !important;
    color: #475569 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
}

.jipp-campus-card li::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    color: #f39c12 !important;
    font-weight: bold !important;
}

/* ======================================================
   6. DESTAQUE: PALESTRA DE ABERTURA
   ====================================================== */
.jipp-palestra-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 64, 128, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.jipp-palestra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 64, 128, 0.15);
}

.jipp-palestra-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 4px solid #f39c12;
}

.jipp-palestra-info {
    padding: 20px;
    background: #f8fafc;
    text-align: center;
    color: #475569;
}
/* ===== inscricao.css ===== */
/* ======================================================
   ESTILOS - PÁGINA INSCRIÇÕES
   ====================================================== */
.jipp-insc-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    color: #334155;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jipp-insc-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.jipp-insc-intro {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #475569;
    margin-bottom: 25px;
}

/* Caixa de Informações Importantes */
.jipp-insc-alert {
    background: #f0f9ff;
    border-left: 4px solid #0284c7;
    border-radius: 0 8px 8px 0;
    padding: 22px 25px;
    margin-bottom: 30px;
}

.jipp-insc-alert h3 {
    color: #0369a1 !important;
    font-size: 1.25rem !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.jipp-insc-alert ul {
    margin: 0;
    padding-left: 20px;
}

.jipp-insc-alert ul li {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #334155;
    margin-bottom: 10px;
}

.jipp-insc-alert ul li:last-child {
    margin-bottom: 0;
}

/* Formúlário de Inscrição (Card Central) */
.jipp-insc-card-form {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.jipp-insc-card-form .icone {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.jipp-insc-card-form h3 {
    color: #004080 !important;
    font-size: 1.4rem !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

.jipp-insc-card-form p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Botão de Inscrição */
.jipp-btn-insc {
    display: inline-block;
    padding: 12px 30px;
    background: #004080;
    color: #ffffff !important;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.jipp-btn-insc:hover {
    background: #002b5e;
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.2);
}

.jipp-btn-insc.disabled {
    background: #cbd5e1;
    color: #64748b !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Grid de Listas de Participantes */
.jipp-insc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 15px;
}

.jipp-insc-pdf-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jipp-insc-pdf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.08);
    border-color: #004080;
}

.jipp-insc-pdf-card h4 {
    color: #004080 !important;
    font-size: 1.15rem !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}
/* ===== programacao.css ===== */
/* ======================================================
   ESTILOS - PÁGINA PROGRAMAÇÃO
   ====================================================== */
.jipp-prog-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    color: #334155;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jipp-prog-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.jipp-prog-intro {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #475569;
    margin-bottom: 25px;
}

/* Agenda Principal Destaque */
.jipp-prog-agenda-box {
    background: #f8fafc;
    border-left: 4px solid #f39c12;
    border-radius: 0 8px 8px 0;
    padding: 20px 25px;
    margin-bottom: 30px;
}

.jipp-prog-agenda-box h3 {
    color: #004080 !important;
    font-size: 1.25rem !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
}

.jipp-prog-agenda-box p {
    font-size: 1.05rem !important;
    color: #334155;
    margin: 0 0 8px 0;
}

.jipp-prog-agenda-box p:last-child {
    margin-bottom: 0;
}

/* Grid de Unidades / Campi */
.jipp-prog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 15px;
}

/* Card de Unidade */
.jipp-prog-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jipp-prog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.08);
    border-color: #004080;
}

.jipp-prog-card h4 {
    color: #004080 !important;
    font-size: 1.2rem !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

/* Botões da Programação */
.jipp-btn-prog {
    display: inline-block;
    padding: 9px 18px;
    background: #004080;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.25s ease;
}

.jipp-btn-prog:hover {
    background: #002b5e;
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.2);
}

.jipp-btn-prog.disabled {
    background: #cbd5e1;
    color: #64748b !important;
    cursor: not-allowed;
    pointer-events: none;
}
/* ===== formatacao.css ===== */
/* ======================================================
   ESTILOS - PÁGINA FORMATAÇÃO DOS TRABALHOS
   ====================================================== */
.jipp-format-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    color: #334155;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jipp-format-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.jipp-format-intro {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #475569;
    text-align: center;
    margin-bottom: 25px;
}

/* Grid de Modelos (2 Colunas) */
.jipp-format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Card de Download de Modelo */
.jipp-format-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jipp-format-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.08);
    border-color: #004080;
}

.jipp-format-card .icone {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.jipp-format-card h3 {
    color: #004080 !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
}

.jipp-format-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

/* Botão de Download */
.jipp-btn-format {
    display: inline-block;
    padding: 11px 26px;
    background: #004080;
    color: #ffffff !important;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.jipp-btn-format:hover {
    background: #002b5e;
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.2);
}

.jipp-btn-format.disabled {
    background: #cbd5e1;
    color: #64748b !important;
    cursor: not-allowed;
    pointer-events: none;
}
/* ===== certificados.css ===== */
/* ======================================================
   ESTILOS - PÁGINA CERTIFICADOS (MODERNO)
   ====================================================== */
.jipp-cert-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    color: #334155;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jipp-cert-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.jipp-cert-intro {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #475569;
    text-align: center;
    margin-bottom: 25px;
}

/* Card Principal de Busca/Emissão */
.jipp-cert-main-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.jipp-cert-main-card .icone {
    font-size: 3rem;
    margin-bottom: 10px;
}

.jipp-cert-main-card h3 {
    color: #004080 !important;
    font-size: 1.4rem !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

.jipp-cert-main-card p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Botão do Sistema Online */
.jipp-btn-cert-green {
    display: inline-block;
    padding: 12px 30px;
    background: #16a34a;
    color: #ffffff !important;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.jipp-btn-cert-green:hover {
    background: #15803d;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.25);
}

.jipp-btn-cert-green.disabled {
    background: #cbd5e1;
    color: #64748b !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Grid de Listas Consolidadas (3 Colunas) */
.jipp-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.jipp-cert-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 20px;
}

.jipp-cert-card h4 {
    color: #004080 !important;
    font-size: 1.2rem !important;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Grupo de Links sem uso de <ul>/<li> para zerar conflito com Joomla */
.jipp-cert-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jipp-cert-group a {
    color: #004080;
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.jipp-cert-group a:hover {
    background: #004080;
    color: #ffffff !important;
    border-color: #004080;
}

.jipp-cert-group a.disabled {
    background: #f1f5f9;
    color: #94a3b8 !important;
    border-color: #e2e8f0;
    cursor: not-allowed;
    pointer-events: none;
}

/* Caixas de Aviso / Ajuda */
.jipp-cert-alert {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    color: #075985;
    font-size: 0.95rem;
    margin-top: 25px;
}
/* ===== livros-resumo.css ===== */
/* ======================================================
   ESTILOS - PÁGINA LIVROS DE RESUMOS / ANAIS
   ====================================================== */
.jipp-anais-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
    color: #334155;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jipp-anais-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.jipp-anais-intro {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #475569;
    margin-bottom: 25px;
}

/* Grid de Modalidades */
.jipp-anais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Card de Download */
.jipp-anais-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jipp-anais-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.08);
    border-color: #004080;
}

.jipp-anais-card h3 {
    color: #004080 !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

.jipp-anais-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Botões de Ação */
.jipp-btn-anais {
    display: inline-block;
    padding: 10px 24px;
    background: #004080;
    color: #ffffff !important;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.jipp-btn-anais:hover {
    background: #002b5e;
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.2);
}

/* Botão desativado para "Em Breve" */
.jipp-btn-anais.disabled {
    background: #cbd5e1;
    color: #64748b !important;
    cursor: not-allowed;
    pointer-events: none;
}
/* ===== edicoes-anteriores-jipp.css ===== */
/* ======================================================
   ESTILOS EXCLUSIVOS - EDIÇÕES ANTERIORES JIPP
   ====================================================== */

/* Barra de Filtro de Anos */
.jipp-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.jipp-btn-filter {
    background: #ffffff;
    border: 2px solid #004080;
    color: #004080;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.jipp-btn-filter:hover,
.jipp-btn-filter.active {
    background: #004080;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.2);
}

/* Grid de Cards */
/* Grid com alinhamento uniforme */
.jipp-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 10px 0;
    align-items: stretch; /* Faz todos os cards da mesma linha terem a mesma altura total */
}

.jipp-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    border: 1px solid #d9e2ec;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jipp-card.hidden {
    display: none !important;
}

.jipp-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(0, 64, 128, 0.18);
    border-color: #004080;
}

/* Para garantir que TODOS os fundos acompanhem o card */
/* Área da Imagem Padronizada */
.jipp-card-img {
    height: 380px; /* Altura única padrão para alinhar todos os cards da página */
    background: #f4f7f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.jipp-card-img.vertical {
    height: 380px; /* Padrão Pôster/Vertical */
}

/* Opcional: Se quiser que o 2021 preencha melhor sem ser "vertical", pode criar um intermediário */
.jipp-card-img.square {
    height: 280px;
}

.jipp-card-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px;
    box-sizing: border-box;
}

.jipp-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Mantém a proporção do cartaz sem cortar */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.06));
    transition: transform 0.4s ease;
}

.jipp-card:hover .jipp-card-img img {
    transform: scale(1.05);
}

/* Rodapé Azul dos Cards */
.jipp-card-badge {
    display: block;
    padding: 14px;
    text-align: center;
    background: #004080;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-top: 3px solid #f39c12;
    transition: background 0.3s ease;
}

.jipp-card:hover .jipp-card-badge {
    background: #002b5e;
}

/* ======================================================
   REVEAL ON SCROLL (REVELAR CONFORME ROLA A TELA)
   ====================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: opacity, transform;
}

.reveal-item.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== pagina-jipp-2025.css ===== */
/* ======================================================
   ESTILOS EXCLUSIVOS - PÁGINA JIPP 2025 (SEM BOOTSTRAP LEGADO)
   ====================================================== */

.jipp25-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
    color: #1e293b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Banner de Topo */
.jipp25-banner {
    text-align: center;
    margin-bottom: 25px;
}
.jipp25-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.jipp25-banner img:hover {
    transform: scale(1.02);
}

/* 1. Cabeçalho Hero */
.jipp25-hero {
    background: linear-gradient(135deg, #004080 0%, #002b5e 100%);
    color: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 64, 128, 0.15);
}

.jipp25-hero h2 {
    color: #f39c12;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
}

.jipp25-hero p {
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

/* 2. Títulos de Seção */
.jipp25-section-title {
    font-size: 1.5rem;
    color: #004080;
    border-left: 5px solid #f39c12;
    padding-left: 14px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

/* 3. Cards de Acesso Rápido */
.jipp25-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.jipp25-link-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    color: #004080;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.jipp25-link-card:hover {
    transform: translateY(-3px);
    border-color: #004080;
    background: #f8fafc;
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.12);
}

/* Badges */
.jipp25-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 12px;
}

.jipp25-badge.badge-closed { background: #fee2e2; color: #991b1b; }
.jipp25-badge.badge-open { background: #dcfce7; color: #166534; }
.jipp25-badge.badge-new { background: #e0f2fe; color: #075985; }
.jipp25-badge.badge-doc { background: #ffedd5; color: #c2410c; }

/* 4. Bloco Inteiro */
.jipp25-block {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* Galeria de Fotos Lado a Lado */
.jipp25-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.jipp25-gallery-item {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.jipp25-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.jipp25-gallery-item:hover img {
    transform: scale(1.05);
}

/* Botões Modernos */
.jipp25-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #004080;
    color: #004080;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 700;
    transition: all 0.25s ease;
    text-align: center;
}

.jipp25-btn:hover {
    background: #004080;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 64, 128, 0.2);
}

/* Caixa Transmissão YouTube */
.jipp25-stream-box {
    background: #f8fafc;
    border-left: 4px solid #004080;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

/* 5. Realização */
.jipp25-realizacao {
    text-align: center;
    background: #f8fafc;
}

.jipp25-realizacao h3 {
    margin-top: 0;
    color: #004080;
    font-size: 1.6rem;
}

.jipp25-realizacao p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0;
}

/* 6. Comissão Organizadora (Grid de 8 Campi Independente) */
.jipp25-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.jipp25-comissao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.jipp25-campus-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: 4px solid #004080;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.jipp25-campus-card h4 {
    margin-top: 0;
    color: #002b5e;
    font-size: 1.15rem;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.jipp25-campus-card p {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.4;
}

.jipp25-campus-card p.no-margin {
    margin-bottom: 0;
}

/* ======================================================
   REVEAL ON SCROLL (REVELAR CONFORME ROLA A TELA)
   ====================================================== */

/* Estado inicial: oculto e aguardando o scroll */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: opacity, transform;
}

/* Estado visível (adicionado pelo JS apenas quando entra na tela) */
.reveal-item.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ======================================================
   NOVAS SEÇÕES CONSOLIDADAS (FORMATAÇÃO, PROGRAMAÇÃO, ETC)
   ====================================================== */

/* Rolagem suave ao clicar nos links de Acesso Rápido */
html {
    scroll-behavior: smooth;
}

/* Grids Úteis para o conteúdo interno */
.jipp25-2col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.jipp25-3col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

/* Card Limpo e Centralizado (Para Formatação e Anais) */
.jipp25-card-simple {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jipp25-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 64, 128, 0.08);
}

.jipp25-card-simple h4 {
    color: #004080;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.jipp25-card-simple p {
    color: #475569;
    margin-bottom: 20px;
}

/* Botão Verde Destaque (Para Sistema de Certificados) */
.jipp25-btn-green {
    background: #16a34a;
    color: #ffffff !important;
    border-color: #15803d;
}

.jipp25-btn-green:hover {
    background: #15803d;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

/* Tags Modernas para Programação (Em vez de Tabelas antigas) */
.jipp25-campus-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.jipp25-campus-link {
    background: #004080;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.jipp25-campus-link:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

/* Listas de Certificados (Categorias) - Corrigido contra conflitos do Joomla */
.jipp25-list-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}

.jipp25-list-card h5 {
    color: #004080;
    font-size: 1.15rem;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Novo grupo de links (substitui o <ul>) */
.jipp25-doc-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jipp25-doc-group a {
    color: #004080;
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.jipp25-doc-group a:hover {
    background: #004080;
    color: #ffffff;
    border-color: #004080;
}
/* ===== ajustes para o template novo (05/11/2026): o estilo geral de títulos do template novo vencia a cor do título do bloco azul ===== */
.jipp-index-container .jipp-index-hero h2 { color: #f39c12 !important; background: none !important; text-align: left !important; }
.jipp-index-container .jipp-index-section-title { color: #004080 !important; }
/* tabelas largas dentro de artigos (ex.: página Contato) rolam na horizontal em vez de ultrapassar a tela do celular */
@media (max-width: 800px) { .com-content-article table { display: block; max-width: 100%; overflow-x: auto; } }
/* PDF ou vídeo incorporado com largura fixa (ex.: página "Apresentação de Trabalhos") não passa da largura da tela */
.com-content-article object, .com-content-article embed, .com-content-article iframe { max-width: 100%; }
