* { box-sizing: border-box; }

body.cadastro-publico-body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 36px 20px;
    background:
        linear-gradient(110deg, rgba(5, 34, 64, .80), rgba(15, 71, 133, .56)),
        url("../../img/Login.png") center / cover no-repeat fixed;
    color: #263444;
    font-family: Arial, Helvetica, sans-serif;
}

.cadastro-publico-shell {
    width: min(720px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.64);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(5, 31, 58, .30);
}

.cadastro-publico-topo {
    padding: 30px 32px 24px;
    border-bottom: 1px solid #e5ebf0;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.cadastro-publico-voltar {
    display: inline-flex;
    margin-bottom: 22px;
    color: #567086;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.cadastro-publico-etiqueta {
    display: block;
    margin-bottom: 8px;
    color: #0f4785;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cadastro-publico-topo h1 {
    margin: 0;
    color: #203247;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 500;
    line-height: 1.08;
}

.cadastro-publico-topo p {
    margin: 13px 0 0;
    color: #6c7885;
    font-size: 14px;
    line-height: 1.65;
}

.cadastro-publico-form {
    display: grid;
    gap: 18px;
    padding: 28px 32px 32px;
}

.cadastro-publico-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cadastro-publico-campo {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.cadastro-publico-campo label {
    color: #334b62;
    font-size: 12px;
    font-weight: 800;
}

.cadastro-publico-campo input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #ced9e3;
    border-radius: 9px;
    background: #fff;
    color: #24364b;
    font: inherit;
    font-size: 16px;
    outline: none;
}

.cadastro-publico-campo input:focus {
    border-color: #6d9dd0;
    box-shadow: 0 0 0 3px rgba(15,71,133,.10);
}

.cadastro-publico-campo small,
.cadastro-publico-nota {
    color: #7b8995;
    font-size: 11px;
    line-height: 1.5;
}

.cadastro-publico-nota {
    padding: 14px 16px;
    border: 1px solid #e1e8ee;
    border-radius: 10px;
    background: #f7f9fb;
}

.cadastro-publico-status {
    min-height: 20px;
    color: #8d3535;
    font-size: 13px;
    font-weight: 700;
}

.cadastro-publico-status.sucesso { color: #267245; }

.cadastro-publico-submit {
    min-height: 50px;
    border: 0;
    border-radius: 9px;
    background: #0f4785;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.cadastro-publico-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #0b3d74;
}

.cadastro-publico-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.cadastro-publico-login {
    margin: -2px 0 0;
    text-align: center;
    color: #657583;
    font-size: 13px;
}

.cadastro-publico-login a {
    color: #0f4785;
    font-weight: 800;
}

@media (max-width: 640px) {
    body.cadastro-publico-body { padding: 0; align-items: stretch; }
    .cadastro-publico-shell { border: 0; border-radius: 0; box-shadow: none; }
    .cadastro-publico-topo, .cadastro-publico-form { padding-left: 20px; padding-right: 20px; }
    .cadastro-publico-grid { grid-template-columns: 1fr; }
}
