/* ZiemPay — landing. Preto, titânio e luz. Poucos títulos, três efeitos: luz do Z, vendas chegando, borda de luz no CTA. */
@font-face { font-family: "GoodTimes"; src: url("/fonts/GoodTimes.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --surface-2: #171717;
  --ink: #ededed;
  --ink-2: #919191;
  --ink-3: #5c5c5c;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --f: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4.5vw, 4rem);
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; scrollbar-color: #262626 var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; padding: 0.6rem 1rem; border-radius: 999px; background: var(--ink); color: #000; }
.skip:focus { top: 1rem; }

/* ---------- tipografia: grande, leve e apertada ---------- */
.hero-title, .title, .final-title { margin: 0; font-weight: 500; letter-spacing: -0.045em; line-height: 1.06; text-wrap: balance; }
.hero-title span, .title span, .final-title span { color: var(--ink-2); }
.title { font-size: clamp(1.85rem, 2.9vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.1; }
.title.small { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.copy { margin: 1.1rem 0 0; max-width: 46ch; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; letter-spacing: -0.005em; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--ink); }

/* ---------- botões ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; transition: transform 0.3s var(--ease), background-color 0.25s, border-color 0.25s; }
.btn-sm { min-height: 2.4rem; padding: 0 1.1rem; font-size: 0.875rem; }
.btn-light { color: #0a0a0a; background: linear-gradient(180deg, #ffffff, #dadada); }
.btn-light:hover { transform: translateY(-1px); }
.btn-quiet { color: var(--ink); border: 1px solid var(--line-2); }
.btn-quiet:hover { border-color: rgba(255, 255, 255, 0.3); }
/* borda de luz girando: só nos CTAs de criar conta */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn-ring { isolation: isolate; }
.btn-ring::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--spin), transparent 0 70%, rgba(255, 255, 255, 0.95) 82%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 3.2s linear infinite; }
.btn-ring::after { content: ""; position: absolute; inset: -14px; z-index: -2; border-radius: inherit; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.18), transparent); filter: blur(8px); }
@keyframes spin { to { --spin: 360deg; } }

/* ---------- navegação ---------- */
.nav { position: fixed; inset: 0.75rem 0 auto; z-index: 50; padding: 0 var(--gutter); }
.nav-bar { display: flex; align-items: center; gap: 2rem; max-width: var(--max); height: 3.5rem; margin: 0 auto; padding: 0 0.5rem 0 1.1rem; border-radius: 999px; border: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s; }
.nav.is-solid .nav-bar { background: rgba(14, 14, 14, 0.78); border-color: var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-z { width: 1.45rem; fill: var(--ink); }
.brand-word { font: 400 0.98rem/1 "GoodTimes", var(--f); text-transform: uppercase; letter-spacing: 0.03em; }
.nav-links { display: flex; gap: 1.75rem; margin: 0 auto; }
.nav-links a, .nav-login { color: var(--ink-2); font-size: 0.875rem; transition: color 0.2s; }
.nav-links a:hover, .nav-login:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 1.25rem; }
.nav-menu { display: none; position: relative; width: 2.6rem; height: 2.6rem; margin-left: auto; border: 0; background: none; cursor: pointer; }
.nav-menu span:not(.sr) { position: absolute; left: 0.75rem; right: 0.75rem; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease); }
.nav-menu span:nth-child(1) { top: 1.05rem; }
.nav-menu span:nth-child(2) { top: 1.5rem; }
.nav-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.225rem) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-0.225rem) rotate(-45deg); }
.menu[hidden] { display: none; }
.menu { display: grid; gap: 0.25rem; margin-top: 0.5rem; padding: 0.75rem 1.25rem 1.25rem; border-radius: 1.5rem; background: rgba(14, 14, 14, 0.96); border: 1px solid var(--line); }
.menu a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
.menu .btn { margin-top: 0.9rem; }

/* ---------- 1. hero ---------- */
.hero { position: relative; display: grid; align-content: center; min-height: 100svh; padding: 7.5rem var(--gutter) 3rem; overflow: hidden; isolation: isolate; text-align: center; }
.hero-aura { position: absolute; inset: 0; z-index: -1; background: radial-gradient(38rem 26rem at 50% 30%, rgba(255, 255, 255, 0.05), transparent 70%); }
.hero-in { display: grid; justify-items: center; }
.z { position: relative; display: block; width: clamp(24rem, 44vw, 35rem); margin: -6rem auto -0.5rem; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.z-svg { display: block; width: 100%; height: auto; overflow: visible; }
.z-white, .z-color { transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1); }
.z-color { opacity: 0; }
.z[aria-pressed="true"] .z-color { opacity: 1; }
.z[aria-pressed="true"] .z-white { opacity: 0; }
.z-white { animation: breathe 7s ease-in-out infinite; transform-origin: 116px 75px; }
.z-chroma { position: absolute; inset: -60% -40%; border-radius: 50%; opacity: 0; background: conic-gradient(from var(--hue), #ff4d6d, #ffb347, #f9f871, #5cf2a0, #47c6ff, #8b7bff, #ff4d6d); filter: blur(30px) saturate(140%); -webkit-mask: radial-gradient(closest-side, #000 25%, transparent 78%); mask: radial-gradient(closest-side, #000 25%, transparent 78%); transition: opacity 0.9s var(--ease); }
.z[aria-pressed="true"] .z-chroma { opacity: 0.95; animation: hue 6s linear infinite; }
.z[aria-pressed="true"] .z-light { opacity: 0.35; }
.z-mark { transition: transform 0.6s var(--ease); }
.z:hover .z-mark { transform: scale(1.03); }
.z:active .z-mark { transform: scale(0.97); }
.z-hint { position: absolute; left: 50%; bottom: 2.6rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink-3); font-size: 0.6875rem; letter-spacing: 0.04em; white-space: nowrap; transition: color 0.3s; }
.z-hint::before { content: ""; width: 0.3rem; height: 0.3rem; border-radius: 50%; background: currentColor; }
.z:hover .z-hint, .z[aria-pressed="true"] .z-hint { color: var(--ink-2); }
@property --hue { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hue { to { --hue: 360deg; } }
.z-light { position: absolute; inset: -55% -35%; transition: opacity 0.9s var(--ease); border-radius: 50%; background: radial-gradient(closest-side, #fff 0 18%, rgba(230, 230, 230, 0.6) 36%, rgba(150, 150, 150, 0.14) 60%, transparent 76%); filter: blur(26px); animation: breathe 7s ease-in-out infinite; }
.z-mark { position: relative; width: 100%; fill: var(--bg); filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5)); }
@keyframes breathe { 50% { opacity: 0.78; transform: scale(1.05); } }
.hero-title { font-size: clamp(2.4rem, 4.2vw, 3.5rem); }
.hero-copy { margin: 1.25rem auto 0; max-width: 44ch; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.25rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 48rem); margin: clamp(3.5rem, 8vh, 5rem) auto 0; border-top: 1px solid var(--line); }
.facts div { padding: 1.25rem 1rem 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--ink-3); font-size: 0.8125rem; }
.facts dd { margin: 0.35rem 0 0; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.03em; }

/* ---------- blocos ---------- */
.block { padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.block + .block { padding-top: clamp(2rem, 4vw, 3.5rem); }
.block-head, .split { max-width: var(--max); margin: 0 auto; }
.block-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.block-head .copy { margin: 0; justify-self: end; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem); }
.split.top { align-items: start; }

/* reflexo de luz passando pelo titânio */
.sweep { position: relative; overflow: hidden; }
.sweep::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.06) 48%, rgba(255, 255, 255, 0.11) 50%, transparent 60%); transform: translateX(-120%); animation: sweep 8s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- 2. painel ---------- */
.stage { position: relative; max-width: var(--max); margin: 0 auto; }
.glow { position: absolute; inset: 10% 8% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.11), transparent); filter: blur(30px); }
.frame { border-radius: 1.25rem; background: #0d0d0d; box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -40px #000; }
.frame-bar { position: relative; display: flex; align-items: center; height: 2.6rem; padding: 0 0.95rem; border-bottom: 1px solid var(--line); transition: border-color 0.4s; }
.lights { position: relative; z-index: 2; display: flex; gap: 0.5rem; }
.light { width: 0.75rem; height: 0.75rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.35); transition: filter 0.2s, transform 0.2s; }
.l-red { background: #ff5f57; }
.l-yellow { background: #febc2e; }
.l-green { background: #28c840; }
.light:hover { filter: brightness(1.12); transform: scale(1.12); }
.frame-title { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0; border: 0; background: none; color: var(--ink-3); font: 400 0.75rem/1 var(--f); cursor: pointer; }
.frame-title em { font-style: normal; color: var(--ink-3); opacity: 0; transform: translateX(-4px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.frame-title:hover span { color: var(--ink-2); }
.frame-title:hover em, .frame-title:focus-visible em { opacity: 1; transform: none; }
.frame-title em::before { content: "·"; margin-right: 0.75rem; }
/* minimizar = o painel recolhe até só sobrar a aba */
.fit-wrap { position: relative; overflow: hidden; max-height: var(--fh, 760px); border-radius: 0 0 1.25rem 1.25rem; transition: max-height 0.85s var(--ease); }
.frame[data-state="preview"] .fit-wrap { max-height: calc(var(--fh, 760px) * 0.52); }
.fit-shade { position: absolute; inset: auto 0 0; z-index: 2; height: 70%; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.4) 30%, rgba(10, 10, 10, 0.88) 65%, #0a0a0a); transition: opacity 0.55s ease, transform 0.85s var(--ease); }
.frame[data-state="open"] .fit-shade { opacity: 0; transform: translateY(70px); }
.reveal { position: absolute; left: 50%; bottom: 1.6rem; z-index: 4; display: inline-flex; align-items: center; gap: 0.75rem; min-height: 2.9rem; padding: 0 1.3rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)), rgba(12, 12, 12, 0.92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 32px rgba(0, 0, 0, 0.55); color: var(--ink); font: 500 0.875rem/1 var(--f); letter-spacing: -0.01em; cursor: pointer; transform: translateX(-50%); transition: border-color 0.25s, transform 0.35s var(--ease), bottom 0.85s var(--ease); }
.reveal svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.reveal:hover { border-color: rgba(255, 255, 255, 0.32); transform: translateX(-50%) translateY(-2px); }
.stage:has(.frame[data-state="open"]) { padding-bottom: 4.5rem; }
.stage:has(.frame[data-state="open"]) .reveal { bottom: 0; }
.stage:has(.frame[data-state="open"]) .reveal svg { transform: rotate(180deg); }
.toasts { transition: opacity 0.4s; }
/* réplica do dashboard real: desenhada a 1240×760 e escalada pelo JS (--k) */
.fit { position: relative; width: 100%; aspect-ratio: 1240 / 760; overflow: hidden; }
.zd { position: absolute; left: 0; top: 0; display: flex; width: 1240px; height: 760px; transform-origin: 0 0; transform: scale(var(--k, 1)); background: #020205; color: #fff; font: 400 14px/1.4 "Inter", var(--f); }
.zd svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.zd-side { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; padding: 30px 0 18px; border-right: 1px solid rgba(255, 255, 255, 0.07); background: linear-gradient(180deg, #111113, #0b0b0c); box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.02); }
.zd-logo { width: 40px; margin-bottom: 22px; fill: #fff !important; stroke: none !important; }
.zd-side i { display: grid; place-items: center; width: 56px; height: 44px; border-radius: 12px; color: #8e8e93; }
.zd-side i svg { width: 20px; height: 20px; }
.zd-side i.on { color: #fff; background: linear-gradient(90deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.zd-gear { margin-top: auto; }
.zd-main { flex: 1; min-width: 0; padding: 34px 32px 30px; }
.zd-head { display: flex; justify-content: space-between; align-items: center; }
.zd-head b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.zd-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #18181b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #e4e4e7; font-size: 12px; font-weight: 600; }
.zd-banner { width: 100%; max-width: 760px; height: auto; margin: 20px auto 22px; border-radius: 16px; }
.zd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
.zd-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.zd-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.zd-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.06); background: #09090b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.zd-card p { display: flex; justify-content: space-between; align-items: flex-start; margin: 0; color: #cbd5e1; font-size: 13.5px; font-weight: 500; }
.zd-card p svg { width: 19px; height: 19px; color: #f4f4f5; }
.zd-card > b { margin-top: 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.zd-rate { flex-direction: row; align-items: center; gap: 13px; padding: 14px 18px; }
.zd-rate svg { width: 19px; height: 19px; flex: none; color: #d4d4d8; }
.zd-rate b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.zd-rate span { color: #cbd5e1; font-size: 12.5px; }
.zd-chart { flex: 1; padding: 20px 22px 14px; }
.zd-chart-head { display: flex; justify-content: space-between; align-items: center; }
.zd-chart-head p { color: #cbd5e1; }
.zd-sel { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); color: #e4e4e7; font-size: 12px; }
.zd-chart svg { flex: 1; width: 100%; min-height: 0; margin-top: 12px; overflow: visible; }
.zd-chart svg path:first-of-type { stroke: none; }
.zd-line { stroke: #f1f1f1 !important; stroke-width: 2.2 !important; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45)); }
.zd-aside { display: flex; flex-direction: column; gap: 12px; }
.zd-saldo > b { font-size: 19px; }
.zd-btn { align-self: flex-start; margin-top: 14px; padding: 9px 18px; border-radius: 999px; background: #f4f4f5; color: #0a0a0a; font-size: 12.5px; font-weight: 600; }
.zd-meta { flex: 1; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; }
.zd-meta-t { width: 100%; justify-content: center !important; color: #cbd5e1 !important; font-size: 11px !important; letter-spacing: 0.18em; text-transform: uppercase; }
.zd-plaque { position: relative; display: grid; place-items: center; flex: 1; min-height: 0; }
.zd-led { position: absolute; left: 50%; top: 50%; width: 220px; height: 240px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035) 38%, transparent 70%); filter: blur(10px); }
.zd-plaque img { position: relative; width: auto; height: 172px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.7)); }
.zd-prog { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 188px; }
.zd-bar { flex: 1; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.zd-bar i { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(228, 228, 231, 0.8), #fff); box-shadow: 0 0 24px -8px rgba(255, 255, 255, 0.35); }
.zd-prog b { font-size: 13px; font-weight: 600; }
.zd-meta-v { justify-content: center !important; color: #94a3b8 !important; font-size: 12px !important; font-weight: 400 !important; }
.zd-meta-v strong { margin-left: 4px; color: #e2e8f0; }

/* vendas chegando */
.toasts { position: absolute; top: 8.5rem; right: clamp(-2.5rem, -2.5vw, 0.75rem); display: grid; gap: 0.6rem; width: min(19rem, 70%); margin: 0; padding: 0; list-style: none; }
.toast { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.95rem; border-radius: 1rem; background: rgba(22, 22, 22, 0.86); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -15px #000; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: toast-in 0.7s var(--ease) both; }
.toast.out { animation: toast-out 0.5s ease both; }
.toast-ic { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(52, 211, 153, 0.12); color: #7fe3b0; }
.toast-ic svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.toast b { display: block; font-size: 0.875rem; font-weight: 500; letter-spacing: -0.01em; }
.toast small { color: var(--ink-3); font-size: 0.75rem; }
.toast em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.97); filter: blur(6px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px) scale(0.98); filter: blur(4px); } }

/* ---------- 3. checkout ---------- */
.points { display: grid; gap: 0.8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 0.75rem; align-items: baseline; color: #c9c9c9; }
.points li::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--ink); box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); transform: translateY(-0.15rem); }
.phone { justify-self: center; width: min(100%, 18.5rem); padding: 0.55rem; border-radius: 2.6rem; background: linear-gradient(160deg, #3a3a3a, #141414); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 50px 120px -40px rgba(255, 255, 255, 0.14); }
.phone-screen { position: relative; aspect-ratio: 9 / 19; overflow: hidden; border-radius: 2.15rem; background: #f4f4f4; color: #111; }
.ph-step { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.6rem; padding: 2.2rem 1.1rem 1.4rem; opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.phone[data-step="0"] .ph-form, .phone[data-step="1"] .ph-qr, .phone[data-step="2"] .ph-ok { opacity: 1; transform: none; }
.ph-qr { align-items: center; text-align: center; }
.ph-qr b { font-size: 1.05rem; letter-spacing: -0.02em; }
.qr { display: block; width: 86%; height: auto; margin-top: 0.4rem; padding: 0.55rem; border-radius: 0.9rem; background: #fff; box-shadow: 0 0 0 1px #e2e8f0, 0 12px 30px -12px rgba(15, 23, 42, 0.25); }
.ph-wait { font-style: normal; color: #777; font-size: 0.75rem; }
.ph-ok { align-items: center; justify-content: center; text-align: center; }
.ok { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: #0a0a0a; color: #fff; }
.ok svg { width: 1.9rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ph-ok b { margin-top: 0.75rem; font-size: 1.1rem; letter-spacing: -0.02em; }
.ph-ok em { font-style: normal; color: #666; font-size: 0.8rem; }

/* checkout no estilo do checkout builder da ZiemPay (canvas branco, Poppins, cards #e2e8f0, CTA #18181b) */
.phone-screen { font-family: "Poppins", system-ui, sans-serif; color: #0f172a; background: #ffffff; }
.ph-form { gap: 0.55rem; padding: 2rem 0.85rem 1rem; }
.co-sum { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.7rem; border-radius: 10px; border: 1px solid #e2e8f0; }
.co-thumb { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 8px; background: #18181b; }
.co-thumb svg { width: 62%; fill: #fff; }
.co-sum b { display: block; font-size: 0.78rem; font-weight: 600; color: #1e293b; }
.co-sum em { font-style: normal; font-size: 0.7rem; color: #64748b; }
.co-card { display: flex; flex-direction: column; padding: 0.7rem 0.75rem 0.75rem; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.co-card h4 { margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 600; color: #1e293b; }
.co-l { margin: 0.35rem 0 0.25rem; font-size: 0.66rem; font-weight: 500; color: #1e293b; }
.co-i { padding: 0.48rem 0.6rem; border-radius: 10px; border: 1px solid #e2e8f0; color: #94a3b8; font-size: 0.68rem; }
.co-pix { display: inline-flex; align-self: flex-start; align-items: center; padding: 0.35rem 0.65rem; border-radius: 0.6rem; border: 1px solid #e2e8f0; }
.co-pix img { height: 1.05rem; width: auto; }
.co-fast { display: flex; gap: 0.45rem; margin: 0.6rem 0 0; font-size: 0.64rem; line-height: 1.45; color: #475569; }
.co-fast svg { flex: none; width: 0.85rem; height: 0.85rem; margin-top: 0.1rem; fill: none; stroke: #94a3b8; stroke-width: 2.5; stroke-linejoin: round; }
.co-fast b { display: block; color: #1e293b; font-size: 0.7rem; font-weight: 600; }
.co-cta { margin-top: auto; padding: 0.8rem; border-radius: 10px; background: #18181b; color: #fff; text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.ph-qr { padding: 2.2rem 1rem 1.2rem; }
.ph-qr b { font-weight: 600; color: #1e293b; }
.ph-sub { font-style: normal; color: #64748b; font-size: 0.72rem; }
.ph-qr .co-cta { width: 100%; }
.ph-ok b { font-weight: 600; color: #1e293b; }
.ok { background: #18181b; }

/* ---------- 4. calculadora ---------- */
.calc { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.5rem; background: linear-gradient(160deg, #171717, #0e0e0e); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -40px rgba(255, 255, 255, 0.12); }
.calc-in { display: grid; gap: 0.5rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); cursor: text; }
.calc-in > span:first-child { color: var(--ink-2); font-size: 0.875rem; }
.money { display: flex; align-items: baseline; gap: 0.6rem; }
.money em { font-style: normal; color: var(--ink-3); font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.04em; }
.money input { width: 100%; min-width: 0; padding: 0; border: 0; background: none; outline: none; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 430; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-in:focus-within { border-color: var(--line-2); }
.calc-out { margin: 0; }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.calc-out div:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-out dt { color: var(--ink-2); }
.calc-out dt small { display: block; color: var(--ink-3); font-size: 0.75rem; }
.calc-out dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.calc-out .net dt { color: var(--ink); }
.calc-out .net dd { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.04em; }

/* ---------- 5. perguntas ---------- */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font-size: 1.1rem; letter-spacing: -0.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--ink-2); font-size: 1.4rem; font-weight: 300; transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 1.3rem; max-width: 52ch; color: var(--ink-2); }

/* ---------- 6. final ---------- */
.final { position: relative; display: grid; justify-items: center; padding: clamp(5rem, 10vw, 8.5rem) var(--gutter); text-align: center; overflow: hidden; isolation: isolate; }
.final-light { position: absolute; left: 50%; bottom: -55%; z-index: -1; width: min(70rem, 140vw); aspect-ratio: 1.8; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.06); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent 75%); }
.final-title { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
.final-copy { margin: 1.1rem auto 0; text-align: center; }

/* ---------- rodapé ---------- */
.foot { padding: 0 var(--gutter); border-top: 1px solid var(--line); overflow: hidden; }
.foot-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 2.5rem; max-width: var(--max); margin: 0 auto; padding: 2.5rem 0; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 auto; }
.foot-row nav a, .foot-copy { color: var(--ink-2); font-size: 0.875rem; }
.foot-row nav a:hover { color: var(--ink); }
.foot-word { margin: 0 auto -0.2em; max-width: var(--max); font: 400 clamp(3.4rem, 14.2vw, 12.5rem)/0.8 "GoodTimes", var(--f); text-align: center; letter-spacing: 0.02em; color: transparent; background: linear-gradient(180deg, #1e1e1e, #0a0a0a 85%); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .block-head, .split { grid-template-columns: 1fr; }
  .block-head .copy { justify-self: start; }
  .toasts { right: 0.75rem; top: auto; bottom: -1.5rem; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu { display: block; }
  .nav-bar { background: rgba(14, 14, 14, 0.78); border-color: var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .facts { grid-template-columns: 1fr; text-align: left; }
  .facts div { display: flex; justify-content: space-between; align-items: baseline; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .facts div + div { border-left: 0; }
  .facts dd { margin: 0; }
  .toasts { position: static; width: auto; margin-top: 1rem; }
  .toast:nth-child(n + 3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
.qr-amount { margin-top: 0.9rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: #0f172a; }
.qr-exp { color: #64748b; font-size: 0.72rem; }
.qr-exp b { color: #1e293b; font-weight: 600; font-variant-numeric: tabular-nums; }
