/* ======================================
   VARIÁVEIS CSS
====================================== */
:root {
    --primary-blue: #326ce5;
    --primary-blue-dark: #2861d1;
    --primary-blue-light: #4d7ee8;
    --secondary-blue: #45a8ff;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --border-radius: 15px;
    --border-radius-sm: 5px;
    --shadow: 0 10px 30px rgba(50, 108, 229, 0.1);
    --shadow-hover: 0 15px 40px rgba(50, 108, 229, 0.2);
    --transition: all 0.3s ease;
}

/* WRAPPER COM DEGRADÊ */
.wrapper-degrade {
    background: linear-gradient(180deg, rgba(0, 1, 17, 1) 0%, rgba(7, 21, 80, 1) 100%);
}

/* Remove background das seções dentro do wrapper */
.wrapper-degrade .bora-bolsa-section,
.wrapper-degrade .participar-section,
.wrapper-degrade .cursos-section,
.wrapper-degrade .outros-processos-section {
    background: transparent !important;
}

/* ========================================
   HEADER HERO SECTION
======================================== */
.animated.fadeIn.fast {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#slideshow-curso {
    position: relative;
    width: 100%;
}


#divheadimg {
    min-height: 720px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

#divheadimg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.carousel-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    bottom: 0 !important;
}

.header-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0 0 20px;
    letter-spacing: 1px;
}

.destaque-fundo {
    background: #0066ff;
    color: #fff;
    padding: 8px 15px;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 1.8;
}

.destaque-italico {
    font-style: italic;
    font-weight: 900;
}

.header-descricao {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    line-height: 1.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* RESPONSIVO HEADER */
@media (max-width: 991px) {
    #divheadimg {
        min-height: 450px !important;
        padding-bottom: 15px;
    }

    .carousel-caption {
        padding: 40px 20px;
    }

    .header-title {
        font-size: 2.2rem;
    }

    .destaque-fundo {
        padding: 6px 20px;
    }

    .header-descricao {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    #divheadimg {
        min-height: 350px !important;
        padding-bottom: 10px;
    }

    .carousel-caption {
        padding: 30px 15px;
    }

    .header-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .destaque-fundo {
        padding: 5px 15px;
        font-size: 0.9em;
    }

    .header-descricao {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ========================================
   SEÇÃO FORMAS DE INGRESSO
======================================== */
.formas-ingresso-section {
    background: #fff;
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
}

.formas-ingresso-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.formas-ingresso-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: #0066cc;
    margin-bottom: 10px !important;
    line-height: 1.3;
}

.formas-ingresso-title strong {
    font-weight: 700;
}

.formas-ingresso-title .titulo-italico {
    font-style: italic;
    font-weight: 400;
    color: #0066cc;
}

.formas-ingresso-title .titulo-italico strong {
    font-weight: 700;
}

/* CARDS */
.forma-card {
    background: #0080ff;
    border: 2px solid #66b3ff;
    border-radius: 20px;
    padding: 30px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.forma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.forma-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.forma-descricao {
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.btn-forma {
    background: #fff;
    color: #0080ff !important;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.3;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
}

.btn-forma:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
    text-decoration: none !important;
    color: #0080ff !important;
}

/* RESPONSIVO FORMAS INGRESSO */
@media (max-width: 991px) {
    .formas-ingresso-section {
        padding: 60px 0;
    }

    .formas-ingresso-title {
        font-size: 1.6rem;
        margin-bottom: 10px !important;

    }

    .forma-card {
        padding: 25px 20px;
    }

    .forma-titulo {
        font-size: 1.1rem;
    }

    .forma-descricao {
        font-size: 0.85rem;
    }

    .btn-forma {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .formas-ingresso-section {
        padding: 50px 0;
    }

    .formas-ingresso-title {
        font-size: 1.4rem;
        margin-bottom: 10px !important;
    }

    .formas-ingresso-title br {
        display: none;
    }
}




/* ========================================
   SEÇÃO BOLSAS E FINANCIAMENTOS
======================================== */
.bolsas-financiamentos-section {
    background: #FFFFFF !important;
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
}

.bolsas-financiamentos-section .container {
    max-width: 1400px!important;
    margin: 0 auto;
    padding: 0 20px;
}

.bolsas-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: #0066cc;
    margin-bottom: 20px;
    line-height: 1.2;
}

.bolsas-title strong {
    font-weight: 700;
}

.bolsas-title .titulo-italico {
    font-style: italic;
    font-weight: 400;
    color: #0066cc;
    text-decoration: none !important;
}

.bolsas-title .titulo-italico strong {
    font-weight: 700;
}

.bolsas-subtitulo {
    font-size: 1.1rem;
    color: #2A5BA4;
    line-height: 1.4;
    margin-bottom: 0;
}

/* LISTA DE BOLSAS */
.bolsas-lista {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bolsa-item {
    background: #fff;
    border: 2px solid #0080ff;
    border-radius: 15px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bolsa-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.15);
}

.bolsa-nome {
    min-width: 120px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
}

.bolsa-nome span {
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    color: #0C4497!important;
    line-height: 1.2;
    text-transform: uppercase;
}

.bolsa-info {
    flex: 1;
    text-align: left;
}

.bolsa-descricao {
    font-size: 1.1rem;
    color: #0B6DFF!important;
    line-height: 1.5;
    margin-bottom: 10px;
}

.bolsa-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0080ff !important;
    text-decoration: underline !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.bolsa-link:hover {
    color: #0055cc !important;
}

.bolsa-link-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin-left: 5px;
}

/* RESPONSIVO BOLSAS */
@media (max-width: 991px) {
    .bolsas-financiamentos-section {
        padding: 60px 0;
    }

    .bolsas-title {
        font-size: 1.6rem;
    }

    .bolsas-subtitulo {
        font-size: 1rem;
    }

    .bolsa-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
    }

    .bolsa-nome {
        min-width: auto;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .bolsa-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bolsa-link {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .bolsas-financiamentos-section {
        padding: 50px 0;
    }

    .bolsas-title {
        font-size: 1.4rem;
    }

    .bolsas-title br {
        display: none;
    }

    .bolsas-subtitulo {
        font-size: 0.95rem;
    }

    .bolsas-subtitulo br {
        display: none;
    }

    .bolsa-nome {
        padding: 12px 15px;
    }

    .bolsa-nome span {
        font-size: 0.9rem;
    }

    .bolsa-descricao {
        font-size: 0.85rem;
    }

    .bolsa-link {
        font-size: 0.8rem;
    }
}





/* ========================================
   SEÇÃO CONHEÇA NOSSOS CURSOS
======================================== */
.cursos-section {
    color: var(--white);
    padding: 80px 0;
    background: #153a78;
}

.cursos-section .container {
    max-width: 1200px!important;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.section-title-white {
    font-size: 2.2rem;
    color: #0B6DFF !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px!important;
    font-weight: 400;
}

/* Grid de cursos */
.cursos-grid {
    position: relative;
}

/* Dropdown do curso */
.curso-dropdown {
    margin: 0;
}

/* Botão do curso */
.curso-btn {
    background: #0C4497;
    color: #fffffc;
    border: none;
    border-radius: 15px;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.curso-btn:hover,
.curso-btn:focus {
    background: #0C4497 !important;
    color: #fffffc;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    outline: none;
}

/* Curso ativo (alternância de cores) */
.curso-dropdown.active .curso-btn {
    background: #0B6DFF !important;
    color: var(--white);
}

.curso-dropdown.active .curso-btn:hover {
    background: #0B6DFF !important;
    color: var(--white);
}

/* Seta do botão */
.curso-btn span {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.curso-btn[aria-expanded="true"] span {
    transform: rotate(180deg);
}

/* Conteúdo flutuante do curso */
.curso-content-floating {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    margin-top: 0.2rem;
}

.curso-content-floating .card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #ddd !important;
    border-radius: 12px;
    background: var(--white);
}

.curso-content-floating .card-body {
    color: var(--primary-blue) !important;
    padding: 1.2rem;
}

.curso-content-floating .card-body p {
    color: var(--primary-blue) !important;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Botão CTA */
.btn-cta-cursos {
    background: #3200c9 !important;
    color: #fffffc;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: none !important;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-cta-cursos:hover,
.btn-cta-cursos:focus {
    background: #071467;
    color: #fffffc;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Links de editais */
.links-container {
    margin-top: 2rem;
}

.link-edital {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
    display: inline-block;
    margin: 0.5rem 0;
    font-size: 1rem;
}

.link-edital:hover {
    color: var(--secondary-blue);
    text-shadow: 0 0 10px rgba(69, 168, 255, 0.5);
    transform: translateY(-2px);
    text-decoration: underline;
}

/* RESPONSIVO CURSOS */
@media (max-width: 991px) {
    .cursos-section {
        padding: 60px 0;
    }

    .section-title-white {
        font-size: 1.6rem;
        margin-bottom: 5px!important;
    }

    .curso-btn {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
    }

    .btn-cta-cursos {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .link-edital {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .cursos-section {
        padding: 50px 0;
    }

    .section-title-white {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 5px!important;
    }

    .curso-btn {
        font-size: 0.95rem;
    }

    .btn-cta-cursos {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
}



/* ========================================
   SEÇÃO TESTE DE CARREIRA
======================================== */
.teste-carreira-section {
    background: #fff;
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
}

.teste-carreira-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.teste-carreira-title {
    font-size: 2.4rem;
    font-weight: 400;
    color: #0B6DFF;
    line-height: 1.1;
    margin-bottom: 30px;
    max-width: 320px;
}

.teste-carreira-title strong {
    font-weight: 700;
    color: #0066cc;
}

.teste-carreira-title .destaque-italico {
    font-weight: 700;
    color: #0066cc;
    font-style: normal;
}

.teste-carreira-title .destaque-italico {
    font-weight: 700;
    color: #0066cc;
}

.btn-teste-carreira {
    background: #0C4497 !important;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    font-style: italic;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease;
    text-transform: uppercase;
    max-width: 280px;
}

.btn-teste-carreira:hover {
    background: #0066cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.teste-carreira-imagem {
    text-align: center;
}

.teste-carreira-imagem img {
    max-width: 100%;
    height: auto;
}

/* RESPONSIVO TESTE CARREIRA */
@media (max-width: 991px) {
    .teste-carreira-section {
        padding: 60px 0;
    }

    .teste-carreira-content {
        padding-right: 0;
        text-align: center;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .teste-carreira-title {
        font-size: 1.6rem;
        text-align: center;
        max-width: none;
    }

    .teste-carreira-title br {
        display: none;
    }

    .teste-carreira-imagem {
        text-align: center;
        margin-bottom: 20px;
    }

    .teste-carreira-imagem img {
        max-width: 280px;
    }

    .btn-teste-carreira {
        font-size: 0.9rem;
        padding: 15px 30px;
    }
}

@media (max-width: 576px) {
    .teste-carreira-section {
        padding: 50px 0;
    }

    .teste-carreira-title {
        font-size: 1.4rem;
    }

    .teste-carreira-imagem img {
        max-width: 250px;
    }

    .btn-teste-carreira {
        font-size: 0.85rem;
        padding: 14px 25px;
    }
}









/* ========================================
   SEÇÃO ESTRUTURA / CARROSSEL
======================================== */
.estrutura-section {
    background: #fff;
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
}

.estrutura-section .container {
    max-width: 1400px!important;
    margin: 0 auto;
    padding: 0 20px;
}

.estrutura-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: #0B6DFF !important;
    line-height: 1.3;
    margin-bottom: 20px;
}

.estrutura-title strong {
    font-weight: 700;
    color: #0B6DFF !important;
}

.estrutura-title .destaque-italico {
    font-style: italic;
    font-weight: 700;
    color: #0066cc;
}

.estrutura-subtitulo {
    font-size: 1.1rem;
    color: #0C4497 !important;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* CARROSSEL */
.estrutura-carousel {
    position: relative;
    padding-bottom: 60px;
    max-width: 700px;
    margin: 0 auto;
}

#estruturaCarousel {
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#estruturaCarousel .carousel-inner {
    border-radius: 20px;
    overflow: hidden;
}

.estrutura-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* INDICADORES (BOLINHAS) */
#estruturaCarousel .carousel-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}

#estruturaCarousel .carousel-indicators li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    margin: 0 6px;
    opacity: 1;
    cursor: pointer;
}

#estruturaCarousel .carousel-indicators li.active {
    background-color: #0066cc;
}

/* CONTROLES (SETAS) */
#estruturaCarousel .carousel-control-prev,
#estruturaCarousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    opacity: 1;
    z-index: 10;
}

#estruturaCarousel .carousel-control-prev {
    left: -60px;
}

#estruturaCarousel .carousel-control-next {
    right: -60px;
}

#estruturaCarousel .carousel-control-prev:hover,
#estruturaCarousel .carousel-control-next:hover {
    opacity: 0.7;
}

#estruturaCarousel .carousel-control-prev-icon,
#estruturaCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-seta {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* BOTÃO */
.btn-tour {
    background: #0B6DFF !important;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    font-style: italic;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-tour:hover {
    background: #0B6DFF !important;
    transform: translateY(-3px);
}

/* RESPONSIVO ESTRUTURA */
@media (max-width: 991px) {
    .estrutura-section {
        padding: 60px 0;
    }

    .estrutura-title {
        font-size: 1.6rem;
    }

    .estrutura-title br {
        display: none;
    }

    .estrutura-subtitulo {
        font-size: 1rem;
    }

    .estrutura-subtitulo br {
        display: none;
    }

    .estrutura-carousel {
        padding: 0 50px 60px;
        max-width: 100%;
    }

    #estruturaCarousel .carousel-control-prev {
        left: 0;
    }

    #estruturaCarousel .carousel-control-next {
        right: 0;
    }

    .estrutura-img {
        height: 400px;
    }

    .btn-tour {
        font-size: 0.9rem;
        padding: 15px 30px;
    }
}

@media (max-width: 576px) {
    .estrutura-section {
        padding: 50px 0;
    }

    .estrutura-title {
        font-size: 1.4rem;
    }

    .estrutura-subtitulo {
        font-size: 0.95rem;
    }

    .estrutura-carousel {
        padding: 0 40px 50px;
    }

    #estruturaCarousel .carousel-control-prev-icon,
    #estruturaCarousel .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    #estruturaCarousel .carousel-indicators li {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .estrutura-img {
        height: 280px;
    }

    .carousel-seta {
        width: 60px;
        height: 60px;
    }

    .btn-tour {
        font-size: 0.85rem;
        padding: 14px 25px;
    }
}