/* Checkout Arena — alinhado à landing (DM Sans, bandas, verde Upya) */
body.checkout {
  margin: 0;
  min-height: 100vh;
  font-family: var(--l-font, "DM Sans", system-ui, sans-serif);
  background: #050505;
  color: #f5f5f5;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  --text-muted: #a3a3a3;
  --cta-ghost-border: rgba(255, 255, 255, 0.28);
  --cta-ghost-color: #fff;
  --cta-ghost-hover: rgba(255, 255, 255, 0.08);
}

body.checkout .reveal {
  opacity: 1;
  transform: none;
}

body.checkout button.landing-cta {
  cursor: pointer;
  font: inherit;
  width: 100%;
}

.checkout-stage {
  position: relative;
  min-height: calc(100vh - 4.5rem);
  padding: clamp(1.5rem, 4vw, 3rem) var(--l-pad-x, 1.25rem) 3rem;
  overflow: hidden;
}

.checkout-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(154, 205, 50, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(122, 171, 26, 0.16), transparent 50%),
    linear-gradient(165deg, #050505 0%, #0c1208 45%, #050505 100%);
  pointer-events: none;
  z-index: 0;
}

.checkout-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.checkout-wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 860px) {
  .checkout-wrap {
    grid-template-columns: 1fr;
  }
}

.checkout-pitch {
  padding-top: 0.5rem;
}

.checkout-pitch .landing-eyebrow {
  margin-bottom: 0.75rem;
}

.checkout-pitch-brand {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: #fff;
}

.checkout-pitch h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #f5f5f5;
  letter-spacing: -0.02em;
}

.checkout-pitch-lead {
  color: #a3a3a3;
  margin: 0 0 1.5rem;
  max-width: 36ch;
  font-size: 1.05rem;
}

.checkout-price-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.checkout-price-block strong {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--l-green-bright, #b8e04a);
  letter-spacing: -0.02em;
}

.checkout-price-block span {
  color: #a3a3a3;
  font-size: 0.95rem;
}

.checkout-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checkout-bullets li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: #d4d4d4;
  font-size: 0.95rem;
}

.checkout-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--l-green, #9acd32);
  box-shadow: 0 0 12px var(--l-green-glow, rgba(154, 205, 50, 0.35));
}

.checkout-panel {
  background: rgba(22, 22, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(154, 205, 50, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.45);
  animation: checkout-rise 0.55s ease-out both;
}

@keyframes checkout-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-panel { animation: none; }
}

.checkout-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.checkout-panel-sub {
  margin: 0 0 1.25rem;
  color: #a3a3a3;
  font-size: 0.92rem;
}

.checkout-form .form-row {
  margin: 0 0 0.9rem;
}

.checkout-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d4d4d4;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="password"],
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
  color: #f5f5f5;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: rgba(154, 205, 50, 0.55);
  box-shadow: 0 0 0 3px rgba(154, 205, 50, 0.15);
}

.checkout-form .check-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #c4c4c4;
}

.checkout-form .check-row input {
  margin-top: 0.2rem;
}

.checkout-form .check-row a {
  color: var(--l-green-bright, #b8e04a);
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  margin: 0.5rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-total span { color: #a3a3a3; font-size: 0.9rem; }
.checkout-total strong {
  font-size: 1.35rem;
  color: var(--l-green-bright, #b8e04a);
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkout-actions .landing-cta {
  flex: 1;
  text-align: center;
  min-width: 10rem;
}

.checkout-actions .landing-cta:disabled,
.checkout-form button[type="submit"]:disabled,
.checkout-form button[type="submit"].is-disabled {
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  background: #2a2a2a !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #737373 !important;
  box-shadow: none !important;
  filter: none;
}

.checkout-legal-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: #a3a3a3;
  line-height: 1.4;
}

.checkout-legal-hint[hidden] {
  display: none;
}

.checkout-flash {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.checkout-flash--err {
  background: rgba(185, 28, 28, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.checkout-flash--ok {
  background: rgba(154, 205, 50, 0.12);
  border: 1px solid rgba(154, 205, 50, 0.35);
  color: #d9f99d;
}

.checkout-pix-box textarea {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  resize: vertical;
  min-height: 5.5rem;
}

.checkout-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  background: linear-gradient(145deg, var(--l-green-bright, #b8e04a), var(--l-green-deep, #7aab1a));
  color: #0a0a0a;
  font-size: 1.5rem;
  font-weight: 800;
  animation: checkout-pop 0.5s ease-out both;
}

@keyframes checkout-pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.checkout-center {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.checkout-center .checkout-panel-sub { margin-bottom: 1.5rem; }

.checkout-top-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #a3a3a3;
}

.checkout-top-back:hover { color: var(--l-green-bright, #b8e04a); text-decoration: none; }

/* Header checkout: reusa landing-top, força sticky simples */
body.checkout .landing-top {
  position: sticky;
  top: 0;
  z-index: 20;
}

/* Páginas legais */
.checkout-wrap--legal {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.checkout-legal-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.checkout-legal-head .checkout-pitch-brand {
  margin-bottom: 0.35rem;
}

.checkout-legal-head h1 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: #f5f5f5;
  letter-spacing: -0.02em;
}

.checkout-legal-head .checkout-pitch-lead {
  max-width: none;
  margin-bottom: 1rem;
}

.checkout-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
}

.checkout-legal-nav a {
  color: #a3a3a3;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.checkout-legal-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

.checkout-legal-nav a[aria-current="page"] {
  color: #0a0a0a;
  background: var(--l-green, #9acd32);
  border-color: transparent;
}

.checkout-bullets a {
  color: #d4d4d4;
  text-decoration: none;
}
.checkout-bullets a:hover,
.checkout-bullets a[aria-current="page"] {
  color: var(--l-green-bright, #b8e04a);
  text-decoration: underline;
}
.checkout-legal-body {
  color: #d4d4d4;
  font-size: 0.98rem;
  line-height: 1.65;
}
.checkout-legal-body p { margin: 0 0 1rem; }
.checkout-legal-body strong { color: #fff; }
.checkout-legal-body a { color: var(--l-green-bright, #b8e04a); }
.checkout-legal-body h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.checkout-legal-body h3:first-of-type { margin-top: 0.75rem; }
.checkout-legal-meta {
  margin: 0 0 1.25rem;
  color: #a3a3a3;
  font-size: 0.88rem;
}
.checkout-legal-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}
.checkout-legal-body li { color: #c4c4c4; }
.checkout-legal-note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #a3a3a3;
  font-size: 0.88rem;
}
.checkout-contact-help {
  margin: 1.1rem 0 0;
  font-size: 0.88rem;
  color: #a3a3a3;
  text-align: center;
  line-height: 1.45;
}
.checkout-contact-help a {
  color: var(--l-green-bright, #b8e04a);
}
