:root {
    /* Mude o HEX abaixo se a imagem da CNH for de um branco ligeiramente diferente */
    --cor-fundo-cnh: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #121212;
    overflow-x: hidden;
}

header {
    width: 100%;
    height: 10vh;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo-menu-superior {
    width: 70px;
    margin-left: 20px;
}

.material-symbols-outlined {
    font-size: 40px;
    margin-right: 20px;
    color: #1E1E1E;
}

.hero-section {
    width: 100%;
    background-color: #121212;
}

.container-hero-principal {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: white;
    font-family: "Inter", sans-serif;
    position: relative;
    z-index: 1;
    overflow: hidden; 
}

.container-hero-principal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../imagens/bg-sec-2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

/* Animações Hero */
.titulo-frase-principal {
    margin-bottom: 30px;
    margin-left: 14px;
    font-size: 32px;
    opacity: 0;
    animation: revealText 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.paragrafo-frase-principal {
    font-size: 18px;
    margin-left: 14px;
    width: 90%;
    opacity: 0;
    animation: revealText 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.ancora-hero-section {
    width: 50%;
    padding: 15px 5px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #121212;
    font-family: "Inter", sans-serif;
    background-color: #009955;
    font-weight: bold;
    opacity: 0;
    animation: fadeUp 1s ease 0.6s forwards;
}

@keyframes revealText {
    0% { opacity: 0; transform: translateY(30px); filter: blur(8px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.ancora-whatsapp-flutuante {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 1000;
}

.logo-whats-flutuante { width: 70px; }

.separador-hero-secao-1 {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #121212;
    margin-top: 20px;
}

.divisoria-hero {
    width: 80px;
    transform: rotate(180deg);
}

.secao-video-institucional {
    width: 100%;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Inter", sans-serif;
    color: #FFFFFF;
    background-color: #121212;
}

.titulo-video-institucional {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.imagem-reproducao-video {
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
}

.secao-de-conteudo-1 {
    width: 100%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #121212;
    font-family: "Inter", sans-serif;
    color: #FFFFFF;
}

.titulo-secao-1 { margin-top: 10px; text-align: center; }

.paragrafo-secao-1 {
    margin-top: 5px;
    font-size: 14px;
    padding: 8px;
    text-align: center;
}

.botao-chamada-1 {
    width: 80%;
    max-width: 300px;
    background-color: #F9DB27;
    margin-top: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.ancora-secao-1-botao {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: #1E1E1E;
    width: 100%;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    border: 3px solid black;
}

/* Linhas com ícones */
.secao-de-conteudo-2 {
    width: 100%;
    margin: 10px; 
    background-color: #121212;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.linha-com-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 500px;
    margin-bottom: 60px; 
}

.margin-moto { margin: 60px auto; }

.linha-com-icone::before,
.linha-com-icone::after {
    content: "";
    flex-grow: 1; 
    height: 1px;
    background-color: #FFFFFF;
    opacity: 0.3; 
}

.linha-com-icone img {
    width: 45px;
    margin: 0 20px; 
}

.cnh-do-brasil {
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    border: 2px solid #FFFFFF;
    border-radius: 15px;
    color: white;
    overflow: hidden;
}

.imagem-cnh-do-brasil {
    width: 100%;
    height: auto;
}

.textos-cnh-do-brasil { padding: 20px; }

.titulo-card-cnh-do-brasil {
    font-family: "Inter", sans-serif;
    font-size: 26px;
    margin-bottom: 10px;
}

.paragrafo-cnh-do-brasil {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    color: #ccc;
}

.botoes-cta-secao-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ancora-cnh-do-brasil {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #FFFFFF;
    width: 80%;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 8px;
}

.divisor-secao-2-3 {
    width: 100%;
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

/* Animação de pulsar na placa de atenção */
@keyframes pulsarPlaca {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.placa-divisa { 
    width: 40px; 
    animation: pulsarPlaca 2s infinite ease-in-out;
}

.introducao-planos {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #121212;
    border: 1px solid #FFFFFF;
    border-radius: 12px;
    text-align: center;
}

.titulo-introducao {
    font-family: "Inter", sans-serif;
    font-size: 22px;
    color: white;
    margin-bottom: 10px;
}

.introducao-paragrafo {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: #ddd;
    margin-bottom: 20px;
}

.ancora-introducao-planos {
    width: 70%;
    text-decoration: none;
    color: white;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    padding: 10px;
    font-family: "Inter", sans-serif;
}

.introducao-planos-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    background-color: #121212;
}

.suporte-semaforo { margin-top: 50px; }

.semaforo-container {
    position: relative;
    width: 150px; 
    height: 250px; 
    margin-top: -80px; 
}

.semaforo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
}

.semaforo-img.vermelho { opacity: 1; z-index: 1; }
.semaforo-img.verde { opacity: 0; z-index: 2; }
.semaforo-container.sinal-aberto .semaforo-img.vermelho { opacity: 0; }
.semaforo-container.sinal-aberto .semaforo-img.verde { opacity: 1; }

.titulo-introducao-planos {
    margin-top: 40px;
    text-align: center;
    padding: 0 20px;
    font-family: "Inter", sans-serif;
    color: #FFFFFF;
    font-size: 22px;
}

.paragrafo-introducao-planos {
    text-align: center;
    padding: 0 20px;
    font-family: "Inter", sans-serif;
    color: #ccc;
    margin-top: 15px;
}

.titulo-final-introducao {
    font-family: "Inter", sans-serif;
    color: #FFFFFF;
    margin-top: 50px;
    text-align: center;
}

/* Container de Planos */
.planos {
    background-color: #121212;
    width: 100%;
    padding: 50px 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px; 
    overflow: hidden; 
    perspective: 1500px; /* Perspectiva para a animação 3D dos cards */
}

.card-combo {
    width: 90%;
    max-width: 380px;
    background-color: #1E1E24;
    border-radius: 12px;
    position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    box-shadow: none;
    transform-origin: bottom center; /* Ponto de eixo na base do card */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.8s ease, 
                box-shadow 1s ease-in-out; 
}

/* Nova Animação 3D substituindo anime-left/right */
.anime-3d { 
    opacity: 0; 
    transform: rotateX(60deg) translateY(50px); /* Efeito do card "deitado" */
}
.card-combo.show { 
    opacity: 1; 
    transform: rotateX(0deg) translateY(0); /* Fica em pé voltado para frente */
}

.bandeira-base {
    position: absolute;
    top: 30px;
    left: 0; 
    width: 80%; 
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    clip-path: polygon(0% 0%, 100% 0%, 90% 50%, 100% 100%, 0% 100%);
}

.imagem-icone-bandeira { width: 25px; margin-right: 15px; }

.titulocard {
    font-family: "Inter", sans-serif;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.2;
}

.bg-azul { background-color: #005BD3; }
.bg-verde { background-color: #009955; }
.bg-amarelo { background-color: #F2A900; }
.bg-vermelho { background-color: #D90F0F; }

.selo-destaque {
    position: absolute;
    top: 10px;
    right: -10px; 
    width: 80px;
    z-index: 10;
}

.conteudo-card {
    margin-top: 100px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.texto-superior-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.foco-letra {
    font-family: "Inter", sans-serif;
    font-size: 96px;
    color: #FFFFFF;
    font-weight: 300;
    line-height: 1;
}

.descricao-aula {
    font-family: "Inter", sans-serif;
    font-size: 32px;
    color: #FFFFFF;
    font-weight: 300;
    letter-spacing: 2px;
}

.descricao-card {
    width: 80%;
    text-align: center;
    font-family: "Inter", sans-serif;
    color: #cccccc;
    font-size: 14px;
    margin-top: 20px;
}

.ancora-card {
    font-family: "Inter", sans-serif;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    margin-top: 30px;
    width: 60%;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s;
}

.ancora-card:hover { background-color: rgba(255, 255, 255, 0.1); }

#card-basico.blur-ativo { box-shadow: 10px 10px 25px -5px rgba(0, 91, 211, 0.25); }
#card-intermediario.blur-ativo { box-shadow: 10px 10px 25px -5px rgba(0, 153, 85, 0.25); }
#card-avancado.blur-ativo { box-shadow: 10px 10px 25px -5px rgba(242, 169, 0, 0.25); }
#card-expert.blur-ativo { box-shadow: 10px 10px 25px -5px rgba(217, 15, 15, 0.25); }

.final-planos-divisoria {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    background-color: #121212;
}

.imagem-divisoria-fim-planos {
    width: 80%;
    max-width: 400px;
}

/* RODAPÉ RECRIADO */
.rodape {
    width: 100%;
    background-color: #0A0A0A; /* Tom mais escuro para diferenciar da página */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0 20px 0;
}

.secao-1-rodape {
    width: 90%;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.informacoes-1-rodape {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: "Inter", sans-serif;
    color: #FFFFFF;
}

.icone-footer {
    width: 35px;
    margin-bottom: 5px;
}

.informacoes-rodape-resp {
    font-size: 14px;
    color: #ccc;
}

.redes-sociais-rodape {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.logo-redes {
    width: 45px;
    transition: transform 0.3s;
}

.logo-redes:hover {
    transform: scale(1.1);
}

.direitos {
    width: 100%;
    text-align: center;
    color: #777;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.direitos-texto {
    font-family: "Inter", sans-serif;
    font-size: 12px;
}








/* ==========================================================================
   FAIXA DE PEDESTRE - MOBILE (APENAS 1 IMAGEM)
   ========================================================================== */
.final-planos-divisoria {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.container-faixas {
    display: flex;
    width: 90%; 
    justify-content: center;
}

.imagem-faixa {
    width: 100%;
    max-width: 400px; /* Tamanho bom para celular */
    clip-path: inset(0 100% 0 0); /* Começa escondida */
}

/* Esconde a segunda imagem no mobile */
.faixa-2 {
    display: none; 
}

/* Animação de revelação da esquerda para a direita */
.mostrar-faixa .faixa-1 { 
    animation: revealFaixa 1.5s ease-out forwards; 
}

@keyframes revealFaixa {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}














/* ==========================================================================
   VERSÃO DESKTOP - AJUSTE FINAL: FAIXA 100% REAL E SEMÁFORO AJUSTADO
   ========================================================================== */
@media (min-width: 1024px) {
    
    /* 1. HEADER E HERO (Logo centralizada e Textos com opacidade) */
    header { 
        padding: 0; 
        justify-content: center; 
    }
    .logo-menu-superior {
        margin-left: 0;
        padding: 15px;
        width: 90px;
    }
    
    .container-hero-principal { height: 80vh; align-items: center; text-align: center; }
    
    .titulo-frase-principal { 
        font-size: 64px; 
        width: 80%; 
        margin-left: 0; 
        color: rgba(255, 255, 255, 0.85); 
    }
    
    .paragrafo-frase-principal { 
        font-size: 22px; 
        width: 50%; 
        margin-left: 0; 
        color: rgba(255, 255, 255, 0.85); 
    }

    /* 2. SEPARADORES (CARRO/MOTO) - DISTÂNCIA E ZOOM-IN */
    .linha-com-icone {
        width: 95%;
        max-width: 1200px;
        margin: 120px auto; 
        display: flex;
        align-items: center;
    }
    .linha-com-icone img {
        width: 45px;
        transform: scale(0.1); 
        opacity: 0;
        transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
    }
    .linha-com-icone.show img {
        transform: scale(1);
        opacity: 1;
    }

    /* 3. BANNER CNH DO BRASIL (900px) */
    .cnh-do-brasil {
        flex-direction: row; 
        max-width: 900px; 
        align-items: stretch; 
        margin: 0 auto;
        border: 1px solid rgba(255,255,255,0.2);
    }
    .imagem-cnh-do-brasil {
        width: 50%;
        object-fit: contain; 
        background-color: var(--cor-fundo-cnh); 
        padding: 30px; 
        border-right: 2px solid #FFFFFF;
    }
    .textos-cnh-do-brasil {
        width: 50%;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* 4. SEÇÃO "SUA CNH NO SEU RITMO" - CARD E PLACA PULSE */
    .introducao-planos {
        width: 90%;
        max-width: 600px; 
        margin: 0 auto 40px auto;
        padding: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #121212;
        border: 1px solid #FFFFFF;
        border-radius: 12px;
        text-align: center;
    }

    .placa-divisa { 
        width: 60px;
        animation: pulsarPlaca 1.2s infinite alternate ease-in-out; 
    }
    @keyframes pulsarPlaca {
        0% { transform: scale(0.85); }
        100% { transform: scale(1.15); }
    }

    /* 5. SEMÁFORO - BARRA 100% E ENCOSTADO NA LINHA PRETA */
    .introducao-planos-2 {
        margin-top: 20px;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    
    .suporte-semaforo { 
        width: 100%;
        height: 12px;
        display: flex;
        justify-content: center;
        position: relative;
    }
    
    .suporte-semaforo::before {
        content: "";
        width: 100vw; /* Barra atravessa a tela toda */
        height: 12px;
        background: #1a1a1a;
        position: absolute;
        top: 0;
        z-index: 1;
    }

    .semaforo-container { 
        margin-top: -50px; /* Colado na linha preta */
        z-index: 10; 
        position: relative;
    }

    /* 6. CARDS DOS COMBOS (1350px) */
    .planos {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        max-width: 1350px; 
        margin: 0 auto;
        perspective: 2000px; 
    }

    .card-combo {
        width: 23%; 
        height: 530px; 
        transform-origin: bottom center;
        transform: rotateX(50deg) translateY(50px); 
        opacity: 0;
        transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.8s ease;
    }

    .card-combo.show { 
        opacity: 1; 
        transform: rotateX(0deg) translateY(0); 
    }
    
    .conteudo-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between; 
        margin-top: 100px;
        padding: 0 15px 15px 15px;
    }
    .ancora-card { width: 90%; padding: 12px; font-weight: bold; }

    /* 7. FAIXA DE PEDESTRE - 100% WIDTH (ESTRATÉGIA DE BREAKOUT) */
    .final-planos-divisoria {
        /* Isso força o elemento a ter 100% da largura da janela, ignorando o container pai */
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        
        overflow: hidden;
        padding: 60px 0;
        display: flex;
        justify-content: center;
        background-color: #121212;
    }
    
    .container-faixas {
        display: flex;
        width: 100%; /* Ocupa todo o 100vw definido acima */
        gap: 35px; /* Margem entre as duas imagens */
        padding: 0 20px; /* Pequeno respiro nas pontas extremas, opcional */
    }
    
    .imagem-faixa {
        flex: 1; 
        height: auto;
        object-fit: cover;
        clip-path: inset(0 100% 0 0);
    }
    
    .faixa-2 {
        display: block; 
    }
    
    .mostrar-faixa .faixa-1 { 
        animation: revealFaixa 1.5s linear forwards; 
    }
    .mostrar-faixa .faixa-2 { 
        animation: revealFaixa 1.5s linear forwards;
        animation-delay: 1.5s; 
    }
    
    @keyframes revealFaixa {
        from { clip-path: inset(0 100% 0 0); }
        to { clip-path: inset(0 0 0 0); }
    }

    /* 8. RODAPÉ */
    .rodape { padding: 80px 0 40px 0; background-color: #0A0A0A; }
    .secao-1-rodape {
        flex-direction: row;
        justify-content: space-around;
        max-width: 1200px;
        margin: 0 auto;
    }
    .informacoes-1-rodape { margin-top: 0; flex: 1; }
}