

@font-face { font-family: Space; src: url("/assets/fonts/space-grotesk-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: DM; src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: DM; src: url("/assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600 800; font-display: swap; }

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Toque limpo no mobile: sem flash cinza ao tocar, sem atraso de 300ms e
   sem o iOS reescalar o texto sozinho na rotação. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, .method, .bump, .bc-pay-btn, label.bump, a { -webkit-tap-highlight-color: transparent; }
button, .method, .bump, .pay-btn, .ds-btn, select.field { touch-action: manipulation; }
:root {
  /* Tokens 1:1 com a landing page. */
  --ink: #092117;
  --paper: #f4f7f4;
  --orange: #22f06c;
  --orange-hi: #4df687;
  --subtle: #91a99a;
  --line: #dfe9e1;

  /* O cartão do checkout é o "offer-card" da landing: claro sobre a página escura. */
  --card: #ffffff;
  --card-line: #dfe9e1;
  --card-muted: #567161;

  --bg: var(--ink);
  --ink-soft: rgba(9,33,23,.72);
  --muted: var(--card-muted);
  --line-strong: rgba(9,33,23,.30);
  --field-bg: #ffffff;

  /* "navy" no checkout de referência = cor de ação primária. Aqui é o laranja da oferta,
     com texto ESCURO em cima (igual ao .button da landing, não é branco). */
  --navy: var(--orange);
  --navy-hover: var(--orange-hi);
  --navy-ink: var(--ink);
  /* "green" no checkout de referência = accent de cupom/bump. Aqui é o mesmo laranja
     (a landing usa uma única cor de destaque, então o checkout segue o exemplo). */
  --green: var(--orange);
  --green-soft: rgba(34,240,108,.10);

  --ring: rgba(34,240,108,.28);
  --ls: -0.01em;
  --display: Space, DM, Arial, sans-serif;
  --body: DM, Arial, sans-serif;
  --mono: DM, Arial, sans-serif;
  --sans: var(--body);
  --serif: var(--display);
  --shadow-card: 0 4px 6px -2px rgba(0,0,0,.35), 0 30px 60px -12px rgba(0,0,0,.55);
  --shadow-field: 0 1px 2px rgba(0,0,0,.08);
}
html, body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  letter-spacing: var(--ls);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 56px 20px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  background-color: var(--ink);
}

.checkout {
  width: 100%; max-width: 468px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 38px 18px 26px;
  box-shadow: var(--shadow-card);
  animation: bc-enter .6s cubic-bezier(.16,1,.3,1) backwards;
}
@keyframes bc-enter {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .checkout { animation: none; } }

/* contador de condição especial — rótulo estilo "eyebrow" mono/versalete da landing */
.co-timer {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: -8px 0 20px; padding: 9px 14px;
  border: 1px solid var(--card-line); border-radius: 10px;
  background: rgba(34,240,108,.06);
  color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: none; font-family: var(--mono);
  text-align: center;
}
.co-timer svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--orange); }
.co-timer b {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 12px;
  color: var(--orange); letter-spacing: .02em; font-family: var(--mono);
}
.co-timer.expired {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}
.co-timer.expired svg { color: var(--muted); }

/* header do produto */
.co-head { display: flex; align-items: center; gap: 16px; }
.co-head .product { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-field); border: 1px solid var(--card-line); }
.co-head-info { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.plan-name { font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -0.015em; line-height: .98; text-transform: none; }
.plan-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.plan-price { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan-price-old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; opacity: .8; }
/* selo de bônus incluso — pill laranja, R$ 0,00 esmaecido dentro */
.bonus-tag {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--orange); color: var(--ink);
  font-family: var(--mono); text-transform: none;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 10px;
}
.bonus-tag .bonus-free { color: var(--ink); opacity: .6; font-weight: 700; }
.slogan { font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.6; margin: 14px 0 22px; color: var(--muted); }

/* campos */
.lbl { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 16px 0 7px; }
.field {
  width: 100%; background: var(--field-bg); color: var(--ink);
  border: 1px solid var(--card-line); border-radius: 10px;
  padding: 13px 14px; font-family: inherit; letter-spacing: inherit; font-size: 14.5px;
  box-shadow: none; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: var(--subtle); }
.field:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); }
select.field {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23f46535' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
select.field option { background: #fff; color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* métodos de pagamento */
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 6px; }
.method {
  display: flex; align-items: center; justify-content: center; gap: 10px; position: relative;
  background: var(--field-bg); border: 1.5px solid var(--card-line); border-radius: 10px;
  padding: 16px; font-size: 16px; font-weight: 600; color: var(--ink);
  font-family: inherit; letter-spacing: inherit;
  box-shadow: var(--shadow-field); transition: .15s; cursor: pointer;
}
.method svg { width: 22px; height: 22px; }
.method:hover { border-color: var(--muted); }
.method.active { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.method:active { transform: scale(.985); }

/* sanfona do cartão (a classe .show é controlada pelo app.js).
   O max-height é o teto da animação, não a altura real: tem que ser MAIOR que o
   conteúdo, senão o último campo é cortado sem aviso. Campo novo dentro de
   #bc-card = subir os dois valores (aqui e no @media de 480px). */
#bc-card {
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(-4px);
  transition: max-height .38s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .3s ease;
}
#bc-card.show { max-height: 680px; opacity: 1; transform: translateY(0); }

/* order bump */
.bump {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--field-bg); border: 1.5px dashed var(--card-line); border-radius: 10px;
  padding: 16px; margin-top: 22px; cursor: pointer;
  box-shadow: var(--shadow-field);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.bump:hover { border-color: var(--muted); }
.bump.active { border-color: var(--orange); border-style: solid; background: var(--green-soft); }
.bump input { display: none; }
.bump-check {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid var(--card-line); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--field-bg); transition: all .2s;
}
.bump-check svg { width: 13px; height: 13px; fill: none; stroke: var(--ink); stroke-width: 3; opacity: 0; transition: opacity .15s; }
.bump.active .bump-check { background: var(--orange); border-color: var(--orange); }
.bump.active .bump-check svg { opacity: 1; }
.bump-body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bump-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bump-title { font-size: 15px; font-weight: 600; font-family: var(--body); letter-spacing: -.2px; }
.bump-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.bump-prices { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.bump-price {
  flex-shrink: 0; white-space: nowrap;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 10px;
}
.bump.active .bump-price { background: var(--orange); color: var(--ink); }
.bump-price-old {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-decoration: line-through; white-space: nowrap;
}
#bc-bumps .bump + .bump { margin-top: 10px; }


.ds-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(9,33,23,.72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: ds-fade .3s ease both;
}
@keyframes ds-fade { from { background-color: rgba(9,33,23,0); } }
.ds-overlay.hidden { display: none; }
.ds-box {
  background: var(--card); color: var(--ink); border: 1px solid var(--card-line);
  border-radius: 16px; padding: 26px 20px 22px;
  width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-card);
}
.ds-box.ds-open { animation: ds-open .34s cubic-bezier(.16,1,.3,1); }
.ds-box.ds-out { animation: ds-out .19s cubic-bezier(.4,0,1,1) forwards; }
.ds-box.ds-in { animation: ds-in .34s cubic-bezier(.16,1,.3,1); }
@keyframes ds-open { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.ds-box.ds-close { animation: ds-close .32s cubic-bezier(.32,0,.3,1) forwards; }
@keyframes ds-close { to { opacity: 0; transform: translateY(18px) scale(.97); } }
.ds-overlay.ds-closing { animation: ds-unfade .32s ease-in-out forwards; }
@keyframes ds-unfade { to { background-color: rgba(9,33,23,0); } }
@keyframes ds-out { to { opacity: 0; transform: translateY(-12px) scale(.97); } }
@keyframes ds-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }

@keyframes ds-out-sheet { to { opacity: 0; transform: translateY(26px); } }
@keyframes ds-in-sheet { from { opacity: 0; transform: translateY(30px); } }
@keyframes ds-open-sheet { from { transform: translateY(100%); } }
@keyframes ds-close-sheet { to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .ds-box.ds-in, .ds-box.ds-open { animation: none; }
  .ds-overlay { animation: none; }
  .ds-box.ds-out { animation: ds-out .01s linear forwards; }
}
.ds-badge {
  display: inline-block; background: transparent; color: var(--orange);
  border: 1.5px dashed var(--orange); border-radius: 10px; padding: 3px 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: none;
}
.ds-back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin: -8px 0 10px -6px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: inherit; font-size: 24px; line-height: 1; cursor: pointer;
}
.ds-back:hover { background: rgba(9,33,23,.06); color: var(--ink); }
.ds-back.hidden { display: none; }
.ds-title { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -0.015em; text-transform: none; line-height: 1; margin: 12px 0 6px; }
.ds-sub { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 4px; }
#bc-ds-list .bump { margin-top: 14px; }
#bc-ds-list .bump { border-width: 2.5px; }
#bc-ds-list .bump-check { border-width: 2.5px; }
.ds-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 20px; }
.ds-btn {
  border-radius: 10px; padding: 14px 10px; font-family: inherit;
  font-size: 14.5px; font-weight: 700; letter-spacing: var(--ls);
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.ds-btn.ghost { background: transparent; border: 1.5px solid var(--card-line); color: var(--ink); }
.ds-btn.ghost:hover { border-color: var(--muted); }
.ds-btn.solid { background: var(--orange); border: 1.5px solid var(--orange); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(34,240,108,.55); }
.ds-btn.solid:hover { background: var(--orange-hi); border-color: var(--orange-hi); transform: translateY(-1px); }
.ds-btn:active { transform: scale(.985); }
.ds-btn:disabled { opacity: .7; cursor: default; transform: none; }
.ds-btn.loading { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.ds-spin {
  display: inline-block; width: 16px; height: 16px; flex-shrink: 0;
  border: 2.5px solid rgba(9,33,23,.25); border-top-color: var(--ink);
  border-radius: 50%; animation: bcSpin .6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ds-spin { animation-duration: 2s; } }

/* cupom */
.coupon-row { display: flex; gap: 8px; align-items: stretch; }
.coupon-row .field { flex: 1; text-transform: none; letter-spacing: .05em; min-width: 0; }
.coupon-btn {
  background: var(--orange); color: var(--ink); border: 0; border-radius: 10px;
  padding: 0 20px; min-width: 96px; font-family: inherit; font-weight: 700; font-size: 14px;
  letter-spacing: var(--ls); cursor: pointer; transition: background .15s, opacity .15s;
}
.coupon-btn:hover { background: var(--orange-hi); }
.coupon-btn:disabled { opacity: .6; cursor: default; }
.coupon-row.valid .field { border-color: var(--orange); background: var(--green-soft); box-shadow: 0 0 0 4px var(--ring); }
.bc-coupon-msg { font-size: 12.5px; margin-top: 7px; display: none; font-weight: 600; }
.bc-coupon-msg.ok { display: block; color: #5f7a3d; }
.bc-coupon-msg.err { display: block; color: #b3372a; }
.bc-coupon-spin {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(9,33,23,.25); border-top-color: var(--ink); border-radius: 50%;
  animation: bcSpin .6s linear infinite; vertical-align: middle;
}
@keyframes bcSpin { to { transform: rotate(360deg); } }

/* resumo */
.summary { margin-top: 26px; border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 8px; background: rgba(9,33,23,.02); }
.summary h3 { font-family: var(--mono); text-transform: none; font-size: 10px; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.srow, .bc-item { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.bc-item { font-size: 13.5px; color: var(--muted); }
.bc-item span:last-child { color: var(--ink); font-weight: 600; }
.disc { color: #5f7a3d; font-weight: 600; }
.srow.total { font-weight: 700; font-size: 16px; border-bottom: none; }
.srow.total span:last-child { font-family: var(--display); font-size: 24px; letter-spacing: -.01em; }
.coupon-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 1.5px dashed var(--orange);
  border-radius: 10px; padding: 2px 7px 2px 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--orange);
  letter-spacing: 0.05em; text-transform: none;
}

/* botão de pagar */
.pay-btn {
  width: 100%; margin-top: 24px; background: var(--orange); color: var(--ink);
  border: none; border-radius: 10px; padding: 17px; font-family: inherit;
  font-size: 15.5px; font-weight: 700; letter-spacing: .02em; text-transform: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 10px 24px -8px rgba(34,240,108,.5);
}
.pay-btn:hover { background: var(--orange-hi); transform: translateY(-1px); }
.pay-btn:disabled { opacity: .6; cursor: default; transform: none; }
.bc-sl { align-items: center; justify-content: center; gap: 9px; }
.bc-spin {
  display: inline-block; width: 18px; height: 18px; flex-shrink: 0;
  border: 2.5px solid rgba(9,33,23,.25); border-top-color: var(--ink);
  border-radius: 50%; animation: bcSpin .6s linear infinite;
}
.bc-sl-txt:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .bc-spin { animation-duration: 2s; } }
.co-msg { font-size: 14px; text-align: center; margin-top: 10px; min-height: 0; color: #b3372a; display: none; }

/* aviso de cobrança recorrente (assinatura), logo abaixo do Finalizar */
.pay-note {
  margin-top: 12px; padding: 0 4px;
  font-size: 11.5px; line-height: 1.55; text-align: center;
  color: var(--muted); letter-spacing: 0;
}
.pay-note b { color: var(--ink); font-weight: 600; }

/* Aviso de erro do pagamento — âmbar claro, não alarme vermelho. */
.bc-alert {
  display: grid; grid-template-columns: 18px 1fr; gap: 8px 10px;
  align-items: start; text-align: left;
  margin-top: 12px; padding: 13px 14px;
  border: 1px solid #d9a441; border-radius: 10px;
  background: #fbf1de; color: #6b4c14;
}
.bc-alert.one { align-items: center; }
.bc-alert-ico { width: 18px; height: 18px; color: #b8780f; margin-top: 1px; }
.bc-alert.one .bc-alert-ico { margin-top: 0; }
.bc-alert-ico svg { width: 100%; height: 100%; display: block; }
.bc-alert-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bc-alert-txt b { font-size: 14px; font-weight: 700; line-height: 1.35; color: #4d3610; }
.bc-alert-txt em { font-style: normal; font-size: 13px; line-height: 1.45; color: #6b4c14; }
.bc-alert-act {
  grid-column: 1 / -1;
  margin-top: 4px; width: 100%; padding: 11px 14px;
  border: 0; border-radius: 10px; cursor: pointer;
  background: var(--orange); color: var(--ink);
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: var(--ls);
}
.bc-alert-act:hover { background: var(--orange-hi); }
.bc-alert-act:active { transform: translateY(1px); }

/* rodapé — mono/versalete, igual ao microcopy da landing */
.co-foot {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px; margin-top: 30px; color: var(--muted); font-size: 9px;
  font-family: var(--mono); text-transform: none; letter-spacing: .06em;
}
.co-foot a { color: var(--muted); text-decoration: none; }
.co-foot a:hover { color: var(--ink); }
.co-foot .powered { display: inline-flex; align-items: center; gap: 5px; }
.co-foot .sep { opacity: .5; }
.co-copy { text-align: center; font-size: 11px; color: var(--muted); margin-top: 10px; }

/* Evita o zoom automático do iOS ao focar um campo (qualquer input < 16px).
   Vale pra todo touch device, não só telas estreitas. */
@media (hover: none) and (pointer: coarse) {
  .field, select.field, .coupon-row .field { font-size: 16px; }
}

@media (max-width: 520px) {
  body {
    padding: 14px 3px calc(14px + env(safe-area-inset-bottom));
    padding-left: max(3px, env(safe-area-inset-left));
    padding-right: max(3px, env(safe-area-inset-right));
  }
  .checkout { padding: 22px 13px 22px; }
  .co-timer { font-size: 9px; margin: -4px 0 16px; padding: 8px 12px; }
  .co-head { gap: 12px; }
  .co-head .product { width: 56px; height: 56px; flex-shrink: 0; }
  .plan-name { font-size: 22px; }
  .plan-price-row { gap: 6px; margin-top: 6px; }
  .plan-price { font-size: 14px; }
  .bonus-tag { font-size: 9px; padding: 3px 7px; gap: 5px; }
  .slogan { margin: 12px 0 18px; }

  /* Área de toque: nada abaixo de ~48px de altura. */
  .field { padding: 14px 14px; }
  .lbl { margin: 14px 0 6px; }
  .grid-2 { gap: 10px; }
  .methods { gap: 10px; margin: 18px 0 4px; }
  .method { padding: 15px 12px; font-size: 15px; }
  .bump { padding: 14px; margin-top: 18px; gap: 10px; }
  #bc-card.show { max-height: 800px; }
  .summary { margin-top: 20px; padding: 15px 15px 6px; }
  .pay-btn { padding: 17px 16px; margin-top: 20px; font-size: 14.5px; }
  .co-foot { margin-top: 22px; gap: 6px 8px; }

  .ds-overlay { align-items: flex-end; padding: 0; }
  .ds-box {
    max-width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 16px 3px 0 0;
    padding: 22px 14px calc(36px + env(safe-area-inset-bottom));
  }
  .ds-box.ds-out { animation-name: ds-out-sheet; }
  .ds-box.ds-in { animation-name: ds-in-sheet; }
  .ds-box.ds-open { animation: ds-open-sheet .44s cubic-bezier(.32,.72,0,1); }
  .ds-box.ds-close { animation: ds-close-sheet .4s cubic-bezier(.32,0,.3,1) forwards; }
  .ds-overlay { animation-duration: .38s; }
  .ds-overlay.ds-closing { animation-duration: .4s; }
  .ds-title { font-size: 21px; }
  .ds-btn { padding: 15px 10px; font-size: 14px; }
}

/* Telas bem estreitas (iPhone SE / Android pequeno). */
@media (max-width: 360px) {
  .checkout { padding: 20px 11px; }
  .co-head .product { width: 50px; height: 50px; }
  .plan-name { font-size: 19px; }
  .bonus-tag .bonus-name { font-size: 9px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .method { gap: 7px; font-size: 14px; padding: 14px 8px; }
  .method svg { width: 20px; height: 20px; }
  .bump-title { font-size: 14px; }
  .ds-actions { grid-template-columns: 1fr; }
  .ds-btn.solid { order: -1; }
}


.tds-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(9,33,23,.78); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.tds-overlay.hidden { display: none; }
.tds-box {
  background: var(--card); color: var(--ink); border: 1px solid var(--card-line);
  border-radius: 16px; padding: 22px 18px 18px;
  width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-card); text-align: center;
}
.tds-title { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: none; letter-spacing: var(--ls); margin: 0 0 6px; }
.tds-sub { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.tds-frame {
  width: 100%; min-height: 400px; display: flex; justify-content: center;
  overflow: auto; -webkit-overflow-scrolling: touch;
  background: #fff; border-radius: 10px;
}
.tds-frame iframe { max-width: 100%; border: 0; }

#bc-tds-method {
  position: absolute; width: 1px; height: 1px;
  left: -9999px; top: -9999px; overflow: hidden; opacity: 0; pointer-events: none;
}

@media (max-width: 560px) {
  .tds-overlay { padding: 0; align-items: flex-end; }
  .tds-box { max-width: 100%; border-radius: 16px 3px 0 0; max-height: 96vh; }
}
/* Identidade Assinaturas+: tokens da página de vendas e cartão do Plano Completo. */
body { background: radial-gradient(ellipse at 20% 0%, rgba(34,240,108,.09), transparent 45%), #f4f7f4; color: var(--ink); padding: 40px 20px; }
.checkout { max-width: 510px; padding: 28px 30px; border-radius: 20px; box-shadow: 0 18px 50px #0d301f1a; }
.brand { display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 22px var(--display); letter-spacing: -.06em; color: var(--ink); text-decoration: none; margin-bottom: 26px; }
.brand span { color: #0c9848; margin-left: -8px; }
.offer-label { background: #092117; color: #91dba7; padding: 17px 20px 0; border: 1px solid #18d963; border-bottom: 0; border-radius: 16px 16px 0 0; font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.co-head { background: #092117; color: #fff; padding: 18px 20px 12px; border-inline: 1px solid #18d963; gap: 12px; }
.co-head .product { width: 56px; height: 56px; border: 0; border-radius: 12px; }
.plan-name { font-size: 21px; line-height: 1.15; letter-spacing: -.045em; }
.plan-price { color: #22f06c; font: 700 32px var(--display); letter-spacing: -.06em; }
.slogan { margin: 0; padding: 0 20px 16px; background: #092117; color: #b6c9ba; border-inline: 1px solid #18d963; font-size: 12px; }
.benefits { list-style: none; background: #092117; color: #d6e8da; padding: 0 20px 20px; border: 1px solid #18d963; border-top: 0; border-radius: 0 0 16px 16px; font-size: 12px; line-height: 1.5; }
.benefits li { display: flex; gap: 9px; margin-top: 7px; }
.benefits li::before { content: '✓'; color: #22f06c; font-weight: 700; }
.form-heading { font: 700 21px var(--display); letter-spacing: -.04em; margin: 26px 0 18px; }
.form-heading span { display: block; font: 400 12px var(--body); color: var(--muted); letter-spacing: 0; margin-top: 5px; }
.field::placeholder { color: #73877a; }
.summary { background: #f4f7f4; }
.bc-item { align-items: flex-start; gap: 14px; }
.bc-item span:last-child { white-space: nowrap; }
.pay-btn { text-transform: none; letter-spacing: 0; box-shadow: 0 8px 22px -10px #18d96380; }
.co-foot { font-size: 10px; letter-spacing: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid #0c9848; outline-offset: 3px; }
@media (max-width: 520px) { body { padding: 14px 10px; } .checkout { padding: 22px 16px; } .co-head { padding-inline: 16px; } .offer-label, .slogan, .benefits { padding-left: 16px; padding-right: 16px; } .plan-name { font-size: 20px; } .brand { margin-bottom: 22px; } }
@media (max-width: 360px) { .checkout { padding: 20px 12px; } .co-head .product { width: 44px; height: 44px; } .plan-name { font-size: 18px; } }
.benefits li:first-child { margin-top: 0; }
