:root {
  --purple-950: #27133f;
  --purple-900: #351451;
  --purple-800: #51206d;
  --purple-700: #6d28d9;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-100: #ede9fe;
  --purple-50: #f7f3ff;
  --ink: #17131c;
  --muted: #6f6877;
  --line: #e8e2ed;
  --surface: #ffffff;
  --canvas: #f7f6f8;
  --success: #16835e;
  --success-soft: #e9f8f2;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(48, 22, 64, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

button, input, select { font: inherit; }
button { border: 0; }
a { color: inherit; }

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  position: fixed;
  z-index: -2;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(3px);
  content: "";
  opacity: .45;
  pointer-events: none;
}

.page-shell::before {
  top: -26vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(139, 92, 246, .25), rgba(139, 92, 246, 0) 68%);
}

.page-shell::after {
  right: -20vw;
  bottom: -25vw;
  background: radial-gradient(circle, rgba(109, 40, 217, .18), rgba(109, 40, 217, 0) 68%);
}

.line-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 40, 217, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 40, 217, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--purple-950);
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--purple-600), var(--purple-900));
  box-shadow: 0 8px 24px rgba(109, 40, 217, .25);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.topbar {
  display: flex;
  width: min(1160px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.topbar-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.eyebrow {
  display: inline-flex;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border: 1px solid rgba(109, 40, 217, .16);
  border-radius: 999px;
  background: rgba(247, 243, 255, .85);
  color: var(--purple-800);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  box-shadow: 0 14px 30px rgba(109, 40, 217, .22);
  color: #fff;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--purple-800);
}

.primary-button:hover,
.secondary-button:hover { transform: translateY(-1px); }
.primary-button:focus-visible,
.secondary-button:focus-visible,
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(139, 92, 246, .32);
  outline-offset: 3px;
}
.primary-button:disabled { cursor: wait; opacity: .68; transform: none; }

.form-field { display: block; }
.form-field + .form-field { margin-top: 16px; }
.form-field label {
  display: block;
  margin: 0 0 8px;
  color: #322b39;
  font-size: 13px;
  font-weight: 750;
}
.form-field input {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid #dcd5e1;
  border-radius: 13px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 15px;
  transition: border .18s ease, box-shadow .18s ease;
}
.form-field input:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .09);
  outline: 0;
}
.form-field input[readonly] { background: #f4f1f6; color: #5e5764; }

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

.field-grid .form-field + .form-field { margin-top: 0; }
.field-grid .span-2 { grid-column: 1 / -1; }

.helper {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-error {
  display: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff1f0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}
.form-error.visible { display: block; }

.pressel-main {
  display: grid;
  min-height: calc(100vh - 84px);
  padding: 24px 20px 56px;
  place-items: center;
}

.pressel-card {
  width: min(460px, 100%);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(109, 40, 217, .13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(18px);
}

.pressel-card h1 {
  margin: 16px 0 10px;
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.pressel-card > p {
  max-width: 400px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.human-check {
  display: flex;
  width: 100%;
  min-height: 66px;
  margin-bottom: 14px;
  padding: 13px 15px;
  align-items: center;
  gap: 14px;
  border: 1px solid #ddd5e4;
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.human-check-box {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 2px solid #a49aa9;
  border-radius: 8px;
  background: #fff;
}

.human-check.checked .human-check-box {
  border-color: var(--purple-700);
  background: var(--purple-700);
}

.human-check.validating {
  cursor: wait;
}

.human-check.validating .human-check-box {
  border-color: var(--purple-100);
  border-top-color: var(--purple-700);
  border-radius: 50%;
  animation: spin .72s linear infinite;
}

.human-check.checked .human-check-box::after {
  position: absolute;
  top: 5px;
  left: 9px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.human-check-copy strong { display: block; font-size: 15px; }
.human-check-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.pressel-footnote {
  margin-top: 14px;
  color: #8b8490;
  font-size: 11px;
  line-height: 1.5;
}

.funnel-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 80px;
}

.progress-header {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  gap: 18px;
}

.progress-track {
  overflow: hidden;
  height: 7px;
  flex: 1;
  border-radius: 999px;
  background: #e6e0ea;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-800));
  transition: width .4s ease;
}

.progress-label {
  min-width: 92px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.step {
  display: none;
  animation: step-in .36s ease both;
}
.step.active { display: block; }

@keyframes step-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .78fr);
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
  min-height: calc(100vh - 220px);
}

.hero-copy h1,
.center-card h1,
.step-heading h1 {
  margin: 18px 0 16px;
  color: var(--ink);
  font-size: clamp(38px, 5.4vw, 72px);
  letter-spacing: -.062em;
  line-height: .98;
}

.hero-copy h1 em {
  color: var(--purple-700);
  font-style: normal;
}

.hero-copy > p,
.step-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.62;
}

.form-card,
.content-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(109, 40, 217, .12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.form-card h2 {
  margin: 0 0 8px;
  font-size: 23px;
  letter-spacing: -.035em;
}
.form-card > p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.form-card .primary-button { margin-top: 22px; }

.trust-section {
  margin-top: 72px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.trust-section h2 {
  margin: 0 0 18px;
  color: #6d6573;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.trust-seal {
  display: grid;
  min-height: 116px;
  padding: 18px;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.7);
}
.trust-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--purple-50);
}
.trust-icon::before {
  width: 15px;
  height: 17px;
  border: 2px solid var(--purple-700);
  border-radius: 6px 6px 8px 8px;
  content: "";
}
.trust-icon::after {
  position: absolute;
  top: 9px;
  width: 10px;
  height: 8px;
  border: 2px solid var(--purple-700);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}
.trust-seal strong { display: block; font-size: 14px; }
.trust-seal span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.center-wrap {
  display: grid;
  min-height: calc(100vh - 210px);
  place-items: center;
}

.center-card {
  width: min(650px, 100%);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(109, 40, 217, .12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  text-align: center;
}
.center-card h1 { font-size: clamp(36px, 5vw, 58px); }
.center-card p { color: var(--muted); line-height: 1.65; }
.center-card .primary-button { max-width: 360px; margin: 20px auto 0; }

.loader-orbit {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto 28px;
  border: 1px solid rgba(109, 40, 217, .15);
  border-radius: 50%;
}
.loader-orbit::before {
  position: absolute;
  inset: 12px;
  border: 4px solid var(--purple-100);
  border-top-color: var(--purple-700);
  border-radius: 50%;
  content: "";
  animation: spin .9s linear infinite;
}
.loader-orbit::after {
  position: absolute;
  inset: 38px;
  border-radius: 11px;
  background: var(--purple-700);
  box-shadow: 0 0 28px rgba(109, 40, 217, .35);
  content: "";
}
@keyframes spin { to { transform: rotate(360deg); } }

.analysis-progress {
  overflow: hidden;
  height: 9px;
  margin-top: 28px;
  border-radius: 999px;
  background: #e9e3ed;
}
.analysis-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-900));
}
.step.active .analysis-progress span { animation: analysis-fill 4s linear forwards; }
@keyframes analysis-fill { to { width: 100%; } }
.analysis-status { min-height: 20px; margin-top: 12px; color: var(--purple-800); font-size: 13px; font-weight: 750; }

.success-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--success-soft);
}
.success-icon::after {
  position: absolute;
  top: 19px;
  left: 29px;
  width: 15px;
  height: 28px;
  border: solid var(--success);
  border-width: 0 4px 4px 0;
  content: "";
  transform: rotate(45deg);
}
.legal-confirm {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.legal-confirm a { color: #1769d2; font-weight: 750; }

.step-heading {
  max-width: 780px;
  margin-bottom: 34px;
}
.step-heading h1 { font-size: clamp(38px, 5vw, 62px); }

.selection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .62fr);
  align-items: start;
  gap: 24px;
}

.choice-section + .choice-section { margin-top: 34px; }
.choice-section h2 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -.025em;
}
.choice-section > p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }

.model-list,
.storage-list,
.plan-list {
  display: grid;
  gap: 10px;
}

.choice-card,
.plan-card {
  display: grid;
  width: 100%;
  min-height: 74px;
  padding: 16px;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border .18s ease, box-shadow .18s ease, transform .18s ease;
}
.choice-card:hover,
.plan-card:hover { transform: translateY(-1px); }
.choice-card.selected,
.plan-card.selected {
  border-color: var(--purple-500);
  background: var(--purple-50);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, .09);
}
.choice-card.disabled { cursor: not-allowed; opacity: .42; transform: none; }
.choice-dot {
  width: 20px;
  height: 20px;
  border: 2px solid #b5abbc;
  border-radius: 50%;
}
.selected .choice-dot { border: 6px solid var(--purple-700); background: #fff; }
.choice-copy strong { display: block; font-size: 14px; }
.choice-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.choice-price { color: var(--purple-800); font-size: 13px; font-weight: 800; text-align: right; }

.device-note {
  margin: 22px 0 0;
  padding: 15px 16px;
  border-left: 3px solid var(--purple-500);
  border-radius: 0 12px 12px 0;
  background: var(--purple-50);
  color: #514758;
  font-size: 12px;
  line-height: 1.55;
}

.sticky-summary {
  position: sticky;
  top: 22px;
  padding: 24px;
  border: 1px solid rgba(109, 40, 217, .13);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.sticky-summary small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.monthly-value {
  margin: 8px 0 2px;
  color: var(--purple-900);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 850;
  letter-spacing: -.055em;
}
.monthly-value span { font-size: 14px; letter-spacing: 0; }
.summary-description { min-height: 42px; margin: 10px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.wide-card {
  max-width: 780px;
  margin: 0 auto;
}
.wide-card .primary-button { margin-top: 24px; }

.shipping-result {
  display: none;
  margin-top: 18px;
  padding: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #bee8d8;
  border-radius: 14px;
  background: var(--success-soft);
}
.shipping-result.visible { display: flex; }
.shipping-result strong { color: #0e6d4d; font-size: 14px; }
.shipping-result span { color: #2b735b; font-size: 12px; }

.summary-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.summary-sections .summary-full {
  grid-column: 1 / -1;
}
.data-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.data-panel h2 { margin: 0 0 12px; font-size: 14px; }
.data-panel p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.plan-card { min-height: 94px; }
.plan-card .choice-copy strong { font-size: 15px; }
.plan-card .choice-price strong { display: block; font-size: 17px; }
.plan-badge {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e4f7ef;
  color: #126b4e;
  font-size: 10px;
  font-weight: 800;
}

.insurance-toggle {
  display: flex;
  margin: 20px 0;
  padding: 17px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.insurance-copy strong { display: block; font-size: 14px; }
.insurance-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.switch {
  position: relative;
  width: 50px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #d7d0db;
  cursor: pointer;
  transition: background .2s ease;
}
.switch::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 9px rgba(0,0,0,.16);
  content: "";
  transition: transform .2s ease;
}
.switch.active { background: var(--purple-700); }
.switch.active::after { transform: translateX(20px); }

.order-total {
  display: flex;
  margin: 24px 0 18px;
  padding-top: 20px;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.order-total span { color: var(--muted); font-size: 13px; }
.order-total strong { color: var(--purple-900); font-size: 30px; letter-spacing: -.04em; }

.payment-sheet-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 24px;
  background: rgba(22, 14, 28, .54);
  backdrop-filter: blur(6px);
}
.payment-sheet-backdrop.visible { display: flex; }
.payment-sheet {
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  padding: 26px;
  overflow-y: auto;
  border-radius: 26px 26px 18px 18px;
  background: #fff;
  box-shadow: 0 -20px 80px rgba(24, 12, 31, .28);
  animation: sheet-up .34s ease both;
}
@keyframes sheet-up {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}
.sheet-handle { width: 46px; height: 5px; margin: -10px auto 20px; border-radius: 99px; background: #ded6e2; }
.payment-sheet h2 { margin: 0; font-size: 18px; text-align: center; }
.payment-sheet h2 span { color: var(--purple-700); }
.qr-frame {
  display: grid;
  width: 230px;
  height: 230px;
  margin: 22px auto;
  padding: 12px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.qr-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, #17131c 10px, transparent 10px) 0 0/18px 18px,
    linear-gradient(#17131c 10px, transparent 10px) 0 0/18px 18px;
  opacity: .25;
}
.pix-label { margin: 0 0 7px; color: var(--muted); font-size: 12px; font-weight: 750; }
.pix-code {
  overflow: hidden;
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f5f8;
  color: #3b343f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.payment-sheet .primary-button { margin-top: 12px; }
.payment-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.sheet-close {
  display: block;
  margin: 14px auto 0;
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.terms-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 90px;
}
.terms-toolbar {
  display: flex;
  margin: 18px 0 26px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.terms-toolbar a { color: var(--purple-700); font-size: 13px; font-weight: 750; }
.terms-paper {
  padding: clamp(28px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  font-family: Georgia, "Times New Roman", serif;
}
.terms-paper header { padding-bottom: 28px; border-bottom: 1px solid #d9d3dd; text-align: center; }
.terms-paper h1 { margin: 0; color: var(--purple-900); font-size: clamp(30px, 5vw, 46px); }
.terms-paper header strong { display: block; margin-top: 8px; font-size: 18px; }
.terms-paper header em { display: block; margin-top: 8px; color: #776e7c; font-size: 13px; }
.terms-paper section { margin-top: 28px; }
.terms-paper h2 { margin: 0 0 10px; color: #5c1d54; font-size: 19px; }
.terms-paper p,
.terms-paper li { color: #262027; font-size: 15px; line-height: 1.65; }
.terms-paper ul { padding-left: 24px; }

.success-page {
  display: grid;
  min-height: 100vh;
  padding: 30px 20px;
  place-items: center;
}
.process-list {
  display: grid;
  max-width: 420px;
  margin: 28px auto 0;
  gap: 11px;
  text-align: left;
}
.process-item {
  display: flex;
  padding: 13px 14px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
}
.process-check {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success-soft);
}
.process-check::after {
  position: absolute;
  top: 5px;
  left: 8px;
  width: 5px;
  height: 9px;
  border: solid var(--success);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

@media (max-width: 820px) {
  .topbar { min-height: 72px; }
  .topbar-note { display: none; }
  .funnel-shell { padding-top: 22px; }
  .hero-grid,
  .selection-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding: 28px 0 8px; }
  .hero-copy h1 { max-width: 660px; }
  .sticky-summary { position: static; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-seal { min-height: 92px; }
  .summary-sections { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar,
  .funnel-shell,
  .terms-shell { width: min(100% - 28px, 1120px); }
  .topbar { min-height: 66px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .pressel-main { padding: 18px 14px 42px; }
  .pressel-card { padding: 24px 18px; border-radius: 22px; }
  .progress-header { margin-bottom: 14px; }
  .progress-label { min-width: 72px; }
  .hero-copy { padding-top: 20px; }
  .hero-copy h1,
  .center-card h1,
  .step-heading h1 { font-size: 38px; }
  .form-card,
  .content-card,
  .center-card { padding: 22px; border-radius: 21px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .span-2 { grid-column: auto; }
  .field-grid .form-field + .form-field { margin-top: 0; }
  .trust-section { margin-top: 46px; }
  .choice-card,
  .plan-card { grid-template-columns: 22px 1fr; }
  .choice-price { grid-column: 2; text-align: left; }
  .shipping-result { align-items: flex-start; flex-direction: column; }
  .order-total { align-items: flex-start; flex-direction: column; }
  .payment-sheet-backdrop { padding: 0; }
  .payment-sheet {
    max-height: 94vh;
    border-radius: 26px 26px 0 0;
  }
  .qr-frame { width: 205px; height: 205px; }
  .terms-paper { border-radius: 18px; }
}

/* Estrutura dedicada a navegadores de celular */
html {
  background: #ebe7ef;
}

body {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--canvas);
  box-shadow: 0 0 44px rgba(39, 19, 63, .12);
}

.topbar,
.progress-header,
.terms-shell > .brand {
  display: none;
}

.page-shell {
  min-height: 100dvh;
}

.funnel-shell {
  width: 100%;
  margin: 0;
  padding: max(16px, env(safe-area-inset-top)) 14px calc(58px + env(safe-area-inset-bottom));
}

.pressel-main {
  min-height: 100dvh;
  padding: max(18px, env(safe-area-inset-top)) 14px calc(34px + env(safe-area-inset-bottom));
}

.pressel-card {
  width: 100%;
  max-width: 430px;
  padding: 24px 18px;
}

.hero-grid,
.selection-layout,
.field-grid {
  grid-template-columns: 1fr;
}

.summary-sections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-sections .data-panel {
  min-width: 0;
  padding: 15px 13px;
}

.summary-sections .data-panel h2 {
  font-size: 12px;
}

.summary-sections .data-panel p {
  font-size: 11.5px;
  overflow-wrap: anywhere;
}

.hero-grid {
  min-height: 0;
  gap: 18px;
}

.hero-copy {
  padding: 0;
}

.lead-banner {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  border: 1px solid rgba(109, 40, 217, .13);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(39, 19, 63, .12);
}

.hero-copy h1,
.center-card h1,
.step-heading h1 {
  font-size: 34px;
  line-height: 1.02;
}

.hero-copy > p,
.step-heading p {
  font-size: 15px;
  line-height: 1.55;
}

.form-card,
.content-card,
.center-card {
  padding: 20px;
  border-radius: 20px;
}

.form-field input {
  font-size: 16px;
}

.trust-section {
  margin-top: 28px;
  padding-top: 22px;
}

.trust-section h2 {
  margin-bottom: 12px;
  font-size: 10px;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.trust-seal {
  display: flex;
  min-width: 0;
  min-height: 142px;
  padding: 12px 7px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  border-radius: 14px;
  text-align: center;
}

.trust-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 2px;
  flex: 0 0 auto;
  border-radius: 12px;
}

.trust-icon::before,
.trust-icon::after {
  display: none;
}

.trust-icon img {
  display: block;
  width: 21px;
  height: 21px;
}

.trust-seal strong {
  font-size: 10.5px;
  line-height: 1.25;
}

.trust-seal span {
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.35;
}

.trust-icon.shield::before {
  width: 17px;
  height: 20px;
  border: 2px solid var(--purple-700);
  border-radius: 9px 9px 12px 12px;
  background: transparent;
}

.trust-icon.shield::after {
  top: 13px;
  left: 16px;
  width: 5px;
  height: 9px;
  border: solid var(--purple-700);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.trust-icon.payment-lock::before {
  width: 15px;
  height: 16px;
  border: 2px solid var(--purple-700);
  border-radius: 5px;
}

.trust-icon.payment-lock::after {
  top: 8px;
  width: 10px;
  height: 9px;
  border: 2px solid var(--purple-700);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.trust-icon.privacy::before {
  width: 23px;
  height: 14px;
  border: 2px solid var(--purple-700);
  border-radius: 70% 20%;
  background: transparent;
  transform: rotate(45deg);
}

.trust-icon.privacy::after {
  top: 15px;
  left: 15px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--purple-700);
  border-radius: 50%;
  background: var(--purple-50);
}

.center-wrap {
  min-height: calc(100dvh - 32px);
}

.step-heading {
  margin-bottom: 24px;
}

.choice-card,
.plan-card {
  grid-template-columns: 22px minmax(0, 1fr) auto;
  padding: 14px;
}

.choice-price {
  grid-column: auto;
  text-align: right;
}

.sticky-summary {
  position: static;
  padding: 20px;
}

.wide-card {
  width: 100%;
}

.terms-shell {
  width: 100%;
  padding: max(14px, env(safe-area-inset-top)) 12px calc(50px + env(safe-area-inset-bottom));
}

.terms-toolbar {
  margin-top: 0;
}

.terms-paper {
  padding: 24px 18px;
  border-radius: 18px;
}

.success-page {
  min-height: 100dvh;
  padding: max(18px, env(safe-area-inset-top)) 14px calc(28px + env(safe-area-inset-bottom));
}

.success-card {
  position: relative;
  overflow: hidden;
}

.success-stage-loader {
  display: grid;
  min-height: 430px;
  place-content: center;
  justify-items: center;
  gap: 8px;
  transition: opacity .28s ease, transform .28s ease;
}

.success-stage-loader.finished {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.success-stage-loader strong {
  margin-top: 4px;
  font-size: 20px;
  letter-spacing: -.025em;
}

.success-stage-loader span {
  color: var(--muted);
  font-size: 13px;
}

.success-loader-orbit {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
}

.success-loader-orbit::after {
  inset: 30px;
}

.success-content {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.success-content.visible {
  display: block;
  animation: success-content-in .42s ease both;
}

@keyframes success-content-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-content .process-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .32s ease, transform .32s ease;
}

.success-content .process-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.payment-sheet-backdrop {
  padding: 0;
}

.payment-sheet {
  width: 100%;
  max-height: 94dvh;
  border-radius: 26px 26px 0 0;
}

.subtotal-dock {
  position: fixed;
  z-index: 15;
  right: auto;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  width: min(calc(100% - 20px), 460px);
  min-height: 68px;
  padding: 10px 10px 10px 15px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(109, 40, 217, .17);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 45px rgba(39, 19, 63, .24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(.97);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(16px);
}

.subtotal-dock.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.subtotal-dock-copy {
  min-width: 0;
}

.subtotal-dock small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.subtotal-dock strong {
  display: block;
  margin-top: 3px;
  color: var(--purple-900);
  font-size: 21px;
  letter-spacing: -.04em;
}

.subtotal-dock button {
  min-width: 92px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
