/* ── TOKENS ── */
:root {
  --navy: #2c4364;
  --navy-dark: #1e3050;
  --yellow: #ffcd00;
  --yellow-hov: #ffe600;
  --gray-text: #64748b;
  --success: #10b981;
  --error: #ef4444;
  --error-bg: #fee2e2;
  --muted: #94a3b8;
  --page-bg: #f8fafc;
  --border: #e8eff7;
  --border-input: #e2e8f0;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.13);
  --r-sm: 0.4rem;
  --r-md: 0.5rem;
  --r-lg: 0.75rem;
  --r-xl: 1.25rem;
  --r-2xl: 1.75rem;
}

html,
body {
  min-height: 100vh;
}
body {
  font-family: "Poppins", sans-serif;
  background: var(--page-bg);
  color: var(--navy);
  display: flex;
  flex-direction: column;
}

/* ── CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy);
  isolation: isolate;
}


/* ── MAIN ── */
main {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: calc(64px + 2.5rem) 1.5rem 5rem;
}
.page-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── RESUMO DO PLANO ── */
.plan-summary {
  background: linear-gradient(135deg, #fff 0%, #fffaf0 100%);
  border: 1.5px solid rgba(255, 205, 0, 0.45);
  border-radius: var(--r-xl);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.plan-summary-kicker {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.plan-summary-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
}
.plan-summary-desc {
  font-size: 0.78rem;
  color: var(--gray-text);
  line-height: 1.55;
  margin-top: 0.2rem;
}
.plan-summary-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  background: var(--navy);
  color: #fff;
  border-radius: 1rem;
  padding: 0.8rem 1rem;
  white-space: nowrap;
}
.plan-summary-price strong {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--yellow);
}
.plan-summary-price span {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

/* ── README ── */
.readme-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 1.75rem 2rem;
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.readme-panel.collapsed {
  opacity: 0.25;
  pointer-events: none;
  transform: scale(0.99);
}
.readme-header {
  margin-bottom: 1.25rem;
  text-align: center;
}
.readme-h2 {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.readme-h2 .line-plain {
  display: block;
  color: var(--navy);
}
.readme-h2 .line-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.04em 0.32em;
  border-radius: 0.4rem;
  margin: 0.05em 0;
}
.readme-rule {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.55rem auto 0.9rem;
}
.readme-rule-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(44, 67, 100, 0.15),
    rgba(44, 67, 100, 0.04)
  );
}
.readme-rule-line.rev {
  background: linear-gradient(
    90deg,
    rgba(44, 67, 100, 0.04),
    rgba(44, 67, 100, 0.15)
  );
}
.readme-scroll {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  background: transparent;
}
.readme-scroll::-webkit-scrollbar {
  width: 3px;
}
.readme-scroll::-webkit-scrollbar-thumb {
  background: var(--border-input);
  border-radius: 4px;
}
.readme-item {
  margin-bottom: 1rem;
}
.readme-item:last-child {
  margin-bottom: 0;
}
.readme-q {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
  line-height: 1.4;
}
.readme-a {
  font-size: 0.82rem;
  color: var(--gray-text);
  line-height: 1.65;
}
.readme-confirm {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.readme-confirm input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}
.readme-confirm input[type="checkbox"]:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.readme-confirm label {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
}
.readme-confirm.locked label {
  color: var(--muted, #94a3b8);
  cursor: not-allowed;
}
.readme-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted, #94a3b8);
  font-weight: 500;
  margin-bottom: 0.6rem;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md, 0.5rem);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  transition: opacity 0.3s;
}
.readme-scroll-hint.hidden {
  display: none;
}
.readme-scroll-hint svg {
  flex-shrink: 0;
  animation: bounceDown 0.8s ease infinite;
}
@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* ── STEPPER ── */
.stepper {
  display: none;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.75rem;
}
.stepper.visible {
  display: flex;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: var(--border-input);
  transition: background 0.4s;
}
.step-item.done:not(:last-child)::after {
  background: var(--yellow);
}
.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  z-index: 1;
  position: relative;
  transition: all 0.3s;
}
.step-item.active .step-circle {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 0 0 4px rgba(255, 205, 0, 0.18);
}
.step-item.done .step-circle {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}
.step-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.4rem;
  text-align: center;
  line-height: 1.3;
  transition: color 0.3s;
}
.step-item.active .step-label {
  color: var(--navy);
}
.step-item.done .step-label {
  color: var(--success);
}
.step-check {
  display: none;
}
.step-item.done .step-check {
  display: block;
}
.step-item.done .step-num {
  display: none;
}

/* ── FORM CARD ── */
.form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 2rem 2rem 1.75rem;
  animation: fadeUp 0.35s ease;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* card & readme titles — padrão site */
.card-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}
.card-h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
}
.card-h2 .line-plain {
  display: block;
  color: var(--navy);
}
.card-h2 .line-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.04em 0.32em;
  border-radius: 0.45rem;
  margin: 0.06em 0;
}
.card-rule {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.65rem auto 0.9rem;
  animation: fadeUp 0.45s ease 0.5s both;
}
.card-rule-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(44, 67, 100, 0.18),
    rgba(44, 67, 100, 0.04)
  );
}
.card-rule-line.rev {
  background: linear-gradient(
    90deg,
    rgba(44, 67, 100, 0.04),
    rgba(44, 67, 100, 0.18)
  );
}
.card-sub {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  text-align: center;
}
.card-top-action {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

/* ── FIELDS ── */
.field-grid {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}
.fg-2 {
  grid-template-columns: 1fr 1fr;
}
.fg-3 {
  grid-template-columns: 1fr 2fr 0.65fr;
}
.fg-city {
  grid-template-columns: 1fr 1fr 0.5fr;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.field-full {
  grid-column: 1/-1;
}

label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}
label .req {
  color: var(--error);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
  width: 100%;
  height: 44px;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--navy);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}
input::placeholder {
  color: var(--muted);
}
input:focus,
select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(44, 67, 100, 0.08);
}
input.has-error {
  border-color: var(--error);
  background: var(--error-bg);
}

.field-error {
  font-size: 0.7rem;
  color: var(--error);
  display: none;
}
.field-error.show {
  display: block;
}

.sel-wrap {
  position: relative;
}
.sel-wrap::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--muted);
  pointer-events: none;
}
select option {
  background: #1a1d24;
  color: #fff;
}

.pwd-wrap {
  position: relative;
}
.pwd-wrap input {
  padding-right: 2.5rem;
}
.pwd-toggle {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.pwd-toggle:hover {
  color: var(--navy);
}

.pwd-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  margin-top: 0.35rem;
}
.pwd-rule {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}
.pwd-rule.ok {
  color: var(--success);
}
.pwd-rule.fail {
  color: var(--error);
}
.pwd-rule-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.field-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.4rem 0 1.1rem;
}

/* ── FORM NAV ── */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.5rem;
  height: 46px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn.is-loading {
  cursor: wait;
  opacity: 0.85;
  pointer-events: none;
}
.btn-loader {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: btn-spin 0.75s linear infinite;
  flex-shrink: 0;
}
.btn-label {
  display: inline-flex;
  align-items: center;
}
@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(255, 205, 0, 0.3);
}
.btn-primary:hover {
  background: var(--yellow-hov);
  box-shadow: 0 6px 22px rgba(255, 205, 0, 0.42);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-input);
}
.btn-ghost:hover {
  background: var(--page-bg);
  border-color: var(--navy);
}
.btn-skip {
  background: transparent;
  color: var(--gray-text);
  border: 1px solid var(--border-input);
  font-size: 0.74rem;
  height: 38px;
  padding: 0 1rem;
}
.btn-skip:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* ── PAYMENT STEP ── */
.payment-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
}
.payment-card,
.faq-card,
.plan-upsell-inline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  animation: fadeUp 0.35s ease;
}
.payment-card {
  padding: 2rem;
}
.payment-header {
  margin-bottom: 1.35rem;
}
.payment-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.payment-sub {
  font-size: 0.84rem;
  color: var(--gray-text);
  line-height: 1.55;
}
.pay-methods {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
  flex-wrap: wrap;
}
.pay-method {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.pay-method:hover,
.pay-method.active {
  border-color: var(--navy);
  background: #f8fafc;
  box-shadow: 0 5px 14px rgba(44, 67, 100, 0.08);
}
.radio-dot {
  width: 15px;
  height: 15px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pay-method.active .radio-dot {
  border-color: var(--navy);
}
.pay-method.active .radio-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
}

.card-brand-row {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: 0.35rem;
}
.brand-pill {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #1f3f8b;
  background: #eef4ff;
  border-radius: 4px;
  padding: 0.08rem 0.25rem;
}
.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, #eb001b 0 50%, #f79e1b 50%);
  display: inline-block;
}
.payment-total {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 1.2rem;
}
.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.payment-row span,
.payment-row.payment-row-total span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-text);
}
.payment-row strong {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 900;
}
.payment-row.payment-row-total strong {
  font-size: 1.45rem;
}
.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin: 1rem 0 0;
}
.coupon-applied-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.coupon-applied-label:empty {
  display: none;
}

.coupon-success-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.14),
    rgba(34, 197, 94, 0.05)
  );
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #15803d;
  border-radius: 0.85rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.9rem;
  animation: couponBannerIn 0.35s ease;
}
.coupon-success-banner svg {
  flex: none;
  width: 19px;
  height: 19px;
  color: #16a34a;
}
.coupon-success-banner[hidden] {
  display: none;
}
body.premium-theme .coupon-success-banner {
  background: linear-gradient(
    135deg,
    rgba(255, 241, 18, 0.16),
    rgba(255, 241, 18, 0.04)
  );
  border-color: rgba(212, 160, 23, 0.45);
  color: #d4a017;
}
body.premium-theme .coupon-success-banner svg {
  color: #fff112;
}
.price-strike {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-text);
  opacity: 0.7;
  margin-right: 0.4rem;
  text-decoration-color: #f87171;
}
.price-strike[hidden] {
  display: none;
}
#payment-total-value {
  transition: color 0.2s ease;
}
.payment-row-total.coupon-zeroed #payment-total-value {
  color: #16a34a;
}
@keyframes couponBannerIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.message-envios {
  min-height: 20px;
  font-size: 14px;
  font-weight: 600;
}
.message-envios.loading {
  color: rgba(255, 255, 255, 0.55);
}
.message-envios.success {
  color: #34d399;
}
.message-envios.error {
  color: #f87171;
}

.qr-card {
  width: 240px;
  height: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 0 auto 1rem;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}
.qr-card svg {
  width: 100%;
  height: 100%;
  display: block;
}

.faq-card {
  padding: 1.15rem;
  position: sticky;
  top: 84px;
}
.faq-title {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.faq-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-input) transparent;
}
.faq-scroll::-webkit-scrollbar {
  width: 4px;
}
.faq-scroll::-webkit-scrollbar-thumb {
  background: var(--border-input);
  border-radius: 4px;
}
.faq-q {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin: 0.75rem 0 0.2rem;
}
.faq-a {
  font-size: 0.72rem;
  color: var(--gray-text);
  line-height: 1.55;
}
.plan-upsell-inline {
  margin-top: 1.25rem;
  padding: 1.2rem;
  background: linear-gradient(160deg, #0d0f14 0%, #111318 100%);
  color: #fff;
  border-color: rgba(212, 160, 23, 0.45);
  position: relative;
  overflow: hidden;
}
.plan-upsell-inline::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4a017 30%,
    #fff112 50%,
    #d4a017 70%,
    transparent
  );
}
.plan-upsell-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(212, 160, 23, 0.14);
  border: 1px solid rgba(212, 160, 23, 0.45);
  color: #fff112;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}
.plan-upsell-title {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  color: #fff;
}
.plan-upsell-text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.85rem;
}
.plan-upsell-list {
  display: grid;
  gap: 0.35rem;
  list-style: none;
  margin-bottom: 1rem;
}
.plan-upsell-list li {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.plan-upsell-list svg {
  color: #fff112;
  flex-shrink: 0;
}
.upgrade-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.85rem;
  padding: 0.8rem;
  margin-top: 1rem;
}
.upgrade-price {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.upgrade-price small {
  font-size: 0.63rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.upgrade-price strong {
  font-size: 1.05rem;
  color: #fff112;
  font-weight: 900;
}
.btn-upgrade {
  background: #fff112;
  color: #0d0f14;
  box-shadow: 0 4px 18px rgba(255, 241, 18, 0.18);
  height: 40px;
  font-size: 0.74rem;
}
.payment-note {
  font-size: 0.72rem;
  color: var(--gray-text);
  line-height: 1.5;
  margin-top: 1rem;
  text-align: center;
}

/* ── STEP PANELS ── */
.step-panel {
  display: none;
}
.step-panel.active {
  display: block;
  margin-top: 2.5rem;
}

/* ── THANK YOU ── */
.thankyou-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  animation: fadeUp 0.4s ease;
}
.ty-success-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #d1fae5;
  border: 2px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--success);
}
.ty-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.ty-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.ty-sub {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 2.5rem;
}
.ty-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
}
.btn-platform {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(44, 67, 100, 0.2);
}
.btn-platform:hover {
  background: var(--navy-dark);
}
.btn-wpp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.22);
}
.btn-wpp:hover {
  background: #1ebe5c;
}

/* ── UPSELL ── */
.upsell-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.upsell-label-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.upsell-label-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.upsell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.upsell-card {
  border-radius: var(--r-lg);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1.5px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.upsell-card.current {
  opacity: 0.55;
}
.upsell-card.featured {
  border-color: #2c6aad;
  background: linear-gradient(160deg, #f0f6ff 0%, #fff 60%);
}
/* Clube+ card — dark premium */
.upsell-card.premium {
  border-color: rgba(212, 160, 23, 0.5);
  background: linear-gradient(160deg, #0d0f14 0%, #111318 100%);
  color: #fff;
}
.upsell-card.premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4a017 30%,
    #fff112 50%,
    #d4a017 70%,
    transparent
  );
}

.upsell-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  align-self: flex-start;
}
.badge-cur {
  background: #f1f5f9;
  color: var(--muted);
}
.badge-blue {
  background: rgba(44, 106, 173, 0.1);
  border: 1px solid rgba(44, 106, 173, 0.3);
  color: #2c6aad;
}
.badge-gold {
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: #d4a017;
}

.upsell-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.upsell-card.premium .upsell-name {
  color: #fff112;
}

.upsell-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.price-free {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--muted);
}
.price-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}
.upsell-card.premium .price-val {
  color: #fff112;
}
.price-mo {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}
.upsell-card.premium .price-mo {
  color: rgba(255, 255, 255, 0.4);
}

.upsell-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.upsell-feat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: var(--gray-text);
  font-weight: 500;
  line-height: 1.3;
}
.upsell-card.premium .upsell-feat {
  color: rgba(255, 255, 255, 0.55);
}
.upsell-feat svg {
  flex-shrink: 0;
  color: var(--muted);
}
.upsell-card.featured .upsell-feat svg {
  color: #2c6aad;
}
.upsell-card.premium .upsell-feat svg {
  color: #d4a017;
}
.upsell-feat.strike {
  text-decoration: line-through;
  opacity: 0.4;
}

.upsell-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 40px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s;
}
.upsell-cta:active {
  transform: scale(0.97);
}
.cta-cur {
  background: #f1f5f9;
  color: var(--muted);
  pointer-events: none;
}
.cta-blue {
  background: rgba(44, 106, 173, 0.1);
  color: #2c6aad;
  border: 1.5px solid rgba(44, 106, 173, 0.3);
}
.cta-blue:hover {
  background: rgba(44, 106, 173, 0.18);
  box-shadow: 0 4px 14px rgba(44, 106, 173, 0.15);
}
.cta-gold {
  background: linear-gradient(135deg, #d4a017, #fff112);
  color: #0d0f14;
  box-shadow: 0 4px 14px rgba(255, 241, 18, 0.2);
}
.cta-gold:hover {
  box-shadow: 0 6px 20px rgba(255, 241, 18, 0.35);
  transform: translateY(-1px);
}

/* ── FOOTER ── */


/* ── TÍTULO PADRÃO SITE ── */
.page-title-block {
  text-align: center;
  margin-bottom: 0.25rem;
}
.page-h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}
.page-h1 .line-plain {
  display: block;
  color: var(--navy);
}
.page-h1 .line-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.05em 0.35em;
  border-radius: 0.5rem;
  margin: 0.08em 0;
}
.line-plain.anim-left {
  animation: slideFromLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.line-badge.anim-right {
  animation: slideFromRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.h1-l1 {
  animation-delay: 0.08s;
}
.h1-l2 {
  animation-delay: 0.32s;
}
.h1-l3 {
  animation-delay: 0.56s;
}

.page-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem auto 0;
  width: 100%;
  max-width: 480px;
  animation: fadeUp 0.55s ease 0.7s both;
}
.page-rule-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(44, 67, 100, 0.15),
    rgba(44, 67, 100, 0.04)
  );
}
.page-rule-line.rev {
  background: linear-gradient(
    90deg,
    rgba(44, 67, 100, 0.04),
    rgba(44, 67, 100, 0.15)
  );
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── BLOQUEIO DO FORMULÁRIO ATÉ ACEITE DO LEIA-ME ── */
.form-lock-wrapper {
  position: relative;
}

/* Overlay cobre toda a área do formulário */
.form-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(248, 250, 252, 0);
  pointer-events: all;
  cursor: not-allowed;
  transition:
    opacity 0.4s,
    visibility 0.4s;
}
.form-lock-overlay.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Bloqueia interação com stepper e step-panels */
.steps-locked .stepper,
.steps-locked .step-panel {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.45;
  filter: blur(1.5px);
  transition:
    opacity 0.4s,
    filter 0.4s;
}
.steps-locked .step-panel.active {
  display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .fg-2,
  .fg-3,
  .fg-city {
    grid-template-columns: 1fr;
  }
  .fg-3 {
    grid-template-columns: 1fr 1fr;
  }
  .form-card,
  .readme-panel {
    padding: 1.5rem 1.25rem;
  }
  .upsell-grid {
    grid-template-columns: 1fr;
  }
  .payment-shell {
    grid-template-columns: 1fr;
  }
  .faq-card {
    position: static;
  }
  .coupon-row {
    grid-template-columns: 1fr;
  }
  .upsell-card.current {
    display: none;
  }
}
@media (max-width: 480px) {
  .stepper {
    padding: 1rem;
  }
  .step-label {
    font-size: 0.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  #bg-canvas {
    display: none;
  }
  .form-card,
  .thankyou-card {
    animation: none;
  }
}

/* ── TEMA PREMIUM CLUBE+ ── */
body.premium-theme {
  --navy: #f8fafc;
  --navy-dark: #fff;
  --yellow: #fff112;
  --yellow-hov: #fff86a;
  --gray-text: rgba(255, 255, 255, 0.62);
  --muted: rgba(255, 255, 255, 0.42);
  --page-bg: #0d0f14;
  --border: rgba(212, 160, 23, 0.22);
  --border-input: rgba(255, 255, 255, 0.16);
  --shadow-card: 0 18px 55px rgba(0, 0, 0, 0.36);
  --shadow-hover: 0 22px 70px rgba(0, 0, 0, 0.46);
  background:
    radial-gradient(
      circle at top center,
      rgba(212, 160, 23, 0.15),
      transparent 34rem
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 241, 18, 0.08),
      transparent 28rem
    ),
    #0d0f14;
  color: #fff;
}
/* Cabeçalho no mesmo padrão da página de plano Clube+ */
body.premium-theme header {
  background: #2c4364;
  border-bottom: none;
  backdrop-filter: none;
}
body.premium-theme .nav-dropdown {
  background: #fff;
  border-color: #e8eff7;
}
body.premium-theme .nav-dropdown-item {
  color: #2c4364;
  border-bottom-color: #f1f5f9;
}
body.premium-theme .nav-dropdown-item:hover {
  background: #f8fafc;
}
body.premium-theme .nav-dropdown-icon {
  background: rgba(44, 67, 100, 0.08);
  color: #2c4364;
}
body.premium-theme .nav-dropdown-item:hover .nav-dropdown-icon {
  background: #fff112;
}
body.premium-theme .page-h1 .line-plain {
  color: #fff;
}
body.premium-theme .page-h1 .line-badge,
body.premium-theme .readme-h2 .line-badge {
  background: #fff112;
  color: #0d0f14;
  box-shadow: 0 0 28px rgba(255, 241, 18, 0.2);
}
body.premium-theme .page-rule-line,
body.premium-theme .readme-rule-line {
  background: linear-gradient(
    90deg,
    rgba(212, 160, 23, 0.85),
    rgba(212, 160, 23, 0.08)
  );
}
body.premium-theme .page-rule-line.rev,
body.premium-theme .readme-rule-line.rev {
  background: linear-gradient(
    90deg,
    rgba(212, 160, 23, 0.08),
    rgba(212, 160, 23, 0.85)
  );
}
body.premium-theme .readme-panel,
body.premium-theme .stepper,
body.premium-theme .form-card,
body.premium-theme .payment-card,
body.premium-theme .faq-card,
body.premium-theme .thankyou-card {
  background: linear-gradient(160deg, #151820 0%, #101218 100%);
  border-color: rgba(212, 160, 23, 0.25);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.36);
}
body.premium-theme .readme-q,
body.premium-theme .form-title,
body.premium-theme .payment-title,
body.premium-theme .faq-title,
body.premium-theme label,
body.premium-theme .ty-title,
body.premium-theme .step-label {
  color: #fff;
}
body.premium-theme .readme-a,
body.premium-theme .form-sub,
body.premium-theme .payment-sub,
body.premium-theme .payment-note,
body.premium-theme .faq-a,
body.premium-theme .ty-sub {
  color: rgba(255, 255, 255, 0.62);
}
body.premium-theme input,
body.premium-theme select {
  background: #0d0f14;
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
body.premium-theme input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
body.premium-theme input:focus,
body.premium-theme select:focus {
  border-color: rgba(255, 241, 18, 0.65);
  box-shadow: 0 0 0 4px rgba(255, 241, 18, 0.08);
}
body.premium-theme .btn-primary {
  background: #fff112;
  color: #0d0f14;
  box-shadow: 0 10px 30px rgba(255, 241, 18, 0.18);
}
body.premium-theme .btn-primary:hover {
  background: #fff86a;
  box-shadow: 0 14px 36px rgba(255, 241, 18, 0.25);
}
body.premium-theme .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
body.premium-theme .step-item.active .step-circle {
  background: #fff112;
  border-color: #fff112;
  color: #0d0f14;
  box-shadow: 0 0 0 4px rgba(255, 241, 18, 0.16);
}
body.premium-theme .step-item.done .step-circle {
  background: #d4a017;
  border-color: #d4a017;
  color: #0d0f14;
}
body.premium-theme .step-item.done:not(:last-child)::after {
  background: #d4a017;
}
body.premium-theme .payment-total {
  background: rgba(255, 241, 18, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.22);
  border-radius: 1rem;
  padding: 1rem;
}
body.premium-theme .payment-total strong {
  color: #fff112;
}
body.premium-theme .coupon-row {
  border-color: rgba(212, 160, 23, 0.18);
}
.premium-welcome-inline,
.premium-final-message {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(160deg, #0d0f14 0%, #171a21 100%);
  color: #fff;
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: var(--r-xl);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.premium-welcome-inline::before,
.premium-final-message::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4a017 30%,
    #fff112 50%,
    #d4a017 70%,
    transparent
  );
}
.premium-welcome-kicker,
.premium-final-kicker {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f5c842;
}
.premium-welcome-title,
.premium-final-title {
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
}
.premium-welcome-text,
.premium-final-message p {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}
.premium-welcome-list {
  list-style: none;
  margin-top: 0.8rem;
  display: grid;
  gap: 0.45rem;
}
.premium-welcome-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}
.premium-welcome-list svg {
  color: #fff112;
  flex-shrink: 0;
}

/* Ajustes de contraste do tema premium */
body.premium-theme .step-item:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.16);
}
body.premium-theme .step-circle {
  background: #232832;
  border-color: rgba(212, 160, 23, 0.55);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) inset;
}
body.premium-theme .step-label {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}
body.premium-theme .step-item.active .step-label {
  color: #fff112;
}
body.premium-theme .step-item.done .step-label {
  color: #f5c842;
}
body.premium-theme .ty-success-ring {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.55);
  color: #34d399;
  box-shadow: 0 0 34px rgba(52, 211, 153, 0.16);
}
body.premium-theme .ty-tag {
  background: #fff112;
  color: #0d0f14;
  box-shadow: 0 10px 28px rgba(255, 241, 18, 0.18);
}
body.premium-theme .btn-platform {
  background: #fff112;
  color: #0d0f14;
  box-shadow: 0 12px 34px rgba(255, 241, 18, 0.22);
}
body.premium-theme .btn-platform:hover {
  background: #fff86a;
  box-shadow: 0 16px 42px rgba(255, 241, 18, 0.3);
}
body.premium-theme .btn-wpp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.18);
}
body.premium-theme .ty-actions {
  margin-bottom: 0;
}
