@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap');

/*================== Configurações Globais ================*/
html, body {
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
    min-height: 100%;}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    flex: 1;}

.main-content {
    flex: 1; 
    display: flex;
    flex-direction: column;}
/*=========================================================*/



/*===================== Topo da Página ====================*/
.topo {
    top: 0;
    width: 100%;
    position: fixed;
    background-color: white;
    max-width: 100vw;
    box-sizing: border-box; 
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow .3s ease;
    flex-shrink: 0;}

.topo.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);}

.usuario-area {
    display: flex;
    align-items: center;
    margin-right: 70px;}

.usuario-area > span {
    margin-top: 5px;
    font-family: 'Rubik';
    font-size: 20px;
    color:#616161;}

.topo-notificacoes {
    margin-top: 5px;
    height: 25px;
    width: 25px;
    background: rgb(255, 145, 0);
    padding: 13px;
    margin-right: 10px;
    border-radius: 100px;}

.topo-notificacoes img {
    height: 100%;
    width: 100%;}

.menu-topo-topo img {
    margin-top: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;}
/*=========================================================*/



/*========================= Banner ========================*/
.banner {
    margin-top: 80px;
    width: 100%;
    height: 200px;
    background: rgb(255, 145, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;}

.banner h1, .banner p {
    color: #fff;
    margin: 5px;
    text-align: center;
    text-shadow: 0px 0px 0px rgba(0,0,0,0.3);}

.banner h1 { font-size: 55px; }
.credenci-grande { font-weight: 700; }
.credenci-pequeno { font-weight: 400; }
.banner p { font-size: 20px; }
/*=========================================================*/



/*==================== Aba de Pesquisa ====================*/
.area_busca {
    width: 100%;
    display: flex;
    justify-content: flex-end; 
    margin-top: 20px;
    padding-right: 20px;}


.area_busca div {
    margin-right: 0;
    border: 1px solid #c0c0c0;
    background: #fff;
    width: 80%;
    max-width: 700px;
    height: 55px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: 0.3s ease}

.area_busca img { width: 30px; height: 30px; margin-right: 10px; }
.area_busca input { padding: 10px; border-radius: 6px; border: none; outline: none; flex: 1; font-size: 16px; }

.area_busca div:hover {
    border-color: #ff9900; 
    box-shadow: 0px 4px 12px rgba(0,0,0,0.18);
    transform: scale(1.01);}

.area_busca {
    box-sizing: border-box;}
/*=========================================================*/



/*=================== Botões Principais ===================*/
.botoes-principais {
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
    gap: 70px;                  
    flex-wrap: wrap;            
    margin-top: 40px;
    flex-shrink: 0;}


.card-principal {
    text-align: center;
    text-decoration: none;
    width: 290px;               
    height: 100px;               
    background: #ff9900;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;}

.icone-branco {
    filter: brightness(0) invert(100%);
}
.card-principal:hover { background: #f37c1b; transform: scale(1.03); }
/*=========================================================*/



/*================== Botões Secundários ===================*/
.botoes-secundarios {
    width: 100%;
    height: 250px;
    background: #f1f1f1; 
    margin-top: 60px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;}

.card-azul, .card-cinza {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    flex-wrap: wrap;}

.card-cinza { max-width: 900px; }

.card-secundario {
    margin-top: 20px;
    background: #0c3666; 
    color: #fff;
    padding: 20px 30px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 50px;
    width: 250px;
    transition: .2s;}

.card-cinza .card-secundario { background: #e8e8e8; color: #333; }
.card-cinza .card-secundario:hover { border: 1px solid #ff9900;}
.card-secundario img { width: 36px; }
.card-secundario a { font-size: 20px; font-weight: 600; color: inherit; text-decoration: none; }
.card-secundario:hover { transform: scale(1.03); cursor: pointer;}

.card-menor { height: 15px; }
.card-menor a { font-size: 16px; }
/*=========================================================*/



/*======================== Overlay ========================*/
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 40;}
/*=========================================================*/



/*====================== Menu Lateral =====================*/
.menu {
    position: fixed;
    top: 0;
    left: -250px; 
    width: 250px;
    height: 100vh; 
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    z-index: 50;
    display: flex;
    flex-direction: column;}

.menu.expanded { left: 0;}

.menu .btn-fechar {
    width: 30px;
    height: 30px;
    margin: 15px;
    cursor: pointer;
    align-self: flex-end;}

.menu-list {
    list-style: none;
    padding: 20px;
    margin: 0;}

.menu-list li {
    margin: 15px 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: transform 0.3s ease, opacity 0.3s ease;}

.menu.expanded li {
    opacity: 1;
    transform: translateX(0);}

.menu-list li a {
    text-decoration: none;
    color: #0c3666;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, color 0.2s;}

.menu-list li a:hover {
    color: #ff9900;
    transform: scale(1.05);}

.menu-sociais {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    margin-bottom: 20px;
    margin-top: auto;}

.menu-sociais img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s;}

.menu-sociais img:hover { transform: scale(1.1); }
/*=========================================================*/



/*======================== Notícias =======================*/
.secao-noticias {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;}

.titulo-noticias {
    font-size: 26px;
    color: #1d1d1d;
    margin-bottom: 20px;
    padding-left: 20px;
    font-weight: bold;}

.noticias-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding-left: 20px;}

.noticia-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
    display: flex;             
    flex-direction: column;}

.noticia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);}

.noticia-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;}

.noticia-info {
    padding: 15px;
    flex: 1;                           
    display: flex;                    
    flex-direction: column;}

.noticia-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1d1d1d;}

.noticia-info p {
    color: #4e4e4e;
    font-size: 14px;
    margin-bottom: 12px;
    flex: 1;}

.btn-noticia {
    width: 65px;
    display: inline-block;
    background: #005BBB;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
    margin-top: auto;}

.btn-noticia:hover {
    background: #00489b;}
/*=========================================================*/



/*===================== Responsividade ====================*/
@media (max-width: 1024px) {
    .banner h1 { font-size: 35px; }
    .banner p { font-size: 18px; }
    .usuario-area > span { font-size: 24px; }
    .area_busca { padding-right: 20px; }
    .card-principal { width: 200px; font-size: 18px; height: 70px; }
    .botoes-secundarios { width: 100%; height: fit-content; padding: 20px 0; gap: 20px; }
    summary {font-size: 18pt;}
    #faq-question > div {flex-direction: column;}
    details {max-width: 100%; width: 100%;}}

@media (max-width: 768px) {
    .topo-notificacoes {width: 20px; height: 20px;}
    .usuario-area > span {font-size: 18px;}
    .area_busca { justify-content: center; padding: 0 20px; margin-top: 10px; }
    .botoes-principais { justify-content: center; gap: 20px; }
    .card-principal { width: 150px; font-size: 16px; height: 60px; }
    .card-azul, .card-cinza { flex-direction: column; gap: 20px; }}

@media (max-width: 480px) {
    .banner h1 { font-size: 28px; }
    .banner p { font-size: 15px; }
    .usuario-areaa > span { font-size: 20px; }
    .card-principal { width: 170px; font-size: 16px; height: 60px; }
    .area_busca { padding: 0 10px; margin-top: 10px; }
    .card-secundario a { font-size: 16px; font-weight: bold;}
    summary {font-size: 14pt;}}
/*=========================================================*/



/*================= Carrossel no celular ==================*/
@media (max-width: 900px) {

    .noticias-container {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;}

    .noticias-container::-webkit-scrollbar {
        display: none;}

    .noticia-card {
        flex: 0 0 85%; 
        scroll-snap-align: start;
        min-width: 85%;}

    .noticia-card img {
        height: 160px;}

    .secao-noticias {
        margin-top: 30px;}}
/*=========================================================*/

/* =========================================================
   NOVOS ESTILOS — Editais, Trilhas, Atuação, Rodapé, Login
   Adicionar ao final de assets/styles/inicio.css
   ========================================================= */


/* ==================== Botão Entrar (header) ============= */
.btn-login {
    background: #ff9900;
    color: #fff;
    padding: 8px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin-right: 70px;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.btn-login:hover {
    background: #f37c1b;
    color: #fff;
    transform: scale(1.04);
}
/* ======================================================== */


/* ======================= Títulos de Seção =============== */
.titulo-secao {
    font-family: 'Rubik', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0c3666;
    margin: 0 0 6px 0;
}

.subtitulo-secao {
    color: #555;
    font-size: 15px;
    margin-bottom: 30px;
}
/* ======================================================== */


/* ========================= EDITAIS ====================== */
.secao-editais {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.editais-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.edital-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border-left: 5px solid #ff9900;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.edital-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.13);
}

.edital-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0c3666;
    margin: 0;
    line-height: 1.4;
}

.edital-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
    flex: 1;
}

.btn-inscricao {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff9900;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    align-self: flex-start;
}

.btn-inscricao img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.btn-inscricao:hover {
    background: #f37c1b;
    color: #fff;
    transform: scale(1.03);
}

.edital-contato {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.edital-contato a {
    color: #ff9900;
    text-decoration: none;
}

.edital-contato a:hover {
    text-decoration: underline;
}
/* ======================================================== */


/* ===================== TRILHAS DE APRENDIZAGEM ========== */
.secao-trilhas {
    width: 100%;
    background: #f5f7fa;
    padding: 0;
    margin-top: 10px;
}

.trilhas-accordion {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trilhas-accordion > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 0;
    cursor: pointer;
    user-select: none;
    border-bottom: 2px solid #e0e0e0;
}

.trilhas-accordion > summary::-webkit-details-marker { display: none; }

.trilhas-accordion > summary span {
    color: #555;
    font-size: 15px;
    flex: 1;
}

.seta-accordion {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.trilhas-accordion[open] > summary .seta-accordion,
.atuacao-accordion[open] > summary .seta-accordion {
    transform: rotate(180deg);
}

.trilhas-content {
    padding: 30px 0 40px 0;
}

.trilhas-modalidade {
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0c3666;
    margin: 30px 0 16px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #ff9900;
    display: inline-block;
}

.trilhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 10px;
}

.eixo-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.eixo-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.eixo-card > summary {
    list-style: none;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #0c3666;
    background: #fff;
    border-left: 4px solid #ff9900;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.eixo-card > summary::-webkit-details-marker { display: none; }

.eixo-card > summary::after {
    content: '▾';
    font-size: 14px;
    color: #ff9900;
    transition: transform 0.2s;
}

.eixo-card[open] > summary::after {
    transform: rotate(180deg);
}

.eixo-card > summary:hover {
    background: #fff8ef;
}

.eixo-body {
    padding: 14px 18px;
    border-top: 1px solid #f0f0f0;
}

.eixo-body strong {
    display: block;
    font-size: 13px;
    color: #0c3666;
    margin: 10px 0 6px 0;
}

.eixo-body strong:first-child {
    margin-top: 0;
}

.eixo-body ul {
    margin: 0 0 8px 0;
    padding-left: 18px;
}

.eixo-body ul li {
    font-size: 13px;
    color: #444;
    margin-bottom: 4px;
    line-height: 1.4;
}
/* ======================================================== */


/* ================== ATUAÇÃO PROFISSIONAL ================ */
.secao-atuacao {
    width: 100%;
    background: #fff;
    padding: 0;
    margin-top: 10px;
}

.atuacao-accordion {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.atuacao-accordion > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 0;
    cursor: pointer;
    user-select: none;
    border-bottom: 2px solid #e0e0e0;
}

.atuacao-accordion > summary::-webkit-details-marker { display: none; }

.atuacao-accordion > summary span {
    color: #555;
    font-size: 15px;
    flex: 1;
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 30px 0 40px 0;
}

.atuacao-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 22px;
    border-top: 4px solid #ff9900;
    transition: transform 0.2s, box-shadow 0.2s;
}

.atuacao-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.atuacao-card h4 {
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0c3666;
    margin: 0 0 10px 0;
}

.atuacao-card p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.atuacao-card--destaque {
    grid-column: span 2;
    border-top-color: #0c3666;
}

.atuacao-card ul {
    margin: 10px 0 0 0;
    padding-left: 18px;
}

.atuacao-card ul li {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.5;
}

.atuacao-card ul li a {
    color: #ff9900;
    text-decoration: none;
}

.atuacao-card ul li a:hover {
    text-decoration: underline;
}
/* ======================================================== */


/* ========================= RODAPÉ ======================= */
.rodape {
    background: #0c3666;
    color: #fff;
    padding: 40px 20px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.rodape-plataformas p {
    font-size: 15px;
    margin-bottom: 16px;
    color: #cfd8e8;
}

.rodape-icones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.rodape-icones img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.85;
}

.rodape-icones img:hover {
    transform: scale(1.12);
    opacity: 1;
}

.rodape-contato {
    font-size: 14px;
    color: #cfd8e8;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    width: 100%;
    max-width: 400px;
}

.rodape-contato a {
    color: #ff9900;
    text-decoration: none;
}

.rodape-contato a:hover {
    text-decoration: underline;
}
/* ======================================================== */


/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 768px) {

    .editais-container {
        grid-template-columns: 1fr;
    }

    .trilhas-grid {
        grid-template-columns: 1fr;
    }

    .atuacao-grid {
        grid-template-columns: 1fr;
    }

    .atuacao-card--destaque {
        grid-column: span 1;
    }

    .trilhas-accordion > summary,
    .atuacao-accordion > summary {
        flex-wrap: wrap;
        gap: 8px;
    }

    .trilhas-accordion > summary span,
    .atuacao-accordion > summary span {
        width: 100%;
    }

    .rodape {
        padding: 30px 16px;
    }

    .btn-login {
        margin-right: 10px;
        padding: 7px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {

    .edital-card {
        padding: 18px;
    }

    .atuacao-card--destaque {
        grid-column: span 1;
    }

    .titulo-secao {
        font-size: 20px;
    }
}
/* ======================================================== */