*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--fundo, #fff);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
  -webkit-text-size-adjust: 100%;
}

.cartao { width: 100%; max-width: 400px; }
.cartao.largo { max-width: 640px; }

.logo  { display: block; max-width: 190px; max-height: 72px; margin: 0 auto 24px; }
.marca { font-size: 24px; font-weight: 600; text-align: center; margin: 0 0 8px; color: var(--cor, #0078C0); }
.intro { text-align: center; color: #555; font-size: 15px; line-height: 1.5; margin: 0 0 24px; }

label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
label .opcional { font-weight: 400; color: #999; }

input[type=text], input[type=email], input:not([type]) {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}

input:focus { outline: 2px solid var(--cor, #0078C0); outline-offset: -1px; border-color: transparent; }

.aceite {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  line-height: 1.45;
  margin: 2px 0 22px;
}

.aceite input { width: 19px; height: 19px; margin: 0; flex: none; accent-color: var(--cor, #0078C0); }
.aceite a { color: var(--cor, #0078C0); }

.botao {
  display: block;
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 10px;
  background: var(--cor, #0078C0);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.botao:active { background: var(--cor-escura, #0060A0); }

.botao.secundario {
  margin-top: 10px;
  background: #fff;
  color: var(--cor, #0078C0);
  border: 1px solid #d5d5d5;
}

.botao.secundario:active { background: #f3f3f3; }

.voltar {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #777;
  text-decoration: none;
}

.dados {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: #f7f7f7;
  border-radius: 12px;
  font-size: 15px;
}

.dados dt {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-top: 12px;
}

.dados dt:first-child { margin-top: 0; }
.dados dd { margin: 3px 0 0; color: #222; }

.aviso { padding: 14px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.aviso.erro    { background: #fdecec; color: #9b2222; }
.aviso.ok      { background: #eaf6ec; color: #1d6b2c; }
.aviso.atencao { background: #fff6e5; color: #8a5a00; }
.aviso strong  { display: block; font-size: 15px; }
.aviso p       { margin: 6px 0 0; font-weight: 400; line-height: 1.5; }

.rodape { text-align: center; font-size: 12px; color: #aaa; margin: 28px 0 0; }
.versao { text-align: center; font-size: 13px; color: #888; margin: 0 0 22px; }
.termo  { font-size: 14px; line-height: 1.65; color: #333; }
.aceite.opcional-marketing { background:#f7f9fb; border:1px solid #e3e8ee; border-radius:10px; padding:12px 14px; margin-bottom:14px; }
.aceite.opcional-marketing b { color:#0078C0; }
