/* ==========================================================================
   Robinhood Consultoria — folha de estilo única (sem dependências externas)
   Visual: fundo azul-marinho, faixas azul royal, cards brancos arredondados,
   títulos leves (Lexend) e texto em DM Sans.
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght.7c87a648293f.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("../fonts/lexend-latin-wght.2077a5271e5c.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ----------
   As cores de texto são variáveis de CONTEXTO: no fundo escuro valem branco;
   dentro de cards e seções claras (.card, .light) viram tinta escura. */
:root {
  color-scheme: light;
  --navy-950: #0d0e1d;
  --navy-900: #121325;
  --navy-800: #17182c;
  --navy-700: #20223d;
  --royal-800: #04326d;
  --royal-700: #0a3f86;
  --royal-600: #18457f;
  --blue-500: #1a6aff;
  --blue-600: #1559e0;
  --blue-400: #4770db;
  --blue-100: #dce8ff;
  --blue-50: #eef4ff;

  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --surface-3: #e6edf7;

  /* contexto escuro (padrão da página) */
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, .78);
  --text-muted: rgba(255, 255, 255, .56);
  --hair: rgba(255, 255, 255, .12);
  --hover: rgba(255, 255, 255, .07);
  --chip-bg: rgba(255, 255, 255, .1);
  --outline: rgba(255, 255, 255, .85);
  --link-accent: #8fb5ff;

  --pos: #0a7a3d; --neg: #c0392b;
  --pos-bg: #e3f5ea; --neg-bg: #fdeceb;
  --warn-ink: #8a5a00; --warn-bg: #fff3d6;
  --info-ink: #1559e0; --info-bg: #e8f0ff;
  --focus: #1a6aff;

  --radius-xl: 30px;
  --radius: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px 7px rgba(0, 0, 0, .03);
  --shadow-btn: 0 6px 20px rgba(0, 0, 0, .07);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Lexend", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Gráficos (paleta categórica validada p/ daltonismo, sobre fundo branco) */
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100;
  --series-5: #e87ba4; --series-6: #008300; --series-7: #4a3aa7; --series-8: #e34948;
  --status-good: #0ca30c; --status-critical: #d03b3b;
  --grid: #e8edf4; --axis: #c6d0de;
  --line-strong: #cbd5e1;
}

/* contexto claro: cards, seções brancas, barra de navegação, rodapé */
.light, .card, .stat, .nav-shell, .main-nav, .footer-card, .mock, .auth-card, .decision.pending {
  --text: #17182c;
  --text-2: #4a4d63;
  --text-muted: #6b7080;
  --hair: #e3e8f0;
  --hover: #f1f5fb;
  --chip-bg: #eef2f8;
  --outline: #04326d;
  --link-accent: #1559e0;
  color: var(--text);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy-800); color: var(--text);
  font: 300 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
b, strong { font-weight: 600; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); }
h3 { font-size: 1.15rem; font-weight: 400; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--hair); margin: 1.5rem 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #17182c; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.container-fluid { width: 100%; padding: 0 clamp(16px, 2.5vw, 2rem); }
.container-narrow { max-width: 780px; }
.muted { color: var(--text-muted); }
.ink-2 { color: var(--text-2); }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.neu { color: var(--text-2); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; } .mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.75rem; }
.flex { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.stack > * + * { margin-top: 1rem; }
.hidden { display: none !important; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .6rem 1.35rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 500 .95rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--royal-800); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--royal-700); }
.btn-accent { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-btn); }
.btn-accent:hover { background: var(--blue-600); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--blue-50); }
.btn-outline { background: transparent; border-color: var(--outline); color: var(--outline); }
.btn-outline:hover { background: var(--hover); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--hover); color: var(--text); }
.btn-danger { background: transparent; border-color: color-mix(in srgb, var(--neg) 45%, transparent); color: var(--neg); }
.btn-danger:hover { background: var(--neg-bg); }
.btn-sm { min-height: 36px; padding: .4rem .9rem; font-size: .86rem; }
.btn-lg { min-height: 52px; padding: .8rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
form.inline { display: inline; }
.arrow-btn {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; flex: none;
  background: var(--royal-800); color: #fff; text-decoration: none; transition: transform .15s, background .15s;
}
.arrow-btn svg { width: 22px; height: 22px; }
.arrow-btn:hover { transform: translate(2px, -2px); background: var(--royal-700); }
.arrow-btn.on-dark { background: #fff; color: var(--royal-800); }
.arrow-btn.on-dark:hover { background: var(--blue-100); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border-radius: 999px;
  font-size: .76rem; font-weight: 500; letter-spacing: .01em; background: var(--chip-bg); color: var(--text-2);
  white-space: nowrap; text-decoration: none;
}
.badge-pos { background: var(--pos-bg); color: var(--pos); }
.badge-neg { background: var(--neg-bg); color: var(--neg); }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); }
.badge-info { background: var(--info-bg); color: var(--info-ink); }
.badge-gold { background: var(--blue-100); color: var(--royal-800); }
.badge-beta { background: var(--blue-100); color: var(--royal-800); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; padding: .18rem .5rem; font-weight: 600; }
.master-flag { background: var(--blue-500); color: #fff; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; padding: .22rem .6rem; text-transform: uppercase; }

/* ---------- Cabeçalho (barra branca flutuante) ---------- */
.site-header { position: sticky; top: 0; z-index: 40; padding: 14px 0 0; pointer-events: none; }
.site-header .nav-shell { pointer-events: auto; }
.nav-shell {
  position: relative; display: flex; align-items: center; gap: 1rem; min-height: 62px; padding: 0 10px 0 18px;
  background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(5, 8, 30, .18);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--display); font-weight: 400; font-size: 1.08rem; color: var(--navy-800); min-width: 0; }
.brand svg { width: 32px; height: 32px; color: var(--royal-800); flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; align-items: center; gap: .25rem; margin-left: 1.5rem; flex: 1; }
.main-nav a.nav-link { padding: .5rem .75rem; border-radius: 8px; text-decoration: none; color: var(--navy-800); font-weight: 400; font-size: .95rem; }
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--blue-500); }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.header-user { font-size: .88rem; color: var(--text-2); margin-right: .25rem; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blue-100); color: var(--royal-800); cursor: pointer; flex: none; }
.icon-btn:hover { background: #cddcff; }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; margin-left: auto; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; background: #fff; border-radius: 12px; padding: .5rem .75rem 1rem; display: none; box-shadow: 0 10px 30px rgba(5, 8, 30, .25);
  }
  .main-nav.open { display: flex; }
  .main-nav a.nav-link { padding: .8rem .5rem; }
  .main-nav .header-actions { margin: .5rem 0 0; flex-wrap: wrap; }
  .main-nav .header-actions .btn, .main-nav .header-actions form { flex: 1 1 auto; }
  .main-nav .header-actions form .btn { width: 100%; }
}

/* ---------- Mensagens ---------- */
.messages { margin: 1rem 0; display: grid; gap: .5rem; }
.alert { padding: .85rem 1.1rem; border-radius: var(--radius-md); background: var(--info-bg); color: var(--info-ink); font-size: .95rem; font-weight: 400; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.alert-success { background: var(--pos-bg); color: var(--pos); }
.alert-error, .alert-danger { background: var(--neg-bg); color: var(--neg); }
.alert-warning { background: var(--warn-bg); color: var(--warn-ink); }
.alert p { margin: 0; }

/* ---------- Seções do site público ---------- */
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 400; color: var(--text-muted); margin-bottom: .75rem; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-royal { background: linear-gradient(180deg, var(--navy-800) 0%, var(--royal-800) 18%, var(--royal-800) 82%, var(--navy-800) 100%); }
.section-light { background: #fff; }
.section-head { max-width: 52rem; margin-bottom: 2.5rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.section-head p { color: var(--text-2); font-size: 1.02rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.5rem; }
.section-head-row .big-arrow { width: 64px; height: 64px; color: #fff; flex: none; }

.hero { position: relative; padding: calc(76px + clamp(4rem, 9vw, 7.5rem)) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(26, 106, 255, .22), transparent 60%),
              radial-gradient(900px 500px at 10% 100%, rgba(4, 50, 109, .55), transparent 70%), var(--navy-800); }
.hero-art { position: absolute; right: -40px; top: 0; height: 100%; width: min(58%, 820px); opacity: .55; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.6rem); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--link-accent); }
.hero .lead { font-size: clamp(1rem, .95rem + .3vw, 1.12rem); color: var(--text-2); max-width: 34rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.trust-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; color: var(--text-2); font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: .5rem; }
.trust-row svg { width: 18px; height: 18px; color: var(--link-accent); }

.mock { background: #fff; border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); position: relative; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mock-head b { font-family: var(--display); font-weight: 400; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.mock-stat { background: var(--blue-50); border-radius: 12px; padding: .65rem .75rem; }
.mock-stat b { display: block; font-size: 1rem; font-weight: 600; color: var(--royal-800); }
.mock-stat span { font-size: .72rem; color: var(--text-muted); }
.mock svg.mock-chart { width: 100%; height: auto; display: block; }
.mock-chart .grid-line { stroke: var(--grid); stroke-width: 1; }
.mock-chart .l1 { stroke: var(--series-1); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mock-chart .l2 { stroke: var(--series-2); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mock-chart .a1 { fill: var(--series-1); opacity: .1; }
.mock-chart .end { fill: var(--series-1); stroke: #fff; stroke-width: 2; }
.mock-legend { display: flex; gap: 1rem; font-size: .78rem; color: var(--text-2); margin-top: .5rem; }
.mock-trade { display: flex; justify-content: space-between; align-items: center; padding: .65rem .8rem; border-radius: 12px; background: var(--blue-50); margin-top: .6rem; font-size: .88rem; }

main > .hero:first-child { margin-top: -76px; }

/* Cards "quem somos" */
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr 1.9fr; gap: 1rem; }
.intro-card { border-radius: var(--radius-xl); padding: 1.75rem; display: flex; flex-direction: column; min-height: 380px; }
.intro-card h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 400; }
.intro-card .grow { flex: 1; }
.intro-card.tint { background: var(--blue-100); }
.intro-card .big { font-family: var(--display); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); font-weight: 400; color: var(--royal-800); line-height: 1.1; margin: .5rem 0 .25rem; }
.intro-card.art { background: linear-gradient(160deg, var(--royal-600), var(--navy-900)); color: #fff; padding: 0; overflow: hidden; position: relative; }
.intro-card.art svg { width: 100%; height: 100%; display: block; }
.intro-card.art .caption { position: absolute; left: 1.75rem; bottom: 1.5rem; right: 1.75rem; }
.intro-card.art .caption h3 { color: #fff; }
.intro-card.art .caption p { color: rgba(255, 255, 255, .75); margin: 0; font-size: .95rem; }

/* Cards de soluções (na faixa royal) */
.solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.solution-card { border-radius: var(--radius-xl); padding: 2rem; min-height: 400px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.solution-card h3 { font-family: var(--display); font-size: 1.55rem; font-weight: 300; max-width: 16rem; }
.solution-card p { font-size: .92rem; max-width: 24rem; margin: 0; }
.solution-card .card-art { position: absolute; right: 1.75rem; top: 1.75rem; width: 46%; max-width: 260px; }
.solution-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.solution-card.dark { background: var(--royal-600); color: #fff; }
.solution-card.dark p { color: rgba(255, 255, 255, .78); }
.solution-card.white { background: #fff; }
.solution-card.white p { color: var(--text-2); }
.solution-card.wide { grid-column: 1 / -1; min-height: 260px; background: rgba(255, 255, 255, .08); color: #fff; }
.solution-card.wide p { color: rgba(255, 255, 255, .78); }
.circles { position: absolute; right: 2rem; top: 2rem; display: flex; }
.circles span { width: 76px; height: 76px; border-radius: 50%; margin-left: -18px; background: #fff; box-shadow: -4px 0 12px rgba(0, 0, 0, .12); }
.circles span:nth-child(2) { background: #ececec; } .circles span:nth-child(3) { background: #dcdcdc; }
.circles span:nth-child(4) { background: #cfcfcf; } .circles span:nth-child(5) { background: #bdbdbd; }
.check-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-2); font-size: .94rem; }
.check-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--blue-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304326d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center; }

/* Metodologia */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { background: #fff; border-radius: var(--radius-xl); padding: 1.6rem; min-height: 250px; display: flex; flex-direction: column;
  --text: #17182c; --text-2: #4a4d63; --text-muted: #6b7080; color: var(--text); }
.step .icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--royal-800); margin-bottom: 1rem; }
.step .icon svg { width: 22px; height: 22px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--royal-800); }
.step p { color: var(--text-muted); font-size: .9rem; margin: auto 0 0; }

/* Diferenciais (seção branca) */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pill-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; position: relative; }
.pill-list li { display: grid; gap: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .75rem; background: linear-gradient(90deg, var(--royal-800), var(--blue-400)); color: #fff;
  padding: .7rem 1.4rem .7rem .9rem; border-radius: 999px; font-family: var(--display); font-weight: 400; width: fit-content; }
.pill svg { width: 24px; height: 24px; }
.pill-list p { margin: 0 0 0 .5rem; color: var(--text-2); font-size: .9rem; max-width: 26rem; }

/* Planos */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan-card { position: relative; padding: 2rem; display: flex; flex-direction: column; border-radius: var(--radius-xl); }
.plan-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.plan-card.featured { box-shadow: 0 0 0 2px var(--blue-500), var(--shadow); }
.plan-card .plan-flag { position: absolute; top: -12px; left: 1.75rem; background: var(--blue-500); color: #fff; }
.plan-price { font-family: var(--display); font-size: 2.3rem; font-weight: 400; letter-spacing: -.02em; margin: .6rem 0 0; color: var(--royal-800); }
.plan-price small { font-family: var(--font); font-size: .95rem; color: var(--text-muted); font-weight: 300; letter-spacing: 0; }
.plan-card .check-list { flex: 1 1 auto; margin-bottom: 1.75rem; }

.faq details { border-bottom: 1px solid var(--hair); padding: 1.2rem 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--blue-500); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); margin: .75rem 0 0; }

.cta-band { border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3.25rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: radial-gradient(600px 300px at 90% 0%, rgba(26, 106, 255, .45), transparent 70%), linear-gradient(135deg, var(--royal-800), var(--royal-600)); color: #fff; }
.cta-band h2 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }

.prose { max-width: 50rem; }
.prose h2 { margin-top: 2rem; font-size: 1.35rem; }
.prose p, .prose li { color: var(--text-2); }
.callout { border-left: 3px solid var(--blue-500); background: var(--blue-50); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); }

/* ---------- Rodapé (card branco) ---------- */
.site-footer { padding: 2rem 0 2.5rem; }
.footer-card { background: #fff; border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; font-size: .92rem; }
.footer-grid h4 { font-family: var(--font); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--royal-800); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; color: var(--text-2); }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--blue-500); }
.footer-grid p { color: var(--text-2); }
.disclaimer { font-size: .8rem; color: var(--text-muted); margin-top: 2rem; border-top: 1px solid var(--hair); padding-top: 1.25rem; }

/* ---------- Cards, grids ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 1.6rem; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.35rem 1.6rem 0; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.12rem; font-weight: 400; }
.card-head .sub { color: var(--text-muted); font-size: .85rem; margin-top: .25rem; }
.card-body { padding: 1.25rem 1.6rem 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.span-2 { grid-column: span 2; }

/* ---------- Área logada ---------- */
.app-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 76px); margin-top: 14px; }
.sidebar { padding: .75rem .9rem 1.5rem; position: sticky; top: 90px; height: calc(100vh - 90px); overflow-y: auto; }
.sidebar .side-label { font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); padding: 1rem .75rem .45rem; }
.side-nav { display: grid; gap: 3px; }
.side-nav a { display: flex; align-items: center; gap: .75rem; padding: .66rem .8rem; border-radius: 10px; color: var(--text-2); text-decoration: none; font-weight: 400; font-size: .95rem; }
.side-nav a svg { width: 19px; height: 19px; flex: none; }
.side-nav a:hover { background: var(--hover); color: var(--text); }
.side-nav a.active { background: var(--blue-100); color: var(--royal-800); font-weight: 500; }
.side-user { margin-top: 1.5rem; padding: 1rem .8rem; border-top: 1px solid var(--hair); font-size: .85rem; }
.side-user b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.app-main { padding: 1.5rem clamp(16px, 2.5vw, 2rem) 3rem; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.page-head h1 { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem); }
.page-head .sub { color: var(--text-2); margin: .35rem 0 0; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: .45rem; }
.breadcrumb a { color: var(--text-2); }
.app-main > h2, .app-main section > h2 { font-size: 1.4rem; }

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; align-content: start; min-height: 0; }
  .sidebar { position: static; height: auto; padding: .25rem 16px; overflow-x: auto; }
  .sidebar .side-label, .side-user { display: none; }
  .side-nav { display: flex; gap: .3rem; }
  .side-nav a { white-space: nowrap; padding: .55rem .85rem; }
}

/* ---------- Stat tiles ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.stat { background: #fff; border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.stat .label { font-size: .82rem; color: var(--text-muted); }
.stat .value { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; margin-top: .25rem; line-height: 1.2; color: var(--royal-800); }
.stat .value.pos { color: var(--pos); } .stat .value.neg { color: var(--neg); } .stat .value.neu { color: var(--text-2); }
.stat .delta { font-size: .8rem; color: var(--text-muted); margin-top: .15rem; }
.hero-figure { font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--royal-800); }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); font-weight: 500; padding: .7rem .8rem; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.table td { padding: .8rem .8rem; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--hover); }
.table .num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table a.row-link { font-weight: 500; text-decoration: none; color: var(--royal-800); }
.table a.row-link:hover { text-decoration: underline; }
.table-compact td, .table-compact th { padding: .55rem .6rem; }
.heat td.cell { text-align: right; font-variant-numeric: tabular-nums; font-size: .85rem; white-space: nowrap; }
.heat td.cell.pos { background: var(--pos-bg); }
.heat td.cell.neg { background: var(--neg-bg); }
.heat td.total { font-weight: 600; }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.field label, .field > .label { display: block; font-weight: 500; font-size: .88rem; margin-bottom: .4rem; }
.field .help { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }
.field .req { color: var(--neg); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"],
input[type="tel"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; padding: .65rem .9rem; min-height: 46px; border-radius: var(--radius-sm); border: 1px solid #cbd5e1;
  background: #fff; color: #17182c; font: inherit; font-weight: 400; font-size: 1rem;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(26, 106, 255, .18); }
input:disabled { background: var(--surface-2); color: #6b7080; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--neg); }
.errorlist { list-style: none; padding: 0; margin: .35rem 0 0; color: var(--neg); font-size: .85rem; font-weight: 400; }
.errorlist.nonfield { background: var(--neg-bg); padding: .75rem 1rem; border-radius: var(--radius-sm); margin: 0; }
.choice-list > div, .choice-list ul { display: grid; gap: .45rem; }
.choice-list ul { list-style: none; padding: 0; margin: 0; }
.choice-list label { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; padding: .65rem .85rem; border: 1px solid #dfe5ee; border-radius: 10px; cursor: pointer; background: #fff; color: #17182c; margin: 0; }
.choice-list label:hover { border-color: #b9c6d8; }
.choice-list label:has(input:checked) { border-color: var(--blue-500); background: var(--blue-50); }
.choice-list input { margin-top: .3rem; accent-color: var(--blue-500); }
.choice-scroll { max-height: 320px; overflow-y: auto; padding-right: .25rem; }
.check-row { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400 !important; }
.check-row input { margin-top: .25rem; accent-color: var(--blue-500); width: 18px; height: 18px; flex: none; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.auth-wrap { display: grid; place-items: center; padding: clamp(2.5rem, 7vw, 5rem) 16px; }
.auth-card { width: 100%; max-width: 460px; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--radius-xl); }
.auth-card h1 { font-size: 1.9rem; }
.auth-foot { text-align: center; margin-top: 1.4rem; font-size: .92rem; color: var(--text-2); }
.auth-foot a { color: var(--blue-600); }
.input-code { font-family: var(--mono) !important; font-size: 1.4rem !important; letter-spacing: .3em; text-align: center; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 500; margin-bottom: .6rem; padding: 0; }

.alloc-table td { padding: .4rem .35rem; }
.alloc-table input, .alloc-table select { min-height: 40px; padding: .45rem .6rem; font-size: .92rem; }
.alloc-table select { min-width: 170px; }
.alloc-table input[name$="-ticker"] { min-width: 130px; }
.alloc-table input[name$="-rationale"] { min-width: 220px; }
.alloc-table .w-weight { width: 100px; }
.alloc-total { font-weight: 600; }
.alloc-total.bad { color: var(--neg); }
.alloc-total.ok { color: var(--pos); }

/* ---------- Gráficos ---------- */
.chart-box { position: relative; height: 300px; }
.chart-box.sm { height: 220px; }
.chart-box.donut { height: 240px; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .84rem; color: var(--text-2); margin-top: .75rem; }
.legend .item { display: inline-flex; align-items: center; gap: .45rem; }
.key-line { width: 16px; height: 2px; border-radius: 2px; display: inline-block; }
.key-rect { width: 11px; height: 11px; border-radius: 3px; display: inline-block; flex: none; }
.sw-1 { background: var(--series-1); } .sw-2 { background: var(--series-2); } .sw-3 { background: var(--series-3); } .sw-4 { background: var(--series-4); }
.sw-5 { background: var(--series-5); } .sw-6 { background: var(--series-6); } .sw-7 { background: var(--series-7); } .sw-8 { background: var(--series-8); }
.sw-good { background: var(--status-good); } .sw-bad { background: var(--status-critical); }
.chart-empty { display: grid; place-items: center; text-align: center; height: 100%; color: var(--text-muted); font-size: .92rem; padding: 1rem; border: 1px dashed #cbd5e1; border-radius: var(--radius-md); }
.bar { position: relative; height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; min-width: 120px; }
.bar > span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--blue-500); transition: width .4s ease; }

/* ---------- Trades ---------- */
.trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.trade-card { padding: 1.3rem 1.35rem; display: flex; flex-direction: column; gap: .95rem; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.trade-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }
.card .trade-card { box-shadow: 0 0 0 1px var(--hair); }
.trade-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; flex-wrap: wrap; }
.ticker { font-family: var(--display); font-size: 1.4rem; font-weight: 400; letter-spacing: -.01em; line-height: 1.1; color: var(--royal-800); }
.ticker-sub { font-size: .82rem; color: var(--text-muted); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.level { background: var(--blue-50); border-radius: 12px; padding: .55rem .65rem; }
.level span { display: block; font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.level b { font-variant-numeric: tabular-nums; font-size: .98rem; color: var(--text); }
.trade-result { display: flex; justify-content: space-between; align-items: baseline; font-size: .88rem; color: var(--text-2); border-top: 1px solid var(--hair); padding-top: .8rem; }
.trade-result b { font-size: 1.15rem; }

.ladder svg { width: 100%; height: 92px; display: block; overflow: visible; }
.ladder .track { stroke: var(--surface-3); stroke-width: 6; stroke-linecap: round; }
.ladder .zone-risk { stroke: var(--status-critical); stroke-width: 6; opacity: .35; stroke-linecap: round; }
.ladder .zone-gain { stroke: var(--status-good); stroke-width: 6; opacity: .35; stroke-linecap: round; }
.ladder .tick { stroke: var(--text-2); stroke-width: 2; }
.ladder .tick-stop { stroke: var(--status-critical); }
.ladder .tick-target { stroke: var(--status-good); }
.ladder text { fill: var(--text-2); font-size: 11px; font-family: var(--font); }
.ladder text.val { fill: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.ladder .marker { fill: var(--series-1); stroke: #fff; stroke-width: 2; }
.ladder text.marker-label { fill: var(--series-1); font-weight: 600; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.25rem; font-size: .93rem; margin: 0; }
.kv dt { color: var(--text-muted); }
.kv dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.25rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 18px; bottom: -2px; width: 2px; background: var(--hair); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--blue-500); }
.timeline .when { font-size: .8rem; color: var(--text-muted); }
.timeline .what { font-weight: 500; }
.timeline .msg { color: var(--text-2); margin-top: .2rem; white-space: pre-line; }
.text-block { white-space: pre-line; color: var(--text-2); }

/* ---------- Tabs / filtros / paginação ---------- */
.tabs { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 1px solid var(--hair); margin-bottom: 1.25rem; }
.tabs a { padding: .65rem .95rem; text-decoration: none; color: var(--text-2); font-weight: 400; font-size: .93rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a.active { color: var(--text); border-bottom-color: var(--blue-500); font-weight: 500; }
.filter-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.filter-row input[type="search"] { max-width: 320px; }
.pagination { display: flex; gap: .4rem; align-items: center; justify-content: center; margin-top: 1rem; font-size: .9rem; }

/* ---------- Diversos ---------- */
.empty-state { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem; color: var(--text-2); }
.empty-state svg { width: 46px; height: 46px; color: var(--blue-500); margin-bottom: .75rem; }
.empty-state h1, .empty-state h2, .empty-state h3 { color: var(--text); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; align-items: center; gap: .75rem; padding: .8rem .95rem; border: 1px solid var(--hair); border-radius: 12px; }
.checklist li.done { color: var(--text-muted); }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #cbd5e1; flex: none; }
.checklist li.done .tick { background: var(--pos); border-color: var(--pos); color: #fff; }
.checklist .tick svg { width: 14px; height: 14px; }
.checklist .act { margin-left: auto; }
.feed { list-style: none; padding: 0; margin: 0; }
.feed li { padding: .85rem 0; border-bottom: 1px solid var(--hair); }
.feed li:last-child { border-bottom: 0; }
.feed .meta { font-size: .78rem; color: var(--text-muted); }
.feed a { font-weight: 500; text-decoration: none; color: var(--royal-800); }
.codebox { display: flex; gap: .5rem; align-items: stretch; }
.codebox textarea { font-family: var(--mono); font-size: .8rem; min-height: 70px; }
.qr { width: 220px; height: 220px; background: #fff; border-radius: 14px; padding: 6px; border: 1px solid var(--hair); }
.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; font-family: var(--mono); font-size: 1.05rem; background: var(--surface-2); padding: 1rem; border-radius: var(--radius-sm); }
.paywall { max-width: 660px; margin: 2rem auto; text-align: center; }
.danger-zone { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--neg) 30%, transparent), var(--shadow); }
details.inline-form > summary { cursor: pointer; list-style: none; }
details.inline-form > summary::-webkit-details-marker { display: none; }
details.inline-form[open] > summary { margin-bottom: 1rem; }
code { font-family: var(--mono); }

/* ---------- Erros ---------- */
.error-page { text-align: center; padding: clamp(4rem, 12vw, 8rem) 16px; }
.error-page .code { font-family: var(--display); font-size: clamp(4rem, 10vw, 7rem); font-weight: 300; letter-spacing: -.04em; color: var(--link-accent); line-height: 1; }
.error-page p { color: var(--text-2); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .grid-main { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-card.art { grid-column: 1 / -1; min-height: 300px; }
}
@media (max-width: 860px) {
  .hero-grid, .diff-grid, .solutions { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: 100%; opacity: .16; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .solution-card .card-art { position: static; width: 70%; margin: 0 0 1rem auto; }
  .circles { position: static; margin: 0 0 1.25rem 18px; }
  .section-head-row .big-arrow { display: none; }
}
@media (max-width: 560px) {
  .steps, .grid-4, .intro-grid { grid-template-columns: 1fr; }
  .intro-card { min-height: 0; }
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat .value { font-size: 1.35rem; }
  .recovery-codes { grid-template-columns: 1fr; }
  .page-head .btn { width: 100%; }
  .kv { grid-template-columns: 1fr auto; }
  .chart-box { height: 260px; }
  .nav-shell { padding-left: 12px; gap: .5rem; }
  .brand { font-size: .98rem; }
  .brand svg { width: 28px; height: 28px; }
  .icon-btn { width: 38px; height: 38px; }
  .circles span { width: 54px; height: 54px; margin-left: -14px; }
}
@media (max-width: 360px) { .badge-beta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .sidebar, .site-footer, .btn { display: none !important; }
  .app-shell { display: block; }
  body { background: #fff; --text: #17182c; --text-2: #4a4d63; --text-muted: #6b7080; }
}

/* Ajustes de especificidade (cards que também usam .card) */
.section.pt-0 { padding-top: 0; }
.card.intro-card, .card.plan-card { border-radius: var(--radius-xl); }
.card.tint { background: var(--blue-100); }

/* Telas muito estreitas: nada pode forçar a página a ficar mais larga que a tela */
.hero-grid > *, .diff-grid > *, .intro-grid > *, .solutions > * { min-width: 0; }
.mock-trade { flex-wrap: wrap; gap: .25rem .75rem; }
.hero h1, .section-head h2 { overflow-wrap: break-word; }
.mock-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 420px) {
  .mock { padding: 1.1rem; }
  .mock-stat { padding: .5rem .55rem; }
  .mock-stat b { font-size: .8rem; overflow-wrap: anywhere; }
}

/* ---------- Frase de destaque (abaixo da abertura) ---------- */
.statement-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--hair); position: relative; }
/* Os dois textos com a mesma fonte, tamanho e entrelinha */
.statement-title, .statement-text { font-family: var(--display); font-weight: 300; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.4; letter-spacing: -.01em; margin: 0; }
.statement-text { padding-left: clamp(1.25rem, 3vw, 2.5rem); border-left: 2px solid var(--blue-500); }
.statement-title, .statement-text { color: var(--text); }

/* ---------- Filosofia + pilares ---------- */
.philo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.philo-grid .text-block { color: var(--text-2); font-size: 1.02rem; }
.philo-tag { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid var(--hair); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.philo-tag svg { width: 16px; height: 16px; color: var(--link-accent); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pillar { background: #fff; border-radius: var(--radius); padding: 1.5rem; --text: #17182c; --text-2: #4a4d63; --text-muted: #6b7080; color: var(--text); }
.pillar .n { font-family: var(--display); font-weight: 300; font-size: 1.9rem; color: var(--blue-500); line-height: 1; }
.pillar h3 { font-family: var(--display); font-weight: 400; color: var(--royal-800); margin: .7rem 0 .2rem; }
.pillar .lead-line { font-weight: 500; color: var(--text); font-size: .95rem; margin-bottom: .4rem; }
.pillar p { color: var(--text-2); font-size: .9rem; margin: 0; }

/* ---------- Gestor ---------- */
.manager-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.quote { font-family: var(--display); font-weight: 300; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.45; color: var(--royal-800);
  border-left: 3px solid var(--blue-500); padding-left: 1.25rem; margin: 1.5rem 0 .75rem; }
.quote-by { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); padding-left: 1.4rem; }

/* ---------- Processo numerado ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: proc; }
.process .step { position: relative; }
.process .step .n { font-family: var(--display); font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--blue-100); position: absolute; top: 1.4rem; right: 1.5rem; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-grid .text-block { color: var(--text-2); }
.contact-info { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.contact-info .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.contact-info .v { font-size: 1rem; }
.contact-info a { color: #fff; }
.audience { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .55rem; }
.audience li { display: flex; gap: .6rem; color: var(--text-2); }
.audience li svg { width: 18px; height: 18px; color: var(--link-accent); flex: none; margin-top: .2rem; }
.form-note { font-size: .8rem; color: var(--text-muted); margin: 0; display: flex; gap: .45rem; align-items: center; }
.form-note svg { width: 15px; height: 15px; flex: none; }

@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .philo-grid, .manager-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .statement-strip { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pillars, .process { grid-template-columns: minmax(0, 1fr); }
}
.center-block { margin-left: auto; margin-right: auto; }
section[id] { scroll-margin-top: 84px; }

/* ---------- Plano Completo (card largo) ---------- */
.solution-card.combo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, .8fr); gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center; min-height: 0; padding: clamp(1.75rem, 3vw, 2.5rem);
  background: radial-gradient(500px 260px at 100% 0%, rgba(26, 106, 255, .35), transparent 70%), rgba(255, 255, 255, .08); }
.combo-intro h3 { font-size: 1.9rem; margin: .8rem 0 .5rem; max-width: none; }
.combo-intro p { color: rgba(255, 255, 255, .8); }
.combo-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.25rem; }
.combo-list li { display: flex; gap: .7rem; align-items: flex-start; }
.combo-list .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .12); color: #fff; }
.combo-list .ic svg { width: 19px; height: 19px; }
.combo-list b { display: block; font-weight: 500; font-size: .95rem; }
.combo-list span { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.combo-price { background: #fff; color: var(--navy-800); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .35rem; text-align: center; }
.combo-price .small { color: #6b7080; }
.combo-price b { font-family: var(--display); font-weight: 400; font-size: 2.1rem; color: var(--royal-800); line-height: 1.1; }
.combo-price b small { font-family: var(--font); font-size: .95rem; color: #6b7080; font-weight: 300; }
.combo-price .btn { margin-top: .5rem; background: var(--royal-800); color: #fff; }
.combo-price .btn:hover { background: var(--royal-700); }

/* ---------- Gestor ---------- */
.manager-photo { position: relative; margin: 0; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; background: var(--navy-800); }
.manager-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.manager-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.5rem 1.25rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(13, 14, 29, .88)); display: grid; gap: .2rem; }
.manager-photo .role { font-family: var(--display); font-size: 1.3rem; font-weight: 300; }
.cred-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; }
.cred-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .93rem; font-weight: 400; }
.cred-list svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; padding: 2px; border-radius: 50%; background: var(--blue-100); color: var(--royal-800); }

.track-card { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-radius: var(--radius-xl); padding: clamp(1.75rem, 4vw, 2.75rem); color: #fff;
  --text: #fff; --text-2: rgba(255, 255, 255, .8); --text-muted: rgba(255, 255, 255, .6);
  background: radial-gradient(700px 320px at 100% 0%, rgba(26, 106, 255, .45), transparent 70%), linear-gradient(135deg, var(--navy-800), var(--royal-800)); }
.track-head h3 { font-family: var(--display); font-weight: 300; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); margin: 0; }
.track-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.5rem; align-items: center; margin: 1.75rem 0; }
.track-stat { display: grid; gap: .25rem; }
.track-stat .who { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.track-stat b { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -.02em; }
.track-stat.main b { color: #8fb5ff; }
.track-stat span { color: var(--text-2); font-size: .95rem; }
.track-stat strong { color: #fff; font-weight: 600; }
.track-vs { font-family: var(--display); font-size: 1.2rem; color: var(--text-muted); padding: .6rem .9rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.cmp { display: grid; gap: .8rem; margin-bottom: 1.25rem; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) 4.5rem; gap: 1rem; align-items: center; }
.cmp-label { font-size: .88rem; color: var(--text-2); }
.cmp-row b { text-align: right; font-weight: 600; }
.cmp-bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.cmp-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; transition: width .9s ease; }
.cmp-bar .g { background: linear-gradient(90deg, #4770db, #8fb5ff); }
.cmp-bar .b { background: rgba(255, 255, 255, .4); }
.track-note { font-size: .78rem; color: var(--text-muted); margin: 0; max-width: 62rem; }

/* ---------- Destaque de serviço (fórum) ---------- */
.feature-promo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center;
  border-radius: var(--radius-xl); padding: clamp(1.75rem, 4vw, 3rem);
  background: radial-gradient(600px 300px at 100% 100%, rgba(26, 106, 255, .4), transparent 70%), linear-gradient(135deg, var(--royal-800), var(--royal-600)); }
.feature-promo h2 { margin-bottom: .6rem; }
.feature-promo .lead-text { color: rgba(255, 255, 255, .82); }

/* ---------- Preços: taxa e alternância ---------- */
.fee-banner { display: flex; gap: .9rem; align-items: center; max-width: 52rem; margin: 0 auto 1.5rem; padding: .95rem 1.2rem; border-radius: var(--radius-md);
  background: rgba(26, 106, 255, .14); box-shadow: inset 0 0 0 1px rgba(143, 181, 255, .35); color: var(--text-2); font-size: .95rem; }
.fee-banner b { color: var(--text); }
.fee-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--blue-500); color: #fff; }
.fee-icon svg { width: 20px; height: 20px; }
.period-toggle { display: flex; width: fit-content; margin: 0 auto 2rem; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--hair); }
.period-toggle button { border: 0; background: transparent; color: var(--text-2); font: 500 .92rem var(--font); padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; }
.period-toggle button.active { background: #fff; color: var(--royal-800); }
.plan-equiv { font-size: .84rem; color: var(--text-muted); margin: .25rem 0 0; }
.plan-equiv b { color: var(--pos); font-weight: 600; }

@media (max-width: 1100px) {
  .solution-card.combo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .combo-price { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .feature-promo { grid-template-columns: minmax(0, 1fr); }
  .track-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .track-vs { width: fit-content; }
  .cmp-row { grid-template-columns: minmax(0, 1fr) 4.5rem; }
  .cmp-row .cmp-label { grid-column: 1 / -1; }
  .manager-photo { max-height: 440px; }
}
@media (max-width: 560px) {
  .solution-card.combo, .combo-list, .cred-list { grid-template-columns: minmax(0, 1fr); }
}

/* Card do histórico no topo */
.mock-stat em { display: block; font-style: normal; font-size: .76rem; font-weight: 500; color: var(--text-2); margin-top: .15rem; }
.mock-chart .end2 { fill: var(--series-2); stroke: #fff; stroke-width: 2; }
.mock-chart .end-label { font: 600 11px var(--font); fill: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- Fórum ---------- */
.forum-rules { background: rgba(255, 255, 255, .06); border-radius: var(--radius-md); padding: .8rem 1.1rem; color: var(--text-2); font-size: .9rem; }
.forum-rules summary { cursor: pointer; display: flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--text); }
.forum-rules summary svg { width: 18px; height: 18px; color: var(--link-accent); }
.forum-rules ul { margin: .7rem 0 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.topic-list { list-style: none; margin: 0; padding: 0; }
.topic-list li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--hair); }
.topic-list li:last-child { border-bottom: 0; }
.topic-list li:hover { background: var(--hover); }
.topic-list li.is-hidden { opacity: .55; }
.topic-link { flex: 1; min-width: 0; text-decoration: none; display: grid; gap: .3rem; }
.topic-title { font-weight: 500; font-size: 1.02rem; color: var(--royal-800); overflow-wrap: anywhere; }
.topic-meta { font-size: .8rem; color: var(--text-muted); display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.by-manager { color: var(--blue-600); }
.topic-count { display: inline-flex; align-items: center; gap: .35rem; color: var(--text-muted); font-size: .9rem; flex: none; }
.topic-count svg { width: 18px; height: 18px; }
.post-list { display: grid; gap: .9rem; }
.post { padding: 1.2rem 1.4rem; }
.post.by-manager { box-shadow: inset 3px 0 0 var(--blue-500), var(--shadow); }
.post.is-hidden { opacity: .55; }
.post-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; }
.post-head .meta { font-size: .78rem; color: var(--text-muted); }
.post-actions { margin-left: auto; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--blue-100); color: var(--royal-800); font-weight: 600; }
.post.by-manager .avatar { background: var(--royal-800); color: #fff; }
.post-body { white-space: pre-line; overflow-wrap: anywhere; color: var(--text); font-weight: 400; line-height: 1.65; }
@media (max-width: 560px) { .topic-list li { padding: .9rem 1rem; } .post { padding: 1rem; } }
.forum-mock { background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: .55rem;
  --text: #17182c; --text-2: #4a4d63; --text-muted: #6b7080; --chip-bg: #eef2f8; color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.fm-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .4rem; border-bottom: 1px solid #e3e8f0; }
.fm-head b { font-family: var(--display); font-weight: 400; }
.fm-topic { display: grid; gap: .25rem; padding: .6rem .7rem; border-radius: 12px; background: var(--blue-50); }
.fm-topic.pinned { box-shadow: inset 3px 0 0 var(--blue-500); }
.fm-topic > b { font-weight: 500; font-size: .92rem; color: var(--royal-800); }
.fm-topic .badge-info { width: fit-content; }
.fm-meta { font-size: .76rem; color: var(--text-muted); display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }

/* Pagamento */
.pay-methods { display: flex; gap: .4rem; flex-wrap: wrap; }

/* Alternância de período (links) */
.view-toggle { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; gap: 2px; padding: 4px; margin-bottom: 1.25rem;
  border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--hair); }
.view-toggle a { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: .9rem; padding: .5rem 1.1rem; border-radius: 999px; }
.view-toggle a:hover { color: var(--text); }
.view-toggle a.active { background: #fff; color: var(--royal-800); }
.date-sm { width: auto !important; min-height: 36px !important; padding: .35rem .6rem !important; font-size: .9rem !important; }

/* Decisão de seguir uma ideia de trade */
.decision { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-md); }
.decision.pending { background: #fff; box-shadow: inset 4px 0 0 var(--blue-500), var(--shadow); --text: #17182c; --text-2: #4a4d63; color: var(--text); }
.decision.done { background: rgba(255, 255, 255, .06); }
.decision-text { display: flex; flex-direction: column; gap: .2rem; }
.decision.done .decision-text { flex-direction: row; align-items: center; gap: .6rem; flex-wrap: wrap; }
.decision-text span:not(.badge) { font-size: .9rem; color: var(--text-2); }
.decision-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pending-list { list-style: none; margin: 0; padding: 0; }
.pending-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .85rem 0; border-bottom: 1px solid var(--hair); }
.pending-list li:last-child { border-bottom: 0; }
.pending-info { display: grid; gap: .15rem; text-decoration: none; }
.pending-info b { color: var(--royal-800); font-weight: 600; }
.pending-info span { font-size: .85rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.follow-strip { display: flex; gap: .4rem; flex-wrap: wrap; padding: 1.2rem 1.6rem 0; }

/* Modo "ver como cliente" (master) */
.viewas-bar { position: sticky; top: 0; z-index: 200; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 8px 16px; background: var(--warn-bg); color: var(--warn-ink); font-size: .9rem; text-align: center; }
.viewas-bar b { color: inherit; }

/* Ações por linha em tabelas (ex.: Pagar / Cancelar) */
.row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }

/* Telefone em três partes: DDI, DDD e número */
.phone-input { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 26rem; }
.phone-input input { min-width: 0; }
.phone-input .phone-ddi, .phone-input .phone-ddd { flex: 0 0 3.9rem; padding-left: .6rem; padding-right: .6rem; }
.phone-input .phone-number { flex: 1 1 8rem; }

/* Pedido de carteira e feedback */
.request-intro { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: .5rem; }
.request-intro svg { flex: 0 0 auto; width: 40px; height: 40px; color: var(--blue-500); }
.choice-help { display: block; font-size: .85rem; color: #5b6475; margin-top: .15rem; }
.choice-inline > div { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.request-more summary { cursor: pointer; }
.weights-adjust { margin: .25rem 0 1rem; }
.weights-adjust .w-weight input { max-width: 7rem; text-align: right; margin-left: auto; }
.feedback-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.feedback-list > li { border: 1px solid #dfe5ee; border-radius: 12px; padding: .9rem 1rem; }
.feedback-list .meta { font-size: .82rem; color: var(--text-muted); margin-bottom: .35rem; }
.feedback-reply { margin-top: .6rem; padding: .7rem .9rem; border-left: 3px solid var(--blue-500); background: var(--blue-50); border-radius: 8px; }
.table-compact td, .table-compact th { padding-top: .35rem; padding-bottom: .35rem; }

/* Status do pedido de carteira */
.request-status { padding: 1.6rem; }
.request-status-head { display: flex; gap: 1rem; align-items: flex-start; }
.request-status-title { flex: 1; min-width: 0; }
.request-status-title h2 { font-size: 1.35rem; font-weight: 400; margin: 0 0 .25rem; }
.request-icon { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue-500); }
.request-icon svg { width: 24px; height: 24px; }
.request-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; }
.request-steps::before { content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 2px; background: #dfe5ee; }
.request-steps li { position: relative; display: flex; flex-direction: column; gap: .5rem; }
.request-steps li div { display: flex; flex-direction: column; gap: .1rem; }
.request-steps b { font-weight: 500; font-size: .95rem; }
.request-steps li span:not(.step-dot) { font-size: .82rem; color: var(--text-muted); }
.step-dot { position: relative; z-index: 1; flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid #dfe5ee; color: var(--text-muted); font-size: .85rem; font-weight: 600; }
.step-dot svg { width: 16px; height: 16px; }
.request-steps li.done .step-dot { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.request-steps li.current .step-dot { border-color: var(--blue-500); color: var(--blue-500); box-shadow: 0 0 0 4px rgba(26, 106, 255, .15); }
.request-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.fact { background: #f5f7fb; border-radius: 12px; padding: .8rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.fact b { font-weight: 500; }
.fact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.request-notes { margin-top: .75rem; background: #f5f7fb; border-radius: 12px; padding: .8rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.request-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid #e8edf4; }
@media (max-width: 640px) {
  .request-steps { grid-template-columns: 1fr; gap: .9rem; }
  .request-steps::before { top: 16px; bottom: 16px; left: 15px; right: auto; width: 2px; height: auto; }
  .request-steps li { flex-direction: row; align-items: center; gap: .75rem; }
  .request-status-head .badge { display: none; }
}

/* Seguir trade: data de início e preço médio de entrada */
.decision-follow { flex-direction: column; align-items: stretch; }
.follow-form { display: flex; flex-direction: column; gap: .25rem; }
.follow-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; }
.follow-fields .field { margin: 0; }
.decision-follow .decision-text .badge { align-self: flex-start; }
.follow-edit summary { cursor: pointer; font-size: .9rem; color: var(--link-accent); margin-bottom: .5rem; }
.trade-result.mine { color: var(--text); margin-bottom: .6rem; }
