/* O checkout do Believer com a cara do da Stripe: cópia do checkout do NursePro
   (LP NursePro/src/css/checkout.css, medidas lidas da página oficial da Stripe),
   pedido do Diego em 2026-11-29 ("o modelo que estava sendo usado no nursepro"). */
:root {
  --ink: rgba(26, 26, 26, 0.9);
  --ink-65: rgba(26, 26, 26, 0.65);
  --ink-60: rgba(26, 26, 26, 0.6);
  --ink-70: rgba(26, 26, 26, 0.7);
  --line: rgba(26, 26, 26, 0.1);
  --blue: #0074d4;
  --field: rgb(224, 224, 224) 0 0 0 1px, rgba(0, 0, 0, 0.07) 0 2px 4px 0, rgba(0, 0, 0, 0.05) 0 1px 1.5px 0;
  --focus: rgba(50, 151, 211, 0.7) 0 0 0 1px, rgba(0, 0, 0, 0.07) 0 1px 1px 0, rgba(50, 151, 211, 0.3) 0 0 0 4px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; }
body { font: 400 16px/1.3 var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }
input, select, button { font-family: inherit; color: inherit; }
img { display: block; }

/* ---- Celular (a Stripe muda de layout em 992 px). O conteúdo vai até 380 px
   de largura, centrado: nos celulares grandes a margem cresce, como na Stripe ---- */
.App { max-width: 412px; margin: 0 auto; }
.Header { display: flex; align-items: center; height: 61px; padding: 16px; margin-bottom: 16px; }
.Back { display: flex; align-items: center; gap: 0; padding-left: 24px; margin-left: -4px; position: relative; color: var(--ink-60); text-decoration: none; }
.Back .Back-arrow { position: absolute; left: 4px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); fill: currentColor; }
.Logo { height: 28px; width: auto; }
.Overview { padding: 0 16px 24px; text-align: center; }
.Name { font-size: 16px; line-height: 20.8px; font-weight: 500; color: var(--ink-65); }
.Amount { font-size: 28px; line-height: 36.4px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.Desc { margin-top: 4px; font-size: 14px; line-height: 18.2px; font-weight: 500; color: var(--ink-65); }
.Desc-wrap { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-top: 4px; cursor: pointer; }
.Desc-wrap .Desc { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.Desc-wrap.is-open .Desc { display: block; -webkit-line-clamp: unset; }
.Desc-icon { flex: none; width: 12px; height: 12px; margin-bottom: 3px; fill: rgba(26, 26, 26, 0.6); transition: transform 0.2s; }
.Desc-wrap.is-open .Desc-icon { transform: rotate(180deg); }
.Payment { padding: 24px 16px; }

.Express { display: flex; align-items: center; justify-content: center; gap: 1px; height: 55px; border-radius: 6px; background: #000; color: #fff; font: 500 22px/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: -0.01em; cursor: pointer; }
.Express .apple { font-size: 24px; transform: translateY(-1px); }
@supports (-webkit-appearance: -apple-pay-button) {
  .Express { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; }
  .Express > * { display: none; }
}
.Divider { position: relative; margin: 12px 0 4px; padding: 16px 0; }
.Divider::before { content: ""; display: block; height: 1px; margin: 8px 0; background: var(--line); }
.Divider span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 8px; background: #fff; font-size: 14px; line-height: 18.2px; color: var(--ink-60); text-transform: uppercase; }

.Heading { margin: 0; font-size: 16px; line-height: 20.8px; font-weight: 500; color: var(--ink); }
.Heading--contact { display: none; padding-bottom: 19px; }
.Heading--pm { margin: 28px 0 16px; }
.Heading--bumps { margin: 24px 0 12px; }

.Label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; font-size: 13px; line-height: 16.9px; font-weight: 500; color: var(--ink-70); }
.Field + .Label { margin-top: 19px; }
.Input { display: block; width: 100%; height: 44px; margin: 0; padding: 8px 12px; border: 0; border-radius: 6px; box-shadow: var(--field); background: #fff; font-size: 16px; line-height: 24px; outline: none; -webkit-appearance: none; appearance: none; }
.Input::placeholder { color: rgba(26, 26, 26, 0.6); }
.Input:focus { position: relative; z-index: 2; box-shadow: var(--focus); }

.Accordion { border-radius: 6px; box-shadow: var(--field); background: #fff; padding: 16px; }
.Acc-title { display: flex; align-items: center; height: 18px; margin-bottom: 20px; font-size: 14px; line-height: 18.2px; font-weight: 500; color: rgb(26, 26, 26); }
.Acc-title img { width: 16px; height: 16px; margin: 0 16px 0 4px; }
.CardGroup .Input { border-radius: 0; }
.CardGroup .Number { position: relative; }
.CardGroup .Number .Input { border-radius: 6px 6px 0 0; padding-right: 72px; }
.Brands { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; z-index: 3; pointer-events: none; }
.Brands img { width: 24px; height: 16px; }
.Split { display: flex; }
.Split > * { flex: 1; position: relative; }
.Split .Exp { border-radius: 0 0 0 6px; }
.Split .Cvc { border-radius: 0 0 6px 0; padding-right: 28px; }
.Cvc-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 16px; z-index: 3; pointer-events: none; }
.SelectWrap { position: relative; }
.SelectWrap .Input { padding-right: 32px; border-radius: 6px 6px 0 0; }
.Select-arrow { position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); z-index: 3; pointer-events: none; fill: rgba(26, 26, 26, 0.9); }
.Zip { border-radius: 0 0 6px 6px; }

/* Os order bumps: como na Hotmart, com os traços da Stripe (borda fina, cantos de 6 px) */
.Bumps { display: grid; gap: 12px; }
.Bump { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow 0.15s, border-color 0.15s; }
.Bump.is-on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.Bump-body { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px; }
.Bump-img { width: 56px; height: 56px; border-radius: 4px; object-fit: cover; }
.Bump-title { font-size: 14px; line-height: 18.2px; font-weight: 500; color: var(--ink); }
.Bump-desc { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--ink-65); }
.Bump-prices { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.Bump-prices s { font-size: 13px; color: rgba(26, 26, 26, 0.5); }
.Badge { padding: 1px 6px; border-radius: 4px; background: #d7f7c2; color: #05690d; font-size: 12px; line-height: 16px; font-weight: 500; }
.Bump-price { font-size: 14px; font-weight: 500; color: var(--ink); }
.Bump-add { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: rgba(26, 26, 26, 0.03); cursor: pointer; font-size: 14px; line-height: 18.2px; font-weight: 500; user-select: none; -webkit-tap-highlight-color: transparent; }
.Bump.is-on .Bump-add { background: rgba(0, 116, 212, 0.06); }
.Checkbox { appearance: none; -webkit-appearance: none; display: grid; place-items: center; flex: none; width: 16px; height: 16px; margin: 0; border-radius: 4px; box-shadow: var(--field); background: #fff; cursor: pointer; }
.Checkbox:checked { background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.Checkbox:checked::after { content: ""; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }

.Totals { margin-top: 24px; font-variant-numeric: tabular-nums; }
.Totals .Row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; line-height: 18.2px; font-weight: 500; color: var(--ink-65); }
.Totals .Due { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; line-height: 20.8px; color: var(--ink); }

.Pay { display: block; width: 100%; height: 55px; margin-top: 24px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 500; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(50, 50, 93, 0.1), 0 2px 5px 0 rgba(50, 50, 93, 0.1), 0 1px 1.5px 0 rgba(0, 0, 0, 0.07); }
.Pay:active { filter: brightness(0.94); }
.Footer { display: flex; justify-content: center; align-items: center; padding-top: 16px; font-size: 12px; line-height: 15.6px; color: rgba(26, 26, 26, 0.8); }
.Footer .Powered { display: flex; align-items: center; gap: 4px; }
.Footer .Stripe { width: 33px; height: 16px; fill: rgba(26, 26, 26, 0.8); }
.Footer .Sep { width: 1px; height: 20px; margin: 0 16px; background: var(--line); }
.Footer a { color: inherit; text-decoration: none; }
.Footer a + a { margin-left: 16px; }

/* ---- Computador: as duas colunas de 380 px, e o painel branco do pagamento com a sombra sobre o lado esquerdo ---- */
.PanelBg { display: none; }
@media (min-width: 992px) {
  .PanelBg { display: block; position: fixed; top: 0; bottom: 0; left: 50%; width: 50%; background: #fff; box-shadow: rgba(0, 0, 0, 0.18) 15px 0 30px 0; z-index: 0; }
  .App { position: relative; z-index: 1; display: flex; justify-content: space-between; width: 920px; max-width: none; margin: 0 auto; padding-top: 48px; }
  .Left { width: 380px; }
  .Header { height: 28px; padding: 0; margin-bottom: 32px; }
  .Back { margin-left: -24px; }
  .Overview { padding: 0 0 40px; text-align: left; }
  .Desc-wrap { display: block; cursor: auto; }
  .Desc-wrap .Desc { display: block; -webkit-line-clamp: unset; }
  .Desc-icon { display: none; }
  .Amount { font-size: 36px; line-height: 46.8px; }
  .Payment { width: 380px; padding: 0; }
  .Heading--contact { display: block; }
  .Heading--pm { margin-top: 28px; }
  .Input { height: 36px; font-size: 14px; line-height: 21px; }
  .Footer { padding: 16px 0 48px; }
}

/* ---- O checkout de verdade (2026-11-04): os campos do cartão são da Stripe
   (iframes dentro das caixas abaixo), e os estados de foco, erro e envio ---- */
:root { --invalid: rgb(239, 152, 150) 0 0 0 1px, rgba(0, 0, 0, 0.07) 0 2px 4px 0, rgba(0, 0, 0, 0.05) 0 1px 1.5px 0; }
[hidden] { display: none !important; }
.El { display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.El > * { width: 100%; }
.El.StripeElement--focus { position: relative; z-index: 2; box-shadow: var(--focus); }
.Input.is-invalid, .El.is-invalid, .El.StripeElement--invalid { position: relative; z-index: 1; box-shadow: var(--invalid); color: rgb(220, 39, 39); }
.Input.is-invalid:focus { z-index: 2; box-shadow: var(--focus); color: inherit; }
.Err { margin-top: 6px; font-size: 13px; line-height: 16.9px; color: rgb(220, 39, 39); }
.Err--pay { margin-top: 12px; text-align: center; }
.Field.no-zip .SelectWrap .Input { border-radius: 6px; }
.Field.no-zip .Zip { display: none; }
#express { min-height: 55px; }
.Pay { position: relative; }
.Pay[disabled] { cursor: default; }
.Spinner { display: none; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.Pay.is-busy .Pay-label { visibility: hidden; }
.Pay.is-busy .Spinner { display: block; }
.Bump.is-off { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* A conferência antes de pagar, com as medidas do checkout da Stripe: campo
   vazio ganha o "REQUIRED" ao lado do nome; no celular, o resumo dos erros
   logo abaixo do "Pay" (no computador a Stripe não mostra o resumo). */
.Req { font-size: 11px; line-height: 14.3px; font-weight: 500; text-transform: uppercase; color: rgb(220, 39, 39); }
.Sum { display: flex; align-items: flex-start; margin-top: 8px; padding: 12px; border-radius: 8px; background: rgba(220, 39, 39, 0.04); font-size: 16px; line-height: 20.8px; }
.Sum-icon { flex: none; width: 24px; height: 12px; margin-top: 2.5px; }
.Sum-body { flex: 1; min-width: 0; }
.Sum-title { font-size: 13px; line-height: 16.9px; color: rgb(220, 39, 39); }
.Sum-item hr { height: 1px; margin: 16px 0; border: 0; background: rgba(26, 26, 26, 0.1); }
.Sum-item span { display: block; font-size: 13px; line-height: 16.9px; color: rgba(26, 26, 26, 0.7); }
.Sum-item b { font-weight: 500; }
@media (min-width: 992px) { .Sum { display: none !important; } }

/* ---- Do Believer ---- */
/* O logo: o ícone e o nome, como no topo do funil. */
.Brand { display: flex; align-items: center; gap: 8px; font: 800 17px/1 "Plus Jakarta Sans", var(--font); letter-spacing: -0.01em; color: rgb(26, 26, 26); }
.Brand img { width: 28px; height: 28px; }
/* Os bumps ainda sem imagem (o Diego manda depois): um quadro cinza no lugar. */
.Bump-img--empty { flex: none; background: rgb(236, 236, 236); }
/* O aviso do modo de teste, no alto (some no modo real: assets/config.js). */
.TestBar { padding: 8px 16px; background: #1b1a17; color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
/* Sem a Stripe (bloqueada ou sem a chave pública): o aviso no lugar do botão. */
.Unavailable { margin-top: 16px; padding: 12px 14px; border-radius: 6px; background: rgb(255, 245, 245); color: rgb(220, 39, 39); font-size: 14px; line-height: 1.4; }
