/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #e7e7e7;

    font-family: Arial, Helvetica, sans-serif;

    color: #164f73;
}


/* =========================
   BARRA SUPERIOR
========================= */

header {
    width: 100%;
    height: 33px;

    background: #164f73;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: 100%;
    max-width: 1000px;

    margin: auto;

    padding: 18px 40px 70px;
}


/* =========================
   TÍTULO
========================= */

h1 {
    text-align: center;

    color: white;

    font-size: 52px;
    font-weight: 900;

    letter-spacing: -2px;
}

.linha-titulo {
    width: 405px;
    max-width: 90%;

    height: 8px;

    margin: -3px auto 22px;

    border-radius: 10px;

    background: white;
}


/* =========================
   ÁREA DE CADASTRO
========================= */

.cadastro {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


/* =========================
   LADO ESQUERDO
========================= */

.lado-esquerdo {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================
   AVATAR
========================= */

.avatar {
    width: 265px;
    height: 265px;

    border: 7px solid #164f73;
    border-radius: 50%;

    background: #ffffff;

    position: relative;

    overflow: hidden;

    margin-bottom: 30px;
}


/* CABEÇA */

.cabeca {
    width: 86px;
    height: 86px;

    background: #164f73;

    border-radius: 50%;

    position: absolute;

    top: 28px;
    left: 50%;

    transform: translateX(-50%);
}


/* CORPO */

.corpo {
    width: 147px;
    height: 150px;

    background: #164f73;

    border-radius: 30px 30px 0 0;

    position: absolute;

    bottom: -3px;
    left: 50%;

    transform: translateX(-50%);
}


/* =========================
   INPUTS
========================= */

input {
    font-family: Arial, Helvetica, sans-serif;
}

.campos-esquerda {
    width: 265px;

    display: flex;
    flex-direction: column;

    gap: 9px;
}

.campos-esquerda input,
.lado-direito > input,
.campo-senha input {
    width: 100%;
    height: 49px;

    border: 5px solid #164f73;

    border-radius: 28px;

    background: #ffffff;

    outline: none;

    padding: 0 12px;

    color: #164f73;

    font-size: 13px;
    font-weight: bold;

    transition: 0.2s;
}


/* PLACEHOLDER */

input::placeholder {
    color: #164f73;

    opacity: 1;

    font-weight: bold;
}


/* QUANDO CLICAR NO CAMPO */

input:focus {
    border-color: #0b3d5c;

    box-shadow: 0 0 0 3px rgba(22, 79, 115, 0.12);
}


/* =========================
   LADO DIREITO
========================= */

.lado-direito {
    width: 265px;

    display: flex;
    flex-direction: column;

    gap: 9px;
}


/* =========================
   SENHA
========================= */

.campo-senha {
    position: relative;

    width: 100%;
}

.campo-senha input {
    padding-right: 45px;
}

.mostrar-senha {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    cursor: pointer;

    font-size: 16px;
}


/* =========================
   BIOMETRIA
========================= */

.biometria {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 25px;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;
}

.biometria input {
    display: none;
}


/* CÍRCULO */

.checkmark {
    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: #164f73;

    position: relative;
}


/* CENTRO BRANCO */

.checkmark::after {
    content: "";

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: white;

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}


/* QUANDO MARCADO */

.biometria input:checked + .checkmark::after {
    background: #52c77b;
}


/* =========================
   BOTÃO PRÓXIMO
========================= */

.area-botao {
    display: flex;

    justify-content: flex-end;

    margin-top: 50px;
}

.btn-proximo {
    width: 145px;
    height: 49px;

    border: none;

    border-radius: 30px;

    background: #164f73;

    color: white;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    transition: 0.25s;
}

.btn-proximo:hover {
    background: #0d3c5b;

    transform: translateY(-2px);
}

.btn-proximo:active {
    transform: translateY(0);
}


/* =========================
   RODAPÉ
========================= */

footer {
    position: fixed;

    bottom: 10px;
    left: 0;

    width: 100%;

    text-align: center;

    font-size: 11px;

    color: #164f73;
}


/* =========================
   CELULAR / TABLET
========================= */

@media (max-width: 750px) {

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 37px;
    }

    .linha-titulo {
        width: 290px;
    }

    .cadastro {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .lado-direito {
        margin: auto;
    }

    .area-botao {
        justify-content: center;

        margin-top: 35px;
    }

    footer {
        position: relative;

        margin-top: 50px;

        bottom: auto;
    }
}
.avatar-upload{cursor:pointer;position:relative;overflow:hidden}.avatar-upload img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:5}.avatar-editar{position:absolute;right:2px;bottom:2px;z-index:7;width:25px;height:25px;border-radius:50%;background:#164f73;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px}.foto-ajuda{display:block;text-align:center;margin-top:7px;font-size:8px;font-weight:800;color:#164f73}


/* Localização padronizada: estado e município selecionados */
.localizacao-cadastro {
    display: grid; grid-template-columns: 105px 1fr; gap: 10px; width: 100%;
}
.localizacao-cadastro select {
    width: 100%; height: 49px; border: 5px solid #164f73; border-radius: 28px;
    background: #fff; outline: none; padding: 0 12px; color: #164f73;
    font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold;
}
.localizacao-cadastro select:focus { border-color:#0b3d5c; box-shadow:0 0 0 3px rgba(22,79,115,.12); }
.localizacao-cadastro select:disabled { opacity:.65; cursor:not-allowed; }

.campo-ajuda{display:block;margin:-8px 0 8px;font-size:10px;font-weight:800;color:#6c7f8b;letter-spacing:.4px}.campos-esquerda input[type="date"]{color:#173f56}
