/* ==========================================================================
   Estilos Globais e Reset
   ========================================================================== */
body {
    font-family: 'Montserrat', sans-serif; /* Alterado para Montserrat */
    margin: 0;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
    padding-top: 80px; /* Evita que o cabeçalho fixo cubra o conteúdo */
    overflow-x: hidden;

}
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px); /* Dá um leve efeito de subir enquanto surge */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform; /* Otimiza a performance da animação */
}

/* Classe que o JavaScript vai injetar assim que o elemento aparecer na tela */
.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.center{ margin: 0 auto; text-align: center;}
.esq{ margin: 0 auto; text-align: left;}
h1, h2, h3 {
    color: #002e5b;
    font-weight: 700;
    margin-top: 0;
}
h2{
    font-size: 2.3rem;
    font-weight: 700;
}
p {
    margin-top: 0;
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Botões */
.btn {
    display: inline-block;
    background-color: #132036;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1.3rem;
}

.btn:hover {
    background-color: #925d13;
}

.btn-text {
    font-weight: 700;
    color: #132036;
    display: inline-flex;
    align-items: center;
}.btn-text:hover {
    color: #925d13;
}

/* ==========================================================================
   Cabeçalho Fixado (Header)
   ========================================================================== */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

header.menu.scrolled {
    background-color: #ffffff !important; /* Transiciona para o branco sólido */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Adiciona a sombra suavemente */
    height: 40px;
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out, padding 0.4s ease;
    
}



.logo img {
    width: auto;
    height: 35px;
    display: block;
}

/* Menu Desktop */
.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-menu ul li {
    margin-left: 25px;
}

.nav-menu ul li a {
    font-weight: 400;
    color: #000;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.nav-menu ul li a:hover {
    color: #915d14;
}

.plataform{background-color: #132036; color: #fff !important; padding: 5px 13px; border-radius: 10px;}


/* Botão do Menu Hambúrguer (Escondido no Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #002e5b;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   Seções de Conteúdo
   ========================================================================== */

/* Hero Section */
#hero {
    background-image: url("imgs/hero-banner.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: -80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 2.5rem;
    line-height: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    max-width: 600px;
}

.subtitle {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
}

#hero p{ 
    font-size: 1.4rem;
    line-height: 1.5rem;
    max-width: 400px;
}

/* Seção Sobre */
#sobre {
    padding: 80px 0;
    background-color: #ffffff;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.video-placeholder {
    padding: 10px;
    border-radius: 10px;
    position: relative;
}

.video-placeholder img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: #007bff;
    background-color: rgba(255,255,255,0.9);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Iniciativa Global */
#iniciativa {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f7f6;
}

#iniciativa h2 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #555;
    margin-bottom: 30px;
}
#iniciativa p { padding: 40px 0;}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.logos-grid img {
    height: 45px;
    margin: 0 20px;
    object-fit: contain;
}
.logos-grid .px{
    height: 100px;
    object-fit: contain;
    
}

/* Blocos de Certificação (Profissionais / Instituições) */
#profissionais, #instituicoes {
    padding: 80px 0;
    text-align: center;
}

.seal, .silver-seal {
    margin-bottom: 20px;
}

.seal img { height: 100px; }
.silver-seal img { height: 100px; }

#para-quem{ padding: 50px 0;}
#competencias{ padding: 50px 0; background-color: #ebeef2;}
#beneficios{ padding: 50px 0; background-color: #ebeef2;}


#jornada{ padding: 50px 0;}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin: 15px 0;
}


.benefit-item {
    padding: 30px;
    font-size: 0.9rem;
    line-height: 1.1rem;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item img {
    height: 200px;
    margin-bottom: 20px;
}

#competencias .benefit-item img {
    height: 100px;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Centros de Certificação */
#centros {
    padding: 80px 0;
    text-align: center;
}

.logos-grid.centers {
    margin-top: 40px;
    margin-bottom: 50px;
}

.cta-box {
    background-color: #ebeef2;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box p {
    font-size: 1.9rem;
    line-height: 2.1rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
}

/* Formulário de Contato */
#contato {
    padding: 80px 0;
    background-color: #132036;
    color: #fff;
}

#contato h2 { color: #fff; }

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contato-info p {
    color: #dae4ed;
    font-size: 1.1rem;
}

.form-container {
    background-color: #fff;
    padding: 5%;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 90%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #002e5b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-container .btn {
    width: 100%;
}

/* Rodapé */
footer {
    background-color: #ebeef2;
    color: #000;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   Regras de Responsividade (Media Queries)
   ========================================================================== */

/* Telas de Tablets e Menores (Geral) */
@media (max-width: 991px) {
    #hero h1 { font-size: 2.5rem; }
    .sobre-content, .contato-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .video-placeholder, .form-container {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    
    
}

/* Telas Mobile (Ajustes Estritos e Menu Drop) */
@media (max-width: 768px) {
    #hero { text-align: center; padding-top: 50px; }
    
    .hero-overlay {
    background-color: rgba(0,0,0,0.4);
}
    
    #hero h1 { font-size: 2rem; }
    .subtitle { font-size: 1.1rem; }
    .logos-grid { flex-wrap: wrap; gap: 30px; }

    /* Exibe o botão hambúrguer no mobile */
    .menu-toggle {
        display: flex !important;
    }

    /* Transforma a barra de navegação no menu Dropdown */
    nav.nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }

    /* Classe de Ativação injetada via JavaScript */
    nav.nav-menu.active {
        display: block !important;
    }

    /* Alinhamento dos links dentro do menu dropdown */
    .nav-menu ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        padding: 15px 0 !important;
        margin: 0;
    }

    .nav-menu ul li {
        margin: 0 !important;
        width: 100%;
        text-align: center;
    }

    .nav-menu ul li a {
        display: block;
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu ul li:last-child a {
        border-bottom: none;
    }

    /* Animação das linhas transformando-se em um 'X' */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}


    .lightbox-fundo {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.85);
        justify-content: center;
        align-items: center;
    }

    /* 3. Container do vÃ­deo com proporÃ§Ã£o 16:9 */
    .lightbox-conteudo {
        position: relative;
        width: 90%;
        max-width: 800px;
        aspect-ratio: 16 / 9;
        background: #000;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    }

    /* 4. O iframe do YouTube */
    .lightbox-conteudo iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    /* 5. BotÃ£o de fechar (o "X") */
    .fechar-btn {
        position: absolute;
        top: -40px;
        right: 0;
        color: #ffffff;
        font-size: 35px;
        font-weight: bold;
        cursor: pointer;
        font-family: Arial, sans-serif;
    }
    .fechar-btn:hover {
        color: #cccccc;
    }
