/* Mobile-first, paleta Bradesco aproximada (cereja + branco). */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f4f4f6; color: #111; }
body.bradesco { min-height: 100vh; display: flex; flex-direction: column; }

.topbar { display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; color: #fff; font-weight: 600; font-size: 18px; }
.bradesco-topbar { background: linear-gradient(135deg, #cc0000 0%, #8b0000 100%); }
.topbar-actions span { margin-left: 12px; font-size: 20px; cursor: pointer; }
.topbar-burger, .topbar-back { cursor: pointer; font-size: 22px; }

.screen { flex: 1; padding: 16px 16px 84px 16px; }

.card { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

.card.hero { background: linear-gradient(135deg, #cc0000 0%, #ff4040 100%); color: #fff; }
.card.hero h2 { margin: 0 0 8px; font-size: 22px; }
.card.hero p { margin: 0 0 12px; opacity: 0.92; font-size: 14px; }

h3 { margin-top: 0; font-size: 18px; }

.muted { color: #666; font-size: 13px; }

.button { display: inline-block; padding: 12px 20px; border-radius: 24px;
  border: 0; background: #cc0000; color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; }
.button.full { display: block; width: 100%; text-align: center; }
.button.secondary { background: #fff; color: #cc0000; border: 1px solid #cc0000; }
.button:disabled, .button.disabled { background: #c5c5c8; color: #888; cursor: not-allowed; }

.banner-decorative { padding: 16px; background: linear-gradient(135deg,#ffb37a,#ff5a36);
  color: #fff; border-radius: 12px; margin-bottom: 12px; }
.banner-decorative h4 { margin: 0; font-size: 16px; }
.banner-decorative small { opacity: 0.9; }

.option-row { display: flex; align-items: center; justify-content: space-between;
  padding: 16px; background: #fff; border-radius: 10px; margin-bottom: 10px;
  border: 1px solid #ececef; }
.option-row .arrow { color: #cc0000; font-size: 22px; }

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row label { font-size: 13px; color: #444; }
.form-row input { padding: 12px; font-size: 15px; border: 1px solid #ccc; border-radius: 8px; }

.value-highlight { font-size: 28px; font-weight: 700; color: #cc0000; }

.bottombar { position: fixed; bottom: 0; left: 0; right: 0; display: flex;
  justify-content: space-around; background: #fff; padding: 8px 0;
  border-top: 1px solid #eee; }
.bottombar button { background: none; border: 0; display: flex; flex-direction: column;
  align-items: center; font-size: 11px; color: #666; cursor: pointer; }
.bottombar button span { margin-top: 2px; }

.error-banner { background: #fff3f0; color: #b00020; padding: 14px;
  border-left: 4px solid #b00020; border-radius: 8px; margin-bottom: 14px; }

.success-icon { font-size: 56px; text-align: center; }

/* hitbox propositalmente menor do que o visual */
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0; cursor: pointer; }
.checkbox-row .fake-checkbox { width: 24px; height: 24px; border: 2px solid #aaa;
  border-radius: 4px; flex-shrink: 0; background: #fff; position: relative; }
/* hitbox real: span dentro do .fake-checkbox, com 12px no centro */
.checkbox-row .fake-checkbox .hitbox { position: absolute; top: 6px; left: 6px;
  width: 12px; height: 12px; }
.checkbox-row.checked .fake-checkbox::after { content: "✓"; position: absolute;
  inset: 0; display: flex; align-items: center; justify-content: center;
  color: #cc0000; font-weight: 700; }

.biometria-frame { aspect-ratio: 1 / 1; background: #1a1a1a; color: #fff;
  display: flex; align-items: center; justify-content: center; border-radius: 12px;
  margin: 16px 0; position: relative; }
.biometria-frame .ring { width: 80%; height: 80%; border-radius: 50%;
  border: 2px dashed #fff5; }
.biometria-frame .label { position: absolute; bottom: 12px; font-size: 13px; opacity: 0.8; }
