:root {
  --bg: #f3f6fb;
  --card: #ffffff;
  --raised: #eaf0f7;
  --line: #dbe3ef;
  --text: #0f1b2d;
  --muted: #566882;
  --cyan: #22d3ee;
  --cyan-strong: #0e7490;
  --tint: #e3f7fb;
  --ok: #0f9d63;
  --bad: #c93646;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .72; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
a { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hidden { display: none !important; }

.progress-track { height: 4px; background: var(--line); }
.progress-fill { display: block; width: 66%; height: 100%; border-radius: 0 4px 4px 0; background: var(--cyan); transition: width .25s ease; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.checkout-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 17px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--cyan); color: #04202a; }
.brand-mark img { width: 28px; height: 28px; object-fit: contain; }
.secure-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.secure-label svg { width: 16px; height: 16px; color: var(--ok); }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 48px; align-items: start; padding: 24px 0 72px; }
.payment-form { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; color: var(--cyan-strong); background: var(--tint); font-size: 14px; font-weight: 700; }
.eyebrow svg { width: 15px; height: 15px; stroke-width: 2.6; }
h1 { margin: 0 0 12px; max-width: 620px; font-size: clamp(32px, 4.6vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
h1 em { color: var(--cyan-strong); font-style: normal; }
.lead { max-width: 560px; margin: 0 0 32px; color: var(--muted); font-size: 17px; }

.block { margin-bottom: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 14px 30px -20px rgba(15,27,45,.2); }
.block-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.number { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: #04202a; background: var(--cyan); font-size: 14px; font-weight: 800; }
.block-heading h2 { margin: 0; font-size: 19px; font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { display: block; margin-bottom: 1px; font-size: 14px; font-weight: 600; }
.field.full { grid-column: 1 / -1; }
.field small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; }
.field input, .field select { width: 100%; height: 56px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); outline: 0; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #8a99b1; }
.field input:focus, .field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,.15); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field-error { min-height: 0; margin: 0 2px; color: var(--bad); font-size: 13px; }
.hint { margin: 12px 2px 0; color: var(--muted); font-size: 13.5px; }

.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method-tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 46px 16px 16px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--text); background: var(--bg); text-align: left; transition: .15s; }
.method-tab:hover { border-color: #b7c5db; }
.method-tab.selected { border-color: var(--cyan); background: var(--tint); }
.method-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--raised); color: var(--muted); }
.method-icon svg { width: 22px; height: 22px; }
.method-tab.selected .method-icon { color: #04202a; background: var(--cyan); }
.method-tab strong, .method-tab small { display: block; }
.method-tab strong { font-size: 15px; }
.method-tab small { margin-top: 2px; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.method-check { position: absolute; top: 50%; right: 14px; display: grid; place-items: center; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid var(--line); border-radius: 50%; color: #04202a; }
.method-check svg { width: 12px; height: 12px; stroke-width: 3.5; opacity: 0; }
.method-tab.selected .method-check { border-color: var(--cyan); background: var(--cyan); }
.method-tab.selected .method-check svg { opacity: 1; }
.rec { position: absolute; top: -10px; left: 14px; padding: 2px 10px; border-radius: 999px; color: #052a1a; background: #3ddc97; font-size: 11.5px; font-weight: 800; }
.method-content { margin-top: 14px; }
.pix-callout { margin: 14px 2px 0; color: var(--muted); font-size: 14px; }
.pix-callout strong { color: var(--text); }
.pix-badge { display: grid; place-items: center; flex: none; width: 38px; height: 25px; border-radius: 6px; color: #03251b; background: #8de9d1; font-size: 10px; font-weight: 900; }
.card-fields { display: grid; gap: 14px; }
.compact { margin-top: 0; }
.card-note { margin: 0; color: var(--muted); font-size: 12px; }
.card-note span { color: var(--ok); }

.form-actions { margin-top: 18px; }
.pay-button { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 66px; padding: 0 26px; border: 0; border-radius: 16px; color: #04202a; background: var(--cyan); box-shadow: 0 10px 30px -8px rgba(34,211,238,.55); font-size: 18px; font-weight: 800; transition: background .15s, transform .1s; }
.pay-button::after { position: absolute; top: 0; left: -60%; width: 40%; height: 100%; content: ""; z-index: 0; transform: skewX(-20deg); background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); animation: button-shine 3.6s ease-in-out infinite; pointer-events: none; }
.pay-button > * { position: relative; z-index: 1; }
.pay-button:hover { background: #5ae3f5; }
.pay-button:active { transform: scale(.99); }
@keyframes button-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.button-price { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.button-price svg { width: 22px; height: 22px; stroke-width: 2.6; }
.terms { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.terms a { color: var(--text); text-underline-offset: 3px; }
.trust-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line svg { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.8; }
.demo-message { min-height: 22px; margin: 15px 0 0; color: var(--ok); font-size: 13px; text-align: center; }
.demo-message.error { color: var(--bad); }

.pix-result, .payment-result { margin-top: 18px; padding: 20px; border: 1px solid #bfe6d2; border-radius: 14px; background: #e7f7ef; text-align: center; }
.pix-result-heading { display: flex; align-items: flex-start; gap: 11px; text-align: left; }
.pix-result-heading h2, .payment-result h2 { margin: 0; font-size: 18px; }
.pix-result-heading p, .payment-result p { margin: 3px 0 0; color: #3c6a56; font-size: 13px; }
.pix-image { display: block; width: min(210px, 100%); aspect-ratio: 1; margin: 18px auto 13px; padding: 10px; border-radius: 10px; background: #fff; }
.copy-pix { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; color: #062033; background: #8de9d1; font-size: 13px; font-weight: 800; }
.pix-payload { display: block; width: 100%; min-height: 74px; margin-top: 12px; padding: 10px; border: 1px solid #bfe6d2; border-radius: 9px; background: #fff; color: #183b32; font-size: 11px; resize: vertical; }
.pix-status { margin: 12px 0 0; color: #3c6a56; font-size: 13px; }
.payment-result { padding: 28px; }
.success-icon, .pending-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; color: #fff; background: var(--ok); font-size: 23px; font-weight: 800; }
.pending-icon { background: #d69520; }
.back-link { display: inline-block; margin-top: 15px; color: var(--cyan-strong); font-weight: 700; }

.after { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.after-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.after-card .number { margin-bottom: 10px; color: var(--cyan-strong); background: var(--raised); }
.after-card strong { display: block; font-size: 15px; }
.after-card span:last-child { color: var(--muted); font-size: 13.5px; }

.offer { position: sticky; top: 24px; padding: 28px; border: 1.5px solid #8fd3e3; border-radius: 22px; background: var(--card); box-shadow: 0 24px 60px -28px rgba(14,116,144,.45); }
.product-row { display: flex; align-items: center; gap: 14px; }
.product-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--cyan); }
.product-icon img { width: 38px; height: 38px; object-fit: contain; }
.product-row strong, .product-row span { display: block; }
.product-row strong { font-size: 18px; }
.product-row span { color: var(--muted); font-size: 14px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 4px; }
.price strong { color: var(--cyan-strong); font-size: 46px; line-height: 1; letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 15px; }
.offer-sub { margin: 0 0 20px; color: var(--ok); font-size: 14.5px; font-weight: 650; }
.included-list { display: grid; gap: 12px; margin: 0 0 22px; padding: 20px 0 0; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; }
.included-list div { display: flex; gap: 10px; }
.included-list div svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ok); stroke-width: 3; }
.guarantee { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #bfe6d2; border-radius: 14px; background: #e7f7ef; }
.guarantee-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--ok); }
.guarantee-icon svg, .support-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.guarantee strong, .guarantee > div > span { display: block; }
.guarantee > div > span { color: #3c6a56; font-size: 13.5px; }
.guarantee .guarantee-icon { color: #fff; font-size: inherit; }
.support { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 0 4px; }
.support-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: var(--muted); background: var(--raised); }
.support-icon svg { width: 22px; height: 22px; }
.support strong, .support > div > span { display: block; }
.support > div > span { color: var(--muted); font-size: 13.5px; }
.support .support-icon { color: var(--muted); font-size: inherit; }

.checkout-footer { display: block; padding: 24px 20px 40px; border-top: 1px solid var(--line); color: var(--muted); background: var(--bg); font-size: 13.5px; text-align: center; }
.checkout-footer > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.checkout-footer .footer-top { flex-direction: column; align-items: center; gap: 4px; }
.checkout-footer > div + div { margin-top: 5px; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 2px auto 0; padding: 5px 11px; border: 1px solid #b7c5db; border-radius: 999px; color: var(--text); background: var(--card); font-size: 13px; font-weight: 700; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.contact-button:hover { border-color: var(--cyan-strong); color: var(--cyan-strong); background: var(--tint); }
.contact-button svg { width: 15px; height: 15px; }

@media (max-width: 920px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 28px; }
  .offer { position: static; }
}
@media (max-width: 620px) {
  .wrap { width: 100%; padding: 0 16px; }
  .checkout-header { padding: 16px 0; }
  .secure-label span { display: none; }
  .checkout-grid { padding-top: 16px; }
  .two, .payment-options, .after { grid-template-columns: 1fr; }
  .block { padding: 20px; }
  h1 { font-size: clamp(30px, 10vw, 40px); }
  .lead { font-size: 15px; }
  .offer { display: none; }
  .pay-button { position: sticky; bottom: 12px; z-index: 3; height: 58px; padding: 0 18px; font-size: 16px; }
  .checkout-footer > div { flex-direction: column; gap: 4px; }
  .checkout-footer .footer-top { gap: 4px; }
  .contact-button { width: max-content; }
}
@media (prefers-reduced-motion: reduce) { *, .pay-button::after { transition: none !important; animation: none !important; } }
