:root {
  --primary: #0026ff;
  --accent: #e53935;
  --dark: #2b3038;
  --gray: #6b7280;
  --light: #f5f6f8;
  --secondary: #eef1ff;
  --border: #e5e7eb;
  --shadow: 0 8px 30px -8px rgba(0,38,255,.15);
  --shadow-lg: 0 12px 40px -10px rgba(0,38,255,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--dark);
  background: #fff;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; }

.site-header {
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  font-family: Sora, sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -1px;
}

.logo-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo-bars span {
  width: 20px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
  display: block;
}

.header-icons {
  display: flex;
  gap: 10px;
}

.header-icons button {
  width: 34px;
  height: 34px;
  background: transparent;
  color: white;
  display: grid;
  place-items: center;
}

.header-icons svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 44px 20px 0;
  overflow: hidden;
}

.hero h1 {
  font-family: Sora, sans-serif;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.05;
  margin: 0 auto 14px;
  max-width: 720px;
}

.hero p {
  margin: 0 auto 24px;
  font-size: 17px;
  max-width: 520px;
  opacity: .94;
}

.hero-img {
  width: 100%;
  max-width: 680px;
  display: block;
  margin: 20px auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 20px;
  padding: 16px 22px;
  font-weight: 800;
  transition: transform .18s ease, opacity .18s ease;
}

.btn:hover { transform: scale(1.02); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--primary);
  color: white;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.section {
  padding: 44px 18px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: -4px;
}

.card {
  background: white;
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229,231,235,.7);
}

.benefit {
  text-align: center;
}

.icon-circle {
  width: 52px;
  height: 52px;
  background: var(--secondary);
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--primary);
}

.icon-circle svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.card h2, .card h3, .pre h2, .page-title {
  font-family: Sora, sans-serif;
}

.pre-wrap {
  background: rgba(238,241,255,.55);
}

.pre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.pre img {
  width: 190px;
  max-width: 70%;
}

.pre h2 {
  color: var(--primary);
  font-size: 34px;
  margin: 0 0 10px;
}

.pre p {
  color: var(--gray);
  margin: 0 0 18px;
  font-size: 17px;
}

.site-footer {
  background: var(--primary);
  color: white;
  padding: 36px 18px 22px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-grid p {
  opacity: .86;
  line-height: 1.5;
}

.footer-grid h3 {
  font-family: Sora, sans-serif;
  margin: 0 0 12px;
}

.footer-grid a {
  display: block;
  opacity: .9;
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  max-width: 1080px;
  margin: 28px auto 0;
  padding-top: 18px;
  font-size: 13px;
  opacity: .86;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 18px 52px;
}

.page-title {
  text-align: center;
  font-size: 32px;
  margin: 0 0 12px;
}

.muted {
  color: var(--gray);
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 18px 0 26px;
  color: var(--gray);
  font-weight: 700;
}

.steps .active {
  color: var(--primary);
}

.form-card {
  border-radius: 30px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: white;
}

.input {
  width: 100%;
  background: var(--light);
  border: 0;
  border-radius: 20px;
  padding: 17px 18px;
  font-size: 19px;
  outline: none;
  margin: 12px 0 10px;
}

.input:focus {
  box-shadow: 0 0 0 3px rgba(0,38,255,.2);
}

.error {
  color: #dc2626;
  font-size: 14px;
  min-height: 22px;
}

.back {
  color: var(--primary);
  background: transparent;
  font-weight: 800;
  margin-bottom: 12px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.plan {
  border: 2px solid var(--border);
  border-radius: 22px;
  background: white;
  padding: 14px 8px;
  text-align: center;
  color: var(--dark);
  position: relative;
}

.plan strong {
  display: block;
  color: var(--primary);
  font-family: Sora, sans-serif;
  font-size: 23px;
}

.plan span {
  color: var(--gray);
  font-size: 13px;
}

.plan.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.plan.selected strong, .plan.selected span {
  color: white;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 0;
}

.modal {
  background: white;
  border-radius: 30px 30px 0 0;
  width: 100%;
  max-width: 520px;
  padding: 22px;
  animation: slide .2s ease;
  max-height: 92vh;
  overflow: auto;
}

@keyframes slide {
  from { transform: translateY(30px); opacity: .7; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h2 {
  margin: 0;
  font-family: Sora, sans-serif;
}

.close {
  background: var(--light);
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-size: 22px;
}

.price {
  font-family: Sora, sans-serif;
  color: var(--primary);
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin: 14px 0;
}

.qr {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  border: 2px solid var(--border);
  display: block;
  margin: 0 auto 18px;
}

.instructions {
  color: var(--gray);
  line-height: 1.8;
  padding-left: 22px;
}

.pix-code {
  border: 2px dashed rgba(0,38,255,.28);
  border-radius: 20px;
  padding: 14px;
  font-family: monospace;
  font-size: 12px;
  word-break: break-all;
  background: rgba(238,241,255,.45);
  margin: 14px 0;
}

.expire {
  text-align: center;
  color: var(--gray);
  font-size: 14px;
}

.legal h2 {
  font-family: Sora, sans-serif;
  margin-top: 28px;
}

.legal p, .legal li {
  color: var(--gray);
  line-height: 1.7;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: #111827;
  color: white;
  padding: 13px 16px;
  border-radius: 14px;
  z-index: 200;
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

.hidden { display: none !important; }

.loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

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

@media (min-width: 760px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .pre { flex-direction: row; justify-content: center; text-align: left; }
  .pre img { width: 260px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .plans { grid-template-columns: repeat(4, 1fr); }
  .modal-overlay { align-items: center; padding: 20px; }
  .modal { border-radius: 30px; }
}
