/*
 * Funil do Believer: o visual provisório do app (fundo marfim, violeta da
 * marca, Plus Jakarta Sans). Mudou a cor no app (`~/Believer/app/globals.css`),
 * mudar aqui.
 */
:root {
  --canvas: #f7f6f2;
  --card: #ffffff;
  --surface: #efede7;
  --line: #e6e3dc;
  --ink: #1b1a17;
  --ink-soft: #625e56;
  --ink-faint: #9b968c;
  --brand: #5b4cdb;
  --brand-strong: #4a3bc4;
  --brand-soft: #eeebff;
  --ok: #15803d;
  --ok-soft: #e3f5e9;
  --shadow: 0 1px 2px rgb(27 26 23 / 0.04), 0 4px 16px -6px rgb(27 26 23 / 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--canvas);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Aviso de teste: nenhuma cobrança acontece enquanto a Stripe não for ligada. */
.test-bar {
  padding: 8px 16px;
  background: #1b1a17;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
}

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.step {
  display: inline-block;
  margin-top: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sub {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* O lugar da VSL: um quadro cinza 9:16 até o vídeo chegar. */
.vsl {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  margin: 24px auto 0;
  border-radius: 24px;
  background: #d9d6ce;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #6f6a61;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vsl::before {
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7.2v9.6a.6.6 0 0 0 .9.5l7.6-4.8a.6.6 0 0 0 0-1L9.9 6.7a.6.6 0 0 0-.9.5z' fill='%236f6a61'/%3E%3C/svg%3E") center / 34px no-repeat;
}

.offer {
  margin-top: 24px;
  padding: 20px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

.price-row + .price-row {
  margin-top: 8px;
}

.price-row s {
  color: var(--ink-faint);
}

.price-row.cashback {
  color: var(--ok);
  font-weight: 700;
}

.price-row.total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
}

.price {
  display: block;
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.btn {
  display: flex;
  width: 100%;
  min-height: 58px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
}

.btn:active {
  transform: scale(0.98);
  background: var(--brand-strong);
}

.link-no {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.checkout-field {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.checkout-field input {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 6px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.checkout-field input:focus {
  outline: none;
  border-color: var(--brand);
}

.card-placeholder {
  margin-top: 14px;
  padding: 16px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  color: var(--ink-faint);
  font-size: 14px;
  text-align: center;
}

.order {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
}

.order li + li {
  border-top: 1px solid var(--line);
}

.order .muted {
  color: var(--ink-faint);
}

.restart {
  display: block;
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
}

/* --- Os upsells em 1 clique (2026-11-29) ------------------------------------------- */
/* O cartão que vai ser cobrado, logo abaixo do "Yes". */
.charge-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.offer-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdeceb;
  color: #b42318;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}
