/* =============================================================
   Comece na Cripto — Design System
   Dark premium • esmeralda / teal / dourado • glassmorphism • 3D blockchain
   Identidade própria: crescimento, segurança e confiança.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a1310;
  --bg-2: #0e1a15;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text: #eafbf3;
  --text-muted: #9fc0b3;
  --text-dim: #6c8a7d;

  /* Nomes mantidos por compatibilidade, agora em tons esmeralda/teal/dourado */
  --blue: #10b981;   /* esmeralda */
  --cyan: #2dd4bf;   /* teal */
  --purple: #0d9488; /* teal profundo */
  --violet: #f5c451; /* dourado (acento) */
  --gold: #f5c451;

  --grad: linear-gradient(135deg, #2dd4bf 0%, #10b981 55%, #0d9488 100%);
  --grad-soft: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(16, 185, 129, 0.16));
  --grad-text: linear-gradient(120deg, #5eead4 0%, #34d399 42%, #facc15 100%);

  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #fb7185;

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;

  --shadow: 0 24px 60px -22px rgba(1, 12, 8, 0.85);
  --glow-blue: 0 0 0 1px rgba(16, 185, 129, 0.35), 0 18px 50px -12px rgba(16, 185, 129, 0.45);

  --maxw: 1160px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Ambient background ---------- */
.bg-fx {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px 600px at 80% -5%, rgba(13, 148, 136, 0.20), transparent 60%),
    radial-gradient(760px 520px at 5% 8%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, rgba(16, 185, 129, 0.16), transparent 60%),
    var(--bg);
}
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 78%);
  opacity: 0.6;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5;
  animation: float 16s var(--ease) infinite;
}
.orb.a { width: 420px; height: 420px; background: rgba(45,212,191,0.35); top: -120px; left: -80px; }
.orb.b { width: 460px; height: 460px; background: rgba(13,148,136,0.32); top: 20%; right: -140px; animation-delay: -5s; }
.orb.c { width: 380px; height: 380px; background: rgba(16,185,129,0.30); bottom: -140px; left: 30%; animation-delay: -9s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { padding-block: clamp(64px, 9vw, 118px); position: relative; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--border);
  margin-bottom: 20px;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.section-head p { color: var(--text-muted); font-size: 1.1rem; margin-top: 16px; }
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap; position: relative;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #052a20;
  background: linear-gradient(180deg, #16c790 0%, #0ea678 100%);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 6px 18px -8px rgba(13, 148, 136, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(13, 148, 136, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary .arrow { transition: transform 0.25s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { color: var(--text); background: var(--surface-2); border-color: rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(45, 212, 191, 0.55); background: rgba(255, 255, 255, 0.07); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: #0a1310; backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand .logo { width: 38px; height: 38px; flex: none; }
.brand b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; color: var(--text-muted); font-weight: 500; font-size: 0.96rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Language switch */
.lang-switch { display: inline-flex; padding: 4px; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--text-dim); font-weight: 600; font-size: 0.82rem;
  padding: 6px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; font-family: var(--font-head);
}
.lang-switch button.active { color: #05070e; background: var(--grad); }
.nav-actions .btn { padding: 11px 20px; font-size: 0.94rem; }

.menu-toggle { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; width: 44px; height: 44px; color: var(--text); align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 80px); text-align: center; }
.hero-inner { position: relative; }
#net-canvas { position: absolute; inset: -40px 0 auto; width: 100%; height: 460px; z-index: -1; opacity: 0.55; mask-image: radial-gradient(circle at 50% 40%, black, transparent 72%); }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px);
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.7rem); letter-spacing: -0.035em; }
.hero h1 .line { display: block; }
.hero .sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: clamp(1rem, 2.4vw, 1.4rem); color: var(--text-muted); letter-spacing: 0; margin-top: 18px; }
.hero .lead { max-width: 640px; margin: 26px auto 0; color: var(--text-muted); font-size: 1.14rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 780px; margin: 62px auto 0; }
.stat { padding: 24px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); text-align: center; }
.stat .v { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.2rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 0.9; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* problem cards use a warmer icon tint */
.card.prob .ic { color: var(--warn); background: linear-gradient(135deg, rgba(251,191,36,0.14), rgba(251,113,133,0.12)); }

/* ---------- Why / feature split ---------- */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.why-visual { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; }
.why-visual .core { position: relative; width: 100%; max-width: 420px; }

/* ---------- Steps overview ---------- */
.steps-list { display: grid; gap: 16px; }
.step-row {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.step-row:hover { transform: translateX(6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.step-row .num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); color: var(--text); border: 1px solid var(--border); }
.step-row h3 { margin-bottom: 6px; }
.step-row p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- Cash highlight ---------- */
.cash { position: relative; }
.cash-panel {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(45,212,191,0.08), rgba(13,148,136,0.10));
  border: 1px solid var(--border-strong); position: relative; overflow: hidden;
}
.cash-panel::after { content: ""; position: absolute; width: 340px; height: 340px; right: -80px; top: -80px; background: radial-gradient(circle, rgba(13,148,136,0.4), transparent 70%); filter: blur(20px); }
.cash-panel ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.cash-panel li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 1rem; }
.cash-panel li svg { width: 22px; height: 22px; color: var(--cyan); flex: none; margin-top: 2px; }
.cash-visual { position: relative; z-index: 1; }

/* 3D card mock */
.card3d { perspective: 1000px; }
.credit {
  aspect-ratio: 1.586/1; border-radius: 20px; padding: 24px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0b1a15, #10241d 55%, #123a2e);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: rotateY(-16deg) rotateX(8deg); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between;
}
.card3d:hover .credit { transform: rotateY(-6deg) rotateX(3deg); }
.credit::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 20% 0%, rgba(45,212,191,0.35), transparent 60%); }
.credit .top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.credit .chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #e9c46a, #b8860b); opacity: 0.9; }
.credit .brand2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; }
.credit .num { font-family: var(--font-head); letter-spacing: 0.18em; font-size: 1.05rem; color: #dfe6ff; position: relative; }
.credit .row { display: flex; justify-content: space-between; align-items: flex-end; position: relative; font-size: 0.8rem; color: var(--text-muted); }

.ad-tag {
  display: inline-block; margin-left: 10px; vertical-align: middle;
  font-family: var(--font-head); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
  padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--border-strong);
}

/* ---------- Alone / narrative ---------- */
.narrative { text-align: center; max-width: 760px; margin-inline: auto; }
.narrative p { color: var(--text-muted); font-size: 1.12rem; margin-top: 16px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-card {
  padding: clamp(40px, 6vw, 72px); border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(13,148,136,0.16));
  border: 1px solid var(--border-strong);
}
.cta-card h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.cta-card p { color: var(--text-muted); font-size: 1.14rem; margin: 16px auto 32px; max-width: 560px; }
.cta-card .hero-cta { margin-top: 0; }
.cta-card p svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--warn); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 62px 34px; background: linear-gradient(180deg, transparent, rgba(13,148,136,0.05)); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); max-width: 320px; font-size: 0.96rem; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a, .footer-col li { color: var(--text-muted); font-size: 0.96rem; display: block; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col a svg { width: 14px; height: 14px; vertical-align: -2px; margin-left: 5px; }

.disclaimers { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.disc {
  padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
  font-size: 0.86rem; color: var(--text-muted);
}
.disc h5 { font-family: var(--font-head); font-size: 0.9rem; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.disc.risk h5 { color: var(--warn); }
.disc h5 svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-dim); font-size: 0.86rem; }

/* =============================================================
   GUIDE PAGE
   ============================================================= */
/* Segurança contra overflow horizontal no mobile: grids/flex podem encolher */
.guide-layout, .guide-content, .guide-step, .guide-panel,
.substep, .substep > div, .mini, .note, .note > div { min-width: 0; }
.guide-step .step-header { min-width: 0; }
.guide-step .step-header h2 { min-width: 0; overflow-wrap: break-word; }
.guide-panel p, .guide-list li, .mini p, .mini h4, .note p, .note h4,
.substep p, .substep h4, .legal-body p, .faq-a-inner p, .faq-q { overflow-wrap: break-word; word-break: break-word; }

.guide-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: 40px; text-align: center; }
.guide-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.guide-hero p { max-width: 640px; margin: 20px auto 0; color: var(--text-muted); font-size: 1.12rem; }

/* progress bar (top, sticky under header) */
.progress-wrap { position: sticky; top: 72px; z-index: 40; background: rgba(10,19,16,0.7); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.progress-inner { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.progress-label { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; font-family: var(--font-head); font-weight: 600; }
.progress-track { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 0.15s linear; box-shadow: 0 0 14px rgba(16,185,129,0.6); }
.progress-pct { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; min-width: 44px; text-align: right; color: var(--text); }

.guide-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; padding-top: 44px; }

/* sticky TOC */
.toc { position: sticky; top: 148px; }
.toc h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.toc a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s, background 0.2s; border: 1px solid transparent;
}
.toc a .tn { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); transition: all 0.2s; }
.toc a:hover { color: var(--text); background: var(--surface); }
.toc a.active { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.toc a.active .tn { background: var(--grad); color: #05070e; border-color: transparent; }

/* guide content */
.guide-step { scroll-margin-top: 160px; margin-bottom: 30px; }
.guide-step .step-header { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.guide-step .badge-num { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; width: 54px; height: 54px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #05070e; box-shadow: 0 12px 30px -10px rgba(16,185,129,0.7); }
.guide-step h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.guide-step .intro { color: var(--text-muted); font-size: 1.06rem; margin: 6px 0 24px; }

.guide-panel { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.guide-panel > * + * { margin-top: 20px; }
.guide-panel p { color: var(--text); }
.guide-panel strong { color: #fff; font-weight: 700; }
.guide-panel em { color: var(--cyan); font-style: normal; font-weight: 600; }

/* substeps */
.substeps { display: grid; gap: 14px; counter-reset: sub; }
.substep { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); }
.substep .sn { counter-increment: sub; width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan); }
.substep .sn::before { content: counter(sub); }
.substep h4 { font-size: 1.02rem; margin-bottom: 4px; }
.substep p { color: var(--text-muted); font-size: 0.96rem; }

/* notes */
.note { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.note .nic { width: 26px; height: 26px; flex: none; }
.note .nic svg { width: 26px; height: 26px; }
.note h4 { font-size: 0.98rem; margin-bottom: 3px; }
.note p { font-size: 0.94rem; color: var(--text-muted); }
.note.info { background: rgba(16,185,129,0.09); border-color: rgba(16,185,129,0.28); }
.note.info .nic { color: var(--blue); }
.note.tip { background: rgba(52,211,153,0.09); border-color: rgba(52,211,153,0.28); }
.note.tip .nic { color: var(--ok); }
.note.warn { background: rgba(251,191,36,0.09); border-color: rgba(251,191,36,0.30); }
.note.warn .nic { color: var(--warn); }

/* lists */
.guide-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.guide-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); }
.guide-list li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; flex: none; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }

/* mini cards inside guide */
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.mini { padding: 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); }
.mini h4 { font-size: 0.98rem; margin-bottom: 4px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini p { font-size: 0.9rem; color: var(--text-muted); }

.guide-cta-inline { margin-top: 22px; }

/* ---------- Subheading dentro de painéis ---------- */
.block-h { font-size: 1.12rem; margin-top: 8px; color: var(--text); }
.guide-panel .block-h:first-child, .legal-body .block-h:first-child { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 40px; }
.faq-group-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 18px; }
.faq-group-title::after { content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--grad); margin-top: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 12px; overflow: hidden; transition: border-color 0.25s, background 0.25s; }
.faq-item.open { border-color: var(--border-strong); background: var(--surface-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 18px 22px; background: transparent; border: 0; color: var(--text);
  font-family: var(--font-head); font-weight: 600; font-size: 1.04rem;
}
.faq-chevron { width: 20px; height: 20px; flex: none; color: var(--cyan); transform: rotate(180deg); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-chevron { transform: rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; }
.faq-a-inner p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- Páginas legais ---------- */
.legal-page { padding-top: clamp(48px, 7vw, 88px); }
.legal-wrap { max-width: 800px; margin-inline: auto; }
.legal-wrap h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 10px; }
.legal-updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 34px; }
.legal-body { display: grid; gap: 16px; }
.legal-body p { color: var(--text-muted); }
.legal-body .block-h { font-family: var(--font-head); font-size: 1.2rem; color: var(--text); margin-top: 18px; }
.legal-body strong { color: var(--text); }
.legal-body .note { margin-top: 8px; }

/* ---------- Footer legal links ---------- */
.footer-legal-links { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--text-dim); transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--cyan); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all 0.3s var(--ease); z-index: 50; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--cyan); box-shadow: var(--glow-blue); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 420px; margin-inline: auto; }
  .cash-panel { grid-template-columns: 1fr; }
  .cash-visual { max-width: 380px; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .disclaimers { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }          /* CTA fica só dentro do menu aberto */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; max-width: 340px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  section { padding-block: 60px; }
  .credit { transform: none; }

  /* Cabeçalho compacto (evita a marca quebrar em várias linhas) */
  .container { padding-inline: 18px; }
  .nav { gap: 8px; position: relative; }
  .brand { font-size: 0.98rem; gap: 8px; flex-shrink: 0; }
  .brand .logo { width: 30px; height: 30px; }
  .brand span { white-space: nowrap; }
  .nav-actions { gap: 6px; }
  .lang-switch { padding: 3px; }
  .lang-switch button { padding: 6px 10px; font-size: 0.78rem; }
  .menu-toggle { width: 40px; height: 40px; }

  /* Menu mobile: painel sólido, largura total, abaixo do cabeçalho */
  .nav.open .nav-links {
    display: flex; position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 22px;
    background: #0b1712; backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow); z-index: 70;
  }
  .nav.open .nav-links a { padding: 15px 14px; font-size: 1.05rem; border-radius: 12px; }
  .nav.open .nav-links a.active { background: var(--surface); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .orb { display: none; }
  #net-canvas { display: none; }
}

/* Print */
@media print {
  .bg-fx, .site-header, .progress-wrap, .toc, .to-top, .site-footer .disclaimers { display: none; }
  body { background: #fff; color: #000; }
}
