:root{--blue:#296da8;--blue2:#205c91;--navy:#173f66;--ink:#102a3a;--muted:#637783;--bg:#f3f8fb;--line:#d9e7ee;--white:#fff;--gold:#d8b56d;--ok:#198754;--danger:#b42318;--shadow:0 18px 55px rgba(5,73,105,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#e9f7fd 0,#f7fafc 310px);min-height:100vh}.top{background:linear-gradient(135deg,#296da8,#296da8);min-height:184px;padding:22px 16px 46px;position:relative;overflow:hidden}.top:after{content:"";position:absolute;inset:auto -10% -110px;width:120%;height:160px;background:rgba(255,255,255,.09);border-radius:50%}.brand{position:relative;z-index:2;text-align:center}.brand img{width:116px;height:116px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.18))}.brand-name{color:#fff;font-weight:800;font-size:17px;letter-spacing:.2px;margin-top:5px}.independent{position:relative;z-index:2;max-width:820px;margin:12px auto 0;color:#e9f8ff;text-align:center;font-size:13px}.wrap{width:min(980px,calc(100% - 28px));margin:-28px auto 40px;position:relative;z-index:3}.card{background:var(--white);border:1px solid rgba(210,229,238,.9);border-radius:24px;box-shadow:var(--shadow);padding:28px}.eyebrow{color:var(--blue2);font-size:12px;text-transform:uppercase;letter-spacing:1.5px;font-weight:800}.title{font-size:clamp(26px,4vw,38px);line-height:1.1;margin:8px 0 10px}.subtitle{color:var(--muted);margin:0 0 24px;line-height:1.6}.progress{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:26px}.progress span{height:5px;background:#e2edf2;border-radius:20px}.progress span.on{background:var(--blue)}.services{display:grid;grid-template-columns:1fr 1fr;gap:14px}.service{display:block;text-decoration:none;color:inherit;border:1.5px solid var(--line);border-radius:18px;padding:19px;transition:.2s;background:#fff}.service:hover{transform:translateY(-2px);border-color:#71bddd;box-shadow:0 10px 25px rgba(5,111,159,.09)}.service .row{display:flex;justify-content:space-between;gap:12px;align-items:start}.service h3{margin:0;font-size:16px}.price{font-weight:900;color:var(--navy);white-space:nowrap}.service p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.note{margin-top:18px;padding:15px 17px;background:#f1f9fd;border:1px solid #cfeaf6;border-radius:14px;color:#315d72;font-size:13px;line-height:1.5}.notice{padding:16px 18px;border-radius:14px;background:#fff8e7;border:1px solid #f0d79a;color:#654d16;font-size:13px;line-height:1.55;margin-bottom:20px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}.field label{display:block;font-weight:750;font-size:13px;margin:0 0 7px}.field input,.field select{width:100%;height:49px;border:1.5px solid var(--line);border-radius:12px;padding:0 13px;font:inherit;color:var(--ink);background:#fff;outline:none;transition:.15s}.field input:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(7,143,201,.1)}.help{font-size:11px;color:var(--muted);margin-top:5px}.section-title{font-size:18px;margin:28px 0 14px;padding-top:4px}.actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.btn{border:0;border-radius:13px;min-height:50px;padding:0 22px;font-weight:850;font-size:14px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;box-shadow:0 10px 22px rgba(7,143,201,.22)}.btn-light{background:#edf5f8;color:var(--navy)}.summary{background:#f7fbfd;border:1px solid var(--line);border-radius:16px;padding:16px;margin:18px 0}.summary-row{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px dashed #dbe8ee}.summary-row:last-child{border:0}.summary-row span{color:var(--muted)}.paybox{text-align:center;max-width:600px;margin:auto}.qr{width:230px;height:230px;margin:18px auto;border:1px solid var(--line);border-radius:18px;padding:12px;background:#fff}.pixcode{display:flex;gap:8px}.pixcode input{flex:1;height:48px;border:1px solid var(--line);border-radius:12px;padding:0 12px;min-width:0}.status{margin-top:15px;font-size:13px;color:var(--muted)}.success{text-align:center;padding:25px 0}.success .check{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:#e9f8ef;color:var(--ok);font-size:36px;font-weight:900}.footer{text-align:center;color:#758995;font-size:12px;padding:0 16px 30px;line-height:1.6}.footer a{color:var(--blue2)}@media(max-width:700px){.top{min-height:160px;padding-top:17px}.brand img{width:94px;height:94px}.wrap{width:min(100% - 18px,980px);margin-top:-24px}.card{padding:20px;border-radius:19px}.services,.grid{grid-template-columns:1fr}.full{grid-column:auto}.service .row{flex-direction:column}.price{font-size:18px}.actions{flex-direction:column-reverse}.btn{width:100%}.title{font-size:28px}.pixcode{flex-direction:column}.qr{width:210px;height:210px}}

.spinner{width:17px;height:17px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;display:inline-block;margin-right:8px;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.official-pay{text-align:center;max-width:650px;margin:0 auto}.pay-icon{width:66px;height:66px;border-radius:20px;background:#eaf2f9;color:#296da8;display:grid;place-items:center;margin:0 auto 16px;font-size:30px;font-weight:900}.official-pay h2{margin:0 0 10px;font-size:24px}.official-pay>p{color:var(--muted);line-height:1.65}.pay-main{width:100%;margin-top:8px}.payment-time{margin-top:18px;padding:17px 18px;background:#f3f7fb;border:1px solid #d4e1ec;border-radius:15px;color:#496579;font-size:13px;line-height:1.6;text-align:left}.top{background:#296da8}.progress span.on{background:#296da8}.btn-primary{background:linear-gradient(135deg,#296da8,#205c91)}
.form-error{margin-top:18px;padding:13px 15px;border-radius:12px;background:#fff1f0;border:1px solid #ffc9c5;color:#9d241b;font-size:13px}.payment-alert{display:flex;gap:13px;align-items:flex-start;text-align:left;padding:17px 18px;border-radius:16px;background:#fff8e8;border:1px solid #efd79d;margin-bottom:18px}.payment-alert-icon{flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#f4c95d;display:grid;place-items:center;font-weight:900;color:#5c4611}.payment-alert strong,.payment-alert span{display:block}.payment-alert span{margin-top:4px;font-size:13px;line-height:1.5;color:#6d5a2b}.payment-person{background:#f6f9fc;border:1px solid #dce7f0;border-radius:15px;padding:14px 16px;text-align:left;margin-bottom:16px}.payment-person span,.payment-person small{display:block;color:var(--muted);font-size:12px}.payment-person strong{display:block;margin:3px 0}.qr-shell{display:inline-block;background:#fff;border:1px solid #dce7f0;border-radius:22px;padding:12px;box-shadow:0 12px 30px rgba(23,63,102,.08)}.qr{width:220px;height:220px;margin:0;border:0;border-radius:10px;padding:0;display:grid;place-items:center}.qr img,.qr canvas{max-width:100%;height:auto!important}.pay-value{display:flex;justify-content:center;align-items:baseline;gap:9px;margin:16px 0}.pay-value span{font-size:13px;color:var(--muted)}.pay-value strong{font-size:25px;color:var(--navy)}.pix-label{display:block;text-align:left;font-weight:800;font-size:13px;margin:5px 0 7px}.pix-code-box{text-align:left;word-break:break-all;max-height:92px;overflow:auto;padding:13px;border:1px solid #dce7f0;background:#f8fbfd;border-radius:12px;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;color:#3b5363}.copy-pix{width:100%;margin-top:10px}.payment-time{display:flex;gap:12px;align-items:flex-start}.clock-dot{width:12px;height:12px;border:3px solid #296da8;border-radius:50%;margin-top:4px;flex:0 0 12px}.status-card{margin-top:14px;display:flex;align-items:center;gap:12px;text-align:left;padding:15px 17px;border-radius:15px;background:#eef6fc;border:1px solid #cfe0ee}.status-card strong,.status-card small{display:block}.status-card small{color:var(--muted);margin-top:3px}.status-pulse{width:12px;height:12px;border-radius:50%;background:#296da8;box-shadow:0 0 0 0 rgba(41,109,168,.45);animation:pulse 1.5s infinite}.status-card.paid{background:#edf9f1;border-color:#bfe3ca}.paid-check{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#198754;color:#fff;font-weight:900}@keyframes pulse{70%{box-shadow:0 0 0 9px rgba(41,109,168,0)}100%{box-shadow:0 0 0 0 rgba(41,109,168,0)}}
