/* LP.1: landing page do TMChart (resources/views/site/inicio.blade.php). Mesmos tokens de tmchart.css e do
   manual de identidade visual (raiz do repositório tmchart): tema só escuro, sem sombras nem gradientes, azul
   #4DA8FF como único destaque; verde/vermelho só para dado e estado. Arquivo estático: não passa pelo Vite. */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fontes/space-grotesk.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fontes/inter.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fontes/jetbrains-mono.woff2') format('woff2'); }

:root {
    --bg: #0A0D12;
    --bg-raised: #10141B;
    --bg-card: #13171F;
    --bg-card-hover: #171C25;
    --line: rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.14);
    --text-primary: #EEF1F5;
    --text-secondary: #9AA3B2;
    --text-tertiary: #7A8394;
    --stone: #4DA8FF;
    --stone-dim: rgba(77,168,255,0.12);
    --stone-line: rgba(77,168,255,0.35);
    --on-accent: #1A1409;
    --positive: #4ED0A0;
    --negative: #E0667A;
    --negative-dim: rgba(224,102,122,0.10);
    --warn: #E3B341;
    --warn-dim: rgba(227,179,65,0.10);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --maxw: 1200px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text-primary); font: 400 16px/1.65 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; color: var(--text-primary); margin: 0; }
p { color: var(--text-secondary); margin: 0; }
strong { color: var(--text-primary); font-weight: 600; }
a { color: var(--stone); text-decoration-color: var(--stone-line); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--stone); }
code { font-family: var(--font-mono); font-size: .86em; color: var(--text-primary); background: var(--bg-card); padding: .05em .35em; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--stone); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 1rem; top: -3rem; z-index: 50; background: var(--stone); color: var(--on-accent); padding: .5rem .9rem; border-radius: var(--radius-sm); font-weight: 600; }
.pular:focus { top: .75rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.estreito { max-width: 860px; }
.eyebrow { font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: .9rem; }
.sub { font-size: 1.07rem; max-width: 46rem; margin-top: .9rem; }
.discreto { color: var(--text-tertiary); font-size: 13.5px; }
.centro { display: flex; justify-content: center; margin-top: 2.5rem; }
.centro-txt { text-align: center; margin-top: 1.5rem; }

/* Botões: primário azul, secundário outline */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 13px 24px; border-radius: var(--radius-sm);
    font: 600 15px var(--font-body); text-decoration: none; border: 1px solid transparent; transition: background-color .18s, border-color .18s, filter .18s; }
.btn-p { background: var(--stone); color: var(--on-accent); }
.btn-p:hover { filter: brightness(1.08); }
.btn-s { background: transparent; color: var(--text-primary); border-color: var(--line-strong); }
.btn-s:hover { background: var(--bg-card-hover); border-color: var(--stone-line); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-bloco { width: 100%; }

/* Cabeçalho */
.topo { position: sticky; top: 0; z-index: 30; background: rgba(10,13,18,0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s; }
.topo.rolado { border-bottom-color: var(--line); }
.topo-in { max-width: var(--maxw); margin: 0 auto; padding: .7rem clamp(16px, 4vw, 32px); display: flex; align-items: center; gap: 1rem; }
/* SM (P-SM3): mesma marca da barra de título do app — "TM" azul em negrito + "Chart" claro, sem ícone. */
.marca { display: inline-flex; align-items: center; font: 700 21px "Segoe UI", system-ui, -apple-system, sans-serif; color: #4f8fd9; text-decoration: none; letter-spacing: .2px; flex-shrink: 0; white-space: nowrap; }
.marca b { color: var(--text-primary); font-weight: 600; }
.menu { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.menu a { color: var(--text-secondary); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.menu a:hover { color: var(--text-primary); }
.menu-acoes { display: flex; align-items: center; gap: 1rem; margin-left: .6rem; flex-shrink: 0; white-space: nowrap; }
.menu-acoes .entrar { color: var(--text-primary); }
.menu .btn-p { color: var(--on-accent); }
/* LP.3: seletor de idioma (PT · EN · ES) */
.idiomas { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.menu .idiomas a { padding: 5px 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--text-tertiary); line-height: 1; }
.menu .idiomas a + a { border-left: 1px solid var(--line); }
.menu .idiomas a:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.menu .idiomas a[aria-current] { color: var(--text-primary); background: var(--stone-dim); }
.menu-botao { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); width: 42px; height: 40px; padding: 0; cursor: pointer; }
.menu-botao svg { width: 22px; height: 22px; stroke: var(--text-primary); stroke-width: 1.8; fill: none; stroke-linecap: round; margin: auto; }

/* LP.3: rótulos em espanhol/inglês são mais longos — menu mais justo antes de recolher */
@media (max-width: 1200px) {
    .menu { gap: .95rem; }
    .menu a { font-size: 14px; }
    .menu-acoes { gap: .7rem; margin-left: .2rem; }
}

@media (max-width: 1080px) {
    .menu-botao { display: flex; align-items: center; justify-content: center; }
    .menu { position: fixed; inset: 61px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .5rem clamp(16px, 4vw, 32px) 1.25rem;
        background: var(--bg-raised); border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 61px); overflow-y: auto; }
    .menu-aberto .menu { display: flex; }
    .menu > a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 16px; }
    .menu-acoes { margin: 1rem 0 0; justify-content: space-between; }
    .menu-acoes .btn { flex: 1; }
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.hero-txt { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.4rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--stone); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 42rem; margin-top: 1.4rem; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1rem; margin-top: 2.2rem; }
.link-cliente { color: var(--text-secondary); font-size: 15px; font-weight: 500; text-decoration: none; padding: .5rem .25rem; }
.link-cliente:hover { color: var(--text-primary); }
.nota-hero { margin-top: 1.1rem; font: 500 13px var(--font-mono); color: var(--text-tertiary); letter-spacing: .02em; }
.chips { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chips li { font-size: 13px; color: var(--text-secondary); border: 1px solid var(--line-strong); border-radius: 999px; padding: .32rem .8rem; background: var(--bg-raised); }
.tela-hero { margin-top: clamp(2.5rem, 5vw, 4rem); }
/* LP.2: quatro pilares logo abaixo do topo */
.pilares { list-style: none; margin-top: clamp(2.2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pilares a { display: flex; flex-direction: column; gap: .4rem; height: 100%; text-decoration: none; background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; transition: border-color .2s, background-color .2s; }
.pilares a:hover { border-color: var(--stone-line); background: var(--bg-card-hover); }
.pilares strong { font: 600 1.02rem/1.3 var(--font-display); }
.pilares span { font-size: 14px; color: var(--text-secondary); }

/* Molduras dos prints (janela do app) */
.tela:not(.wrap) { margin: 0; } /* LP.2: o .wrap da imagem do topo mantém margin auto (centralizada) */
.moldura { position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-raised); padding-top: 26px; }
.moldura::before { content: ''; position: absolute; top: 9px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong);
    box-shadow: 14px 0 0 var(--line-strong), 28px 0 0 var(--line-strong); } /* três pontos da barra da janela, não é sombra de profundidade */
.moldura img { width: 100%; border-top: 1px solid var(--line); }
.moldura-alta { max-width: 300px; margin: 0 auto; }
.tela figcaption { font-size: 13px; color: var(--text-tertiary); margin-top: .7rem; text-align: center; }

/* Seções */
.secao { padding: clamp(4rem, 8vw, 7rem) 0; border-bottom: 1px solid var(--line); }
.secao.alt { background: var(--bg-raised); }
.secao h2, .final h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.7rem); line-height: 1.12; max-width: 24ch; }
.secao h3 { font-size: 1.08rem; line-height: 1.3; }

/* Cards de recursos */
.cards { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1rem; }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column;
    transition: border-color .2s, background-color .2s; }
.card:hover { border-color: var(--stone-line); background: var(--bg-card-hover); }
.card p { font-size: 14.5px; margin-top: .5rem; flex: 1; }
.card-link { font-size: 13.5px; font-weight: 500; margin-top: 1rem; text-decoration: none; }
.card-link::after { content: ' →'; }
.ic { width: 36px; height: 36px; padding: 7px; border-radius: var(--radius-md); background: var(--stone-dim); stroke: var(--stone); stroke-width: 1.7; fill: none;
    stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; flex: none; }

/* Texto + imagem */
.dupla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.dupla.inversa { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.dupla.inversa .texto { order: 2; }
.lista { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.lista li { position: relative; padding-left: 1.4rem; font-size: 15px; color: var(--text-secondary); }
.lista li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--stone); }
.obs { margin-top: 1.5rem; font-size: 14px; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-card); }
.trio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; align-items: start; }
/* AT: fluxo (footprint largo + Super DOM estreito), operação (boleta estreita + pilha de prints), NTSL | MQL5 */
.trio-fluxo { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); }
.trio-operacao { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
.pilha { display: grid; gap: 1.5rem; }
.linguagens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; align-items: start; }
.linguagem h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.destaque { background: var(--bg); }

.tres-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0; }
.ponto { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; }
.ponto p { font-size: 14.5px; margin-top: .5rem; }
.tela-larga { margin-top: 2.5rem; }
.aviso-risco { margin-top: 2rem; font-size: 13.5px; color: var(--text-secondary); border-left: 3px solid var(--warn); background: var(--warn-dim); padding: .85rem 1rem; border-radius: 0 var(--radius-md) var(--radius-md) 0; }

/* Otimização */
.otim { border-top: 1px solid var(--stone-line); }
.passos-otim { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: p; }
.passos-otim li { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; position: relative; }
.passos-otim span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--stone-line);
    color: var(--stone); font: 600 13px var(--font-mono); margin-bottom: .8rem; }
.passos-otim p { font-size: 14px; margin-top: .45rem; }
.otim-telas { margin-top: 2.5rem; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
.sobreajuste { display: flex; gap: 1.1rem; margin-top: 2.5rem; padding: 1.4rem; border: 1px solid rgba(227,179,65,0.35); background: var(--warn-dim); border-radius: var(--radius-lg); }
.sobreajuste .ic { background: rgba(227,179,65,0.14); stroke: var(--warn); margin: 0; }
.sobreajuste p { margin-top: .4rem; font-size: 14.5px; }

/* Automações */
.auto-grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.dupla-nota { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.nota { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; border-top: 3px solid var(--warn); background: var(--bg-card); }
.nota-real { border-top-color: var(--negative); }
.nota p { margin-top: .5rem; font-size: 14.5px; }

/* Fluxo MT5 */
.fluxo { display: flex; align-items: stretch; gap: .75rem; margin-top: 3rem; flex-wrap: nowrap; }
.fluxo-pc { display: flex; align-items: stretch; gap: .75rem; padding: 2rem .9rem .9rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); position: relative; flex: 2.15; }
.fluxo-rotulo { position: absolute; top: .6rem; left: 1rem; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary); }
.no { flex: 1; min-width: 0; background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 1rem 1.1rem; display: flex; flex-direction: column; justify-content: center; }
.no strong { font-family: var(--font-display); font-size: 1.05rem; }
.no span { font-size: 13px; color: var(--text-secondary); margin-top: .25rem; }
.no-tm { border-color: var(--stone-line); background: var(--stone-dim); }
.no-tm strong { color: var(--stone); }
.seta { flex: none; width: 22px; align-self: center; height: 2px; background: var(--stone-line); position: relative; }
.seta::after { content: ''; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--stone); border-right: 0; }
.lista-simples { list-style: none; padding: 0; }
.lista-simples li { font-size: 14.5px; color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; }

/* Como começar */
.passos { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.passos li { display: flex; gap: 1rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; }
.passos li:last-child { grid-column: 1 / -1; border-color: var(--stone-line); }
.num { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--stone); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font: 600 16px var(--font-display); }
.passos p { font-size: 14.5px; margin-top: .4rem; }

/* Perfis */
.perfis { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.perfis li { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; }
.perfis p { font-size: 14.5px; margin-top: .45rem; }

/* Planos */
.planos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; align-items: stretch; }
.planos.n1 { grid-template-columns: minmax(0, 540px); justify-content: center; }
.planos.n2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.plano { background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; position: relative; }
.planos.n1 .plano, .plano.realce { border-color: var(--stone); }
.plano.realce { background: var(--bg-card-hover); box-shadow: 0 0 0 1px var(--stone) inset; }
.selo { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); background: var(--stone); color: var(--on-accent); font: 600 12px var(--font-mono);
    letter-spacing: .04em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.chamada { margin-top: .35rem; font-size: 14.5px; }
.preco-usd { font-size: 13.5px; color: var(--text-tertiary); margin-top: .2rem; }
.plano .btn-bloco { margin-top: 1.4rem; }
.plano .inclui { flex: 1; }
.plano h3 { font-size: 1.3rem; }
.preco { margin-top: .9rem; display: flex; align-items: baseline; gap: .35rem; }
.preco strong { font: 600 clamp(2.4rem, 2rem + 1.5vw, 3rem) var(--font-display); letter-spacing: -0.03em; }
.preco span { color: var(--text-secondary); }
.teste { margin-top: .6rem; font-size: 14px; color: var(--stone); font-weight: 500; }
.inclui { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .55rem; }
.inclui li { position: relative; padding-left: 1.6rem; font-size: 14.5px; color: var(--text-primary); }
.inclui li::before { content: ''; position: absolute; left: .15rem; top: .35em; width: 10px; height: 6px; border-left: 2px solid var(--stone); border-bottom: 2px solid var(--stone); transform: rotate(-45deg); }
.inclui li.nao { color: var(--text-tertiary); }
.inclui li.nao::before { width: 9px; height: 0; top: .75em; border-left: 0; border-bottom: 2px solid var(--line-strong); transform: none; }
.condicoes { margin: 1.5rem 0 0; display: grid; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.condicoes div { display: flex; justify-content: space-between; gap: 1rem; font-size: 13.5px; }
.condicoes dt { color: var(--text-tertiary); }
.condicoes dd { margin: 0; text-align: right; color: var(--text-secondary); }
.plano .discreto { margin-top: 1rem; }
.contratar { max-width: 760px; margin: 2.5rem auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: c; }
.contratar li { font-size: 14px; color: var(--text-secondary); padding-top: 2.2rem; position: relative; counter-increment: c; }
.contratar li::before { content: counter(c); position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--stone-line); color: var(--stone);
    font: 600 12px var(--font-mono); display: flex; align-items: center; justify-content: center; }

/* FAQ */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 500 1.02rem/1.4 var(--font-body); color: var(--text-primary); }
.faq summary::after { content: '+'; font: 400 1.5rem/1 var(--font-body); color: var(--stone); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--stone); }
.faq details p { padding: 0 2.5rem 1.3rem 0; font-size: 15px; }
#faq > .wrap > .discreto { margin-top: 1.5rem; }

/* Chamada final */
.final { padding: clamp(4.5rem, 9vw, 8rem) 0; text-align: center; border-bottom: 1px solid var(--line); background: var(--bg); }
.final h2 { margin: 0 auto; max-width: 20ch; }
.final p { font-size: 1.1rem; margin-top: 1rem; }
.final .acoes { margin-top: 2rem; }

/* Rodapé */
.rodape { padding: 3.5rem 0 2.5rem; background: var(--bg-raised); }
.rodape-grade { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.rodape-grade > div p { margin-top: .8rem; max-width: 26ch; }
.rodape nav { display: flex; flex-direction: column; gap: .5rem; }
.rodape nav h2 { font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: .3rem; }
.rodape nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; overflow-wrap: anywhere; }
.rodape nav a:hover { color: var(--text-primary); }
.risco-final { font-size: 13.5px; color: var(--text-secondary); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem 1.1rem; margin-bottom: 1rem; }

/* Animação discreta ao rolar (só com JS e sem "reduzir movimento") */
.anima .revela { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.anima .revela.visivel { opacity: 1; transform: none; }

/* ---- LS (11/11/2026): landing comercial — hero, faixa de mercados, "por que", demonstração em abas, mercados, MQL5 ---- */
/* Entrada escalonada do hero (CSS puro; sem "reduzir movimento" nada se move) */
@keyframes entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
    .entra { animation: entra .6s ease both; }
    .hero-txt .entra:nth-child(2) { animation-delay: .06s; }
    .hero-txt .entra:nth-child(3) { animation-delay: .12s; }
    .hero-txt .entra:nth-child(4) { animation-delay: .18s; }
    .hero-txt .entra:nth-child(5) { animation-delay: .24s; }
    .hero-txt .entra:nth-child(6) { animation-delay: .3s; }
    .tela-hero.entra { animation-delay: .32s; animation-duration: .8s; }
}
.hero { position: relative; overflow: hidden; }
.hero-fundo { position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 60% 45% at 50% 0%, rgba(77,168,255,0.14), transparent 70%),
        linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 100%); }
.hero > * { position: relative; z-index: 1; }
.hero-sub { font: 500 clamp(1.15rem, 1rem + .7vw, 1.5rem)/1.3 var(--font-display); color: var(--text-primary); max-width: 34ch; margin-top: 1.1rem; letter-spacing: -0.01em; }
.hero .lead { margin-top: 1rem; }
.btn { transition: background-color .18s, border-color .18s, filter .18s, transform .18s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

/* Faixa de mercados (esteira lenta; parada com "reduzir movimento") */
.faixa-mercados { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .7rem 0; display: flex; align-items: center; gap: 1rem; overflow: hidden; }
.faixa-rotulo, .faixa-obs { flex: none; font: 500 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); padding: 0 clamp(16px, 4vw, 32px); white-space: nowrap; }
.faixa-obs { text-transform: none; letter-spacing: .02em; }
.esteira { flex: 1; min-width: 0; display: flex; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.esteira-lista { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; flex: none; padding-right: .6rem; }
.esteira-lista li { font: 500 13px var(--font-mono); color: var(--text-secondary); border: 1px solid var(--line-strong); border-radius: 999px; padding: .3rem .8rem; white-space: nowrap; background: var(--bg-raised); }
@keyframes esteira { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: no-preference) { .esteira-lista { animation: esteira 48s linear infinite; } .faixa-mercados:hover .esteira-lista { animation-play-state: paused; } }
@media (max-width: 900px) { .faixa-obs { display: none; } }
@media (max-width: 600px) { .faixa-rotulo { display: none; } }

/* Por que o TMChart */
.sub-larga { max-width: 60rem; }
.porque-grade { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.porque-grade .ponto { transition: border-color .2s, background-color .2s, transform .25s; }
.porque-grade .ponto:hover, .card:hover, .pilares a:hover, .perfis li:hover { transform: translateY(-3px); }
.card, .pilares a, .perfis li { transition: border-color .2s, background-color .2s, transform .25s; }
.perfis li:hover { border-color: var(--stone-line); }
.porque-grade .ic { margin-bottom: .8rem; }
.obs-centro { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; margin-top: 2rem; }

/* Mercados: três cartões + "o que você faz" */
.nota-mercado { border-top-color: var(--stone); }
.faz { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; background: var(--bg-card); }
.faz h3 { font-size: 1rem; margin-bottom: .8rem; }
.faz-lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem 1.2rem; }
.faz-lista li { position: relative; padding-left: 1.5rem; font-size: 14.5px; color: var(--text-secondary); }
.faz-lista li::before { content: ''; position: absolute; left: .15rem; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--positive); border-bottom: 2px solid var(--positive); transform: rotate(-45deg); }

/* Demonstração em abas */
.demo { margin-top: 2.5rem; }
.demo-abas { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.demo-abas [role="tab"] { font: 500 14px var(--font-body); color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; transition: color .18s, border-color .18s, background-color .18s; }
.demo-abas [role="tab"]:hover { color: var(--text-primary); border-color: var(--stone-line); }
.demo-abas [role="tab"][aria-selected="true"] { color: var(--stone); border-color: var(--stone); background: var(--stone-dim); }
.demo-moldura img { aspect-ratio: 16 / 9; object-fit: contain; object-position: top center; background: var(--bg-raised); }
@keyframes aparece { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .demo-painel.aparece { animation: aparece .35s ease; } }

/* Estratégias: NTSL em destaque, MQL5 informado num bloco menor */
.mql5 { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; background: var(--bg-card); }
.mql5 h3 { font-size: 1.15rem; }
.mql5 p { margin-top: .6rem; font-size: 14.5px; }
.mql5 .discreto { margin-top: .8rem; }

/* Faixa sugerindo outro idioma (abaixo do topo; nunca redireciona) */
.faixa-idioma { position: relative; z-index: 2; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: .75rem; padding: .55rem clamp(16px, 4vw, 32px); background: var(--stone-dim); border-bottom: 1px solid var(--stone-line); font-size: 14px; }
.faixa-idioma p { color: var(--text-primary); min-width: 0; line-height: 1.4; }
.faixa-abrir { white-space: nowrap; font-weight: 600; }
.faixa-fechar { flex: none; }
.faixa-idioma[hidden] { display: none; }
.faixa-fechar { background: none; border: 1px solid var(--line-strong); color: var(--text-primary); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; }
.faixa-fechar:hover { border-color: var(--stone); }
.rodape-idiomas { display: flex; gap: .4rem .9rem; flex-wrap: wrap; margin-top: 1rem; }
.rodape-idiomas a { font-size: 13.5px; }
.rodape-idiomas a[aria-current] { color: var(--text-primary); text-decoration: none; }
.final .nota-hero { text-align: center; }
.faq details[open] summary h3 { color: var(--stone); }
.lista-simples li.revela { transition-delay: 0s; }

@media (max-width: 1080px) { .porque-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .mql5, .faz-lista { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .porque-grade { grid-template-columns: minmax(0, 1fr); } .faixa-idioma { justify-content: space-between; font-size: 13px; padding-top: .45rem; padding-bottom: .45rem; } .hero-sub { max-width: none; } }

/* Responsivo */
@media (max-width: 1080px) {
    .pilares { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .planos, .planos.n2 { grid-template-columns: minmax(0, 520px); justify-content: center; gap: 2rem; }
    .plano.realce { order: -1; }
    .passos-otim { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .auto-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .dupla, .dupla.inversa, .otim-telas, .linguagens { grid-template-columns: minmax(0, 1fr); }
    .dupla.inversa .texto { order: 0; }
    .tres-col { grid-template-columns: minmax(0, 1fr); }
    .fluxo, .fluxo-pc { flex-direction: column; }
    .fluxo .seta { width: 2px; height: 20px; }
    .fluxo .seta::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid var(--stone); border-bottom: 0; }
    .rodape-grade { grid-template-columns: 1fr 1fr; }
    .rodape-grade > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .passos, .trio, .dupla-nota, .auto-grade, .contratar { grid-template-columns: minmax(0, 1fr); }
    .passos-otim, .pilares { grid-template-columns: minmax(0, 1fr); }
    .acoes .btn { width: 100%; }
    .link-cliente { width: 100%; text-align: center; }
    .moldura { padding-top: 18px; border-radius: var(--radius-md); }
    .moldura::before { top: 6px; left: 9px; width: 6px; height: 6px; box-shadow: 10px 0 0 var(--line-strong), 20px 0 0 var(--line-strong); }
    .plano { padding: 1.4rem; }
    .faq details p { padding-right: 0; }
}
