html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: "PoppinsRegular";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f8f8;
    min-width: 375px;
    font-size: larger;
    overflow-x: hidden;
    width: 100%;
}



/* Estilo da topbar */
#topbar {
    display: none;
    /* Oculta inicialmente */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #031241;
    color: #ffffff;
    /* Ajuste conforme seu design */
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    /* Garante que fique sobre os demais elementos */
    text-align: center;
    font-size: 1.3em;
}

/* Estilo do botão vermelho */
#futureButton {
    background-color: #ec8a16;
    color: #fff;
    padding: 8px 24px;
    font-size: 0.8em;
    cursor: pointer;
    border-radius: 25px;
    text-decoration: none;
    border: none;
    font-family: "PoppinsRegular";
    font-weight: bold;
}

#countdown {
    background-color: #ec1616;
    color: #fff;
    padding: 8px 16px;
    font-size: 0.8em;
    border-radius: 15px;
    border: none;
}
.container-flex{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}
.container_total {
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container_pagina_principal {
    background-image: url("../assets/background_primeira_tela_ebook.png");
    background-size: cover;
    background-position: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.container_navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    position: relative;
    z-index: 1100;

    & .navbar_logo {
        color: white;
        text-decoration: none;
        width: 30%;

        & img {
            width: 100%;
        }
    }

    & .navbar_info {
        display: flex;
        flex-direction: row;
        gap: 25px;
        width: 100%;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        position: relative;
        background: transparent;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
        
        & li {
            list-style: none;
        }

        & a {
            color: white;
            text-decoration: none;
            transition: color 0.2s ease;
            font-size: 1.2em;
            font-weight: 500;
        }

        & a:hover {
            color: #ffc300;
        }
        
        & .menu_inscrever {
            display: none;
        }
    }
}

/* Botão hamburger - redondo e flutuante (apenas em telas pequenas) */
.navbar_toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    background: rgba(9, 39, 132, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar_toggle:hover {
    background: rgba(9, 39, 132, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.navbar_toggle:active {
    transform: scale(0.95);
}

.navbar_toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 3px 0;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar_toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.navbar_toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar_toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.container_info_pagina_principal {
    padding: 45px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 140px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.container_texto {
    color: #fff;
    display: flex;
    flex-direction: column;
    width: 50%;
    max-width: 700px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    gap: 20px;
    min-height: auto;
    overflow: visible;

    & p {
        font-size: 1.4em;
        margin: 0;
        line-height: 1.5;
    }

    & h2 {
        font-size: 3em;
        margin-top: 20px;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px black;
        line-height: 1.2;
    }

    & .destaque_final {
        text-align: center;
    }

    & .destaque {
        font-size: 1.1em;
        color: #ffe86f;
        font-weight: 700;
    }

    & .badge-gratis {
        background-color: #29a71a;
        color: #ffffff;
        border-radius: 10px;
        padding: 2px 10px;
        font-weight: 800;
        display: inline-block;
        line-height: 1.2;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        white-space: nowrap;
        font-size: 0.9em;
    }

    & .ia-dev {
        background-color: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 16px;
        padding: 20px;
        font-size: 1em;
        color: #fff;
        margin-top: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.329);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        line-height: 1.6;
    }

    & .container_icones {
        display: flex;
        justify-content: space-around;
        text-align: center;
        align-items: center;
        margin-top: 20px;
        margin-bottom: 15px;

        & img {
            width: 44px; /* tamanho interno do ícone dentro do círculo */
            height: 44px;
            object-fit: contain;
        }

        & .container_icone {
            display: flex;
            flex-direction: column;
            width: 80px;
            text-align: center;
            align-items: center;
            gap: 8px;

            /* círculo translúcido igual para <i> e <img> */
            & > i,
            & > img {
                width: 72px;
                height: 72px;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.2);
                display: flex;
                align-items: center;
                justify-content: center;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
            }

            /* Diminui visualmente a marca C# dentro do círculo */
            & > img[alt="C#"] {
                padding: 12px;
                box-sizing: border-box;
            }

            /* Ícones FontAwesome dentro do círculo */
            & > i {
                color: #ffffff;
                font-size: 32px !important;
            }

            & p {
                margin: 0;
                font-size: 0.85em;
                text-align: center;
                line-height: 1.3;
                min-height: 2.4em; /* mantém todas as legendas na mesma altura visual */
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }
    }
}

.container_video {
    max-width: 400px;
    margin-right: 40px;
    margin-left: 40px;
    position: relative;

    display: none;
    flex-direction: column;
    align-items: center;

    & .container_video_info {
        display: flex;
        position: absolute;
        text-align: center;
        align-items: end;
        height: 580px;


        color: white;
        border-radius: 25px;
        margin-bottom: 75px;
        z-index: 1001;

        & h2 {
            margin: 0;
            font-size: 3rem;
            font-weight: bold;
        }

        & p {
            margin: 0;
            font-size: 1rem;
        }

        & img {
            width: 300px;
        }
    }

    & .overlay-video {
        width: 100%;
    }
}

/* Título "O que você vai aprender?" abaixo do vídeo (apenas mobile) */
.texto_o_que_mobile {
    display: none;
}

/* Título "O que você vai aprender?" no desktop (visível por padrão) */
.texto_o_que_desktop {
    display: block;
    color: #fff;
    font-size: 1.3em;
    font-weight: 600;
    margin: 15px 0;
    line-height: 1.4;
}

.conteudo_mobile_oque {
    display: none;
}

.container_formulario {
    width: 40%;
    max-width: 500px;
    max-height: 860px;
    background-color: #031241;
    padding: 30px 20px;
    border-radius: 25px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;

    & .modalidade {
        background-color: red;
        border-radius: 15px;
        color: white;
        width: 98%;
        padding: 5px;
        font-weight: normal;
        text-align: center;
        margin-bottom: 25px;
        font-size: 0.8em;
    }

    & .container_formulario_info_inicial {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 90%;
    }

    & .formulario {
        width: 90%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    & input {
        font-family: "PoppinsRegular";
        padding: 20px;
        border: none;
        font-size: 0.8em;
        border-radius: 10px;
        outline: none;
    }

    & small {
        font-size: 12px;
    }

    & .botao_entrar_turma {
        background-color: #ec8a16;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 15px;
        font-size: 1em;
        font-family: "PoppinsRegular";
        font-weight: 600;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    & .banner {
        & img {
            width: 100%;
        }
    }

    & .mensagem-lista-espera {
        background-color: #dc3545;
        border: 2px solid #c82333;
        border-radius: 15px;
        padding: 20px;
        margin: 15px 0;
        text-align: center;
        width: 90%;
        box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);

        & h3 {
            color: #fff;
            margin: 0 0 10px 0;
            font-size: 1.2em;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        & p {
            color: #fff;
            margin: 0;
            font-size: 0.9em;
            line-height: 1.4;
        }
    }
}

#formulario-secao.container_formulario {
    height: auto !important;
    max-height: 860px;
}

@media (max-width: 1570px) {
    .container_texto {
        & h2 {
            font-size: 3.2em;
            margin: 0;
        }
    }
}

@media (max-width: 1450px) {
    .container_formulario{
        max-height: 870px;
    }
}
@media (max-width: 1357px) {
    .container_info_pagina_principal {
        flex-wrap: wrap;
    }
    .container_texto { order: 1; }
    .container_video { 
        order: 2;
        margin-top: 20px;
    }
    .container_formulario {
        order: 3;
        width: 100%;
        max-width: 720px;
        margin: 20px auto 0 auto;
    }
}
@media (max-width: 1100px) {
    /* Reduz todos os h1 em ~60% em telas médias */
    h1 {
        font-size: 1.4em;
        line-height: 1.2;
    }
    .container_info_pagina_principal {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .container_texto,
    .container_video,
    .container_formulario {
        width: 80%;
    }

    /* Mantém o formulário legível e sem perder a identidade em telas menores */
    .container_formulario {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .container_navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;

        & .navbar_info {
            justify-content: center;
        }
    }

    .container_video {
        top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .container_formulario {
        & .mensagem-lista-espera {
            width: 95%;
            padding: 18px;
            margin: 12px 0;

            & h3 {
                font-size: 1.1em;
            }

            & p {
                font-size: 0.85em;
            }
        }
    }

    /* Ajusta o título para telas médias, mantendo a posição */
    .container_texto {
        & h2 {
            display: block;
            font-size: clamp(36px, 5.5vw, 56px);
            line-height: 1.15;
            margin-top: 20px;
            margin-bottom: 20px;
            white-space: normal;
            word-break: normal;
            overflow-wrap: normal;
        }
    }

    /* Garante tamanho mínimo do formulário (âncora #formulario-secao) */
    #formulario-secao.container_formulario {
        min-width: 320px;
        min-height: 560px;
    }
}

/* Ajustes para celulares */
@media (max-width: 900px) {
    .container_info_pagina_principal {
        flex-direction: column;
        align-items: center;
    }

    /* Menu hamburger aparece apenas em telas pequenas */
    .navbar_toggle {
        display: flex;
    }
    
    /* Menu flutuante em telas pequenas */
    .container_navbar {
        flex-wrap: nowrap;
        align-items: center;
        position: relative;
        & .navbar_logo {
            width: auto;
            flex-shrink: 0;
            & img {
                width: auto;
                height: 36px;
                margin: 4px 0 4px 8px !important;
            }
        }
        & .navbar_info {
            display: none;
            flex-direction: column;
            position: fixed;
            left: 50%;
            top: 90px;
            transform: translateX(-50%);
            width: 80%;
            max-width: 400px;
            box-sizing: border-box;
            background: rgba(9, 39, 132, 0.98);
            padding: 24px;
            border-radius: 16px;
            gap: 12px;
            z-index: 9998;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            
            & a {
                white-space: nowrap;
                text-align: center;
                padding: 12px 0;
                font-size: 1.1em;
                display: block;
                border-radius: 8px;
            }
            
            & a:hover {
                background: rgba(255, 255, 255, 0.1);
            }
            
            & .menu_inscrever {
                display: block !important;
                margin-top: 8px;
                padding-top: 12px;
                border-top: 1px solid rgba(255, 255, 255, 0.2);
            }
            
            & .btn_inscrever_menu {
                background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
                color: #ffffff !important;
                font-weight: 700;
                padding: 14px 20px !important;
                border-radius: 12px !important;
                box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
                text-align: center;
                transition: all 0.3s ease;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }
            
            & .btn_inscrever_menu:hover {
                background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
                transform: translateY(-2px);
                box-shadow: 0 6px 16px rgba(255, 102, 0, 0.5);
                color: #ffffff !important;
            }
            
            & .btn_inscrever_menu:active {
                transform: translateY(0);
            }
        }
        
        & .navbar_info.open {
            display: flex;
        }
    }

    .container_texto,
    .container_video,
    .container_formulario {
        width: 90%;
    }
    
    /* Reduz espaçamento do formulário em telas médias */
    .container_formulario {
        padding: 25px 18px;
    }
    
    /* Botão WhatsApp: esconder fixo e mostrar no formulário */
    .whatsapp-button {
        display: none !important;
    }
    
    .container_formulario .whatsapp-button-formulario {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 16px;
        text-align: center;
        background-color: #29a71a;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 15px;
        font-size: 1.5em;
        font-family: "PoppinsRegular";
        font-weight: 600;
        cursor: pointer;
        box-shadow: none;
        width: 100%;
        box-sizing: border-box;
    }
    
    .container_formulario .whatsapp-button-formulario i {
        font-size: 1.2em;
        margin-right: 10px;
    }
    
    .container_formulario .whatsapp-button-formulario:hover {
        background-color: #1ebe57;
    }
    
    /* Garantir que ambos os botões tenham a mesma largura e respeitem os limites */
    .container_formulario .botao_entrar_turma {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Botão WhatsApp deve respeitar o mesmo width do formulário (90%) */
    .container_formulario .whatsapp-button-formulario {
        width: 90%;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .container_video {
        margin: auto;
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
    }
    /* Evita quebra de palavra por linha no título principal em telas menores */
    .container_texto {
        & h2 {
            font-size: clamp(28px, 7vw, 42px);
            line-height: 1.15;
            white-space: normal;
            word-break: normal;
            overflow-wrap: normal;
            hyphens: auto;
        }
    }
    .container-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .container_formulario {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
        margin-top: 20px;
        & .mensagem-lista-espera {
            width: 95%;
            padding: 16px;
            margin: 10px 0;

            & h3 {
                font-size: 1em;
            }

            & p {
                font-size: 0.8em;
            }
        }
    }
    /* Ajusta o logo no mobile */
    .container_navbar .navbar_logo { width: auto; }
    .container_navbar .navbar_logo img { width: auto; height: 36px; margin: 4px 0 4px 8px !important; }

    /* Opcional: esconder completamente a barra de links (ul) no mobile quando fechada */
    .container_navbar .navbar_info:not(.open) { display: none !important; }
}

/* Ajustes para telas médias */

@media (max-width: 800px) {
    .container-flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }
    .texto_topbar{
        display: none;
    }

}

/* Ajustes para telas pequenas */
@media (max-width: 600px) {
    /* Mantém h1 reduzidos em telas pequenas */
    h1 {
        font-size: 1.2em;
        line-height: 1.2;
    }
    .container_info_pagina_principal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
        gap: 15px;
    }

    .container_texto,
    .container_video,
    .container_formulario {
        width: 100%;

        & .banner {
            & img {
                width: 90%;
            }
        }
    }
    
    /* Reduz espaçamento do formulário em telas pequenas */
    .container_formulario {
        padding: 20px 15px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    /* Garantir que o botão WhatsApp apareça no formulário em telas pequenas */
    .whatsapp-button {
        display: none !important;
    }
    
    .container_formulario .whatsapp-button-formulario {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 16px;
        text-align: center;
        background-color: #29a71a;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 15px;
        font-size: 1.5em;
        font-family: "PoppinsRegular";
        font-weight: 600;
        cursor: pointer;
        box-shadow: none;
        width: 100%;
        box-sizing: border-box;
    }
    
    .container_formulario .whatsapp-button-formulario i {
        font-size: 1.2em;
        margin-right: 10px;
    }
    
    .container_formulario .whatsapp-button-formulario:hover {
        background-color: #1ebe57;
    }
    
    /* Garantir que ambos os botões tenham a mesma largura e respeitem os limites */
    .container_formulario .botao_entrar_turma {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Botão WhatsApp deve respeitar o mesmo width do formulário (90%) */
    .container_formulario .whatsapp-button-formulario {
        width: 90%;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* Ordem: texto curto no topo, depois formulário, depois conteúdo "O que você vai aprender" */
    .container_texto { 
        order: 1; 
        
        /* Esconde tudo exceto o primeiro parágrafo no topo */
        & h2 { display: none !important; }
        & .ia-dev { display: none !important; }
        & .container_icones { display: none !important; }
        & .texto_o_que_desktop { display: none !important; }
        & p {
            display: none !important;
        }
        & p:first-of-type { 
            font-size: 1.3em; 
            margin-top: 8px; 
            margin-bottom: 16px;
            display: block !important;
        }
    }
    .container_texto {
        margin-bottom: 5px;
    }
    
    .container_formulario { 
        order: 2;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    /* Mostra o conteúdo "O que você vai aprender" do container_video após o formulário */
    .container_video {
        order: 3;
        width: 100%;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
        margin-left: 0;
        margin-right: 0;
        
        & .overlay-video {
            display: none;
        }
        
        & .texto_o_que_mobile {
            display: block !important;
            color: #ffffff;
            font-size: 1.3em;
            text-align: center;
            margin-bottom: 10px;
            margin-top: 0;
        }
        
        & .conteudo_mobile_oque {
            display: block !important;
            width: 100%;
            color: #ffffff;
            
            & .container_icones {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                align-items: center;
                gap: 14px 18px;
                margin: 15px 0;
                
                & .container_icone {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    width: 90px;
                    text-align: center;
                    
                    & > i,
                    & > img {
                        width: 72px;
                        height: 72px;
                        border-radius: 50%;
                        background: rgba(255, 255, 255, 0.2);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        color: #ffffff;
                        font-size: 36px;
                    }
                    
                    & p {
                        margin: 6px 0 0 0;
                        font-size: 12px;
                        color: #ffffff;
                    }
                }
            }
            
            & .ia-dev {
                display: block;
                margin-top: 10px;
                margin-bottom: 0;
                font-size: 1.1em;
                text-align: center;
            }
        }
    }

    .container_navbar {
        & .navbar_info {
            top: 75px;
            width: 85%;
            max-width: 360px;
        }
    }
    
    .navbar_toggle {
        width: 50px;
        height: 50px;
        top: 16px;
        left: 16px;
    }
    
    .navbar_toggle span {
        width: 22px;
        margin: 2.5px 0;
    }

    .container_texto {
        width: 100%;
        padding: 0;

        & h2 {
            font-size: clamp(26px, 8vw, 36px);
            line-height: 1.2;
            white-space: normal;
            word-break: normal;
            overflow-wrap: normal;
            hyphens: auto;
        }
    }

    .container_icones {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container_video {
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
        & .container_video_info {
            position: relative;
            top: 20px;
            height: auto;
        }
        /* Garante largura mínima e proporção do player no mobile */
        & .overlay-video .videoPlayer {
            width: 100%;
            max-width: 380px;
            min-width: 280px;
            aspect-ratio: 9 / 16;
            height: auto !important;
        }
    }
    
    .container_formulario {
        margin-top: 0;
    }

    .texto_o_que_mobile {
        display: block;
        margin-top: 20px;
        color: #ffffff;
        font-size: 1.3em;
        text-align: center;
    }

    .conteudo_mobile_oque {
        display: block;
        margin-top: 10px;
        color: #ffffff;
    }

    /* Ícones redondos lado a lado (quebra em múltiplas linhas quando necessário) */
    .conteudo_mobile_oque .container_icones {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 14px 18px;
        color: #ffffff;
    }
    .conteudo_mobile_oque .container_icone {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90px;
        text-align: center;
    }
    .conteudo_mobile_oque .container_icone > i,
    .conteudo_mobile_oque .container_icone > img {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
    }
    .conteudo_mobile_oque .container_icone p {
        margin: 6px 0 0 0;
        font-size: 12px;
        color: #ffffff;
    }
    
    /* Box para o texto IA no mobile */
    .conteudo_mobile_oque .ia-dev {
        background-color: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 16px;
        padding: 20px;
        font-size: 1em;
        color: #ffffff;
        margin-top: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.329);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        text-align: center;
    }

    .container_formulario {
        width: 100%;
        max-width: 520px;
        padding: 20px 0;
        margin-top: 20px;

        &.container_formulario_info_inicial {
            flex-direction: column;
        }

        & .mensagem-lista-espera {
            width: 95%;
            padding: 14px;
            margin: 8px 0;

            & h3 {
                font-size: 0.95em;
            }

            & p {
                font-size: 0.75em;
            }
        }
    }
}

@media (max-width: 480px) {
    .container_icones {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .container_video {
        & .container_video_info {
            position: relative;
            top: 20px;
        }
    }
    .container-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    #countdown, #futureButton{
        font-size: 14px;
    }

    .container_formulario {
        & .mensagem-lista-espera {
            width: 98%;
            padding: 12px;
            margin: 6px 0;

            & h3 {
                font-size: 0.9em;
            }

            & p {
                font-size: 0.7em;
            }
        }
    }
}

@media (max-width: 420px) {
    .container_video {
        & .container_video_info {
            position: relative;
            top: 20px;
        }
    }

    .container_formulario {
        & .mensagem-lista-espera {
            width: 98%;
            padding: 10px;
            margin: 5px 0;

            & h3 {
                font-size: 0.85em;
            }

            & p {
                font-size: 0.65em;
            }
        }
    }
}

@media (max-width: 360px) {
    .container_video {
        & .container_video_info {
            position: relative;
            top: 20px;
        }
    }

    .container_formulario {
        & .mensagem-lista-espera {
            width: 98%;
            padding: 8px;
            margin: 4px 0;

            & h3 {
                font-size: 0.8em;
            }

            & p {
                font-size: 0.6em;
            }
        }
    }
}

@media (max-width: 320px) {
    .container_video {
        & .container_video_info {
            position: relative;
            top: 20px;
        }
    }

    .whatsapp-button {
        width: 60%;
    }

    .container_formulario {
        & .mensagem-lista-espera {
            width: 98%;
            padding: 6px;
            margin: 3px 0;

            & h3 {
                font-size: 0.75em;
            }

            & p {
                font-size: 0.55em;
            }
        }
    }
}

/* Fonte importada do GoogleFonts */
@font-face {
    font-family: "PoppinsRegular";
    src: url("../assets/Fonts/Poppins/Poppins-Regular.ttf");
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    margin-left: 15px;
    background-color: #29a71a;
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 25px;
    z-index: 1500;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    text-decoration: none;
}

.whatsapp-button i {
    font-size: 20px;
    margin-right: 10px;
    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    color: #fff;
    text-decoration: none;
}

/* Botão WhatsApp dentro do formulário (apenas em telas pequenas) */
.whatsapp-button-formulario {
    display: none;
    background-color: #29a71a;
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 1em;
    margin-top: 16px;
    transition: background-color 0.3s;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.whatsapp-button-formulario i {
    font-size: 18px;
    margin-right: 10px;
    text-decoration: none;
}

.whatsapp-button-formulario:hover {
    background-color: #1ebe57;
    color: #fff;
    text-decoration: none;
}

/* Garantir visibilidade em telas pequenas */
@media (max-width: 900px) {
    #formulario-secao .whatsapp-button-formulario {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        background-color: #29a71a;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 15px;
        font-size: 1.5em;
        font-family: "PoppinsRegular";
        font-weight: 600;
        cursor: pointer;
        box-shadow: none;
    }
    
    #formulario-secao .whatsapp-button-formulario i {
        font-size: 1.2em;
        margin-right: 10px;
    }
    
    #formulario-secao .whatsapp-button-formulario:hover {
        background-color: #1ebe57;
    }
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: #e74c3c;
    /* cor de fundo do toast (vermelho) */
    color: #fff;
    padding: 16px 24px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

legend {
    font-size: 1rem;
}

.toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centraliza os botões horizontalmente */
    align-items: center; /* alinha verticalmente os botões */
    max-width: 100%; /* limita o contêiner ao tamanho da tela */
}

/* Oculta os inputs */
.toggle input {
    width: 0;
    height: 0;
    position: absolute;
    left: -9999px;
}

.toggle input + label {
    flex: 1 1 auto; /* ajusta automaticamente a largura */
    white-space: nowrap; /* evita quebra de texto interno */
    margin: 0;
    padding: 0.75rem 2rem;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    border: solid 1px #DDD;
    background-color: #FFF;
    font-size: 1rem;
    line-height: 140%;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
    color: #474747;
}

/* Bordas arredondadas para simular um botão */
.toggle input:first-of-type + label {
    border-radius: 6px 0 0 6px;
    border-right: none;
}

.toggle input:last-of-type + label {
    border-radius: 0 6px 6px 0;
    border-left: none;
}

.toggle input:hover + label {
    border-color: #213140;

    cursor: pointer;

}

.toggle input:checked + label {
    background-color: #ec8a16;
    color: #FFF;
    box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
    border-color: #ec8a16;
    z-index: 1;
}

.toggle input:focus + label {
    outline: dotted 1px #CCC;
    outline-offset: 0.45rem;
}

/* Responsividade para telas menores */
@media (max-width: 800px) {
    .toggle input + label {
        flex: 1 1 100%; /* botões empilham verticalmente em telas pequenas */
        border-radius: 6px !important; /* arredonda todos os botões ao empilhar */
        border: 1px solid #DDD !important;
        margin-bottom: 5px; /* espaçamento vertical entre botões */
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .toggle input + label {
        flex: 1 1 100%; /* botões empilham verticalmente em telas pequenas */
        border-radius: 6px !important; /* arredonda todos os botões ao empilhar */
        border: 1px solid #DDD !important;
        margin-bottom: 5px; /* espaçamento vertical entre botões */
    }
}

/* Status Helper */
.status {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.status span {
    font-weight: 600;
    color: #B6985A;
}

.status span:first-of-type {
    display: inline;
}

.status span:last-of-type {
    display: none;
}

/* Troca de exibição na responsividade */
@media (max-width: 800px) {
    .status span:first-of-type {
        display: none;
    }
    
    .status span:last-of-type {
        display: inline;
    }
}