html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* impede rolagem lateral */
}


body {
    color: black;
    background-color: white;
    font-family: 'Poppins', sans-serif;

}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    color: #121212;
}



.nav-center ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}



.logo-img {
    height: 55px;
    /* ajuste o tamanho como preferir */
    width: auto;
    display: block;
}


/* Nav direita - links */
.nav-right ul {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    margin-right: 10px;
    align-items: center;
    /* centraliza verticalmente todos os itens */
}

.nav-right ul li a {
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    color: #56585e;
    display: flex;

    align-items: center;
    /* centraliza verticalmente o texto */
}

.nav-right ul li a:hover {
    color: #F6AA12;
}



.user-initial {
    pointer-events: none;
    /* para não interferir no clique */
}

/* tela de login */

.page-container {
    margin-top: 20px;
    width: 100%;
    height: calc(100vh - 80px);
    /* ajuste conforme a altura do seu nav */
    display: flex;
    align-items: start;
    justify-content: center;
}



.cadastro-container {
    text-align: start;
    width: 360px;
}

.cadastro-container h1 {
    font-size: 22px;
    font-weight: bold;
    color: #121212;
    margin-bottom: 10px;
}


.subtexto-login {
    font-size: 13px;
    color: #70727a;
    margin-top: -5px;
    margin-bottom: 20px;
    /* opcional para aproximar do h1 */
}

form input {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
    box-sizing: border-box;
}

form input:focus {
    border-color: #b3b3b3;

}

.label-input {
    display: block;
    margin-bottom: 6px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 400;
    color: #111;
    text-align: left;
}





/* Container do campo de senha */
.password-group {
    position: relative;
    width: 100%;
}



/* Ícone clicável */
#togglePassword {
    position: absolute;
    right: 14px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
}

#togglePassword img {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: 0.2s;
}

#togglePassword img:hover {
    opacity: 1;
}

.erro-input {
    color: #e34f4f;
    font-weight: 600;
    font-size: 12.5px;
    margin-top: 0px;
    /* cola totalmente no input */
    margin-bottom: 4px;
    /* mínimo possível */
    text-align: left;
    padding-left: 0;
    line-height: 1.2;
    /* aproxima mais ainda */
}

.checkbox-custom {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #70727a;
    font-size: 13px !important;
}

/* Esconde o checkbox nativo */
.checkbox-custom input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Quadradinho */
.checkmark {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    border: 1px solid #b3b3b3;
    background-color: transparent;
    transition: 0.2s;
    position: relative;
    /* ← NECESSÁRIO PARA O CHECK APARECER */
}

/* Quando marcado */
.checkbox-custom input:checked+.checkmark {
    background-color: #F6AA12;
    border-color: #F6AA12;
}

/* Check branco */
.checkbox-custom input:checked+.checkmark::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -57%);
    font-size: 6px;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}


/* Erro abaixo da checkbox */
#erroTermos {
    margin-top: 2px;
}


.checkbox-label {
    display: inline;
    color: #70727a;
    font-size: 13px;
}

/* seu termo em amarelo */
.termos-link {
    color: #F6AA12;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}



.buttons-row {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 30px;
}

/* Ambos ocupam o máximo de espaço */
.buttons-row button {
    font-family: "Poppins";
    flex: 1;
    height: 48px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

/* Voltar */
.btn-voltar {
    border: 1px solid #e2e2e2 !important;
    background: #fff;
    border: none;
    color: #56585e;

}

.btn-voltar:hover {
    transform: translateY(-4px);
    /* leve animação */
}

/* Próximo */
.btn-proximo {
    background: #F7B731;
    border: none;
    color: #fff;
}

.btn-proximo:hover {
    background-color: #F6AA12;
    /* cor ao passar o mouse */
    transform: translateY(-4px);
    /* leve animação */
}




.forgot {
    display: block;
    color: #70727a;
    font-weight: 400;
    font-size: 13px;
    text-decoration: none;
    text-align: center !important;
    overflow: auto;

}

.forgot:hover {

    display: block;
    color: #121212;
    font-weight: 500;
}

/* RODAPÉ */

.site-footer {
    background: #fff;
    margin-top: 135px;
    font-family: 'Poppins';
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}




.footer-brand p {
    font-size: 14px;
    width: 90%;
    margin: 0;
    color: #56585e;
    margin-bottom: 20px;
    line-height: 1.5;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 40px;
}

.footer-title {
    font-size: 14px;
    font-weight: 500;
    color: #121212;

}

.social-images {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-images img {
    width: 28px;
    /* ajuste se quiser maior */
    height: 28px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-images img:hover {
    transform: scale(1.1);
}


.footer-social a {
    margin-right: 10px;
    font-size: 14px;
    text-decoration: none;
    color: #121212;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}


.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    text-decoration: none;
    color: #56585e;
    font-size: 14px;
}

.footer-column a:hover {
    color: #121212;
    font-weight: 500;
}



.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #56585e;
}

.contact-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}


.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding: 15px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #56585e;
}

.footer-links a {
    margin-left: 15px;
    text-decoration: none;
    color: #56585e;
}

.footer-links a:hover {
    color: #121212;
    font-weight: 500;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    .footer-container {
        width: 90%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 colunas */
        gap: 20px 20px;
        padding: 20px 0;
    }

    /* assumindo a estrutura DOM: 1=brand, 2=navegar, 3=servicos, 4=contato */
    .footer-container> :nth-child(1) {
        /* Sobre nós */
        grid-column: 1;
        grid-row: 1;
        order: 0;
    }

    .footer-container> :nth-child(2) {
        /* Navegar */
        grid-column: 1;
        grid-row: 2;
        order: 2;
    }

    .footer-container> :nth-child(3) {
        /* Serviços */
        grid-column: 2;
        grid-row: 2;
        order: 3;
    }

    .footer-container> :nth-child(4) {
        /* Contato */
        grid-column: 2;
        grid-row: 1;
        order: 1;
    }

    /* pequenos ajustes visuais */
    .footer-container h4,
    .footer-container p,
    .footer-container a {

        font-size: 13px;
        text-align: left;
    }



    .footer-brand {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* centraliza conteúdo interno */
        justify-content: center;
    }

    /* Centraliza qualquer parágrafo */
    .footer-brand p {
        text-align: center !important;
        width: 100%;
        margin: 0 auto;
    }

    /* Centraliza imagens dentro dela */
    .footer-brand img {
        display: block;
        margin: 0 auto;
    }


    .footer-column h4,
    .footer-brand h4 {
        width: 100%;
        text-align: center !important;
        /* força a centralização */
        margin: 0 auto;
        margin-bottom: 10px;
    }


    /* Centraliza cada coluna */
    .footer-column,
    .footer-brand {
        text-align: center;
    }


    /* Centraliza as listas dentro das colunas */
    .footer-column ul,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* centraliza os itens */
        width: 100%;
    }



    .footer-contact li {
        font-size: 13px;
        /* texto dos itens */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-contact li img {
        margin-right: 6px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 12px 0;
        width: 90%;
        margin: 0 auto;
    }

    /* Título da coluna */
    .footer-brand h4 {
        margin-top: 0 !important;
        visibility: hidden;
        /* esconde sem ocupar espaço de texto */
        position: relative;
    }




    .footer-brand h4::after {
        content: "Redes";
        /* novo título */
        visibility: visible;
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        /* centraliza perfeitamente */
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 0;
    }

    /* Ocultar o texto abaixo */
    .footer-brand p {
        display: none;
    }


    .footer-brand .social-images img {
        margin-top: -20px;
        width: 24px;
        height: 24px;
    }



}


/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-text h3 {
    color: #121212;
    /* Cor do título */
    font-weight: 700;
    font-size: 16px;
}


.modal-text ol {
    padding-left: 10px;
    /* mantém o recuo do número, mas sem margem extra */
    margin: 0;
    /* remove qualquer margem externa */
}

.modal-text li {
    margin: 0;
    /* remove margem entre itens */
    padding: 2px 0;
    /* opcional: dá um pequeno espaçamento vertical */
}


.modal-text {
    line-height: 1.8;
    text-align: left;
    font-size: 13px;
    color: #56585e;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-buttons button {
    font-family: "Poppins";
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
}

#aceitar {
    background-color: #F7B731;
    color: #fff;
}

#cancelar {
    background-color: #fff;
    border-color: 1px solid #e2e2e2;
    color: #565656;
}

#abrirTermos {
    color: #502DA9;
    text-decoration: underline;
    cursor: pointer;
}



/* ====== RESPONSIVIDADE GERAL ====== */
@media (max-width: 600px) {

    /* Conteúdo principal */
    .page-container {
        margin-top: 10px;
        padding: 0;
        height: auto;
    }

    .cadastro-container {
        width: 90% !important;
        max-width: 90%;
        margin: 0 auto;
    }

    form input {
        width: 100%;
    }

    .password-group {
        width: 100%;
    }

    /* Botões */
    .buttons-row {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 60px;
    }

    .buttons-row button {
        width: 100%;
        min-height: 35px;
        padding: 12px 0;
    }

    /* NAVBAR */
    nav {
        padding: 10px 10px;
    }

    .nav-right ul {
        gap: 1rem;
    }

    .nav-right ul li a {
        font-size: 13px;
    }


    /* MODAL */
    .modal-content {
        width: 90%;
        padding: 15px 20px;
    }

    .modal-text {
        font-size: 12.5px;
    }

    .modal-buttons button {
        padding: 6px 12px;
    }



}