/* ===== KWIK — Design System ===== */
:root {
  /* Core brand palette */
  --brand: #1a1a2e;
  --brand-foreground: #fffbe6;
  --brand-red: #e63946;
  --brand-orange: #f59e0b;   /* deeper amber */
  --brand-green: #2ec4b6;

  /* Surfaces */
  --background: #f7f5f0;
  --card: #ffffff;
  --secondary: #f0ede6;
  --accent: #f59e0b;         /* deep amber yellow — matches site */
  --accent-foreground: #1a1a2e;
  --muted: #e8e5de;

  /* Text */
  --foreground: #1a1a2e;
  --muted-foreground: #8a8680;

  /* Misc */
  --border: #e0ddd6;
  --input: #d5d2cc;
  --destructive: #e63946;
  --ring: #f59e0b;
  --radius: 12px;
  --success-surface: #dcfce7;
  --success-ink: #166534;

  /* Fonts */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  font-family: var(--font-display);
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--background);
  color: var(--foreground);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
input { background: none; border: none; outline: none; }
ol, ul { list-style: none; }

/* ===== App container (mobile-first, max-width 28rem) ===== */
#app {
  max-width: 28rem;
  margin: 0 auto;
  min-height: 100vh;
}

/* ===== Utility classes ===== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.select-none { user-select: none; -webkit-user-select: none; }
.overflow-hidden { overflow: hidden; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ===== KWIK Logo ===== */
.kwik-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
  user-select: none;
}

.kwik-logo__word {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: var(--brand);
  transform: skewX(-8deg);
}

.kwik-logo__word--sm { font-size: 1.5rem; }
.kwik-logo__word--md { font-size: 2.25rem; }
.kwik-logo__word--lg { font-size: 3.75rem; }

.kwik-logo__i {
  position: relative;
  display: inline-block;
}

.kwik-logo__tri {
  position: absolute;
  right: 0;
  top: 0;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.kwik-logo__tri--sm { width: 0.375rem; height: 0.375rem; }
.kwik-logo__tri--md { width: 0.5rem; height: 0.5rem; }
.kwik-logo__tri--lg { width: 0.75rem; height: 0.75rem; }

.kwik-logo__sub {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: -0.025em;
  color: var(--brand-red);
}

.kwik-logo__sub--sm { font-size: 0.5rem; }
.kwik-logo__sub--md { font-size: 0.65rem; }
.kwik-logo__sub--lg { font-size: 0.95rem; }

/* ===== Header curved ===== */
.header-curved {
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 45%;
  border-bottom-right-radius: 45%;
  background: var(--card);
  padding: 1.5rem 1.5rem 2.5rem;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1);
}

/* ===== Header bar (app pages) ===== */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
}

.balance-badge {
  border-radius: 0.75rem;
  border: 2px solid var(--accent);
  padding: 0.25rem 0.75rem;
  text-align: right;
  background: rgba(245,158,11,0.08);
}

.balance-badge__label {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.balance-badge__value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
}

/* ===== Menu icon ===== */
.menu-btn {
  margin-top: 0.25rem;
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-btn svg {
  width: 2rem;
  height: 2rem;
  color: var(--brand);
}

/* ===== Typography ===== */
.heading-welcome {
  margin-top: 3rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}

.subtitle-welcome {
  margin: 1rem auto 0;
  max-width: 20rem;
  text-align: center;
  font-size: 1rem;
  color: var(--brand);
}

.heading-page {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--brand);
}

.subtitle-page {
  margin-top: 0.25rem;
  text-align: center;
  font-size: 1rem;
  color: var(--muted-foreground);
}

/* ===== Divider bar ===== */
.divider-bar {
  margin: 1rem auto 0;
  height: 0.25rem;
  width: 3.5rem;
  border-radius: 9999px;
  background: var(--brand-orange);
}

/* ===== Step cards (homepage) ===== */
.step-cards {
  margin-top: 3rem;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-card {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: transform 0.15s;
}

.step-card:active { transform: scale(0.99); }

.step-card--active {
  background: #fef3c7;
  border: 2px solid var(--accent);
}

.step-card--disabled {
  background: var(--secondary);
}

.step-circle {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.step-circle--active {
  border-color: var(--brand);
  color: var(--brand);
}

.step-circle--disabled {
  border-color: rgba(138,134,128,0.5);
  color: rgba(138,134,128,0.6);
}

.step-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.step-title--active { color: var(--brand); }
.step-title--disabled { color: rgba(138,134,128,0.7); }

.step-desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.375;
}

.step-desc--active { color: var(--brand); }
.step-desc--disabled { color: rgba(138,134,128,0.6); }

.step-chevron {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand);
}

/* ===== Stepper (cadastro) ===== */
.stepper {
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.stepper__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.stepper__track {
  display: flex;
  width: 100%;
  align-items: center;
}

.stepper__line {
  height: 1px;
  flex: 1;
}

.stepper__line--border { background: var(--border); }
.stepper__line--transparent { background: transparent; }

.stepper__dot {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.stepper__dot--active {
  background: var(--accent);
  color: #1a1a2e;
  font-weight: 900;
}

.stepper__dot--inactive {
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

.stepper__label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.stepper__label--active { color: var(--accent); font-weight: 800; }
.stepper__label--inactive { color: var(--muted-foreground); }

/* ===== Form elements ===== */
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
}

.form-input-wrap {
  position: relative;
  margin-top: 0.5rem;
}

.form-input-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
}

.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--input);
  background: var(--card);
  padding: 1rem 3rem 1rem 3rem;
  font-size: 1rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s;
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus {
  border-color: var(--brand-orange);
}

/* Phone input */
.phone-wrap {
  margin-top: 0.5rem;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--input);
  background: var(--card);
}

.phone-prefix {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-right: 1px solid var(--input);
  background: var(--secondary);
  padding: 0 0.75rem;
}

.phone-prefix__flag { font-size: 1.125rem; }
.phone-prefix__code { font-size: 1rem; font-weight: 600; color: var(--foreground); }

.phone-prefix__chevron {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
}

.phone-prefix select {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.phone-input {
  flex: 1;
  background: var(--card);
  padding: 1rem;
  font-size: 1rem;
  color: var(--foreground);
  outline: none;
  border: none;
}

.phone-input::placeholder {
  color: var(--muted-foreground);
}

/* ===== Security notice ===== */
.security-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(244, 162, 97, 0.1);
  padding: 1rem;
}

.security-notice svg {
  margin-top: 0.125rem;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--brand-orange);
}

.security-notice__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
}

.security-notice__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== Buttons ===== */
.btn-primary {
  width: 100%;
  border-radius: 0.75rem;
  background: var(--accent);
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  transition: transform 0.1s, filter 0.15s;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(245,158,11,0.35);
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-primary:active { transform: scale(0.99); }

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background 0.15s;
  cursor: pointer;
}

.btn-ghost:hover { background: var(--accent); }

.btn-ghost svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-validate {
  margin-top: 1rem;
  width: 100%;
  border-radius: 0.75rem;
  background: var(--accent);
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  transition: transform 0.1s, filter 0.15s;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(245,158,11,0.35);
}

.btn-validate:active { transform: scale(0.99); }
.btn-validate:hover { filter: brightness(1.08); }

/* ===== Back button ===== */
.back-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  color: var(--brand);
  background: none;
  border: none;
  cursor: pointer;
}

.back-btn svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* ===== Error message ===== */
.error-msg {
  border-radius: 0.75rem;
  background: rgba(230, 57, 70, 0.1);
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--destructive);
}

/* ===== Success modal (cadastro) ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,26,46,0.6);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  width: 100%;
  max-width: 24rem;
  border-radius: 1.5rem;
  background: var(--card);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon {
  margin: 0 auto;
  display: flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

.modal-icon--success {
  background: rgba(46,196,182,0.15);
}

.modal-icon--success svg {
  width: 2rem;
  height: 2rem;
  color: var(--brand-green);
}

.modal-icon--party {
  background: rgba(255,251,230,0.2);
}

.modal-icon--party svg {
  width: 2rem;
  height: 2rem;
  color: var(--brand-foreground);
}

.modal-title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand);
}

.modal-text {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.modal-text-sm {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modal-text-orange {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-orange);
}

.modal-progress-track {
  margin: 1.5rem auto 0;
  height: 0.375rem;
  width: 8rem;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--secondary);
}

.modal-progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: var(--brand-orange);
  animation: shrinkBar 6s linear forwards;
}

@keyframes shrinkBar {
  from { width: 100%; }
  to { width: 0%; }
}

/* ===== Prize modal (app) ===== */
.prize-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  padding: 1rem;
}

.prize-modal {
  position: relative;
  width: 100%;
  max-width: 24rem;
  border-radius: 1.5rem;
  background: var(--brand);
  padding: 2rem;
  text-align: center;
  color: var(--brand-foreground);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  animation: modalIn 0.3s ease-out;
}

.prize-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: 9999px;
  padding: 0.25rem;
  opacity: 0.8;
  background: none;
  border: none;
  color: var(--brand-foreground);
  cursor: pointer;
}

.prize-close:hover { opacity: 1; }

.prize-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.prize-label {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.9;
}

.prize-heading {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 0.05em;
}

.prize-value {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.prize-continue {
  margin-top: 1.5rem;
  width: 100%;
  border-radius: 0.75rem;
  background: var(--accent);
  padding: 0.875rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  border: none;
  cursor: pointer;
  transition: transform 0.1s;
}

.prize-continue:active { transform: scale(0.99); }

/* ===== App page (coupon validation) ===== */
.app-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.app-status svg {
  width: 1.5rem;
  height: 1.5rem;
}

.app-status--green svg { color: var(--brand-green); }
.app-status--orange svg { color: var(--brand-orange); }

.app-status__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.coupon-image {
  margin: 1.25rem auto 0;
  width: 100%;
  max-width: 20rem;
  display: block;
}

.coupon-code-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.coupon-code-input {
  margin-top: 0.75rem;
  width: 100%;
  border-radius: 0.75rem;
  border: 2px solid;
  background: var(--card);
  padding: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  letter-spacing: 0.3em;
  outline: none;
  transition: border-color 0.2s, color 0.2s;
}

.coupon-code-input::placeholder {
  font-size: 0.875rem;
  letter-spacing: normal;
  font-family: var(--font-display);
}

.coupon-code-input--default {
  border-color: var(--input);
  color: var(--foreground);
}

.coupon-code-input--default:focus {
  border-color: var(--brand);
}

.coupon-code-input--valid {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.coupon-code-input--partial {
  border-color: var(--brand-green);
  color: var(--foreground);
}

.coupon-code-input--invalid {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.app-feedback {
  margin-top: 1rem;
  border-radius: 0.75rem;
  background: var(--card);
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}

/* ===== Final balance card ===== */
.final-card {
  margin-top: 1.25rem;
  border-radius: 1rem;
  background: var(--brand);
  padding: 1.5rem;
  text-align: center;
  color: var(--brand-foreground);
}

.final-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.final-card__value {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
}

.final-card__desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.final-card__btn {
  margin-top: 1.25rem;
  height: auto;
  width: 100%;
  border-radius: 0.75rem;
  background: var(--accent);
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  border: none;
  cursor: pointer;
  transition: transform 0.1s;
}

.final-card__btn:active { transform: scale(0.99); }

/* ===== Saque page ===== */
.method-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  white-space: normal;
  border-radius: 0.75rem;
  border: 2px solid;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  background: none;
}

.method-btn--active {
  border-color: var(--accent);
  background: rgba(245,158,11,0.12);
  color: var(--brand);
}

.method-btn--inactive {
  border-color: var(--border);
  background: var(--card);
  color: var(--muted-foreground);
}

.method-btn img {
  height: 2.5rem;
  width: 3.5rem;
  border-radius: 0.375rem;
  object-fit: cover;
}

.method-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ===== Levantamento (loading spinner) ===== */
.loading-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--background);
  padding: 2rem;
  text-align: center;
}

.spinner-wrap {
  position: relative;
  width: 4rem;
  height: 4rem;
}

.spinner-outer {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  border: 4px solid var(--brand-orange);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

.spinner-inner {
  position: absolute;
  inset: 0.5rem;
  border-radius: 9999px;
  border: 4px solid var(--brand);
  border-top-color: transparent;
  animation: spin 1.4s linear infinite reverse;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loading-title {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand);
}

.loading-subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

/* ===== Page padding ===== */
.page-padded {
  padding: 1.5rem;
  padding-bottom: 2.5rem;
}

.page-main {
  background: var(--background);
  min-height: 100vh;
  padding-bottom: 2.5rem;
}

/* ===== Space ===== */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.35s ease-out;
}

/* ===== Coupon image & step dots ===== */
.coupon-img {
  display: block;
  margin: 1rem auto 0;
  width: 100%;
  max-width: 20rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.coupon-fallback {
  margin: 1rem auto 0;
  width: 100%;
  max-width: 20rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand) 0%, #2d2d5e 100%);
  padding: 1.5rem;
  text-align: center;
  color: var(--brand-foreground);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.coupon-fallback__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coupon-fallback__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.coupon-fallback__brand {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.coupon-fallback__code {
  margin: 1rem auto;
  background: rgba(255,255,255,0.15);
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  font-weight: 700;
}

.coupon-fallback__value {
  font-size: 0.875rem;
  opacity: 0.85;
}

.coupon-fallback__value strong {
  color: var(--accent);
  font-size: 1rem;
}

.step-dots {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.step-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.2s;
}

.step-dot--done    { background: var(--brand-green); }
.step-dot--current { background: var(--accent); transform: scale(1.3); }
.step-dot--pending { background: var(--muted); }

.coupon-step-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

/* ===== Saque Sucesso Page ===== */
.sucesso-page {
  min-height: 100vh;
  background: var(--success-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.sucesso-check {
  display: flex;
  width: 9rem;
  height: 9rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--brand);
  box-shadow: 0 12px 32px rgba(26,26,46,0.25);
}

.sucesso-check svg {
  width: 5rem;
  height: 5rem;
  color: var(--brand-foreground);
}

.sucesso-title {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
}

.sucesso-text {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--success-ink);
  max-width: 22rem;
}

.sucesso-text strong {
  font-weight: 900;
}

.sucesso-subtext {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--success-ink);
  max-width: 22rem;
}

.sucesso-btn {
  margin-top: 2.5rem;
  display: flex;
  width: 100%;
  max-width: 22rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 9999px;
  background: var(--brand);
  padding: 1rem 1.75rem 1rem 1rem;
  color: var(--brand-foreground);
  border: none;
  cursor: pointer;
  transition: transform 0.1s, filter 0.15s;
  box-shadow: 0 6px 20px rgba(26,26,46,0.22);
}

.sucesso-btn:active { transform: scale(0.99); }
.sucesso-btn:hover  { filter: brightness(1.12); }

.sucesso-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.sucesso-btn__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sucesso-btn__play {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--brand-foreground);
  color: var(--brand);
}

.sucesso-btn__play svg {
  width: 1rem;
  height: 1rem;
  fill: var(--brand);
  color: var(--brand);
}

.sucesso-btn__label {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
}

/* ===== VSL / Video Page ===== */
.vsl-page {
  min-height: 100vh;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem 3rem;
  max-width: 28rem;
  margin: 0 auto;
}

.vsl-title {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.vsl-subtitle {
  max-width: 20rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--muted-foreground);
  margin: 0.5rem auto 1.25rem;
}

.vsl-video-wrap {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.vsl-cta-btn {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  max-width: 22rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 9999px;
  background: var(--brand);
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--brand-foreground);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s, filter 0.15s;
  box-shadow: 0 6px 20px rgba(26,26,46,0.22);
}

.vsl-cta-btn:active { transform: scale(0.99); }
.vsl-cta-btn:hover  { filter: brightness(1.12); }

.vsl-cta-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

#vsl-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  animation: fadeIn 0.5s ease-out;
}

/* ===== Desconto / Discount Page ===== */
.desconto-page {
  min-height: 100vh;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 3rem;
  max-width: 28rem;
  margin: 0 auto;
}

.desconto-header {
  margin-bottom: 2rem;
}

.desconto-card {
  width: 100%;
  border-radius: 1.5rem;
  background: var(--brand);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--brand-foreground);
  box-shadow: 0 12px 32px rgba(26,26,46,0.2);
}

.desconto-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,251,230,0.15);
  margin: 0 auto 1rem;
}

.desconto-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

.desconto-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.desconto-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.desconto-divider {
  height: 1px;
  width: 4rem;
  margin: 1.25rem auto;
  background: rgba(255,255,255,0.15);
}

.desconto-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 20rem;
  margin: 0 auto;
}

.desconto-text-sm {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.65;
  margin-top: 0.75rem;
}

.desconto-btn {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: var(--accent);
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  text-decoration: none;
  transition: transform 0.1s, filter 0.15s;
  box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}

.desconto-btn:active { transform: scale(0.99); }
.desconto-btn:hover  { filter: brightness(1.08); }

.desconto-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.desconto-footer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-align: center;
}

/* ===== Bak / Oferta Especial Page ===== */
.bak-page {
  min-height: 100vh;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
}

.bak-heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1.75rem;
}

.bak-heading__orange {
  color: var(--accent);
}

.bak-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 11rem;
  height: 11rem;
  border-radius: 9999px;
  border: 4px solid var(--accent);
  background: rgba(245,158,11,0.1);
  margin-bottom: 1.75rem;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
  50%       { box-shadow: 0 0 0 16px rgba(245,158,11,0); }
}

.bak-percent {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.bak-percent-label {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted-foreground);
}

.bak-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.bak-orange {
  color: var(--accent);
}

.bak-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 22rem;
}

.bak-coupon-box {
  width: 100%;
  border-radius: 1rem;
  border: 2px dashed var(--accent);
  background: rgba(245,158,11,0.08);
  padding: 1.5rem 1rem;
  margin-bottom: 2rem;
}

.bak-coupon-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.bak-coupon-code {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  animation: pulse-ring 2s ease-in-out infinite;
}

.bak-coupon-valid {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.bak-cta-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--accent);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  color: var(--brand);
  text-decoration: none;
  transition: transform 0.1s, filter 0.15s;
  box-shadow: 0 6px 20px rgba(245,158,11,0.4);
  letter-spacing: 0.01em;
}

.bak-cta-btn:active { transform: scale(0.99); }
.bak-cta-btn:hover  { filter: brightness(1.08); }
