:root {
  --ink: #1b1626;
  --ink-2: #3f3950;
  --muted: #6d6779;
  --line: #e8e4ef;
  --paper: #ffffff;
  --mist: #f6f4fa;
  --purple: #5b3fc4;
  --purple-hover: #4b33a8;
  --deep: #1f173d;
  --nozzle: #f2b544;
  --display: "Outfit", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); }
p { margin: 0; }
code { font: 0.88em ui-monospace, "SF Mono", Menlo, monospace; background: var(--mist); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 36px; max-width: 18em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--purple); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .15s ease, box-shadow .15s ease; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px -8px rgba(91,63,196,.7); }
.btn:hover { background: var(--purple-hover); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--mist); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.04em; color: var(--purple); }
.brand b { font-weight: 600; color: var(--ink); font-size: .82em; margin-left: 1px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 96px); background: linear-gradient(to bottom, var(--paper) 0, var(--paper) 55%, var(--mist) 55%); }
.hero-text { text-align: center; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.035em; }
.lede { max-width: 38em; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-shot { margin-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-reassurance { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }

/* Demonstração de um pedido: a animação acompanha a etapa escolhida. */
.routine { padding: clamp(56px, 8vw, 96px) 0; }
.routine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.routine-copy h2 { font-size: clamp(30px, 4vw, 43px); max-width: 17em; }
.routine-copy > p { margin-top: 18px; color: var(--ink-2); max-width: 38em; }
.routine-tabs { display: grid; gap: 4px; margin-top: 24px; }
.routine-tabs button { display: flex; align-items: center; gap: 14px; padding: 15px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; font: inherit; color: var(--ink-2); cursor: pointer; }
.routine-tabs button > span { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; }
.routine-tabs button strong { font-size: 16px; font-weight: 600; }
.routine-tabs button small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; font-weight: 400; color: var(--muted); }
.routine-tabs button[aria-selected="true"] { background: var(--mist); color: var(--purple); }
.routine-tabs button[aria-selected="true"] > span { background: var(--purple); color: white; border-color: var(--purple); }
.routine-demo { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 24px 70px -48px rgba(31,23,61,.5); min-width: 0; }
.routine-demo-top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.demo-label { color: var(--muted); font-size: 12px; }
.routine-progress { height: 3px; background: var(--mist); margin: 18px 0 26px; border-radius: 3px; overflow: hidden; }
.routine-progress > span { display: block; width: var(--stage, 33.333%); height: 100%; background: var(--purple); }
.routine-state { color: var(--purple); font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.routine-demo h3 { font-size: clamp(23px, 3vw, 29px); }
[data-routine-description] { color: var(--ink-2); font-size: 15px; margin-top: 12px; min-height: 5em; }
.routine-values { margin: 24px 0 0; }
.routine-values > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.routine-values dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.routine-values > div:last-child { color: var(--purple); border-bottom: 0; }
.routine-takeaway { margin-top: 20px; font-weight: 500; font-size: 15px; }
.routine-note { margin-top: 20px; font-size: 12px; color: var(--muted); }
.routine-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 800px) { .routine-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .routine-progress > span { transition: width .4s ease; }
  .routine-tabs button, .routine-tabs button > span { transition: background .2s ease, color .2s ease; }
}

/* Mac window frame around real screenshots */
.window { margin: 0; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid #ddd6e8; box-shadow: 0 50px 90px -50px rgba(31,23,61,.55), 0 18px 36px -24px rgba(31,23,61,.3); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #f3f1f6; border-bottom: 1px solid #e6e1ee; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { flex: 1; margin-right: 44px; text-align: center; font-size: 12.5px; font-weight: 600; color: #8a8496; }

/* Calculadora de custo */
.calc-section { padding: clamp(64px, 9vw, 112px) 0; background: var(--mist); }
.calc-head { max-width: 46em; margin-bottom: 32px; }
.calc-head h2 { font-size: clamp(30px, 4vw, 44px); }
.calc-head p { margin-top: 14px; color: var(--ink-2); }
.calc-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-form fieldset { display: grid; gap: 12px; align-content: start; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.calc-form legend { float: left; width: 100%; margin-bottom: 2px; padding: 0; font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--ink); }
.calc-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.calc-form small { font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.field { display: flex; align-items: center; gap: 6px; padding: 0 11px; border-radius: 10px; border: 1.5px solid var(--line); background: #fdfcff; transition: border-color .15s; }
.field:focus-within { border-color: var(--purple); }
.field em { font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.field input { width: 100%; min-width: 0; padding: 9px 0; border: 0; outline: none; background: transparent; color: var(--ink); font: 600 15px var(--body); font-variant-numeric: tabular-nums; }
.price-input .field { border-color: #cfc3f2; background: #f7f3ff; }

.calc-result { position: sticky; top: 84px; display: grid; gap: 20px; padding: clamp(20px, 2.4vw, 28px); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(31,23,61,.35); }
.result-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.result-head h3 { font-size: 22px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--mist); color: var(--ink-2); }
.status i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 11px; color: #fff; background: var(--muted); }
.status.good { background: #e8f6e8; color: #145c14; } .status.good i { background: #0ca30c; }
.status.warning { background: #fff4d9; color: #6b4500; } .status.warning i { background: #fab219; color: #3b2600; }
.status.critical { background: #fcebeb; color: #8e2020; } .status.critical i { background: #d03b3b; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpis > div { display: grid; gap: 2px; align-content: start; padding: 12px; border-radius: 12px; background: var(--mist); }
.kpis span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpis strong { font-family: var(--display); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kpis small { font-size: 12px; color: var(--muted); }
.kpis .kpi-accent { background: #efe9fd; }
.kpis .kpi-accent strong { color: var(--purple); }
.kpis strong.negative { color: #b42f2f; }

.viz { position: relative; margin: 0; }
.viz figcaption { margin-bottom: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.bar { position: relative; display: flex; gap: 2px; height: 34px; }
.bar-seg { display: block; min-width: 3px; height: 100%; background: var(--c); cursor: default; outline-offset: 2px; }
.bar-seg:first-child { border-radius: 4px 0 0 4px; }
.bar-seg:last-of-type { border-radius: 0 4px 4px 0; }
.bar-seg:hover, .bar-seg:focus-visible { filter: brightness(1.08); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c, var(--purple)); position: relative; z-index: 1; }
.bar-seg-profit { --c: var(--purple); background: repeating-linear-gradient(135deg, #f1ecfd 0 6px, #e5dcfb 6px 12px); box-shadow: inset 0 0 0 1.5px #b9a8ef; }
.price-line { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 2px dashed #d03b3b; }
.price-line em { position: absolute; top: -20px; left: -30px; width: 60px; text-align: center; font-style: normal; font-size: 11.5px; font-weight: 700; color: #b42f2f; }
.bar-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.viz-tip { position: absolute; z-index: 5; transform: translate(-50%, -100%); padding: 7px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }

.ladder { position: relative; height: 96px; margin: 0 8px; }
.ladder-track { position: absolute; left: 0; right: 0; top: 47px; height: 4px; border-radius: 4px; background: #f3d6d6; }
.ladder-safe { position: absolute; top: 0; bottom: 0; right: 0; border-radius: 0 4px 4px 0; background: #bfe6bf; }
.ladder-mark { position: absolute; top: 0; bottom: 0; transform: translateX(-50%); display: grid; justify-items: center; width: 92px; outline-offset: 2px; }
.ladder-mark i { position: absolute; top: 40px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--ink-2); }
.ladder-mark b, .ladder-mark small { position: absolute; font-size: 12px; white-space: nowrap; }
.ladder-mark b { font-weight: 700; color: var(--ink); }
.ladder-mark small { color: var(--muted); font-variant-numeric: tabular-nums; }
.ladder-mark.above b { top: 0; } .ladder-mark.above small { top: 16px; }
.ladder-mark.below b { top: 62px; } .ladder-mark.below small { top: 78px; }
.m-cost i { border-color: #52514e; }
.m-min i { border-color: #d03b3b; }
.m-suggested i { border-color: var(--purple); background: var(--purple); }
.m-price i { width: 20px; height: 20px; top: 38px; border-color: var(--ink); background: var(--nozzle); }

.receipt { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.receipt th, .receipt td { padding: 7px 4px; border-bottom: 1px solid var(--line); text-align: right; }
.receipt th:first-child { text-align: left; font-weight: 500; color: var(--ink-2); }
.receipt thead th { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: none; }
.receipt tfoot th, .receipt tfoot td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.receipt tfoot tr.gain td { color: #145c14; }
.receipt tfoot tr.loss td, .receipt tfoot tr.loss th { color: #b42f2f; }
.swatch { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: var(--c); vertical-align: 0; }
.swatch-profit { background: repeating-linear-gradient(135deg, #f1ecfd 0 3px, #d7cbf7 3px 6px); box-shadow: inset 0 0 0 1px #b9a8ef; }
.calc-foot { font-size: 14px; color: var(--muted); }
.calc-result > .btn { justify-self: start; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Faixa de compra na página inicial */
.buy-band { padding: clamp(40px, 6vw, 64px) 0; background: var(--deep); color: #e3dcf6; }
.buy-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.buy-inner > div:first-child { flex: 1 1 480px; }
.buy-band h2 { max-width: 23ch; color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-top: 8px; }
.buy-band p { max-width: 58ch; margin-top: 8px; color: #c9c0e2; }
.buy-band s { color: #efe9ff; }
.btn-light { background: #fff; color: var(--deep); box-shadow: none; }
.btn-light:hover { background: #f1ecfd; }

/* Product tour */
.tour { padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); }
.tour-grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.tour-tabs { display: grid; gap: 6px; }
.tour-tabs button { display: grid; gap: 4px; padding: 16px 18px; border: 0; border-radius: 14px; background: transparent; text-align: left; font: inherit; color: var(--ink-2); cursor: pointer; transition: background .15s; position: relative; }
.tour-tabs button strong { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.tour-tabs button span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tour-tabs button:hover { background: var(--mist); }
.tour-tabs button[aria-selected="true"] { background: var(--mist); box-shadow: inset 3px 0 0 var(--purple); }
.tour-shot img { transition: opacity .2s ease; }
.tour-shot img.swap { opacity: 0; }
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: clamp(48px, 7vw, 80px) 0 0; padding: 32px 0 0; list-style: none; border-top: 1px solid var(--line); }
.details strong { display: block; margin-bottom: 6px; font-family: var(--display); font-size: 17px; font-weight: 600; }
.details span { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Recursos e condições apresentados antes da compra. */
.capture-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.scope-note { margin-top: 38px; }
.scope-note strong { display: block; font-family: var(--display); font-size: 21px; }
.scope-note p { max-width: 60em; margin: 10px 0; color: var(--ink-2); font-size: 16px; }
.scope-note a { font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.feature-catalog, .fit-section { padding: clamp(48px, 7vw, 88px) 0; }
.feature-catalog { border-top: 1px solid var(--line); }
.eyebrow { color: var(--purple); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.feature-catalog .section-title, .fit-section .section-title { max-width: 22em; margin-bottom: 20px; }
.catalog-intro { max-width: 45em; color: var(--ink-2); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 36px; }
.catalog-grid article { padding: 28px 0; border-top: 1px solid var(--line); }
.catalog-number { display: block; color: var(--purple); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.catalog-grid h3, .fit-grid h3 { font-size: 23px; margin-bottom: 12px; }
.catalog-grid p, .fit-grid p { color: var(--ink-2); font-size: 16px; }
.catalog-grid .feature-limit { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: 14px; }
.catalog-close { margin: 26px 0 20px; max-width: 52em; color: var(--ink-2); }
.fit-section { background: var(--mist); border-top: 1px solid var(--line); }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.fit-facts { margin: 32px 0 0; padding: 0; list-style: none; }
.fit-facts li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.purchase-check { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--mist); color: var(--ink-2); font-size: 15px; }
@media (max-width: 700px) { .catalog-grid, .fit-grid { grid-template-columns: 1fr; } }

/* Local data */
.local { padding: 28px 0; background: var(--mist); }
.local-inner { display: flex; align-items: center; gap: 18px; }
.local-icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--purple); }
.local p { color: var(--ink-2); font-size: 16px; }
.local strong { color: var(--ink); }

/* Página de compra */
.buy-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(to bottom, #fff, var(--mist)); }
.buy-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.buy-hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; }
.buy-hero .lede { margin: 18px 0 0; }
.buy-price { margin-top: 26px; }
.cta-left { justify-content: flex-start; margin-top: 22px; }
.promo-tag { display: inline-block; padding: 4px 10px; border-radius: 8px; background: #fff3d6; color: #8a5a00; font-size: 13px; font-weight: 700; }
.buy-hero .promo-tag { margin-bottom: 16px; }
.price-was { color: var(--muted); font-size: 15px; }
.price-was s { color: var(--ink-2); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 4px; }
.price strong { font-family: var(--display); font-size: 56px; font-weight: 600; letter-spacing: -0.03em; color: var(--purple); line-height: 1; }
.price span { color: var(--ink-2); }

.reasons { padding: clamp(64px, 9vw, 104px) 0; }
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.reason-grid svg { width: 30px; height: 30px; color: var(--purple); margin-bottom: 14px; }
.reason-grid h3 { font-size: 19px; margin-bottom: 8px; }
.reason-grid p { color: var(--muted); font-size: 15.5px; }
.outcome-section .section-title { max-width: 24em; margin-bottom: 20px; }
.outcome-intro { max-width: 44em; color: var(--ink-2); margin-bottom: 38px; }
.outcome-start { margin-top: 36px; padding: 22px 24px; border-radius: 14px; background: var(--mist); color: var(--ink-2); font-size: 16px; }
.outcome-start strong { color: var(--ink); }
.outcome-start a { text-underline-offset: 3px; }
.offer-action { display: grid; gap: 14px; justify-items: start; flex: 0 0 auto; }
.offer-conditions { color: #fff; font-size: 14px; text-underline-offset: 4px; }

.included { padding: clamp(64px, 9vw, 104px) 0; background: var(--mist); }
.included-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.included .section-title { margin-bottom: 12px; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e4dcfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%235b3fc4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks-lg { gap: 18px; }
.checks-lg li { display: grid; gap: 2px; padding: 16px 18px 16px 52px; border-radius: 14px; background: #fff; }
.checks-lg li::before { left: 18px; top: 18px; }
.checks-lg strong { color: var(--ink); font-size: 16.5px; }
.checks-lg span { color: var(--muted); font-size: 15px; }

.pay { padding: clamp(64px, 9vw, 104px) 0; }
.pay-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.pay-card { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(31,23,61,.35); }
.pay-card h2, .downloads h2 { font-size: clamp(26px, 3vw, 32px); }
.pay-body { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.pix-qr { width: 210px; height: 210px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.pay-steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; color: var(--ink-2); font-size: 15.5px; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.whatsapp { gap: 8px; background: #1f9d55; box-shadow: none; }
.whatsapp:hover { background: #188547; }
.whatsapp svg { width: 20px; height: 20px; }
.pay-note { font-size: 13.5px; color: var(--muted); }
.downloads { display: grid; gap: 12px; align-content: start; }
.dl-stack { display: grid; gap: 12px; }
.small { font-size: 14px; }
.dl { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.dl:hover { border-color: #cfc4ee; background: #fbfaff; }
.dl svg { flex: 0 0 auto; width: 28px; height: 28px; }
.dl span { display: grid; gap: 2px; }
.dl strong { font-size: 17px; }
.dl small { color: var(--muted); font-size: 13.5px; }
.dl.current { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(91,63,196,.12); }
.dl.current strong::after { content: "Seu sistema"; margin-left: 10px; padding: 2px 8px; border-radius: 6px; background: #fff3d6; color: #8a5a00; font-size: 12px; font-weight: 600; vertical-align: 2px; }
.dl.soon { opacity: .6; cursor: default; }
.dl.soon:hover { border-color: var(--line); background: transparent; }
.mobile-note { padding: 14px 16px; border-radius: 12px; background: var(--mist); font-size: 15px; }

/* Install */
.install { padding: clamp(64px, 9vw, 104px) 0; background: var(--mist); }
.install .section-title { margin-bottom: 10px; }
.seg { display: inline-flex; gap: 4px; margin: 24px 0 20px; padding: 4px; border-radius: 12px; background: #ebe7f2; }
.seg button { padding: 8px 20px; border: 0; border-radius: 9px; background: transparent; font: 600 15px var(--body); color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(31,23,61,.12); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 60px; border-radius: 14px; background: #fff; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 15px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; font-size: 14px; }

/* FAQ */
.faq { padding: clamp(64px, 9vw, 104px) 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--purple); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 44em; }

/* Footer */
.foot { padding: 28px 0 40px; border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .brand { font-size: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot nav a:hover { color: var(--ink); }

@media (max-width: 1080px) {
  .calc-app { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 980px) {
  .tour-grid, .buy-hero-grid, .included-grid, .pay-grid { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .tour-tabs { grid-template-columns: repeat(2, 1fr); }
  .details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .hero h1 br { display: none; }
  .window-bar { height: 26px; }
  .window-bar i { width: 8px; height: 8px; }
  .window-bar span { display: none; }
  .tour-tabs { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; gap: 18px; }
  .calc-form { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .reason-grid { grid-template-columns: 1fr; }
  .pay-body { grid-template-columns: 1fr; justify-items: center; }
  .price strong { font-size: 46px; }
  .local-inner { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour-shot img { transition: none; }
}

/* O atributo hidden vence regras de display dos componentes. */
[hidden] { display: none !important; }
.dl.soon { opacity: .6; cursor: default; }
.dl.soon:hover { border-color: var(--line); background: transparent; }


/* ===================== Animações ===================== */
.bar-seg.empty { min-width: 0; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* Entrada do topo: título, texto e botões em sequência; a janela do app sobe. */
  .hero-text > *, .buy-hero-grid > div > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
  .hero-text > :nth-child(2), .buy-hero-grid > div > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3), .buy-hero-grid > div > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4), .buy-hero-grid > div > :nth-child(4) { animation-delay: .24s; }
  .buy-hero-grid > div > :nth-child(5) { animation-delay: .32s; }
  .buy-hero-grid > div > :nth-child(6) { animation-delay: .4s; }
  .hero-shot .window, .buy-hero-grid > .window { animation: lift 1.1s .25s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes lift { from { opacity: 0; transform: translateY(48px) scale(.97); } to { opacity: 1; transform: none; } }

  /* Blocos surgem ao rolar (a classe vem do JS; sem JS tudo fica visível). */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }

  /* Calculadora: fatias e marcas deslizam até o novo valor. */
  .bar-seg { transition: flex-grow .6s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
  .price-line { transition: left .6s cubic-bezier(.2,.8,.2,1); }
  .ladder-mark { transition: left .6s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }
  .ladder-mark b, .ladder-mark small { transition: top .35s ease; }
  .ladder-safe { transition: left .6s cubic-bezier(.2,.8,.2,1); }
  .calc-result.idle .bar-seg { flex-grow: 0 !important; }
  .calc-result.idle .ladder-mark { opacity: 0; }
  .status.pop { animation: pop .45s cubic-bezier(.2,.8,.2,1); }
  @keyframes pop { 0% { transform: scale(.92); } 60% { transform: scale(1.04); } 100% { transform: none; } }

  /* Micro-interações. */
  .btn { transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .dl, .tour-tabs button, .checks-lg li, .reason-grid article { transition: border-color .2s, background .2s, transform .2s ease; }
  .dl:hover:not(.soon) { transform: translateY(-2px); }
  .tour-shot img { transition: opacity .25s ease, transform .35s ease; }
  .tour-shot img.swap { transform: scale(.985); }
  .price-was s { background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0 1.5px; text-decoration: none; transition: background-size .6s .2s ease; }
  .price-was.in s { background-size: 100% 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .price-was s { text-decoration: line-through; }
}
