:root {
  --bg: #FAF6EE;
  --surface: #FFFFFF;
  --primary: #1E4D3B;
  --primary-cta: #156143;
  --accent: #C87D28;
  --text: #1F2933;
  --muted: #4B5563;
  --border: #E2DACB;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
}

.top-marquee {
  height: 36px;
  width: 100%;
  max-width: 100%;
  background: var(--primary);
  color: #FAF6EE;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: chk-scroll 24s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  white-space: nowrap;
}

.marquee-group .dot { color: #F5B971; }

@keyframes chk-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 14px 36px;
}

.banner-box {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  background: var(--surface);
}

.banner-box img { width: 100%; height: auto; display: block; }

.product-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}

.prod-thumb {
  width: 52px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.prod-info { flex: 1; min-width: 0; }
.prod-info strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--primary);
}
.prod-info span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.prod-price { font-size: 19px; font-weight: 800; color: var(--text); white-space: nowrap; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 26px rgba(30, 77, 59, 0.06);
}

.form-section {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #EFE9DC;
}

.form-section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }

.sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.step-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sec-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.field { margin-bottom: 12px; }
.field:last-child { margin-bottom: 0; }

.field label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1.5px solid #D5CCB9;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: #FFFEFC;
}

.field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 77, 59, 0.14);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.method-tab {
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1.5px solid #D5CCB9;
  background: #FAF6EE;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.method-tab.is-active {
  border-color: var(--primary);
  background: #E8F1ED;
  color: var(--primary);
}

.pix-notice {
  background: #ECFDF5;
  border: 1px solid #B7E4CC;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14.5px;
  color: #14532D;
}

.card-fields {
  background: #FAF6EE;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.bumps-list { display: flex; flex-direction: column; gap: 10px; }

.bump-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px dashed #C87D28;
  background: #FFFDF8;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
}

.bump-card.is-selected {
  border-style: solid;
  border-color: var(--primary);
  background: #F0F7F4;
}

.bump-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.bump-thumb {
  width: 52px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.bump-body strong { display: block; font-size: 15.5px; color: var(--text); margin-bottom: 3px; }
.bump-body p { font-size: 14px; color: var(--muted); margin: 0 0 5px 0; line-height: 1.4; }
.bump-price { display: inline-block; font-size: 14.5px; font-weight: 800; color: var(--primary); }

.summary-box {
  background: #FAF6EE;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #DFD7C8;
  padding-top: 8px;
  margin-top: 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
}

.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14.5px;
  margin-bottom: 12px;
}

.submit-btn {
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 999px;
  background: var(--primary-cta);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(21, 97, 67, 0.25);
}

.submit-btn:disabled { opacity: 0.7; cursor: wait; }

.legal-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin: 10px 0 0 0;
}

.pix-panel, .success-panel { text-align: center; }
.pix-panel h2, .success-panel h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  color: var(--primary);
  margin: 0 0 8px 0;
}

.qr-wrap img {
  width: 220px;
  height: 220px;
  margin: 12px auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  background: #FFFFFF;
}

.copy-row {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.copy-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}

.copy-row button {
  height: 44px;
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
}

.pix-status { font-size: 15px; font-weight: 600; color: var(--primary); }

.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
