:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #15171a;
  --muted: #67717e;
  --muted-2: #8a939f;
  --line: #e2e6ea;
  --line-strong: #cfd5dc;
  --blue: #0a66ff;
  --green: #12a150;
  --green-hover: #0d8b44;
  --shadow: 0 10px 35px rgba(25, 34, 45, .08);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: #246bd9; }

.page-shell { min-height: 100vh; zoom: 1.1; }
.topbar {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #e9ebee;
}
.topbar__inner {
  width: min(1064px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.secure-label { display: flex; align-items: center; gap: 8px; color: #525a65; font-size: 13px; }
.lock-icon { width: 22px; height: 22px; border: 1px solid #d7dce2; border-radius: 50%; display: grid; place-items: center; font-size: 8px; color: #606975; }

.country-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  visibility: hidden;
  padding: 7px 8px;
  border-radius: 8px;
}
.checkout-country-ready .country-trigger { visibility: visible; }
body:not(.checkout-ready) .checkout-grid { opacity: 0; pointer-events: none; }
body:not(.checkout-ready) .country-trigger { visibility: hidden; }
.country-trigger:hover { background: #f7f8fa; }
.country-trigger__flag { width: 22px; height: 16px; display: grid; place-items: center; flex: 0 0 22px; }
.flag-image { display: block; width: 20px; height: auto; max-height: 15px; object-fit: cover; border-radius: 2px; }
.flag-emoji-fallback { font-size: 19px; line-height: 1; }
.country-trigger__copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.country-trigger__copy small { color: var(--muted); font-size: 10px; }
.country-trigger__copy strong { font-size: 12px; font-weight: 600; }
.country-trigger__change { color: #246bd9; font-size: 12px; margin-left: 2px; }

.checkout-grid {
  width: min(1100px, calc(100% - 32px));
  margin: 28px auto 70px;
  display: grid;
  grid-template-columns: 450px minmax(0, 540px);
  justify-content: center;
  align-items: start;
  gap: 28px;
}
.sales-column { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; }
.hero-card, .card-flat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hero-card { box-shadow: 0 4px 18px rgba(28, 36, 45, .04); }
.hero-art {
  min-height: 282px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: #fff;
  background: radial-gradient(circle at 78% 22%, rgba(219, 167, 75, .28), transparent 26%), linear-gradient(140deg, #121417 0%, #20252b 48%, #0c0e10 100%);
}
.hero-art:before, .hero-art:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(217, 168, 82, .35);
  transform: rotate(-18deg);
}
.hero-art:before { width: 300px; height: 85px; right: -85px; top: 44px; }
.hero-art:after { width: 380px; height: 105px; right: -130px; top: 98px; }
.hero-art__mark { position: absolute; right: 32px; top: 25px; width: 84px; height: 84px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 27px; letter-spacing: -2px; color: #e2b960; }
.hero-art__eyebrow { display: inline-block; color: #d8ae5e; letter-spacing: .18em; font-size: 10px; font-weight: 700; margin-bottom: 8px; }
.hero-art h2 { position: relative; z-index: 2; margin: 0; font-family: Georgia, serif; font-size: 35px; line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.hero-art p { position: relative; z-index: 2; margin: 13px 0 0; color: #c8cbd0; font-size: 13px; }
.hero-art__spark { position: absolute; width: 5px; height: 5px; background: #d7ad60; border-radius: 50%; box-shadow: 0 0 18px #d7ad60; }
.hero-art__spark--1 { left: 38px; top: 39px; }.hero-art__spark--2 { left: 65%; top: 48%; }.hero-art__spark--3 { left: 84%; top: 74%; }

.card-flat { padding: 18px; }
.proof-card { display: flex; gap: 13px; }
.proof-card__avatar { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; display: grid; place-items: center; overflow:hidden; background: #eceff2; color: #545d67; font-size: 12px; font-weight: 700; }.proof-card__avatar img { width:100%; height:100%; object-fit:cover; }
.proof-card strong { display: block; font-size: 13px; margin: 1px 0 6px; }
.proof-card p, .guarantee-card p { margin: 0; color: #5f6873; font-size: 12px; line-height: 1.55; }
.stars { color: #eeae29; letter-spacing: 1px; font-size: 12px; margin-bottom: 3px; }
.guarantee-card { display: flex; align-items: center; gap: 14px; }
.guarantee-card__badge { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; object-fit: cover; display: block; }
.guarantee-card strong { display: block; margin-bottom: 4px; font-size: 13px; }

.checkout-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  overflow: hidden;
}
.hero-banner { display:block; width:100%; height:auto; object-fit:contain; }
.product-block { display: flex; gap: 14px; align-items: flex-start; }
.product-thumb { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 5px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, #171a1e, #30363d); border: 1px solid #252a2f; color: #deb45f; font-family: Georgia, serif; font-size: 25px; font-weight: 700; }.product-thumb img { width:100%; height:100%; object-fit:cover; }
.product-copy h1 { font-size: 15px; margin: 0 0 2px; font-weight: 600; color: #20242a; }
.author { margin: 0 0 5px; color: var(--muted); font-size: 11px; }
.product-price { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.product-description { color: var(--muted); font-size: 11px; line-height: 1.48; margin: 0; }
.divider { border-top: 1px solid #edf0f2; margin: 20px -22px 0; }
.checkout-section { margin-top: 20px; }
.checkout-section h2 { font-size: 15px; margin: 0 0 10px; font-weight: 600; }

.field { margin-bottom: 12px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 5px; color: #30363d; }
.field input {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  outline: none;
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #a5adb6; }
.field input:focus { border-color: #6b9ff4; box-shadow: 0 0 0 3px rgba(56, 126, 237, .10); }
.field input.is-invalid { border-color: #d95555; }
.phone-input { display:flex; align-items:center; height:43px; border:1px solid var(--line-strong); border-radius:6px; background:#fff; overflow:hidden; }
.phone-input:focus-within { border-color:#6b9ff4; box-shadow:0 0 0 3px rgba(56,126,237,.10); }
.phone-input__prefix { display:flex; align-items:center; align-self:stretch; padding:0 10px; border-right:1px solid var(--line); color:#4e5965; font-size:12px; white-space:nowrap; background:#fafbfc; }
.phone-input input { border:0; border-radius:0; height:100%; min-width:0; box-shadow:none!important; }

.payment-methods { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.payment-option[hidden], .payment-panel[hidden] { display: none !important; }
.payment-option {
  width: 100%; min-height: 46px; border: 0; border-top: 1px solid var(--line); background: #fff; padding: 0 11px; display: flex; align-items: center; gap: 8px; color: #2b3036; text-align: left; cursor: pointer;
}
.payment-option:first-child { border-top: 0; }
#dlocalCardOption { border-top: 0; }
.payment-option.is-active { font-weight: 600; }
.radio-dot { width: 16px; height: 16px; border: 1px solid #c6ccd3; border-radius: 50%; display: grid; place-items: center; flex: 0 0 16px; }
.payment-option.is-active .radio-dot { border-color: #2372dc; }
.radio-dot i { width: 8px; height: 8px; background: #2372dc; border-radius: 50%; transform: scale(0); transition: transform .12s; }
.payment-option.is-active .radio-dot i { transform: scale(1); }
.payment-icon { width: 23px; color: #4f5863; font-size: 19px; }
.gateway-logo { width: 42px; height: 24px; max-width: 42px; max-height: 24px; object-fit: contain; flex: 0 0 42px; display: block; }
.gateway-logo-asset { border-radius: 3px; }
.dlocal-payment-option > svg { width: 42px; height: 24px; max-width: 42px; max-height: 24px; flex: 0 0 42px; display: block; }
.dlocal-method-group { display: contents; }
.card-method-logo { width: 30px; height: 22px; flex: 0 0 30px; color: #536172; display: block; }
.payment-option.is-active .card-method-logo { color: #0b9d55; }
.dlocal-payment-help { max-height: 0; overflow: hidden; opacity: 0; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-top: 1px solid var(--line); color: #69727c; font-size: 11px; line-height: 1.45; transition: max-height .24s ease, opacity .2s ease, padding .24s ease; }
.dlocal-payment-help.is-open { max-height: 80px; opacity: 1; padding-top: 13px; padding-bottom: 13px; }
.dlocal-payment-help__icon { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border: 1px solid #cbd2d9; border-radius: 5px; color: #7b858e; font-size: 17px; }
.card-brands { margin-left: auto; color: #747d88; font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.paypal-wordmark { width: 24px; font-weight: 800; color: #123c77; font-size: 11px; letter-spacing: -.06em; }.paypal-wordmark span { color: #149bd7; }
.payment-panel { display: none; padding: 0 11px 10px 38px; background: #fff; }
.payment-panel.is-active { display: block; }
.stripe-element-shell { border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; background: #fff; padding: 12px 12px 9px; box-sizing: border-box; zoom: .92; width: 100%; transform-origin: top left; }
.stripe-demo-row, .stripe-demo-split > div { min-height: 52px; padding: 9px 11px; display: flex; flex-direction: column; justify-content: center; }
.stripe-demo-row { border-bottom: 1px solid var(--line); }
.stripe-demo-split { display: grid; grid-template-columns: 1fr 1fr; }
.stripe-demo-split > div + div { border-left: 1px solid var(--line); }
.stripe-element-shell span { color: #7d8792; font-size: 9px; }.stripe-element-shell b { margin-top: 2px; font-size: 12px; color: #939ca6; letter-spacing: .08em; font-weight: 500; }
.stripe-element-note { padding: 7px 11px; background: #fafbfc; border-top: 1px solid var(--line); color: #9a6b19; font-size: 9px; }
.wallet-hint { margin-top: 9px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.wallet-hint > span { border: 1px solid #d9dee4; background: #fafbfc; border-radius: 5px; padding: 5px 8px; font-size: 10px; font-weight: 600; }
.wallet-hint small { width: 100%; color: #4b5563; font-size: 9px; }
.paypal-placeholder { border: 1px solid #d9dee4; border-radius: 6px; padding: 13px; background: #fbfcfd; }
.paypal-placeholder strong { color: #123c77; font-size: 12px; }.paypal-placeholder p { margin: 4px 0 0; font-size: 10px; color: var(--muted); }

.order-bumps { display: flex; flex-direction: column; gap: 9px; }
.order-bumps h2 { margin-bottom: 1px; }
.bump-card { position:relative; border:2px dashed #D32F2F; border-radius:4px; overflow:hidden; cursor:pointer; background:#FFFEEA; transition:border-color .15s,box-shadow .15s; }
.bump-card:hover { box-shadow:0 2px 8px rgba(211,47,47,.12); }.bump-card:has(input:checked) { border-color:#D32F2F; box-shadow:0 0 0 1px rgba(211,47,47,.14); }
.bump-card input { position:absolute; opacity:0; pointer-events:none; }
.bump-main { min-height:88px; padding:11px 12px; display:flex; align-items:center; gap:10px; }
.bump-add { min-height:42px; padding:7px 12px; display:flex; align-items:center; gap:9px; flex-wrap:wrap; background:#fff5d8; border-top:1px dashed #e7b5b5; font-size:12px; color:#1d2620; }
.bump-check { width:17px; height:17px; flex:0 0 17px; display:grid; place-items:center; border:1px solid #9da9a1; border-radius:4px; color:transparent; font-size:11px; background:#fff; }
.bump-card input:checked ~ .bump-add .bump-check { color:#fff; background:#D32F2F; border-color:#D32F2F; }
.bump-content { display:flex; flex-direction:column; gap:3px; min-width:0; }.bump-content strong { font-size:12px; }.bump-content small { color:#737d88; font-size:10px; line-height:1.45; }.bump-tag { align-self:flex-start; padding:4px 7px; border-radius:2px; background:#D32F2F; color:#fff; font-size:9px; line-height:1.1; font-weight:800; letter-spacing:.02em; }
.bump-image { width:49px; height:49px; object-fit:cover; border-radius:3px; flex:0 0 49px; }.bump-price { margin-left:auto; white-space:nowrap; display:flex; flex-direction:column; align-items:flex-end; gap:2px; font-size:10px; }.bump-price s { color:#8a939f; font-weight:400; }.bump-price b { color:#D32F2F; font-size:13px; font-weight:800; }.bump-price em { background:#D32F2F; color:#fff; border-radius:2px; padding:2px 4px; font-style:normal; font-size:9px; font-weight:800; }.bump-add small { flex-basis:100%; margin-left:26px; color:#8a5d5d; font-size:9px; }

.summary-list { display: flex; flex-direction: column; gap: 7px; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; font-size: 11px; }.summary-row strong { font-weight: 600; }.summary-row span { white-space: nowrap; }
.summary-total { margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; display: flex; justify-content: space-between; font-size: 12px; }
.tax-note { margin:8px 0 0; color:#7d8792; font-size:9px; line-height:1.4; }

.form-error { margin: 16px 0 -4px; padding: 10px 12px; border-radius: 6px; background: #fff3f3; color: #b43737; border: 1px solid #f0caca; font-size: 11px; }
.checkout-status { margin: 12px 0 -4px; padding: 10px 12px; border-radius:6px; background:#effaf2; color:#237346; border:1px solid #bce3c7; font-size:11px; }
.purchase-button { width: 100%; height: 47px; margin-top: 16px; border: 0; border-radius: 6px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; cursor: pointer; transition: background .15s, transform .05s; }
.purchase-button:hover { background: var(--green-hover); }.purchase-button:active { transform: translateY(1px); }.purchase-button__lock { font-size: 8px; }
.security-strip { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 20px; color: #626c77; text-align: left; }
.security-strip .shield { width: 25px; height: 25px; border: 1px solid #cbd2d9; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #4a7658; }
.security-strip strong { display: block; font-size: 10px; font-weight: 600; }.security-strip small { display: block; font-size: 8px; color: #949ca5; }
.checkout-footer { border-top: 1px solid #edf0f2; padding-top: 15px; display: flex; flex-direction: column; gap: 8px; color: #7b8490; font-size: 9px; }
.checkout-footer div { display: flex; gap: 7px; }.checkout-footer a { color: #68727e; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(20,25,30,.46); display: grid; place-items: center; padding: 20px; }
.modal-backdrop[hidden] { display: none; }
.country-modal { width: min(520px, 100%); max-height: min(720px, 90vh); background: #fff; border-radius: 12px; box-shadow: 0 25px 70px rgba(0,0,0,.22); display: flex; flex-direction: column; overflow: hidden; }
.country-modal__header { display: flex; align-items: flex-start; justify-content: space-between; padding: 18px 18px 13px; border-bottom: 1px solid #edf0f2; }.country-modal__header small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.country-modal__header h2 { margin: 3px 0 0; font-size: 17px; }
.modal-close { border: 0; background: transparent; cursor: pointer; font-size: 27px; color: #6c7580; line-height: 1; padding: 0 4px; }
.country-search-wrap { margin: 14px 14px 10px; height: 43px; border: 1px solid #ccd2d8; border-radius: 7px; display: flex; align-items: center; gap: 8px; padding: 0 11px; color: #8c959f; }
.country-search-wrap input { flex: 1; border: 0; outline: 0; height: 100%; min-width: 0; }
.country-list { overflow: auto; padding: 0 8px 10px; }
.country-row { width: 100%; min-height: 44px; border: 0; background: #fff; border-radius: 6px; padding: 0 9px; display: flex; align-items: center; gap: 11px; cursor: pointer; text-align: left; }.country-row:hover { background: #f5f7f9; }.country-row.is-selected { background: #f0f6ff; color: #155fc2; }
.country-row__flag { width: 25px; height: 18px; display: grid; place-items: center; flex: 0 0 25px; }.country-row__flag .flag-image { width: 22px; max-height: 16px; }.country-row__name { flex: 1; font-size: 12px; }
.no-results { color: var(--muted); text-align: center; padding: 28px 10px; font-size: 12px; }

/* O checkout MVP segue a densidade da referência Hotmart, com 10% mais presença visual. */
body { zoom:1.1; }

@media (max-width: 900px) {
  .page-shell { zoom: 1; }
  .checkout-grid { grid-template-columns: minmax(0, 560px); max-width: 600px; }
  .sales-column { position: static; order: 2; }
  .checkout-card { order: 1; }
  .hero-art { min-height: 235px; }
}
@media (max-width: 560px) {
  .page-shell { zoom: 1.05; }
  body { zoom:1; }
  body { background: #fff; }
  .topbar { height: 62px; }
  .topbar__inner { width: calc(100% - 22px); }
  .secure-label span:last-child { display: none; }
  .country-trigger__copy { display: flex; }
  .country-trigger__copy small { display: none; }
  .country-trigger__change { font-size: 11px; }
  .checkout-grid { width: 100%; margin: 0 auto; gap: 0; }
  .checkout-card { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; padding: 18px 16px 22px; }
  .divider { margin-left: -16px; margin-right: -16px; }
  .product-thumb { width: 74px; height: 74px; flex-basis: 74px; }
  .product-description { display: none; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .payment-panel { padding-left: 13px; }
  .card-brands { display: none; }
  .sales-column { padding: 16px; background: var(--bg); }
  .hero-card { display: block; }
  .proof-card, .guarantee-card { border-radius: 8px; }
  .country-modal { max-height: 92vh; align-self: end; border-radius: 14px 14px 0 0; }
  .hero-card { padding: 0; overflow: hidden; }
  .hero-banner { width: 100%; height: auto; display: block; object-fit: contain; }
  .product-block { align-items: flex-start; gap: 12px; }
  .product-copy h1 { font-size: 17px; line-height: 1.2; }
  .product-price { font-size: 20px; }
  .checkout-section { padding-top: 18px; }
  .bump-main { min-height: 96px; padding: 10px; gap: 8px; align-items: flex-start; }
  .bump-image { width: 48px; height: 48px; flex-basis: 48px; }
  .bump-content strong { font-size: 11px; line-height: 1.25; }
  .bump-content small { font-size: 9px; line-height: 1.35; }
  .bump-price { margin-left: 2px; }
  .bump-add { min-height: 44px; }
  .payment-panel { padding: 12px 0 0; }
  .stripe-element-shell { overflow: hidden; }
}

.thank-you-page { min-height: 100vh; display:flex; align-items:center; justify-content:center; padding:24px; background:#f4f6f8; }
.thank-you-card { width:min(560px,100%); text-align:center; background:#fff; border:1px solid #dfe4e8; border-radius:14px; padding:48px 36px; box-shadow:0 16px 45px rgba(16,24,40,.12); }
.thank-you-icon { width:64px; height:64px; margin:0 auto 18px; display:grid; place-items:center; border-radius:50%; background:#16a34a; color:#fff; font-size:36px; font-weight:700; }
.thank-you-card h1 { margin:0 0 12px; color:#18212b; font-size:28px; }
.thank-you-card p { margin:8px auto; max-width:440px; color:#52606d; line-height:1.6; }
.thank-you-note { font-size:13px; color:#7b8794 !important; }
.thank-you-button { display:inline-flex; margin-top:22px; text-decoration:none; align-items:center; justify-content:center; }
.thank-you-access { margin-top:20px; max-width:360px; background:#f59e0b; color:#101820; }
.thank-you-access:hover { background:#d97706; }
