/* Stoqs — landing. Mesma identidade do app: grafite, laranja #FF5B1F (texto escuro por cima), Sora. */
@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url("/fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-display: swap; src: url("/fonts/sora-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #0b0d11;
  --bg-2: #101318;
  --card: #151921;
  --card-2: #1c212b;
  --line: #242a35;
  --text: #f4f5f7;
  --muted: #8a919e;
  --accent: #ff5b1f;
  --accent-ink: #101318;
  --accent-soft: #2a1a12;
  --accent-soft-ink: #ffb18f;
  --up: #2bd97c;
  --down: #ff3b5c;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 32px; }
.up { color: var(--up); }
.down { color: var(--down); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 15px; transition: transform .12s ease, filter .12s ease, background .12s ease; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--card-2); color: var(--text); }
.btn-ghost:hover { background: #262c38; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }

/* Navegação */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 17, .82); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Topo */
.hero { padding: 64px 0 56px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 620px; background: radial-gradient(600px 320px at 78% 30%, rgba(255, 91, 31, .16), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(43, 217, 124, .15); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
.hl { color: var(--accent); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: #c5cad3; margin: 22px 0 30px; max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.chips li { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.chips li::before { content: "✓ "; color: var(--accent); }

/* Celular ilustrativo */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { width: 300px; height: 610px; border-radius: 46px; background: #050608; border: 1px solid #2a303c; padding: 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 8px #11141a; position: relative; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; background: var(--bg-2); padding: 52px 16px 16px; display: flex; flex-direction: column; overflow: hidden; font-size: 12px; }
.p-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.p-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; letter-spacing: -0.03em; }
.p-pill { font-family: ui-monospace, Menlo, monospace; font-size: 10px; background: var(--card-2); padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.p-label { color: var(--muted); font-size: 11px; }
.p-total { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.p-change { font-size: 11px; margin-bottom: 14px; }
.p-tabs { display: flex; gap: 6px; margin-bottom: 6px; font-size: 11px; color: var(--muted); }
.p-tabs span { padding: 5px 10px; border-radius: 999px; }
.p-tabs .on { background: var(--card-2); color: var(--text); }
.p-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.p-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #fff; flex: none; letter-spacing: -0.02em; }
.nm { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.nm b { font-weight: 600; font-size: 13px; }
.nm i, .px i { font-style: normal; font-size: 11px; }
.nm i { color: var(--muted); }
.px { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.px b { font-weight: 600; font-size: 13px; }
.p-actions { display: flex; gap: 8px; }
.p-actions span { flex: 1; text-align: center; padding: 11px 0; border-radius: 12px; font-weight: 600; font-size: 12px; }
.p-sec { background: var(--accent-soft); color: var(--accent-soft-ink); }
.p-pri { background: var(--accent); color: var(--accent-ink); }
.float-card { position: absolute; background: rgba(21, 25, 33, .92); border: 1px solid var(--line); backdrop-filter: blur(8px); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; font-size: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.fc-k { color: var(--muted); }
.fc-v { font-weight: 800; font-size: 15px; }
.fc-1 { left: 2%; top: 22%; }
.fc-2 { right: 0; bottom: 18%; }

/* Faixa de cotações */
.tape { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; height: 48px; }
.tape-track { display: flex; gap: 36px; align-items: center; height: 100%; width: max-content; animation: tape 60s linear infinite; padding-left: 20px; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item { display: inline-flex; gap: 8px; font-size: 14px; white-space: nowrap; }
.tape-item b { font-weight: 600; }
.tape-item span:first-child { color: var(--muted); }
@keyframes tape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } }

/* Seções */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.section h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; max-width: 760px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sec-note { color: var(--muted); font-size: 13px; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 20px; }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { color: #b6bcc7; font-size: 15px; }

.grid-assets { margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.asset-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; transition: border-color .15s, transform .15s; }
a.asset-card:hover { border-color: #3a4150; transform: translateY(-2px); }
.asset-top { display: flex; align-items: center; gap: 10px; }
.asset-top .nm b { font-size: 15px; }
.asset-price { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.asset-price strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.asset-price span { font-size: 13px; font-weight: 600; }
.asset-card svg.spark { width: 100%; height: 40px; }
.skeleton { background: linear-gradient(90deg, var(--card) 0%, var(--card-2) 50%, var(--card) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.features { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.f-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); margin-bottom: 18px; }
.f-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 19px; margin-bottom: 10px; }
.features p { color: #b6bcc7; font-size: 15px; }

.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #b6bcc7; padding: 0 0 20px; font-size: 15px; }

.final { padding: 110px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 50% 60%, rgba(255, 91, 31, .18), transparent 70%); }
.final-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.final h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; max-width: 820px; }

.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--bg-2); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.foot-brand p { color: var(--muted); margin-top: 10px; font-size: 14px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); align-items: center; }
.foot-links a:hover { color: var(--text); }
.legal p { color: #6f7684; font-size: 12px; line-height: 1.7; margin-bottom: 10px; }

/* Responsivo */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .chips { justify-content: center; }
  .grid-assets { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 40px; }
  .section { padding: 72px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .grid-assets { grid-template-columns: 1fr 1fr; gap: 10px; }
  .asset-card { padding: 14px; min-height: 130px; }
  .asset-price strong { font-size: 17px; }
  .phone { width: 270px; height: 550px; }
  .fc-1 { left: 0; }
  .btn-lg { width: 100%; }
  .cta-row { flex-direction: column; }
}
