
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
html {
     scroll-behavior: smooth;
}

main {
    margin-top: 60px;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    background-attachment: scroll;
    background-position: top;
    background-repeat: repeat-x;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    scroll-behavior: smooth;
}

/*----------
    HEADER - ALANA
    -------------*/
nav {
    background-color: #0055FF;
    min-height: 90px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

    nav.navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1050; /* acima do conteúdo */
    }

.navbar-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* ESSENCIAL */
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 8px;
    padding-left: 30px;
    flex-shrink: 1; /* permite diminuir */
    min-width: 0; /* MUITO IMPORTANTE */
}

    .navbar-brand img {
        height: clamp(31px, 6vw, 50px);
        width: auto;
        transition: height 0.3s ease;
    }

@media (max-width: 960px) {

    nav {
        min-height: 60px;
    }

    .navbar {
        justify-content: space-between;
    }

    .navbar-brand {
        padding-left: 10px;
        margin-right: 0;
    }

    .dobra-inicio {
        margin-top: 60px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
    }

    .navbar-brand {
        margin-right: auto;
        flex-shrink: 0; /* não deixa encolher demais */
        padding: 0;
    }
}

.nav-link {
    font-size: 17px !important;
    color: #eeeeee !important;
    transition: all 0.3s ease-in-out;
}

    .nav-link:hover {
        color: rgb(0 0 0 / 15%);
    }

/*----------
    menu Hambúrguer
    -------------*/
.navbar-light .navbar-toggler-icon {
    filter: invert(1);
}

/* Estado normal */
.navbar-toggler {
    background-color: transparent;
    transition: background-color 0.25s ease;
    margin-left: auto;
}

    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: none;
        box-shadow: none;
    }

    /* SOMENTE quando o menu estiver aberto */
    .navbar-toggler[aria-expanded="true"] {
        background-color: rgba(255, 255, 255, 0.12);
    }
/*----------
    itens menu Hambúrguer
    -------------*/
.navbar-collapse {
    text-align: center;
}

.navbar-nav {
    margin: 0 auto;
    align-items: center;
}

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        justify-content: center;
    }


/*----------
    MAIN - ALANA
    -------------*/

/*Banners*/

.banner-img {
    width: 100%;
    object-fit: cover;
    display: block;
}


/*--------------
 Area do Acordeon
    ---------------*/
#entenda-matricula {
    background:#246DA7;
}
.area-acordeon {
    border:none!important;
    background:inherit!important;
}

.area-acordeon .card-title{
    color: #246DA7;
    text-transform: uppercase;
}

.frase-chamada {
    margin: 0;
    width: 100%;
    font-size: 20px;
    font-weight: 600 !important;
    color: #ffffff;
    background: #fe8400bd;
    border: 1px solid transparent;
    padding: 10px;
    border-radius: 5px;
    margin-top:-70px;
}

.area-banner {
    width: 100%;
    padding: 30px 0 60px; /* reduz altura + espaço pros cards */
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding-bottom: 50px;
}

.img-banner {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Acesso rápido */
.acesso-rapido-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 50px;
    text-align: center;
    padding: 60px !important;
}
.fundo-claro {
    background-color: #75a0db4a
} 

/* Grid de Botões */
.botoes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas no Desktop */
    gap: 15px;
    width: 100%;
    max-width: 900px; /* Limita a largura para não espalhar demais no monitor */
    margin: 0 auto; /* Centraliza a grid na página */
}

/* Estilo do Botão (Pílula) */
.btn-custom {
    display: flex; /* Mudado para flex para centralizar melhor o texto */
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border: 2px solid #2b57d5;
    border-radius: 50px;
    color: #2b57d5;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.2s ease-in-out;
}

    .btn-custom:hover {
        background-color: #2b57d5;
        color: white;
    }

.area-cards {
    margin-top: -35px;
    position: relative;
    z-index: 2;
}

.area-cards-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.card-mini {
    width: 130px;
    height: 120px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e6efff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
    transition: all .2s ease;
}

.card-mini img {
    height: 36px;
    margin-bottom: 8px;
}

.card-mini span {
    font-size: 14px;
    font-weight: 600;
    color: #0052FF;
}

.card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.info-mat-candidatos h2 {
    font-size:20px;
    color:#ffffff;
    
}
.gradient {
    background-image: linear-gradient(to bottom, #ff8500, #ffbc00, #ffbc00);
    color: #ff8500;
    FONT-WEIGHT: BOLD;
    padding: 1%;
    background-clip: text;
    -webkit-background-clip: text;
    /* Adicionado: */
    -webkit-text-fill-color: transparent;
}
.chamada-matricula{
    color:white;
    font-size:60px;
    font-style:italic;
}


/*---------------------------
    Nova area de cards
    --------------------------*/
#nova-area-cards .card {
    border-radius: 12px !important;
    border: 1px solid #0052FF10 !important;
    background: #ffffff !important;
    transition: all .2s ease-in-out;
    box-shadow: none !important;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#nova-area-cards .card-body img {
    margin-bottom: 0 !important;
}

#nova-area-cards .card img {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    height: 65px;
    margin-bottom: 10px;
}

#nova-area-cards .card-title {
    text-align: center;
    margin-top: 0 !important;
}

#nova-area-cards .card:hover {
    background: #0052ff08 !important;
    transform: translateY(-4px);
    border-color: #0052FF40 !important;
}

#nova-area-cards h3 {
    font-size: 28px;
    font-weight: 700;
    transition: all .2s ease-in-out;
}
#nova-area-cards .card {
    border-radius: 39px;
}
#nova-area-cards h3 span{
    display:block;
    font-size:20px;
    font-weight:400;
}
#nova-area-cards .card-body {
    display: flex;
    flex-direction: column-reverse; 
    justify-content: center;
    align-items: center;
    gap: 12px;
}
#nova-area-cards .card-img-overlay {
    display: flex;
    align-items: end;
    color:#ffffff;
    text-decoration:none;
}
#nova-area-cards .card-body img {
    position: absolute;
    top: -11px;
    right: -11px;
    height: 100px;
}
#nova-area-cards a:hover {
    text-decoration:none;
    transition: all 0.5s;
}
#nova-area-cards a:hover h3{
    transform: scale(1.1);
    padding-left:8px;
}




/*-------------------------
    Informativo antes do rod-apé
    pagina principal
    -------------------------*/
.informativo-matricula {
    background:#0076b4;
    border-radius:80px;
    color:#ffffff;
}
.informativo-matricula i{
    background: #ffffff;
    color: #ff8500;
    border: 5px solid white;
    border-radius: 50px;
}
.informativo-matricula span{
    color: #ff8500;
    font-size: 26px;
}

.pesquisa-matricula {
    background: #ffffffd6;
    border-radius: 14px;
    color: #ffffff;
}
.pesquisa {
    background-color: #246da7;
    height:290px;
}

/*-------------
    RODAPÉ

footer {
    padding-top:1em;
    color:#ffffff;
    background:linear-gradient(90deg,rgba(6, 35, 67, 1) 0%, rgba(55, 34, 99, 1) 50%);
}

footer hr {
    background:#ffffff;
}

.area-redes-socias h3 {
    font-size: 20px;
}

.area-redes-socias a {
    color: #ffffff;
}

.area-redes-socias a:hover {
    color: #ffffff;
}

.info-contato h2 {
    font-size: 20px;
}

.info-contato h3 {
    font-size: 14px;
}

.destaque2 {
    color: #ff8500;
}
.informativopesquisa {
    color: #212529;
    font-size: 19px;
}
    ---------------*/


/* Tablets: 2 colunas */
@media (max-width: 768px) {
    .botoes-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px; /* Respiro nas laterais */
    }
}

/* Celulares: UM EMBAIXO DO OUTRO */
@media (max-width: 480px) {
    .botoes-grid {
        grid-template-columns: 1fr; /* Força uma única coluna */
        gap: 10px; /* Diminui um pouco o espaço entre eles no celular */
    }

    .btn-custom {
        font-size: 1rem; /* Diminui levemente a fonte para telas pequenas */
        padding: 12px 10px;
    }

    .acesso-header h1 {
        font-size: 1.4rem; /* Ajuste no título */
        padding: 0 10px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    .img-banner {
        max-width: 320px;
    }

    .area-cards-row {
        flex-wrap: wrap; /* volta a quebrar */
    }

    .frase-chamada {
        font-size: 19px;        
        margin-top: -30px;
        margin-bottom:20px;
    }

    .logo {
        width: 80%;
        margin-top: -40px;
    }

    .texto-destaque {        
        font-size: 20px;
    }

    .chamada-matricula {
        font-size: 200%;        
    }

    #header-inicio {
        padding: 55px;
    }
    
    #nova-area-cards .card {
        min-height: 120px;
    }
    #nova-area-cards .card img {
        height: 55px;
    }
    
    #nova-area-cards h3 {
        font-size: 19px;
        font-weight: 700;
        transition: all .2s ease-in-out;
    }   
    #nova-area-cards h3 span {
        display: block;
        font-size: 15px;
        font-weight: 400;
    }
    .imagem-pesquisa{
        height:185px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .area-banner {
        padding: 15px 0 40px;
    }

    .area-cards {
        margin-top: -20px;
    }

    .frase-chamada {
        font-size: 19px;        
        margin-top: -30px;
        margin-bottom:20px;
    }
    .logo {
        width: 50%;
        margin-top: -40px;
    }
    #header-inicio {
        padding: 55px;
    }
    
    .card-inscricao {
        width:220px;
    }
    .card-consulte {
        width: 220px;
    }
    .card-altere {
        width: 220px;
    }
    .card-duvidas {
        width: 220px;
    }
    .card-escolas {
        width: 220px;
    }
    .card-resolucao {
        width: 220px;
    }
    .card-fases {
        width: 220px;
    }
    .card-calendario {
        width: 220px;
    }
    .card-transferencia {
        width: 220px;
    }
    .informativo-matricula {
        border-radius: 20px;
        width:500px;
    }
    .informativo1 {
        padding-left: 80px !important;
    }
    .informativo2 {
        padding-left: 50px !important;
        text-align: justify;
        margin-right: 30px;
    }
    .informativopesquisa {
        padding-left: 50px !important;
        text-align: center;
        margin-right: 30px;
    }
    .destaque {
        width: 18%;
        height: auto;
        margin-top: -190px;
        margin-left: -1.5%;
    }   
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

    .frase-chamada {
        font-size: 19px;        
        margin-top: -45px;
        margin-bottom:20px;
    }
    .logo {
        width: 40%;
        margin-top: -58px;
    }
    #header-inicio {
        padding: 73px;
    }    
    .card-inscricao {
        width:300px;
    }
    .card-consulte {
        width: 300px;
    }
    .card-altere {
        width: 300px;
    }
    .card-duvidas {
        width: 300px;
    }
    .card-escolas {
        width: 300px;
    }
    .card-resolucao {
        width: 300px;
    }
    .card-fases {
        width: 300px;
    }
    .card-calendario {
        width: 300px;
    }
    .card-transferencia {
        width: 300px;
    }
    .informativo-matricula {
        border-radius: 30px;
    }
    .informativo2 {
        text-align: justify;
        margin-right: 30px;
    }
    .informativopesquisa {
        padding: 0 36px;
    }
    .destaque {
        width: 18%;
        height: auto;
        margin-top: -225px;
        margin-left: -1.5%;
    }   
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {

    .frase-chamada {
        font-size: 19px;       
    }
    .logo {
        width: 36%;        
        margin-top: -62px;
    }
    #header-inicio {
        padding: 73px;
    }
    .informativo-matricula {
        border-radius: 80px;
    }
    .informativo2 {
        text-align: justify;
        margin-right: 30px;
    }
    .informativopesquisa {
        text-align: justify;
        margin-right: 30px;
    }
    .destaque {
        width: 18%;
        height: auto;
        margin-top: -262px;
        margin-left: -1.5%;
    }
    .imagem-pesquisa {
        margin-left: 96px;
        height:240px;
    }
    .pesquisa {
        height: 320px;
    }
}

@media (max-width: 992px) {
    .area-cards-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card-mini {
        width: 45%;
        margin-bottom: 15px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    #nova-area-cards h3 span {
        font-size: 22px;        
    }
    .logo {
        width: 28%;       
        margin-top: -87px;
    }
    #header-inicio {
      padding: 96px;
    }
    .informativo-matricula {
        border-radius: 80px;        
    }
    .informativo2 {
        text-align: justify;
        margin-right: 30px;
    }
    .informativopesquisa {
        text-align: justify;
    }
    .destaque {
        width: 18%;
        height: auto;
        margin-top: -282px;
        margin-left: -1.5%;
    }      
    .imagem-pesquisa{
        margin-left:115px;
    }
    .pesquisa {
        height: 300px;
    }
}

/*-------------
    MODAL PERGUNTA INSCRIÇÃO
    ---------------*/
.modal-pergunta-inscricao-exclamacao i {
    background: #ffffff;
    color: #ff8500;
    border: 5px solid white;
    border-radius: 50px;
    font-size: 48px;
}

.modal-pergunta-inscricao-frase {
    max-width: 250px;
}

.modal-pergunta-protecao-frase {
    max-width: 350px;
}

.modal-pergunta-inscricao-botao, .modal-pergunta-protecao-botao {
    color: #ffffff;
    background: #246da6;
    border-color: #246da6;
}

.modal-pergunta-inscricao-content, .modal-pergunta-protecao-content {
    background: #f8f9fade !important;
}

.modal-pergunta-inscricao-body {
    background: #246da6;
    color: #ffffff;
    border-radius: 50px
}

.modal-pergunta-protecao-body {
    background: #246da6;
    color: #ffffff;
    border-radius: 50px;
}

.versao-hora {
    font-size: 11px;
    border: 1px solid #ededed;
    padding: 10px;
    position: fixed;
    bottom: 10px;
    background-color: #fff;
    border-radius: 15px;
    right: 10px;
    z-index: 1;
}

select,
select option,
.card-header,
.card-title,
h1, h2, h3, h4, h5, h6,
label {
    text-transform: none !important;
}




/* ===== RODAPÉ ===== */
.rodape {
    background-color: #0056b3;
    color: white;
    padding: 30px 60px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rodape-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 20px;
}

.rodape-logos {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rodape-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    max-width: 100%;
}

    .rodape-logo.logo1 {
        border-right: 1px solid white;
        padding-right: 15px;
        margin-top: -5px;
    }

.rodape-redes {
    display: flex;
    gap: 20px;
    font-size: 22px;
}

    .rodape-redes a {
        color: white;
        transition: 0.3s;
    }

        .rodape-redes a:hover {
            transform: scale(1.1);
            color: #dfeaff;
        }

.rodape-copy {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}


@media (max-width: 900px) {

    .rodape-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .rodape-logos {
        justify-content: center;
    }

    .rodape {
        padding: 25px 20px;
    }

    .rodape-logo {
        height: 30px;
    }

    .rodape-redes {
        font-size: 20px;
    }
}

/* DOBRA 3 - SOBRE */
.dobra {
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.dobra-sobre {
    min-height: 50vh;
    background-color: #f5f5f5;
    color: #333;
    padding-top: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.container-sobre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    max-width: 1300px;
    width: 100%;
    flex-wrap: wrap;
}

.imagem-sobre img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
}

.texto-sobre {
    flex: 1;
    text-align: left;
    padding-right: 40px;
}

    .texto-sobre h2 {
        color: #004A8F;
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .texto-sobre p {
        color: #333;
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
.imagem-botao img {
    max-width: 180px; /* ajuste aqui */
    width: 100%;
    height: auto;
    cursor: pointer;
}

@media (max-width: 900px) {
    /* ===== DOBRA SOBRE =====  */
    .container-sobre {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .texto-sobre {
        text-align: center;
        padding: 0;
    }

        .texto-sobre h2 {
            font-size: 19px;
            text-align: center;
        }

        .texto-sobre p {
            font-size: 14px;
            text-align: justify;
        }

    .imagem-sobre img {
        max-width: 100%;
    }
}

/* DOBRA 2 - CURSOS EM DESTAQUE */
.dobra-cursos {
    background-color: #fff;
    padding: 50px 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden !important;
}

.titulo-cursos {
    color: #004A8F;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 55px;
}

.container-cursos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.card-curso {
    background-color: #3C6E9E;
    border-radius: 5px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* estados de animação */
.slide-out-left {
    animation: sairEsquerda 0.5s forwards ease;
}

.slide-in-right {
    animation: entrarDireita 0.5s forwards ease;
}

.slide-out-right {
    animation: sairDireita 0.5s forwards ease;
}

.slide-in-left {
    animation: entrarEsquerda 0.5s forwards ease;
}

/* animações */
@keyframes sairEsquerda {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-120%);
    }
}

@keyframes entrarDireita {
    from {
        transform: translateX(120%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes sairDireita {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(120%);
    }
}

@keyframes entrarEsquerda {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(0);
    }
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

    .img-wrapper img {
        width: 100%;
        display: block;
    }

    .img-wrapper::after {
        content: "";
        position: absolute;
        top: -175%;
        left: -150%;
        width: 200%;
        height: 200%;
        background: rgba(255, 255, 255, 0.15);
        transform: rotate(45deg);
        transition: all 1s ease;
        pointer-events: none;
        border-radius: inherit;
    }

    .img-wrapper:hover::after {
        top: -70%;
        left: -30%;
    }

.btn-curso {
    color: #fff;
    font-size: 20px;
    font-weight: 200;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    flex: 1;
    padding: 18px 20px;
    width: 100%;
    transition: transform 0.2s ease;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.seta {
    background-color: #3C6E9E;
    color: white;
    border: none;
    font-size: 24px;
    border-radius: 4px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: 0.2s ease;
    flex-shrink: 0;
    margin: -30px;
    z-index: 1;
}



/* Dobra 7 - lista cursos */
.lista-cursos {
    padding: 80px 20px;
    background-color: #ffffff;
}

    .lista-cursos h2 {
        text-align: center;
        font-size: 28px;
        color: #2f6fed;
        margin-bottom: 50px;
    }

.cursos-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cursos-coluna {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.curso-item {
    border: 1px solid #d9dde7;
    border-radius: 6px;
    overflow: hidden;
}

.curso-botao {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: #333333;
    text-align: left;
}

    .curso-botao:hover {
        background-color: #f7f9ff;
    }

.curso-seta {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.curso-item.ativo .curso-seta {
    transform: rotate(180deg);
}

.curso-conteudo {
    max-height: 0;
    overflow: hidden;
    background-color: #f9fafc;
    transition: max-height 0.3s ease;
}

    .curso-conteudo p {
        padding: 16px 20px;
        margin: 0;
        font-size: 14px;
        color: #555555;
        text-align: justify;
    }

/* RESPONSIVO */
@media (max-width: 900px) {
    .cursos-container {
        grid-template-columns: 1fr;
    }
}

