/* =========================================================
   RedFox Pay — Programa de Parceria
   Visual flat: superfícies sólidas, bordas finas, sem degradês.
   ========================================================= */
:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #1a1a1d;
  --surface-3: #242428;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f6;
  --muted: #a0a0a8;
  --dim: #6c6c74;
  --brand: #fb4840;          /* vermelho RedFox: marca e destaques dos títulos */
  --go: #22c55e;             /* verde: ações e dinheiro */
  --go-hi: #34d871;
  --go-deep: #16a34a;
  --go-soft: rgba(34, 197, 94, 0.1);
  --silver: linear-gradient(180deg, #e4e4e8 0%, #8d8d96 100%);
  --ok: #2fd27a;
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-weight: 400;
  background: var(--bg); color: var(--text);
  line-height: 1.6; font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
strong { color: var(--text); }
::selection { background: var(--go); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--go); color: #0a0a0b; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, .impact__phrase { font-weight: 700; letter-spacing: -0.025em; line-height: 1.16; text-wrap: balance; }
.h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); }
.h2--wide { max-width: 18ch; margin-bottom: 24px; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 620px; margin-bottom: 48px; }
.micro { font-size: 0.85rem; color: var(--dim); margin-top: 14px; }

/* Destaque dos títulos: grifo vermelho RedFox (mesmo do ícone) com letra branca */
.accent {
  color: #fff; background: var(--brand);
  padding: 0 0.14em; border-radius: 0.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.accent .w__i { color: #fff; }

/* Selo em pílula */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-size: 0.82rem; font-weight: 700; color: #e6e6e8; margin-bottom: 22px;
}
.pill i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); color: #d4d4d8; }

/* Cabeçalho de seção: 02 — O IMPACTO */
.sec-head { display: flex; align-items: center; gap: 18px; margin-bottom: 56px; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.sec-head b { color: #fff; letter-spacing: 0.18em; }
.sec-head::before, .sec-head::after { content: ""; flex: 1; height: 1px; }
.sec-head::before { background: linear-gradient(90deg, transparent, var(--line-2)); }
.sec-head::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.sec-intro { display: grid; justify-items: center; text-align: center; margin-bottom: 56px; }
.sec-intro .h2--wide { margin-left: auto; margin-right: auto; }
.sec-intro .lead { margin: 0 auto; }

/* Linhas verticais de fundo */
.grid-lines { position: fixed; inset: 0; z-index: 30; pointer-events: none; display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid-lines i { width: 1px; height: 100%; background: rgba(255, 255, 255, 0.035); }
.grid-lines i:nth-child(2), .grid-lines i:nth-child(3) { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 22px;
  background: var(--go); color: #04130a;
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em;
  text-align: center; line-height: 1.2;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--go-hi); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn__arrow { transition: transform 0.2s var(--ease); flex: none; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--lg { min-height: 56px; padding: 17px 26px; font-size: 1rem; }
.btn--sm { min-height: 38px; padding: 9px 16px; font-size: 0.82rem; white-space: nowrap; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: #0a0a0b; }
.btn--light:hover { background: #ececee; }
.btn--light:focus-visible { outline-color: #0a0a0b; }
.btn[disabled] { cursor: progress; transform: none; opacity: 0.85; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.header.is-scrolled { background: rgba(10, 10, 11, 0.85); border-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header__bar { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 18px; width: auto; }
.nav { display: none; gap: 32px; font-size: 0.92rem; color: var(--muted); }
.nav a { transition: color 0.2s; }
.nav a:hover { color: #fff; }

/* ---------- Progresso de leitura ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--go); transform: scaleX(0); transform-origin: left; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 112px 0 72px; }
.hero__layout { position: relative; display: grid; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 7.6vw, 3.9rem); margin-bottom: 24px; }
.hero__sub { font-size: clamp(1.05rem, 2.3vw, 1.2rem); color: var(--muted); max-width: 540px; margin-bottom: 16px; }
.hero__reinforce { font-size: clamp(1rem, 2.2vw, 1.1rem); color: var(--muted); margin-bottom: 32px; }
.hero__reinforce strong { color: #fff; }
.hero__cta .btn { width: 100%; }

/* ---------- Simulação (iPhone realista) ---------- */
.sim { display: flex; flex-direction: column; align-items: center; }
.sim__stage { position: relative; }

@media (max-width: 379px) { .sim__stage { zoom: 0.86; } }

/* moldura de titânio + bezel + tela */
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 626;
  padding: 3px; border-radius: 54px;
  background: #3a3a3e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 0 1px 2px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.9),
    0 60px 100px -40px rgba(0, 0, 0, 0.9),
    0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.phone__btn { position: absolute; width: 3px; border-radius: 2px; background: #3a3a3e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.phone__btn--action { left: -3px; top: 17%; height: 4.5%; }
.phone__btn--volup { left: -3px; top: 25%; height: 8.5%; }
.phone__btn--voldown { left: -3px; top: 35.5%; height: 8.5%; }
.phone__btn--power { right: -3px; top: 28%; height: 13%; }
.phone__bezel { height: 100%; padding: 8px; border-radius: 51px; background: #050505; }
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 43px; background: #0e0e10;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12.5px; line-height: 1.35; letter-spacing: -0.01em; color: #f5f5f7;
}

/* status bar */
.ios-status { position: relative; flex: none; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-size: 14px; font-weight: 600; }
.ios-status__time { letter-spacing: -0.02em; }
.ios-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 31%; height: 27px; border-radius: 20px; background: #000; }
.ios-status__icons { display: flex; align-items: center; gap: 5px; }
.ios-batt { position: relative; width: 24px; height: 11.5px; border-radius: 3.5px; border: 1px solid rgba(255, 255, 255, 0.45); padding: 1.5px; }
.ios-batt::after { content: ""; position: absolute; right: -3.5px; top: 3.5px; width: 1.5px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255, 255, 255, 0.45); }
.ios-batt i { display: block; height: 100%; width: 78%; border-radius: 1.5px; background: #fff; }

/* push */
.ios-notif {
  position: absolute; z-index: 7; top: 50px; left: 8px; right: 8px;
  display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 20px;
  background: rgba(58, 58, 62, 0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-140%); opacity: 0; transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.1), opacity 0.3s;
}
.ios-notif.is-on { transform: none; opacity: 1; }
.ios-notif__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: #000; font-weight: 800; font-size: 15px; }
.ios-notif__body { flex: 1; min-width: 0; }
.ios-notif__top { display: flex; justify-content: space-between; font-size: 12px; }
.ios-notif__top small { color: rgba(255, 255, 255, 0.55); font-size: 11px; }
.ios-notif p { font-size: 12px; color: rgba(255, 255, 255, 0.85); line-height: 1.3; }
.ios-notif p b { color: #fff; }

/* cabeçalho do site */
.site-bar { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.site-bar__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.site-bar__logo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #fff; color: #000; font-weight: 800; font-size: 12px; }
.site-bar__menu { display: grid; gap: 3px; }
.site-bar__menu i { display: block; width: 16px; height: 1.6px; border-radius: 1px; background: #fff; }

.scr-wrap { position: relative; flex: 1; }
.scr {
  position: absolute; inset: 0; padding: 12px 14px 10px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateX(20px); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.scr.is-active { opacity: 1; transform: none; }
.scr.is-leaving { opacity: 0; transform: translateX(-20px); }
.scr__label { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.scr__title { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.scr__muted { color: rgba(255, 255, 255, 0.6); font-size: 12px; }

/* compra */
.prize { position: relative; padding: 12px 14px 12px; border-radius: 14px; background: #1c1c1f; border: 1px solid rgba(255, 255, 255, 0.08); display: grid; gap: 1px; }
.prize__ed { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.prize__label { font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.prize__value { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.prize__value span { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.prize__meta { font-size: 11px; color: rgba(255, 255, 255, 0.55); margin-top: 3px; }
.sold__row { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255, 255, 255, 0.6); margin-bottom: 6px; }
.sold__row b { color: #fff; font-weight: 600; }
.bar { height: 5px; border-radius: 5px; background: #2a2a2e; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 5px; background: var(--go); }
.qty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: -4px; }
.qty button { position: relative; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); background: #1c1c1f; font-family: inherit; font-weight: 600; font-size: 12.5px; cursor: default; transition: all 0.2s; }
.qty button em { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 8.5px; font-weight: 700; padding: 1px 5px; border-radius: 5px; background: var(--go); color: #04130a; white-space: nowrap; }
.qty button.is-on { background: #fff; border-color: #fff; color: #000; }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 6px; border-radius: 12px; background: #1c1c1f; border: 1px solid rgba(255, 255, 255, 0.08); }
.stepper__btn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #2a2a2e; font-size: 16px; font-weight: 500; }
.stepper b { font-size: 16px; font-variant-numeric: tabular-nums; }
.app-btn {
  margin-top: auto; height: 46px; padding: 0 18px; border-radius: 14px; border: 0;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--go); color: #04130a; font-family: inherit; font-size: 14.5px; font-weight: 700; cursor: default;
  transition: transform 0.15s, background 0.2s;
}
.app-btn b { font-variant-numeric: tabular-nums; }
.app-btn.is-pressed { transform: scale(0.97); background: var(--go-deep); }

/* pix */
.pix-head { display: flex; justify-content: space-between; align-items: flex-start; }
.pix-head small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.6); }
.pix-head b { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.pix-timer { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: #1c1c1f; color: #fbbf24; font-variant-numeric: tabular-nums; }
.qr { position: relative; align-self: center; width: 158px; height: 158px; padding: 10px; background: #fff; border-radius: 14px; }
.qr svg { width: 100%; height: 100%; }
.qr__ok { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, 0.92); color: #16a34a; opacity: 0; transform: scale(0.92); transition: all 0.35s var(--ease); }
.qr__ok svg { width: 58px; height: 58px; padding: 12px; border-radius: 50%; background: #22c55e; color: #fff; }
.qr.is-paid .qr__ok { opacity: 1; transform: none; }
.copy-code { padding: 8px 10px; border-radius: 10px; background: #1c1c1f; font-size: 10.5px; color: rgba(255, 255, 255, 0.5); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: ui-monospace, Menlo, monospace; }
.btn-outline { display: grid; place-items: center; height: 38px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; font-size: 13px; }
.pix-status { margin-top: auto; height: 40px; border-radius: 12px; background: #1c1c1f; position: relative; font-weight: 600; font-size: 12.5px; }
.pix-status > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity 0.3s; }
.pix-status__ok { opacity: 0; color: #4ade80; }
.pix-status.is-paid { background: rgba(34, 197, 94, 0.12); }
.pix-status.is-paid .pix-status__wait { opacity: 0; }
.pix-status.is-paid .pix-status__ok { opacity: 1; }
.mini-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.dot-ok { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }

/* comprovante */
.confirm { display: grid; justify-items: center; text-align: center; gap: 2px; padding-top: 4px; }
.confirm__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; margin-bottom: 6px; background: var(--go); color: #04130a; }
.scr.is-active .confirm__icon { animation: pop 0.5s var(--ease); }
.receipt { border-radius: 14px; background: #1c1c1f; padding: 2px 12px; }
.receipt div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 11.5px; }
.receipt div:last-child { border-bottom: 0; }
.receipt dt { color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.receipt dd { font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt dd.mono { font-family: ui-monospace, Menlo, monospace; font-weight: 400; font-size: 10.5px; }
.receipt__total dd { font-size: 14px; font-weight: 700; }
.powered--push { margin-top: auto; }
.powered--push + .app-btn { margin-top: 0; }
.powered { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10.5px; color: rgba(255, 255, 255, 0.5); }

/* painel / split */
.dash-head small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.dash-head b { font-size: 18px; letter-spacing: -0.02em; }
.sale { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: #1c1c1f; border: 1px solid rgba(255, 255, 255, 0.08); }
.sale__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.sale div { flex: 1; min-width: 0; }
.sale b { display: block; font-size: 12.5px; }
.sale small { font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.sale strong { color: #fff; font-size: 14px; }
.splitlist { border-radius: 14px; background: #1c1c1f; overflow: hidden; }
.split-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.split-row:last-child { border-bottom: 0; }
.split-row b { display: block; font-size: 12.5px; }
.split-row small { font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.split-row .chip { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #2a2a2e; color: rgba(255, 255, 255, 0.5); transition: all 0.3s; }
.split-row.is-done .chip { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.split-row--you { background: rgba(34, 197, 94, 0.07); box-shadow: inset 3px 0 0 var(--go); }
.split-note { margin-top: auto; font-size: 10px; color: rgba(255, 255, 255, 0.4); text-align: center; }

/* Safari */
.safari {
  flex: none; display: flex; align-items: center; gap: 10px; margin: 0 10px; height: 40px; padding: 0 14px;
  border-radius: 20px; background: #232326; border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}
.safari__aa { font-size: 12px; font-weight: 600; }
.safari__url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12.5px; }
.safari__url svg { color: rgba(255, 255, 255, 0.55); }
.ios-home { flex: none; display: block; width: 36%; height: 5px; margin: 9px auto 7px; border-radius: 3px; background: #fff; }

/* Cursor de toque */
.cursor {
  position: absolute; left: 0; top: 0; z-index: 6; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.25); border: 2px solid rgba(255, 255, 255, 0.85);
  opacity: 0; pointer-events: none; transition: transform 0.7s var(--ease), opacity 0.3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-tap { animation: tap 0.35s var(--ease); }

/* Notificação */
.toast {
  position: absolute; right: -28px; bottom: 96px; z-index: 6;
  display: none; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(12px); transition: all 0.45s var(--ease);
}
.toast b { display: block; font-size: 13px; }
.toast small { display: block; font-size: 12px; color: var(--muted); }
.toast.is-on { opacity: 1; transform: none; }

/* Etapas */
.rail { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: min(400px, 100%); margin-top: 26px; }
.rail button { width: 100%; display: grid; gap: 8px; background: none; border: 0; cursor: pointer; text-align: left; font-size: 0.78rem; color: var(--dim); transition: color 0.2s; }
.rail i { position: relative; display: block; height: 2px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.rail i::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--go); }
.rail button.is-done i::after { transform: scaleX(1); }
.rail button.is-active { color: #fff; }
.rail button.is-active i::after { animation: fill var(--dur, 4s) linear forwards; }
.rail.is-paused button.is-active i::after { animation-play-state: paused; }
.rail button:focus-visible { outline: 2px solid var(--go); outline-offset: 4px; border-radius: 4px; }
.sim__caption { margin-top: 12px; font-size: 0.8rem; color: var(--dim); text-align: center; }

/* ---------- Faixa ---------- */
.band { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); font-size: clamp(2.2rem, 6.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1; padding: 30px 0; white-space: nowrap; }
.band__track { display: inline-flex; align-items: center; gap: 0.6em; animation: marquee 40s linear infinite; padding-left: 0.6em; }
.band__w--solid { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band__w--outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3); }
.band b { color: #8d8d96; font-weight: 400; font-size: 0.4em; }

/* ---------- Seções ---------- */
.section { padding: 88px 0; position: relative; }

.chain { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.chain__step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.chain__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.chain__step p { font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.chain__step--win { border-color: rgba(34, 197, 94, 0.5); }
.chain__step--win .chain__tag { color: var(--go); }

/* Bloco de impacto: vermelho sólido */
.impact { display: grid; gap: 28px; justify-items: center; text-align: center; padding: 48px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); }
.impact__phrase { font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.05; max-width: 16ch; }

/* ---------- CTA final + formulário ---------- */
.final .final__cta { margin-top: 32px; display: grid; justify-items: center; }

/* ---------- Popup do formulário ---------- */
html.modal-open { overflow: hidden; }
.modal {
  padding: 0; border: 0; background: transparent; color: inherit;
  width: 100%; height: 100%; max-width: none; max-height: none; overflow: hidden;
}
.modal[open] { display: grid; place-items: center; }
.modal::backdrop { background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__box {
  position: relative; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  padding: 44px 28px 26px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  animation: modal-in 0.35s var(--ease);
}
.modal__close {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.modal__close:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.modal__close:focus-visible { outline: 2px solid var(--go); outline-offset: 2px; }

.step { gap: 14px; border: 0; min-width: 0; padding: 0; margin: 0; }
.step:not(.is-active) { display: none; }
.step.is-active { display: grid; animation: step-in 0.35s var(--ease); }
.step .pill { justify-self: start; margin-bottom: 6px; }
.step .step__q { display: block; font-size: clamp(1.35rem, 4.2vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: #fff; padding: 0; margin-bottom: 4px; }
.step input[type="text"], .step input[type="tel"] { min-height: 58px; font-size: 1.1rem; }
.form__nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.form__nav .btn { flex: 1; }
.back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 56px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted);
  font-family: var(--font); font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.back:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.back[hidden] { display: none; }
.btn.is-final .btn__arrow { display: none; }
.is-loading .btn__arrow { display: none; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field label, .field legend { font-size: 0.88rem; font-weight: 700; color: #e2e2e5; }
.field legend { margin-bottom: 8px; padding: 0; }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--dim); }
.field input:focus { outline: none; border-color: var(--go); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.field.is-invalid input[type="text"], .field.is-invalid input[type="tel"] { border-color: #ff5b53; }
.field__error { color: #ff8a84; font-size: 0.82rem; }
.field__error:empty { display: none; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span {
  position: relative; display: flex; align-items: center; min-height: 52px; height: 100%;
  padding: 10px 12px 10px 38px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2);
  font-size: 0.88rem; line-height: 1.25; color: #dcdce0; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.option span::before { content: ""; position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid var(--dim); transition: border 0.2s; }
.option:hover span { border-color: rgba(255, 255, 255, 0.25); }
.option input:checked + span { border-color: var(--go); background: var(--go-soft); color: #fff; }
.option input:checked + span::before { border: 5px solid var(--go); }
.option input:focus-visible + span { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35); }
.field--options.is-invalid .option span { border-color: rgba(255, 91, 83, 0.6); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 6px; }
.form__status { padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; background: rgba(255, 91, 83, 0.1); border: 1px solid rgba(255, 91, 83, 0.4); color: #ffbdb9; }
.form__status-link { display: inline-block; margin-top: 8px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form__legal { font-size: 0.78rem; color: var(--dim); text-align: center; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(4, 19, 10, 0.3); border-top-color: #04130a; animation: spin 0.7s linear infinite; }
.is-loading .spinner { display: inline-block; }

.success { display: grid; justify-items: center; gap: 0; text-align: center; padding: 12px 4px 4px; outline: none; }
.success .btn { margin-top: 24px; }
.success__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--go); color: #04130a; animation: pop 0.45s var(--ease); }
.success h2 { font-size: 1.9rem; margin-bottom: 12px; }
.success p { color: var(--muted); max-width: 380px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { padding: 44px 0 120px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 16px; }
.footer__logo { height: 18px; width: auto; }
.footer__note { color: var(--dim); font-size: 0.82rem; max-width: 640px; }
.footer small { color: var(--dim); font-size: 0.82rem; }

/* ---------- CTA fixo mobile ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.sticky-cta.is-visible { transform: none; }

/* ---------- Efeitos de scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* títulos palavra por palavra */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w__i { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 35ms); }
.is-split-in .w__i { transform: none; }

/* seção sobe por cima da anterior */
[data-fx="enter"] {
  position: relative; z-index: 1; background-color: var(--bg);
  border-radius: calc((1 - var(--enter, 1)) * 40px) calc((1 - var(--enter, 1)) * 40px) 0 0;
}
section[data-fx="enter"] { border-top: 1px solid var(--line-2); }
[data-fx="enter"] > .container {
  transform: translateY(calc((1 - var(--enter, 1)) * 64px));
  opacity: calc(0.3 + var(--enter, 1) * 0.7);
  will-change: transform, opacity;
}

/* hero recua ao rolar */
.hero__layout {
  transform: translateY(calc(var(--leave, 0) * 72px)) scale(calc(1 - var(--leave, 0) * 0.04));
  opacity: calc(1 - var(--leave, 0) * 0.7);
}

/* ---------- Keyframes ---------- */
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: 0; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes tap { 50% { transform: var(--pos) scale(0.7); background: rgba(34, 197, 94, 0.5); } }

/* ---------- Breakpoints ---------- */
@media (max-width: 639px) {
  .modal[open] { place-items: end center; }
  .modal__box {
    width: 100%; max-height: 92dvh; border-radius: 24px 24px 0 0; border-bottom: 0;
    padding: 44px 20px calc(20px + env(safe-area-inset-bottom));
    animation-name: sheet-in;
  }
}
@keyframes sheet-in { from { transform: translateY(100%); } }
@media (min-width: 400px) { .logo img { height: 20px; } }

@media (min-width: 640px) {
  .container, .header__bar, .grid-lines { padding: 0 32px; }
  .grid-lines i:nth-child(2), .grid-lines i:nth-child(3) { display: block; }
  .hero__cta .btn { width: auto; }
  .chain { grid-template-columns: repeat(3, 1fr); }
  .chain__step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 14px; height: 1px; background: var(--line-2); }
  .options { gap: 10px; }
  .impact { padding: 48px 44px; }
}

@media (min-width: 980px) {
  .nav { display: flex; }
  .logo img { height: 22px; }
  .hero { padding: 140px 0 100px; min-height: 100vh; display: flex; align-items: center; }
  .hero__layout { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .toast { display: flex; }
  .section { padding: 128px 0; }
  .impact { padding: 80px 56px; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 48px; }
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .band__track { animation: none !important; }
  .w__i { transform: none !important; }
  [data-fx="enter"] > .container, .hero__layout { transform: none !important; opacity: 1 !important; }
  [data-fx="enter"] { border-radius: 0 !important; }
}

/* ---------- Página de obrigado ---------- */
.ty-page { min-height: 100dvh; display: flex; flex-direction: column; }
.ty { flex: 1; display: grid; place-items: center; padding: 112px 20px 64px; }
.ty__box { width: min(640px, 100%); display: grid; justify-items: center; text-align: center; }
.ty__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 28px; background: var(--go); color: #04130a; animation: pop 0.5s var(--ease); }
.ty__title { font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 20px; }
.ty__text { color: var(--muted); font-size: clamp(1.02rem, 2.4vw, 1.15rem); max-width: 540px; }
.ty__text + .ty__text { margin-top: 12px; }
.ty__text--strong { color: #fff; font-weight: 700; }
.ty__wa { margin-top: 32px; width: 100%; max-width: 420px; }
.ty__wa[hidden] { display: none; }
.ty__back { margin-top: 18px; font-size: 0.9rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ty__back:hover { color: #fff; }
.ty__footer { padding-bottom: 44px; }
