/* WsTrader — estilos compartilhados por index.html e pricing.html (visual 14/10: plano, sem brilho) */
:root {
  --bg: #0a0806;
  --bg-elev: #110d0a;
  --card: #15110d;
  --card-hi: #1a1511;
  --line: #2a221b;
  --line-hi: #3b3027;
  --text: #f5efe9;
  --muted: #a39587;
  --faint: #6f6358;
  --accent: #ff7a00;
  --accent-hi: #ff8f26;
  --accent-ink: #160900;
  --accent-soft: rgba(255, 122, 0, .1);
  --accent-line: rgba(255, 122, 0, .4);
  --up: #3ecf8e;
  --down: #ff5d5d;
  --radius: 14px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  /* sombras em camadas (luz ambiente + direta) e borda nitida semi-transparente - Vercel guidelines */
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 1px 2px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .35);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 2px 4px rgba(0, 0, 0, .45), 0 24px 64px -12px rgba(0, 0, 0, .7);
  --edge: rgba(255, 220, 190, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
[id] { scroll-margin-top: 84px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }

/* Cabeçalho */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 8, 6, .86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  padding: 11px 18px; font: 600 15px/1 var(--sans); text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(180deg, #ff8a1f, var(--accent)); color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 0 0 1px rgba(255, 122, 0, .6), 0 8px 24px -6px rgba(255, 122, 0, .55); }
.btn-primary:hover { background: linear-gradient(180deg, #ff9a3c, var(--accent-hi)); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 0 0 1px rgba(255, 140, 40, .8), 0 12px 32px -6px rgba(255, 122, 0, .7); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-hi); }
.btn-ghost:hover { border-color: #5a4a3c; background: var(--card); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.nav-links .btn-primary { color: var(--accent-ink); padding: 9px 16px; }

/* Rótulos (substituem o "pill" brilhante) */
.eyebrow, .label { display: none; }                      /* sem rotulos acima dos titulos (skill frontend-design) */
.grad { color: var(--accent); }

/* Seções */
section { padding: 96px 0; border-top: 1px solid var(--line); }
section h2 {
  font: 700 clamp(30px, 3.6vw, 46px)/1.08 var(--display); letter-spacing: -.03em; margin: 0 0 14px; max-width: 760px;
}
section .sub { color: var(--muted); margin: 0 0 48px; max-width: 600px; font-size: 17px; }
.center, .center h2, .center .sub { text-align: center; margin-inline: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 30px 28px; background: var(--bg-elev); border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .n { font: 700 34px/1 var(--display); color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step h4 { margin: 0 0 8px; font: 700 20px/1.25 var(--display); letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 16.5px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px/1 var(--sans); color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
details p { margin: -8px 0 22px; color: var(--muted); max-width: 680px; }

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { text-decoration: none; margin-left: 20px; }
footer a:hover { color: var(--text); }
.risk { padding: 28px 0; color: var(--faint); font-size: 12.5px; border-top: 1px solid var(--line); }

@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  section { padding: 68px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
