/* reset de estilos */

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #06040D;
    /* tema dark */
    color: white;
}

/* Cabeçalho */

nav {
    background-color: black;
    user-select: none;
    padding: 10px 20px;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
}

li {
    display: flex;
    align-items: center;
}

li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}

.logo {
    height: 50px;
}


.imgAcessibilidade {
    margin-right: 5px;
    height: 20px;
    width: 20px;
}

/* Hover dos links */

nav ul li a:hover {
    color: #CD97EB;
    /* hover roxo claro */
    transition: color 0.3s;
}

nav ul li a.ativo {
    color: #CD97EB;
    /* border-bottom: 2px solid #CD97EB; */
    padding-bottom: 2px;
    pointer-events: none;
    cursor: default;
}

nav ul li a.ativo:hover {
    color: #CD97EB;
}


/* Para abrir em tablets */

@media (max-width: 900px) {

    nav ul {
        justify-content: center;
        gap: 30px;
    }

}

/* Para abrir em celulares */


@media (max-width: 600px) {

    nav {
        padding: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .logo {
        height: 45px;
    }

}

/* BREADCRUMB */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    margin-left: 40px;
    background-color: #06040D;
}


.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: #d6d6d6;
    /* tom cinza claro */
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #CD97EB;
    /*  roxo hover */
    text-decoration: underline;
}

.breadcrumb-icon-home {
    width: 16px;
    height: 16px;
    color: #00FF55;

}

.breadcrumb-icon {
    width: 16px;
    height: 16px;
    color: #B8B5FF;
    flex-shrink: 0;
}

/* Esconde a seta do último item */
.breadcrumb li:last-child .breadcrumb-icon {
    display: none;
}

/* Página atual - sem link */
.breadcrumb li[aria-current="page"] {
    color: #FFFFFF;
    font-weight: 600;
}

/* Carrosel / Hero */

.hero {

    width: 100%;
    height: 700px;

    display: flex;
    align-items: center;

    padding-left: 70px;

    background-image:
        linear-gradient(90deg,
            rgba(0, 0, 0, .95) 0%,
            rgba(0, 0, 0, .78) 30%,
            rgba(0, 0, 0, .18) 55%,
            rgba(0, 0, 0, .05) 100%),
        url("../assets/Images/hero-banner.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-texto h1 {
    background: transparent;
    color: white;
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    white-space: nowrap;
}

.hero-texto h1 .destaque {
    color: #8F3EF7;
    display: inline-block;
    background: transparent;
}

.hero-texto p {
    color: #d6d6d6;
    font-size: 18px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out 0.3s forwards;
}

.hero-texto span {
    background: transparent;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CARDS */

.trilha-wrapper {
    display: flex;
    gap: 24px;
    padding: 40px 70px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* CARDS PEQUENOS */
.trilha-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 62%;
}

.info-card {
    background: #150621;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.trilha-info .info-card,
.trilha-info .info-card-3:hover {
    transition: .35s;
}

.trilha-info .info-card:hover,
.trilha-info .info-card-3:hover {
    transform: translateY(-4px);
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(143, 62, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon .iconify {
    width: 20px;
    height: 20px;
    color: #8F3EF7;
}

.info-texto h4 {
    font-size: 12px;
    font-weight: 600;
    color: #B8B5FF;
    margin: 0 0 2px 0;
    text-transform: uppercase;
}

.info-texto p {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
}

/* card 3 */

.info-card-3 {
    background: #150621;
    /* border: 1px solid #2E2950; */
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon-3 {
    width: 58px;
    height: 38px;
    border-radius: 10px;
    background: rgba(143, 62, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-3 .iconify {
    width: 20px;
    height: 20px;
    color: #8F3EF7;
}

.info-texto-3 {
    margin-left: 4px;
}

.info-texto-3 h4 {
    font-size: 12px;
    font-weight: 600;
    color: #B8B5FF;
    margin: 0 0 2px 0;
    text-transform: uppercase;
}

.info-texto-3 p {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
}

/* CARD VERDE ESCURO */
.card-sobre {
    width: 35%;
    background: #001A05;
    margin-top: -150px;
    border-radius: 16px;
    padding: 28px 24px;
    color: #FFFFFF;
}

.card-sobre {
    transition: .35s;
}

.card-sobre:hover {
    transform: translateX(8px);
}

.card-sobre h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.card-sobre>p {
    /* paragrafo principal */
    font-size: 15px;
    line-height: 1.6;
    color: #D1FAE5;
    margin: 0 0 20px 0;
}

/* BOX INTERNO VERDE CLARO */
.card-destaque {
    background: #02420F;
    /* verde mais claro */
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.card-destaque .iconify {
    width: 24px;
    height: 24px;
    color: #A855F7;
    /* roxo da estrela */
    flex-shrink: 0;
    margin-top: 2px;
}

.card-destaque p {
    font-size: 14px;
    line-height: 1.5;
    color: #ECFDF5;
    margin: 0;
    font-weight: 500;
}

/* CAMINHO DE APRENDIZADO */
.caminho-aprendizado {
    padding: 40px 0;
    color: white;
}

.caminho-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.caminho-conteudo h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: white;
}

/* LEGENDA */
.legenda {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
    margin: 20px 0;
}

.legenda span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #FFFFFF;
}

.legenda img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: block;
}

/* SEÇÃO TRILHA DETALHADA */
.trilha-detalhada {
    padding: 40px 70px;
}

.trilha-conteudo h2 {
    font-size: 32px;
    margin-bottom: 30px;
    border-left: 6px solid #8F3EF7;
    padding-left: 15px;
}

/* SCROLL INTERNO*/
.trilha-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

.trilha-scroll::-webkit-scrollbar {
    width: 8px;
}

.trilha-scroll::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 10px;
}

/* ITEM DA TRILHA */
.item-trilha {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.linha-numero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* BOLINHA */
.bolinha {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2f55;
    border: 2px solid #2a2f55;
    color: #FFFFFF;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* LINHA */
.linha {
    width: 3px;
    flex: 1;
    background: #2a2f55;
    margin-top: 5px;
}

/* CARD DO ITEM */
.card-item {
    flex: 1;
    background: #1e2340;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #2a2f55;
}

.card-info {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 2;
}

.card-info input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #00ff88;
    cursor: pointer;
}

.card-info img {
    width: 45px;
    height: 45px;
}

.card-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.card-info p {
    margin: 0;
    font-size: 13px;
    color: #aaa;
}

/* TAGS */
.tag {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 8px;
    display: inline-block;
    font-weight: 600;
}

.tag.essencial {
    background: rgba(0, 132, 44, 0.2);
    color: #00842C;
}

.tag.importante {
    background: rgba(114, 35, 150, 0.2);
    color: #722396;
}

.tag.complementar {
    background: rgba(142, 142, 147, 0.2);
    color: #8E8E93;
}

/* CARD RECURSOS */

.card-recursos {
    flex: 2;
    margin: 0 20px;
    min-width: 300px;
}

.recursos-icons {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    margin-top: 8px;
    justify-content: flex-start;
}

.recurso-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #B8B5FF;
}

.recurso-item a {
    text-decoration: none;
    color: inherit;
}

.recurso-item span {
    white-space: nowrap;
    font-size: 13px;
}

.recurso-item img {
    width: 20px;
    height: 20px;
}

.btn-detalhes,
.btn-cta {
    background: #8F3EF7;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
}

.btn-detalhes:hover {
    background: #7C3AED;
    transform: scale(1.05);
}

.btn-detalhes.inativo {
    cursor: not-allowed !important;
    transition: .35s;
    opacity: 0.6;
    pointer-events: auto;

}


/* ===== PINTAR BOLINHA E LINHA PELA TAG ===== */
.item-trilha:has(.tag.essencial) .bolinha,
.item-trilha:has(.tag.essencial) .linha {
    background: #00842C;
    border-color: #00842C;
}

.item-trilha:has(.tag.importante) .bolinha,
.item-trilha:has(.tag.importante) .linha {
    background: #722396;
    border-color: #722396;
}

.item-trilha:has(.tag.complementar) .bolinha,
.item-trilha:has(.tag.complementar) .linha {
    background: #8E8E93;
    border-color: #8E8E93;
}

/* ESTADO BLOQUEADO */
.item-trilha.bloqueado .bolinha,
.item-trilha.bloqueado .linha {
    background: #2a2f55;
    border-color: #555;
    color: #555;
}

/* ===== TRILHA SOFT SKILLS ===== */

/* GARANTE O SCROLL MESMO COM POUCOS ITENS */
.soft-skills .trilha-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

.soft-skills .trilha-scroll::-webkit-scrollbar {
    width: 6px;
}

.soft-skills .trilha-scroll::-webkit-scrollbar-thumb {
    background: #2a2f55;
    border-radius: 10px;
}

/* PROGRESSO */
.soft-skills .progresso-container {
    margin-bottom: 30px;
    color: #fff;
}

.soft-skills .progresso-container p {
    font-size: 14px;
    margin-bottom: 8px;
}

.soft-skills .barra-progresso {
    width: 100%;
    height: 8px;
    background: #2a2f55;
    border-radius: 10px;
    overflow: hidden;
}

.soft-skills .barra-progresso-preenchida {
    width: 0%;
    height: 100%;
    background: #00ff88;
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* CORES ESPECIFICAS DA SOFT SKILLS */
.soft-skills .item-trilha:has(.tag.essencial) .bolinha,
.soft-skills .item-trilha:has(.tag.essencial) .linha {
    background: #00842C;
    border-color: #00842C;
}

.soft-skills .item-trilha:has(.tag.importante) .bolinha,
.soft-skills .item-trilha:has(.tag.importante) .linha {
    background: #722396;
    border-color: #722396;
}

.soft-skills .item-trilha:has(.tag.complementar) .bolinha,
.soft-skills .item-trilha:has(.tag.complementar) .linha {
    background: #8E8E93;
    border-color: #8E8E93;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #150621;
    margin: 10% auto;
    padding: 40px;
    border: 2px solid #8F3EF7;
    width: 600px;
    border-radius: 20px;
    position: relative;
    color: white;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #B8B5FF;
}

.modal-section {
    margin-top: 25px;
}

.modal-section h3 {
    font-size: 18px;
    color: #10B981;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section p {
    font-size: 16px;
    color: #d6d6d6;
    line-height: 1.5;
}

.modal-section.highlight {
    background: rgba(143, 62, 247, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #8F3EF7;
}

/* CARD CTA FINAL */
.card-final {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.card-final .card-cta {
    background: linear-gradient(to right, #481f58 0%, #2c1435 100%);
    border: 1px solid #fff;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-final .card-cta {
    transition: 0.35s;
}

.card-final .card-cta:hover {
    transform: translateY(-4px);
}

.card-final .cta-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

.card-final .cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-final .card-cta-texto {
    flex: 1;
    /* ocupa o meio */
}

.card-final .card-cta-texto h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.card-final .card-cta-texto p {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

.card-final a {
    text-decoration: none;
    color: inherit;
}

.card-final .btn-cta {
    background: linear-gradient(to right, #521f68 0%, #2c1435 100%);
    /* roxo do botão */
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
}

.card-final .btn-cta:hover {
    background: #fff;
    color: #b65cff;
    transform: translateY(-2px);
}

/* ===== BARRA DE PROGRESSO GENERICA ===== */
.trilha-detalhada .progresso-container {
    margin-bottom: 30px;
    color: #fff;
}

.trilha-detalhada .progresso-container p {
    font-size: 14px;
    margin-bottom: 8px;
}

.trilha-detalhada .barra-progresso {
    width: 100%;
    height: 8px;
    background: #2a2f55;
    border-radius: 10px;
    overflow: hidden;
}

.trilha-detalhada .barra-progresso-preenchida {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00ff88 0%, #7b61ff 100%);
    /* gradiente pros 2 */
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* GARANTE SCROLL NAS 2 */
.trilha-detalhada .trilha-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

/* ===== SECTION LEGENDA ===== */
.section-legenda {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

.container-legenda {
    background: #000F09;
    border: 1px solid #fff;
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.item-legenda {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    min-width: 0;
}

/* CAIXA DO ÍCONE */
.item-legenda .icon-legenda {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-legenda .icon-legenda img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Garante que a img não estique */
}

/* CAIXA DO TEXTO */
.item-legenda .texto-legenda {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    /* Libera pra quebrar texto */
}

.item-legenda h4 {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.item-legenda p {
    font-size: 12px;
    margin: 0;
    color: #fff;
    line-height: 1.4;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .container-legenda {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 500px) {
    .container-legenda {
        grid-template-columns: 1fr;
    }

    .item-legenda .icon-legenda {
        width: 36px;
        height: 36px;
    }
}

/* ===== FOOTER ===== */
.footer {

    width: 100%;

    background: #051816;

    color: #fff;

    margin-top: 80px;

    padding: 40px 0;

    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Container */

.footerContainer {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 40px;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 40px;
}

/* Logo */

.footerLogo {

    width: 260px;
}

.logo {

    width: 70px;

    margin-bottom: 20px;
}

.footerLogo p {

    font-size: 14px;

    color: #d4d4d4;

    line-height: 1.6;

    margin-bottom: 25px;
}

.footerLinks {

    display: flex;

    gap: 20px;
}

.footerLinks a {

    color: #fff;

    text-decoration: none;

    font-size: 13px;
}

.footerLinks a:hover {

    color: #9f5cff;
}

/* Colunas */

.footerCol h3 {

    font-size: 16px;

    margin-bottom: 18px;
}

.footerCol ul {

    list-style: none;
}

.footerCol ul li {

    margin-bottom: 12px;
}

.footerCol a {

    color: #d6d6d6;

    text-decoration: none;

    font-size: 14px;

    transition: .3s;
}

.footerCol a:hover {

    color: #9f5cff;
}

.footerCol p {

    color: #d6d6d6;

    font-size: 14px;

    margin-bottom: 20px;
}

/* Redes sociais */

.redes {

    display: flex;

    gap: 18px;
}

.redes i {

    font-size: 22px;

    cursor: pointer;

    transition: .3s;
}

.redes i:hover {

    color: #9f5cff;
}

/* Botão */

.vlibras {

    background: #7c2cff;

    color: white;

    border: none;

    border-radius: 6px;

    padding: 8px 18px;

    cursor: pointer;

    transition: .3s;
}

.vlibras:hover {

    background: #9650ff;
}

/* Copyright */

.copyright {

    background: #041110;

    color: #d6d6d6;

    text-align: center;

    padding: 18px;

    font-size: 13px;

    border-top: 1px solid rgba(255, 255, 255, .08);
}

/*=========================
      RESPONSIVO
=========================*/

@media(max-width:900px) {

    .footer {

        flex-wrap: wrap;

        justify-content: center;

        text-align: center;
    }

    .footerLogo {

        width: 100%;
    }

    .footerLinks,
    .redes {

        justify-content: center;
    }

}

@media(max-width:600px) {

    .footer {

        flex-direction: column;

        align-items: center;

        text-align: center;
    }

}