:root { --azul:#182b49; --azul2:#2a4a7f; --verde:#16a34a; --vermelho:#dc2626; --cinza:#6b7280; --borda:#e5e7eb; --fundo:#f3f4f6; }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background:var(--fundo); color:#111827; line-height:1.45; }
.topo { display:flex; justify-content:space-between; align-items:center; background:var(--azul); color:#fff; padding:14px 20px; }
.marca { font-weight:700; letter-spacing:.3px; display:flex; align-items:center; gap:10px; }
.logo { display:inline-flex; width:30px; height:30px; border-radius:8px; background:#3b82f6; align-items:center; justify-content:center; font-weight:800; }
.seguro { font-size:13px; opacity:.85; }
.caixa { max-width:560px; margin:24px auto; background:#fff; border-radius:14px; padding:26px 24px; box-shadow:0 1px 3px rgba(0,0,0,.08); }
@media (max-width:600px){ .caixa { margin:0; border-radius:0; min-height:calc(100vh - 110px);} }
h1 { font-size:22px; margin:0 0 16px; color:var(--azul); }
.resumo { background:#f8fafc; border:1px solid var(--borda); border-radius:10px; padding:14px 16px; margin-bottom:18px; }
.resumo .linha { display:flex; justify-content:space-between; gap:12px; padding:3px 0; }
.resumo .total { border-top:1px dashed var(--borda); margin-top:8px; padding-top:8px; font-weight:700; font-size:18px; }
label { display:block; font-weight:600; font-size:14px; margin:14px 0 5px; }
input[type=text], input[type=email] { width:100%; padding:11px 12px; border:1px solid #cbd5e1; border-radius:8px; font-size:16px; }
input:focus { outline:2px solid #93c5fd; border-color:#3b82f6; }
.opcoes { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px; }
.campos-2 { display:grid; grid-template-columns:1fr 2fr; gap:0 12px; }
.campos-2 > div:nth-child(2) { grid-column:2; }
.campos-2 label, .campos-2 input { width:100%; }
.campo-btn { display:flex; gap:8px; align-items:stretch; }
.campo-btn input { flex:1; min-width:0; }
.campo-btn button { flex:0 0 auto; padding:0 18px; }
.opcao { border:1px solid #cbd5e1; border-radius:10px; padding:11px 12px; cursor:pointer; display:flex; gap:8px; align-items:center; font-weight:600; }
.opcao input { margin:0; }
.opcao:has(input:checked) { border-color:var(--azul2); background:#eff6ff; }
.opcao small { font-weight:400; color:var(--cinza); display:block; }
.btn { display:inline-block; border:0; border-radius:10px; padding:13px 20px; font-size:16px; font-weight:700; cursor:pointer; text-decoration:none; text-align:center; background:var(--azul); color:#fff; }
.btn:hover { background:var(--azul2); }
.btn.grande { width:100%; margin-top:20px; }
.btn.sec { background:#e5e7eb; color:#111827; }
.btn[disabled] { opacity:.6; cursor:wait; }
.alerta { border-radius:10px; padding:12px 14px; margin:0 0 16px; }
.alerta.erro { background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }
.alerta.ok { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.alerta.info { background:#eff6ff; color:#1e3a8a; border:1px solid #bfdbfe; }
.pix { text-align:center; }
.pix img { width:230px; height:230px; max-width:70vw; image-rendering:pixelated; border:1px solid var(--borda); border-radius:10px; padding:8px; background:#fff; }
.copia { word-break:break-all; font-family:ui-monospace,Menlo,monospace; font-size:12px; background:#f8fafc; border:1px solid var(--borda); border-radius:8px; padding:10px; margin:10px 0; text-align:left; max-height:96px; overflow:auto; }
.espera { color:var(--cinza); font-size:14px; margin-top:14px; }
.small-2 { color:var(--cinza); font-size:12px; margin-top:4px; }
.small-2.erro { color:var(--vermelho); }
.girando { display:inline-block; width:14px; height:14px; border:2px solid #cbd5e1; border-top-color:var(--azul); border-radius:50%; animation:g 1s linear infinite; vertical-align:-2px; margin-right:6px; }
@keyframes g { to { transform:rotate(360deg); } }
.rodape { text-align:center; font-size:12px; color:var(--cinza); padding:0 16px 24px; }
.grande-ok { font-size:54px; color:var(--verde); text-align:center; }
