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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f2eef0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #2c2c2a;
}

.card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.header {
    background: #99354F;
    padding: 26px 20px 20px;
    text-align: center;
    color: #fff;
}

.foto {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #FBEAF0;
    background: #F4C0D1;
    margin-bottom: 12px;
}

.pretitulo {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #F4C0D1;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 2px;
}

.subtitulo {
    font-size: 13px;
    color: #F4C0D1;
    margin-top: 6px;
}

.conteudo { padding: 22px 20px 24px; }

label {
    display: block;
    font-size: 13px;
    color: #5f5e5a;
    margin-bottom: 6px;
    margin-top: 14px;
}

.conteudo label:first-of-type { margin-top: 0; }

input {
    width: 100%;
    height: 44px;
    border: 1px solid #d3d1c7;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
    color: #2c2c2a;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

input:focus {
    border-color: #99354F;
    box-shadow: 0 0 0 3px rgba(153, 53, 79, 0.15);
}

.ajuda {
    font-size: 11px;
    color: #888780;
    margin-top: 5px;
}

.linha { display: flex; gap: 10px; }
.linha .col { flex: 1; }

.btn {
    width: 100%;
    height: 48px;
    margin-top: 20px;
    background: #99354F;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.btn:hover { background: #7d2b41; }
.btn:active { transform: scale(0.99); }

.btn-secundario {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #99354F;
    border-radius: 8px;
    color: #99354F;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.rodape {
    font-size: 11px;
    color: #888780;
    text-align: center;
    margin-top: 14px;
}

.alerta {
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    margin-bottom: 4px;
}

.alerta.erro {
    background: #FCEBEB;
    color: #A32D2D;
    margin-bottom: 16px;
}

.alerta.erro div { padding: 2px 0; }

.alerta.sucesso {
    background: #EEEDFE;
    color: #534AB7;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 16px;
}

.alerta.sucesso strong { font-size: 17px; }
