* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}

.cadastro-container {
    width: calc(100% - 32px);
    max-width: 460px;
    margin: 60px auto;
    padding: 32px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.cadastro-container h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.subtitulo {
    margin: 0 0 28px;
    color: #6b7280;
}

.campo {
    margin-bottom: 18px;
}

.campo label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.campo input[type="text"],
.campo input[type="email"],
.campo input[type="password"],
.campo input[type="tel"],
.campo input[type="date"],
.campo select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    background: #ffffff;
    color: #1f2937;
}

.campo input:focus,
.campo select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.campo-ajuda {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
}

/* Campo de senha */

.campo-senha {
    position: relative;
}

.campo-senha input {
    padding-right: 50px !important;
}

.botao-olho {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.botao-olho:hover {
    color: #1f2937;
    background: #f1f5f9;
}

.icone-senha {
    width: 24px;
    height: 24px;
}

.icone-senha svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icone-senha.oculto {
    display: none;
}

/* Termos */

.termos {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 22px 0;
    font-size: 14px;
}

/* Botão principal */

.botao-principal {
    display: block;
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.botao-principal:hover {
    background: #1d4ed8;
}

/* =========================================================
   ONBOARDING / CONFIGURAÇÃO DA EMPRESA
   ========================================================= */

.configuracao-container {
    width: calc(100% - 32px);
    max-width: 620px;
    margin: 48px auto;
    padding: 36px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.configuracao-container h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
    color: #172033;
}

.configuracao-container .subtitulo {
    margin-bottom: 26px;
    line-height: 1.5;
}

.empresa-resumo {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    line-height: 1.55;
}

.empresa-resumo strong {
    color: #172033;
}

.aviso {
    margin: 22px 0;
    padding: 16px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    line-height: 1.5;
}

.aviso-sucesso {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.aviso-atencao {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.aviso-erro {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.aviso-titulo {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.acoes-configuracao {
    margin-top: 26px;
}

.botao-secundario {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.botao-secundario:hover {
    background: #f8fafc;
}

/* =========================================================
   HOME
   ========================================================= */

.home-container {
    width: calc(100% - 40px);
    max-width: 1050px;
    min-height: 560px;
    margin: 60px auto 30px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.home-apresentacao {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-marca {
    margin-bottom: 32px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1f2937;
}

.home-apresentacao h1 {
    max-width: 520px;
    margin: 0 0 20px;
    font-size: 38px;
    line-height: 1.15;
    color: #172033;
}

.home-descricao {
    max-width: 500px;
    margin: 0 0 34px;
    font-size: 19px;
    line-height: 1.55;
    color: #64748b;
}

.home-botao-criar {
    display: block;
    width: 100%;
    max-width: 300px;
    text-align: center;
    text-decoration: none;
}

.home-chamada {
    margin: 14px 0 0;
    font-size: 14px;
    color: #64748b;
}

.home-login {
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
}

.home-login h2 {
    margin: 0 0 8px;
    font-size: 27px;
    color: #1f2937;
}

.home-login .subtitulo {
    margin-bottom: 28px;
}

.home-criar-mobile {
    display: none;
    margin: 24px 0 0;
    text-align: center;
    font-size: 14px;
}

.home-rodape {
    width: calc(100% - 40px);
    max-width: 1050px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

/* =========================================================
   MENSAGENS DE SUCESSO
   ========================================================= */

.mensagem-sucesso {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin: 24px 0;
    padding: 18px 20px;

    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
}

.mensagem-sucesso-icone {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;
    width: 34px;
    height: 34px;

    border-radius: 50%;
    background: #16a34a;

    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}

.mensagem-sucesso-conteudo {
    flex: 1;
    min-width: 0;
}

.mensagem-sucesso-titulo {
    color: #166534;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.mensagem-sucesso-texto {
    margin-top: 5px;

    color: #166534;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 760px) {

    .cadastro-container,
    .configuracao-container {
        width: calc(100% - 24px);
        margin: 20px auto;
        padding: 26px 22px;
    }

    .configuracao-container h1 {
        font-size: 25px;
    }

    .home-container {
        width: calc(100% - 24px);
        min-height: auto;
        margin: 20px auto;
        display: block;
    }

    .home-apresentacao {
        padding: 36px 28px 32px;
    }

    .home-marca {
        margin-bottom: 24px;
        font-size: 28px;
    }

    .home-apresentacao h1 {
        font-size: 30px;
    }

    .home-descricao {
        margin-bottom: 28px;
        font-size: 17px;
    }

    .home-botao-criar {
        max-width: none;
    }

    .home-login {
        padding: 34px 28px 38px;
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }

    .home-login h2 {
        font-size: 25px;
    }

    .home-criar-mobile {
        display: block;
    }

    .home-rodape {
        width: calc(100% - 24px);
        margin-bottom: 25px;
    }

    .mensagem-sucesso {
        gap: 12px;
        padding: 16px;
    }

    .mensagem-sucesso-icone {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .mensagem-sucesso-titulo {
        font-size: 15px;
    }

    .mensagem-sucesso-texto {
        font-size: 13px;
    }
    
}