/* ========================================================================== */
/* 1. BOLSISTAS E VOLUNTÁRIOS (conteudo_bolsistas.php)                        */
/* ========================================================================== */

.conteudo-bolsistas {
    text-align: justify;
}

/* Falso Acordeão / Card de Orientações */
.orientacoes-card {
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background-color: #ffffff;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.orientacoes-header {
    background-color: #f3f4f6;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 700;
    font-size: 15px;
}

.orientacoes-body {
    padding: 16px 20px;
    background-color: #ffffff;
}

.orientacoes-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #2563eb;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.orientacoes-link:hover {
    color: #1d4ed8;
    text-decoration: none !important;
}

.orientacoes-link i {
    font-size: 20px;
    color: #4b5563;
    font-weight: normal;
}

/* Caixa de Informações Importantes */
.informacoes-importantes-box {
    padding: 10px 0;
}

.info-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.info-list {
    padding-left: 24px;
    margin-bottom: 0;
}

.info-list li {
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 8px;
    text-align: justify;
}

.info-list li:last-child {
    margin-bottom: 10px;
}

/* Accordeon de Etapas de Voluntários */
.etapas-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.8rem;
}

.accordion-etapas {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f9fafb;
}

.accordion-etapas .accordion-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    background-color: transparent;
}

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

.accordion-etapas .accordion-button {
    background-color: transparent;
    color: #111827;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: none !important;
    padding: 1rem 1.2rem;
}

.accordion-etapas .accordion-button:not(.collapsed) {
    color: #111827;
    background-color: transparent;
}

.accordion-etapas .accordion-body {
    background-color: #ffffff;
    padding: 1rem 1.2rem;
    border-top: 1px solid #e5e7eb;
}

.etapa-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #0059B3;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 400;
}

.etapa-link:hover {
    color: #003366;
    text-decoration: none !important;
}

.etapa-link i {
    font-size: 1.2rem;
    color: #4b5563;
}

.etapa-estatica {
    padding: 1rem 1.2rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #003366;
    background-color: transparent;
}


/* ========================================================================== */
/* 2. CONTATOS (conteudo_contatos.php)                                        */
/* ========================================================================== */

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0 !important;
    padding: 1.5rem;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none !important;
}

.contact-card:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.icon-circle {
    background-color: #f1f5f9;
    color: #006ce6;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-title {
    color: #004d99;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info {
    color: #64748b;
    font-size: 0.9rem;
}


/* ========================================================================== */
/* 3. EDITAIS (conteudo_editais.php)                                          */
/* ========================================================================== */

.section-subtitle-editais {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.edital-card {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 1rem;
    background-color: #fff;
}

.edital-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
}

.edital-icon {
    font-size: 1.2rem;
    color: #003366;
}

.edital-title-card {
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.edital-subtitle-card {
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

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

.edital-link-item {
    border-top: 1px solid #e2e8f0;
}

.edital-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem 0.8rem 3.5rem;
    color: #0059B3;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.edital-link:hover {
    background-color: #f1f5f9;
    color: #003366;
    text-decoration: none;
}

.external-links-list {
    list-style: none;
    padding-left: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.external-links-list li {
    margin-bottom: 0.8rem;
}

.external-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #0059B3;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.external-link:hover {
    color: #003366;
    text-decoration: underline;
}


/* ========================================================================== */
/* 4. ORIENTAÇÕES E FORMULÁRIOS (conteudo_form.php)                           */
/* ========================================================================== */

.secao-orientacoes-title {
    color: #0059B3;
    font-weight: 800;
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.subsecao-title {
    color: #111827;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.accordion-orientacoes {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f9fafb;
    margin-bottom: 2rem;
}

.accordion-orientacoes .accordion-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    background-color: transparent;
}

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

.accordion-orientacoes .accordion-button {
    background-color: #ffff;
    color: #111827;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: none !important;
    padding: 1rem 1.2rem;
}

.accordion-orientacoes .accordion-button:not(.collapsed) {
    color: #111827;
    background-color: #f9fafb;
}

.accordion-orientacoes .accordion-body {
    background-color: #ffffff;
    padding: 1.2rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.orientacao-link {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #0059B3;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    transition: color 0.2s ease;
}

.orientacao-link:last-child {
    margin-bottom: 0;
}

.orientacao-link:hover {
    color: #003366;
    text-decoration: underline !important;
}

.orientacao-link i {
    font-size: 1.2rem;
    color: #4b5563;
    margin-top: -2px;
}

.alert-orientacoes {
    background-color: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
    border-radius: 6px;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.alert-orientacoes a {
    color: #0059B3;
    font-weight: 600;
    text-decoration: none;
}

.orientacoes-text {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1rem;
}

.orientacoes-list {
    padding-left: 1.2rem;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.orientacoes-list li {
    margin-bottom: 0.5rem;
    text-align: justify;
}

.orientacoes-list strong {
    color: #0059B3;
}


/* ========================================================================== */
/* 5. PERGUNTAS FREQUENTES (conteudo_perguntas.php)                           */
/* ========================================================================== */

.faq-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.faq-subtitle {
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.accordion-faq .accordion-item {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    background-color: transparent;
    border-radius: 0 !important;
}

.accordion-faq .accordion-button {
    background-color: transparent;
    color: #0059B3;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 0;
    box-shadow: none !important;
}

.accordion-faq .accordion-button:not(.collapsed),
.accordion-faq .accordion-button:focus {
    color: #004d99;
    background-color: transparent !important;
    box-shadow: none !important;
}

.accordion-faq .accordion-body {
    text-align: justify;
    padding: 0 0 1.5rem 0;
    color: #3b3c40;
    line-height: 1.6;
}

.faq-footer {
    margin-top: 2rem;
    text-align: center;
}

.faq-footer p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.btn-outline-faq {
    color: #0059B3;
    border: 2px solid #0059B3 !important;
    border-radius: 8px;
    padding: 0.6rem 2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-outline-faq:hover {
    background-color: #0059B3;
    color: #ffffff !important;
}

/* ========================================================================== */
/* 6. PÁGINA DE APRESENTACAO (conteudo_apresentacao.php)                                    */
/* ========================================================================== */

/* Impedir o scroll horizontal em todo o site */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.carousel-wrapper {
    position: relative;
    padding: 0 60px; 
    margin: 0 auto;
}

/* Centralizando os botões verticalmente e colocando eles nos corredores criados */
.custom-carousel-control-prev,
.custom-carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    z-index: 10;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
}

.custom-carousel-control-prev {
    left: 0;
}

.custom-carousel-control-next {
    right: 0;
}

/* Ícones das Setas */
.custom-carousel-control-prev i,
.custom-carousel-control-next i {
    color: #0059B3; 
    font-size: 2.5rem;
    font-weight: bold;
}

.custom-carousel-control-prev:hover,
.custom-carousel-control-next:hover {
    transform: translateY(-50%) scale(1.1); 
}


/* Grid de Botões (Menu Grid) */
.btn-nav-proex {
    background: linear-gradient(135deg, #002b5e 0%, #004d99 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    height: 100px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Pseudo-elemento para dar aquela textura sutil de "teia" ou pontilhada no fundo do botão */
.btn-nav-proex::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    z-index: 1;
    opacity: 0.5;
}

.btn-nav-proex span {
    position: relative;
    z-index: 2;
}

.btn-nav-proex:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 51, 102, 0.3);
    color: #ffffff;
}

/* Indicadores de Estatísticas */
.stat-icon {
    font-size: 1.8rem;
}

.stat-number {
    color: #f59e0b;
    font-weight: 800;
    font-size: 2.2rem;
    margin: 0.2rem 0;
}

.espacamento-estatisticas {
    margin-top: 6rem !important;    
    margin-bottom: 6rem !important; 
}

/* Cards de Programas */
.programa-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Sobreposição azul escuro na imagem dos programas */
.programa-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 51, 102, 0.65);
    transition: background 0.3s;
}

.programa-card:hover::before {
    background: rgba(0, 51, 102, 0.85);
}

.programa-card h4 {
    position: relative;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    z-index: 1;
    margin: 0;
    text-align: center;
    padding: 0 10px;
}

/* Ícones da Equipe Proex */
.equipe-icon-box {
    background-color: #e2e8f0;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #000000;
    flex-shrink: 0;
}

.secao-programas-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #F5F5F5; 
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.secao-programas-limitador {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px; 
}

/* Esconde os corredores e traz as setas para dentro em telas de celular muito pequenas */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0;
    }
    .custom-carousel-control-prev { left: 10px; }
    .custom-carousel-control-next { right: 10px; }
    .custom-carousel-control-prev i,
    .custom-carousel-control-next i {
        color: #ffffff; 
        text-shadow: 0px 0px 5px rgba(0,0,0,0.5); 
    }
    .stat-number {
        font-size: 1.5rem !important; 
    }
    .stat-text {
        font-size: 0.9rem !important; 
        line-height: 1.2;
    }
    .stat-icon {
        font-size: 1.5rem !important; 
    }
    .espacamento-estatisticas {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
}

@media (min-width: 769px) {
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-text {
        font-size: 1rem;
    }
}