/* Portal agropectv.com.br — estilo "jornal financeiro" (referência: site da Bloomberg).
   Fundo branco, tipografia forte, réguas finas, faixa de cotações preta no topo, laranja da marca
   como acento. Público 65+: corpo >= 17 px, contraste AA, alvo de toque >= 44 px.
   Sem fonte externa, sem framework. Modo escuro pelo sistema. */
:root {
  --bg: #ffffff;
  --bg2: #f6f6f4;
  --ink: #111111;
  --ink2: #3d3d3d;
  --ink3: #666666;
  --rule: #e2e2e2;
  --rule2: #111111;
  --brand: #fa7800;
  --brand-ink: #b04f00;
  --up: #0b7a3b;
  --down: #c4271f;
  --flat: #6b6b6b;
  --bar: #000000;
  --bar-ink: #f2f2f2;
  --larg: 1260px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0e; --bg2: #161618; --ink: #f1f1f1; --ink2: #c9c9cc; --ink3: #9b9ba2; --rule: #2a2a2e;
    --rule2: #f1f1f1; --brand-ink: #ffa64d; --up: #37c56f; --down: #ff6b5e; --flat: #9b9ba2;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, label:focus-visible, input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 .8em; }
.pular { position: absolute; left: -999px; top: 0; background: var(--brand); color: #000; padding: 10px 14px; z-index: 50; }
.pular:focus { left: 8px; }
.miolo { max-width: var(--larg); margin: 0 auto; padding: 0 20px; }
.num { font-variant-numeric: tabular-nums; }

/* faixa de cotações (preta, topo) */
.ticker { position: relative; background: var(--bar); color: var(--bar-ink); overflow: hidden; border-bottom: 1px solid #222; }
/* pontas esmaecem para o PRETO da faixa (mask deixaria ver o fundo branco da página) */
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 32px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bar), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--bar), transparent); }
.tk-trilho { display: flex; width: max-content; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; flex: 0 0 auto; }
/* em movimento: anda uma lista inteira e recomeça (a 2ª cópia emenda); para quando o mouse
   está em cima ou um item tem o foco do teclado — dá para ler e clicar com calma */
@keyframes tk-rolar { from { transform: translateX(0); } to { transform: translateX(var(--tk-desl, -50%)); } }
@media (prefers-reduced-motion: no-preference) {
  .tk-trilho { animation: tk-rolar var(--tk-dur, 50s) linear infinite; will-change: transform; }
  .ticker:hover .tk-trilho, .ticker:focus-within .tk-trilho { animation-play-state: paused; }
}
/* quem pediu ao sistema "reduzir movimento" recebe a faixa parada, rolável com o dedo */
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; scrollbar-width: none; }
  .ticker::before, .ticker::after { display: none; }
  .ticker::-webkit-scrollbar { display: none; }
  .ticker ul[aria-hidden="true"] { display: none; }
}
.ticker li { flex: 0 0 auto; border-right: 1px solid #262626; }
.ticker a { display: flex; align-items: baseline; gap: 8px; padding: 9px 14px; font-size: 15px; white-space: nowrap; }
.ticker a:hover { background: #151515; text-decoration: none; }
.ticker .tn { color: #bdbdbd; font-weight: 600; }
.ticker .q .v { color: #fff; }
.ticker .c.up { color: #3ddc84; } .ticker .c.down { color: #ff6b5e; } .ticker .c.flat { color: #9b9b9b; }

/* cabeçalho */
.cab { background: var(--bar); color: var(--bar-ink); position: sticky; top: 0; z-index: 20; }
.cab-in { max-width: var(--larg); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { font-weight: 900; font-size: 26px; letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.logo span { color: var(--brand); }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 10px 11px; font-size: 16px; font-weight: 600; color: #d6d6d6; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--brand); }
.cab-dir { display: flex; align-items: center; gap: 12px; }
.btn-app { background: var(--brand); color: #000; font-weight: 800; font-size: 15px; padding: 10px 14px; border-radius: 4px; white-space: nowrap; }
.btn-app:hover { text-decoration: none; background: #ff8c1f; }
.selo-live { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; color: #fff; letter-spacing: .06em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: pulso 1.6s ease-in-out infinite; } }
@keyframes pulso { 50% { opacity: .35; } }

/* rótulos de seção — régua grossa preta + título (marca do estilo) */
.sec { font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; padding-top: 10px;
  border-top: 3px solid var(--rule2); margin-bottom: 14px; }
.sec a:hover { color: var(--brand-ink); text-decoration: none; }
.k { font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 6px; }
.meta { font-size: 14px; color: var(--ink3); margin-top: 8px; }
.meta .sai { display: none; }
.mais { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--brand-ink); }
.nota { color: var(--ink3); font-size: 14px; }
.aviso { color: var(--ink3); font-size: 14px; border-top: 1px solid var(--rule); padding-top: 14px; margin: 36px 0 8px; }
.dataline { font-size: 14px; color: var(--ink3); padding: 16px 0 12px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
/* a data do dia em destaque: fundo laranja-claro (16/10/2026, pedido do Gurlan) */
.dataline .hoje { display: inline-block; background: #ffe2c4; color: #7a3500; font-weight: 700;
  padding: 3px 10px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { .dataline .hoje { background: #4a2a0c; color: #ffc48a; } }

/* manchetes */
.m { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.m:last-child { border-bottom: 0; }
.m h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 900; letter-spacing: -0.025em; }
.m h2 { font-size: 30px; line-height: 1.12; font-weight: 900; }
.m h3 { font-size: 21px; line-height: 1.22; font-weight: 800; }
.m a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.m .lead { color: var(--ink2); font-size: 18px; margin-top: 10px; line-height: 1.45; }
.m.destaque .lead { font-size: 20px; }
.m.compacta h3 { font-size: 18px; }

/* capa */
.topo-capa { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 0; }
.topo-capa > div, .topo-capa > aside { padding: 0 20px; }
.topo-capa > :first-child { padding-left: 0; }
.topo-capa > :last-child { padding-right: 0; }
.c-sec { border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.lead-story .m { border-bottom: 0; margin-bottom: 8px; }
.c-sec .lead { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mais-agro { margin-top: 28px; }
.qc { margin: 0; border-top: 1px solid var(--rule); padding-top: 12px; }
.qc-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-weight: 800; margin-bottom: 6px; font-size: 16px; }
.qc-cab .un { font-weight: 400; color: var(--ink3); font-size: 14px; }
.faixa2 { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; margin-top: 40px; }
.c-dir .mod + .mod { margin-top: 32px; }
.secao-tema { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 40px; }
.secao-tema .sec { grid-column: 1 / -1; }
.cards-q { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.card-q { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--rule); border-top: 3px solid var(--brand); background: var(--bg2); }
.card-q:hover { text-decoration: none; border-color: var(--ink3); border-top-color: var(--brand); }
.card-q .nm { font-weight: 800; font-size: 15px; }
.card-q .q .v { font-size: 24px; }
.card-q .un { font-size: 13px; color: var(--ink3); }
.card-q .spark { width: 100%; height: 36px; margin-top: 4px; }

/* número vivo */
.q { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.q .v { font-weight: 800; font-variant-numeric: tabular-nums; }
.c { font-size: .88em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c.up { color: var(--up); } .c.down { color: var(--down); } .c.flat { color: var(--flat); }
.q.pisca .v { animation: pisca 1.2s ease-out; }
@keyframes pisca { from { background: rgba(250, 120, 0, .28); } to { background: transparent; } }

/* abas por CSS (sem JS): rádio + rótulo */
.abas { display: flex; flex-wrap: wrap; align-items: center; }
.abas > input { position: absolute; opacity: 0; pointer-events: none; }
.abas > label { cursor: pointer; padding: 9px 14px; font-weight: 700; font-size: 15px; color: var(--ink3); border-bottom: 3px solid transparent; }
.abas > input:checked + label { color: var(--ink); border-bottom-color: var(--brand); }
.abas .paineis { flex-basis: 100%; border-top: 1px solid var(--rule); padding-top: 12px; }
.abas .painel { display: none; }
.abas > input.r0:checked ~ .paineis .pm0, .abas > input.r1:checked ~ .paineis .pm1, .abas > input.r2:checked ~ .paineis .pm2,
.abas > input.r3:checked ~ .paineis .pm3, .abas > input.r4:checked ~ .paineis .pm4 { display: block; }
.abas > input.r-p90:checked ~ .paineis .pn-p90, .abas > input.r-p12:checked ~ .paineis .pn-p12,
.abas > input.r-p5:checked ~ .paineis .pn-p5 { display: block; }
.mm > label { padding: 8px 7px; font-size: 14px; }
.bloco-tab .tab.mini { max-width: 560px; }

/* tabelas */
.tab { width: 100%; border-collapse: collapse; font-size: 16px; }
.tab caption { text-align: left; font-weight: 800; padding: 6px 0; }
.tab th, .tab td { padding: 11px 8px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.tab thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); font-weight: 700; border-bottom: 2px solid var(--rule2); }
.tab tbody th { font-weight: 700; }
.tab tbody th a:hover { color: var(--brand-ink); }
.tab .num { text-align: right; }
.tab .un, .tab .dt { color: var(--ink3); font-size: 14px; white-space: nowrap; }
.tab .det { display: block; font-weight: 400; color: var(--ink3); font-size: 13px; }
.tab .sp { width: 110px; }
/* tabelas de cotação com as MESMAS colunas em todos os grupos (o olho segue a coluna de preço) */
.bloco-tab > .tab:not(.mini):not(.reg) { table-layout: fixed; }
.bloco-tab > .tab:not(.mini):not(.reg) th:nth-child(1) { width: 38%; }
.bloco-tab > .tab:not(.mini):not(.reg) th:nth-child(2) { width: 26%; }
.bloco-tab > .tab:not(.mini):not(.reg) th:nth-child(3) { width: 14%; }
.bloco-tab > .tab:not(.mini):not(.reg) th:nth-child(4) { width: 12%; }
.bloco-tab > .tab:not(.mini):not(.reg) th:nth-child(5) { width: 10%; }
.tab.mini th, .tab.mini td { padding: 9px 4px; }
.tab.mini .q { gap: 6px; }
.tab.reg .pracas { color: var(--ink2); font-size: 14px; }
.spark { display: block; }
.spark polyline { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.spark.up polyline { stroke: var(--up); } .spark.down polyline { stroke: var(--down); } .spark.flat polyline { stroke: var(--flat); }

/* gráfico grande */
.graf { width: 100%; height: auto; display: block; }
.graf .gr { stroke: var(--rule); stroke-width: 1; }
.graf .ax { fill: var(--ink3); font-size: 12px; font-family: inherit; }
.graf .ln { fill: none; stroke-width: 2.2; stroke-linejoin: round; }
.graf.up .ln { stroke: var(--up); } .graf.down .ln { stroke: var(--down); } .graf.flat .ln { stroke: var(--flat); }
.graf .a0 { stop-color: var(--brand); stop-opacity: .18; } .graf .a1 { stop-color: var(--brand); stop-opacity: 0; }
.graf .pt { fill: var(--ink); }
.graf .ult { fill: var(--ink); } .graf .ultt { fill: var(--bg); font-size: 12px; font-weight: 800; font-family: inherit; }

/* módulos laterais */
.mod .video, .video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.foto-live img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ao-vivo p { margin-top: 12px; color: var(--ink2); }
.ana-res { font-size: 18px; line-height: 1.5; color: var(--ink2); border-left: 3px solid var(--brand); padding-left: 14px; }

/* rio "Últimas" */
.rio { list-style: none; margin: 0; padding: 0; }
.rio li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.rio li.dia { display: block; padding: 18px 0 8px; font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); border-bottom: 1px solid var(--rule2); }
.rio .hh { color: var(--ink3); font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.rio a { font-weight: 800; font-size: 19px; line-height: 1.28; }
.rio .meta { margin-top: 4px; }

/* cursos */
.secao-cursos { margin-top: 48px; }
.cursos-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.curso-mini { display: grid; gap: 6px; }
.curso-mini img { aspect-ratio: 1200 / 663; object-fit: cover; }
.curso-mini .t { font-weight: 800; font-size: 18px; line-height: 1.25; }
.curso-mini .meta { margin-top: 0; }
.grade { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 20px; }
.curso { display: flex; flex-direction: column; border: 1px solid var(--rule); background: var(--bg); }
.curso:hover { text-decoration: none; border-color: var(--ink3); }
.curso .capa { aspect-ratio: 1200 / 663; object-fit: cover; width: 100%; background: var(--bg2); }
.curso .corpo { padding: 14px 16px 18px; display: grid; gap: 4px; }
.curso h3 { font-size: 20px; font-weight: 800; }
.curso .meta { margin-top: 0; }
.curso .preco { color: var(--brand-ink); font-weight: 800; font-size: 19px; }

/* páginas internas */
.pag-tit { font-size: clamp(32px, 4vw, 46px); font-weight: 900; letter-spacing: -0.025em; margin: 28px 0 8px; }
.pag-sub { color: var(--ink2); font-size: 18px; max-width: 760px; }
.indice { display: flex; flex-wrap: wrap; gap: 4px 2px; margin: 18px 0 24px; border-bottom: 1px solid var(--rule); }
.indice a { padding: 9px 12px; font-weight: 700; font-size: 15px; color: var(--ink2); border-bottom: 3px solid transparent; }
.indice a[aria-current="page"], .indice a:hover { color: var(--ink); border-bottom-color: var(--brand); text-decoration: none; }
.bloco-tab { margin-top: 36px; }
.curvas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.curva h3 { font-size: 17px; margin-bottom: 6px; }
.noticias-grade { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
.trilha { color: var(--ink3); font-size: 15px; padding-top: 22px; }
.trilha a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; }
.q-cab { padding: 10px 0 18px; border-bottom: 1px solid var(--rule); }
.q-cab h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; }
.q-cab h1 .det { display: block; font-size: 16px; font-weight: 500; color: var(--ink3); letter-spacing: 0; margin-top: 4px; }
.q-num { margin-top: 8px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.q-num .q .v { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.02em; }
.q-num .q .c { font-size: 22px; }
.q-num .un { color: var(--ink3); font-size: 17px; }
.q-data { color: var(--ink3); font-size: 14px; margin-top: 4px; }
.q-corpo { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 32px; margin-top: 18px; }
.q-stats { border-left: 1px solid var(--rule); padding-left: 24px; }
.st { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.st span { color: var(--ink3); font-size: 15px; }
.st b { font-variant-numeric: tabular-nums; }
.artigo .meta { margin-bottom: 20px; }
.art-grade { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; }
.art-corpo h2 { font-size: 24px; font-weight: 900; margin: 18px 0 10px; }
.art-k { margin-top: 26px; }
.art-tit { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; font-weight: 900; letter-spacing: -0.025em; max-width: 900px; }
.art-lf { font-size: 21px; line-height: 1.45; color: var(--ink2); margin: 14px 0 0; max-width: 820px; }
.art-meta { padding: 14px 0; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.art-texto p { font-size: 19px; line-height: 1.7; color: var(--ink); margin: 0 0 1.1em; max-width: 720px; }
.art-texto p:first-child::first-letter { font-weight: 900; }
.art-lado .mod + .mod { margin-top: 28px; }
/* 22/10: notícia curta deixava a coluna vazia — mercado do produto + leia também */
.art-ctx { margin: 34px 0 0; max-width: 760px; }
.ctx-fatos { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); }
.ctx-fatos li { padding: 12px 14px; border-right: 1px solid var(--rule); display: grid; gap: 4px; align-content: start; }
.ctx-fatos li:last-child { border-right: none; }
.ctx-fatos li > span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); font-weight: 700; }
.ctx-fatos b { font-size: 19px; font-weight: 800; }
.ctx-fatos .q { display: grid; gap: 2px; }
.ctx-fatos .q .v { font-size: 19px; color: var(--ink); }
.ctx-fatos .q .c { font-size: 14px; font-weight: 700; }
.ctx-fatos small { font-size: 13px; color: var(--ink3); }
.art-texto .ctx-un { font-size: 13px; line-height: 1.4; color: var(--ink3); margin: 8px 0 0; max-width: none; }
.art-leia { margin: 40px 0 0; }
.leia-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.leia-grade .m { padding: 14px 0; border-top: 1px solid var(--rule); }
@media (max-width: 760px) {
  .ctx-fatos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctx-fatos li:nth-child(2) { border-right: none; }
  .ctx-fatos li:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .leia-grade { grid-template-columns: 1fr; }
}
.ana-txt { font-size: 20px; line-height: 1.6; color: var(--ink2); }
.grade-lista { list-style: none; padding: 0; margin: 0; }
.grade-lista li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.vazio { color: var(--ink3); }

/* página de curso (preço + Hotmart) e textos legais */
.cab-curso { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 20px 0 8px; }
.cab-curso h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; margin-bottom: 16px; }
.compra { border: 1px solid var(--rule); border-top: 4px solid var(--brand); padding: 22px; position: sticky; top: 84px; background: var(--bg); }
.compra .valor { font-size: 40px; font-weight: 900; letter-spacing: -0.02em; }
.compra .nota { margin-top: 12px; }
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; font-weight: 800; font-size: 17px; border-radius: 4px; }
.botao.primario { background: var(--brand); color: #000; width: 100%; margin-top: 14px; }
.botao.primario:hover { text-decoration: none; background: #ff8c1f; }
.legenda { color: var(--ink3); font-size: 15px; margin-top: 8px; }
.secao { padding: 28px 0 0; }
.secao > h2 { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.secao h3 { font-size: 18px; margin: 18px 0 8px; }
.lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lista li { padding-left: 26px; position: relative; color: var(--ink2); }
.lista li::before { content: "✓"; position: absolute; left: 0; color: var(--up); font-weight: 900; }
.ementa { list-style: none; padding: 0; margin: 0; }
.ementa li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.ementa .n { font-size: 26px; font-weight: 900; color: var(--brand-ink); }
.ementa .t { font-weight: 800; }
.ementa .r { color: var(--ink2); font-size: 16px; }
.chip { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px;
  background: var(--up); color: #fff; margin-left: 8px; vertical-align: 2px; border-radius: 2px; }
.legal { max-width: 780px; padding: 24px 0 40px; }
.legal h1 { font-size: 40px; font-weight: 900; margin-bottom: 6px; }
.legal h2 { font-size: 22px; font-weight: 900; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink2); }
.legal a { color: var(--brand-ink); text-decoration: underline; }
.legal .vigencia { color: var(--ink3); font-size: 15px; }

/* rodapé */
.rod { background: var(--bar); color: #cfcfcf; margin-top: 64px; }
.rod-in { max-width: var(--larg); margin: 0 auto; padding: 36px 20px 18px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.rod h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.rod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rod a:hover { color: #fff; }
.rod-marca p { color: #a9a9a9; font-size: 15px; margin-top: 10px; max-width: 360px; }
.rod-leg { max-width: var(--larg); margin: 0 auto; padding: 16px 20px 34px; border-top: 1px solid #262626; font-size: 14px; color: #9a9a9a; }
.rod-leg a { text-decoration: underline; }

/* responsivo */
@media (max-width: 1080px) {
  .topo-capa { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .c-mkt { grid-column: 1 / -1; padding: 0 !important; margin-top: 28px; }
  .c-sec { border-right: 0; padding-right: 0 !important; }
  .cursos-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .cab-in { flex-wrap: wrap; gap: 0 12px; padding: 8px 16px 0; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -8px; }
  .cab-dir { margin-left: auto; }
  .miolo { padding: 0 16px; }
  .topo-capa, .faixa2, .secao-tema, .noticias-grade, .q-corpo, .art-grade, .cab-curso { grid-template-columns: 1fr; gap: 0; }
  .topo-capa > div, .topo-capa > aside { padding: 0 !important; border: 0 !important; }
  .c-sec { margin-top: 8px; }
  .faixa2 { margin-top: 24px; }
  .c-dir { margin-top: 28px; }
  .secao-tema .col-notas { margin-top: 18px; }
  .q-stats { border-left: 0; padding-left: 0; margin-top: 18px; }
  .tab .sp, .tab .dt { display: none; }
  .graf .ax { font-size: 19px; }
  .graf .ultt { font-size: 17px; }
  .bloco-tab > .tab:not(.mini):not(.reg) { table-layout: auto; }
  .bloco-tab > .tab:not(.mini):not(.reg) th { width: auto !important; }
  .tab .q { flex-direction: column; align-items: flex-end; gap: 0; }
  .tab th, .tab td { padding: 10px 6px; }
  .tab .un { font-size: 13px; }
  .indice { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 8px; }
  .indice::-webkit-scrollbar { display: none; }
  .indice a { white-space: nowrap; }
  .rod-in { grid-template-columns: 1fr 1fr; }
  .rod-marca { grid-column: 1 / -1; }
  .compra { position: static; }
  .meta .sai { display: none; }
}

/* ── página de vendas do curso completo (site_venda.py, 30/10/2026) ──────────────────────
   Pensada para o CELULAR: quem compra chega pelo link do YouTube, no navegador do app.
   Coluna única de leitura, toque >= 52 px, preço e botão sempre por perto, botão fixo no rodapé. */
.vd { max-width: 720px; margin: 0 auto; padding: 0 16px 96px; }
.vd-trilha { color: var(--ink3); font-size: 14px; padding: 14px 0 6px; }
.vd-trilha a { text-decoration: underline; }
.vd-hero { display: grid; gap: 14px; padding: 4px 0 8px; }
.vd-selo { display: inline-block; background: #fff1e3; color: var(--brand-ink); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 99px; }
.vd-hero h1 { font-size: clamp(30px, 8.2vw, 46px); line-height: 1.08; font-weight: 900; margin: 12px 0 10px; text-wrap: balance; }
.vd-sub { font-size: 19px; color: var(--ink2); margin: 0; }
.vd-capa { width: 100%; border-radius: 14px; aspect-ratio: 1 / 1; object-fit: cover; background: var(--bg2); }
.vd-preco { border: 2px solid var(--brand); border-radius: 14px; padding: 14px 16px; background: var(--bg); }
.vd-de { color: var(--ink3); font-size: 16px; }
.vd-de s { color: var(--down); }
.vd-por { font-size: 44px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.vd-parc { color: var(--ink2); font-size: 17px; line-height: 1.35; }
.vd-parc b { color: var(--ink); }
.vd-eco { display: inline-block; margin-top: 8px; background: #e6f4ea; color: var(--up); font-weight: 800; font-size: 15px;
  padding: 4px 10px; border-radius: 6px; }
.vd-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 58px; margin-top: 12px;
  background: var(--brand); color: #000; font-size: 20px; font-weight: 900; border-radius: 12px; text-align: center; padding: 8px 16px;
  box-shadow: 0 4px 0 #b65700; }
.vd-cta:hover { text-decoration: none; background: #ff8c1f; }
.vd-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 #b65700; }
.vd-gar { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 17px; color: var(--ink); }
.vd-esc { width: 28px; height: 28px; flex: 0 0 auto; fill: var(--up); }
.vd-conf { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink3); font-size: 14px; }
.vd-conf li::before { content: "✓ "; color: var(--up); font-weight: 900; }
.vd-sec { padding: 34px 0 0; }
.vd-sec > h2 { font-size: clamp(25px, 6.4vw, 32px); line-height: 1.15; font-weight: 900; margin-bottom: 8px; text-wrap: balance; }
.vd-lead { font-size: 18px; color: var(--ink2); }
.vd-fonte { font-size: 14px; color: var(--ink3); margin-top: 10px; }
.vd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.vd-stats div { background: var(--bg2); border-radius: 12px; padding: 14px; border-left: 4px solid var(--down); }
.vd-stats b { display: block; font-size: 26px; white-space: nowrap; font-weight: 900; line-height: 1.1; color: var(--down); font-variant-numeric: tabular-nums; }
.vd-stats span { display: block; font-size: 15px; color: var(--ink2); margin-top: 4px; line-height: 1.35; }
.vd-calc { }
.vd-calc .vd-campos { display: grid; gap: 10px; margin-top: 8px; }
.vd-calc label { display: grid; gap: 4px; font-weight: 700; font-size: 16px; }
.vd-in { display: flex; align-items: center; border: 2px solid var(--rule); border-radius: 12px; background: var(--bg); padding: 0 14px; }
.vd-in:focus-within { border-color: var(--brand); }
.vd-in input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: inherit;
  font-size: 22px; font-weight: 800; line-height: 1; padding: 13px 0; font-variant-numeric: tabular-nums; outline: none; }
.vd-in i { font-style: normal; color: var(--ink3); font-weight: 700; padding-left: 8px; }
.vd-in i.pre { padding: 0 8px 0 0; }
.vd-pergunta { font-weight: 700; margin: 16px 0 8px; }
.vd-pct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vd-pct button { min-height: 52px; border-radius: 12px; border: 2px solid var(--rule); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 19px; font-weight: 900; cursor: pointer; }
.vd-pct button[aria-pressed="true"] { border-color: var(--brand); background: #fff1e3; color: var(--brand-ink); }
.vd-res { margin-top: 14px; background: #0f2a18; color: #e8f6ec; border-radius: 14px; padding: 18px; display: grid; gap: 2px; }
.vd-res-l { font-size: 15px; color: #a7d8b6; font-weight: 700; }
.vd-res b { font-size: clamp(38px, 11vw, 52px); font-weight: 900; line-height: 1.05; color: #7ee2a0; font-variant-numeric: tabular-nums; }
.vd-res #r-sacas { font-size: 19px; font-weight: 700; }
.vd-roi { margin: 8px 0 0; font-size: 16px; color: #d6eedd; }
.vd-sints { display: grid; gap: 8px; margin-top: 10px; }
.vd-sint { border: 2px solid var(--rule); border-radius: 12px; background: var(--bg); }
.vd-sint[open] { border-color: var(--brand); }
.vd-sint summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; min-height: 52px; font-weight: 700; font-size: 17px;
  position: relative; line-height: 1.35; }
.vd-sint summary::-webkit-details-marker, .vd-faq summary::-webkit-details-marker, .vd-mod summary::-webkit-details-marker { display: none; }
.vd-sint summary::after, .vd-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--brand-ink); }
.vd-sint[open] summary::after, .vd-faq[open] summary::after { content: "−"; }
.vd-sint-r { padding: 0 16px 14px; border-top: 1px solid var(--rule); }
.vd-prov { font-size: 20px; margin: 12px 0 6px; }
.vd-prov b { color: var(--brand-ink); }
.vd-sint-r p { margin: 0 0 8px; color: var(--ink2); }
.vd-perda { color: var(--down) !important; font-weight: 700; }
.vd-aulas { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 16px; }
.vd-alerta { margin-top: 12px; background: #fff7e6; border-left: 4px solid var(--brand); padding: 12px 14px; border-radius: 0 10px 10px 0; color: var(--ink2); }
.vd-abas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px -16px 12px; padding: 0 16px; }
.vd-abas::-webkit-scrollbar { display: none; }
.vd-aba { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 99px;
  border: 2px solid var(--rule); font-weight: 700; font-size: 15px; white-space: nowrap; }
.vd-aba:hover { text-decoration: none; }
.vd-aba[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.vd-video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vd-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.vd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vd-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; background: #e00; border-radius: 14px; }
.vd-play::after { content: ""; position: absolute; left: 31px; top: 15px; border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff; }
.vd-vtit { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; color: #fff; font-weight: 800; font-size: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.vd-video:hover { text-decoration: none; }
.vd-check { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.vd-check li { position: relative; padding-left: 34px; font-size: 17px; color: var(--ink2); }
.vd-check li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--up); color: #fff; font-size: 14px; font-weight: 900; display: grid; place-items: center; }
.vd-comp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 10px; }
.vd-comp div { border: 2px solid var(--rule); border-radius: 12px; padding: 12px 14px; }
.vd-comp div.on { border-color: var(--brand); background: #fff1e3; }
.vd-comp span { display: block; font-size: 14px; color: var(--ink3); font-weight: 700; }
.vd-comp b { font-size: 24px; font-weight: 900; }
.vd-comp s { color: var(--ink3); }
.vd-mod { border-bottom: 1px solid var(--rule); }
.vd-mod summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 0; min-height: 56px;
  font-weight: 800; font-size: 18px; }
.vd-mod summary > span { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid;
  place-items: center; font-size: 16px; }
.vd-mod summary small { margin-left: auto; color: var(--ink3); font-weight: 600; font-size: 14px; white-space: nowrap; }
.vd-eps { list-style: none; padding: 0 0 12px; margin: 0; display: grid; gap: 10px; }
.vd-eps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.vd-eps .n { color: var(--brand-ink); font-weight: 900; font-size: 18px; }
.vd-eps b { font-size: 16px; }
.vd-eps em { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; background: var(--up); color: #fff;
  padding: 1px 7px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.vd-eps li span { display: block; color: var(--ink2); font-size: 15px; }
.vd-quem { display: grid; gap: 10px; }
.vd-quem > div { border-radius: 12px; padding: 14px 16px; }
.vd-quem .sim { background: #e6f4ea; }
.vd-quem .nao { background: var(--bg2); }
.vd-quem h3 { font-size: 18px; margin-bottom: 6px; }
.vd-quem ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink2); }
.vd-garantia { text-align: center; }
.vd-garantia .vd-esc { width: 64px; height: 64px; margin: 0 auto 6px; display: block; }
.vd-garantia p { font-size: 18px; color: var(--ink2); max-width: 540px; margin: 0 auto; }
.vd-faq { border-bottom: 1px solid var(--rule); }
.vd-faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; min-height: 52px; font-weight: 800; font-size: 17px; position: relative; }
.vd-faq summary::after { right: 4px; }
.vd-faq p { color: var(--ink2); padding-bottom: 6px; }
.vd-final { border-top: 4px solid var(--brand); margin-top: 34px; }
.vd-aviso { color: var(--ink3); font-size: 14px; border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 30px; }
.vd-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--rule);
  box-shadow: 0 -6px 18px rgba(0,0,0,.12); transform: translateY(110%); transition: transform .25s ease; }
.vd-barra.on { transform: none; }
.vd-barra-p { display: grid; line-height: 1.15; }
.vd-barra-p b { font-size: 22px; font-weight: 900; }
.vd-barra-p span { font-size: 13px; color: var(--ink3); }
.vd-barra .vd-cta { flex: 1; margin: 0; min-height: 52px; font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .vd-barra { transition: none; } }
@media (prefers-color-scheme: dark) {
  .vd-selo, .vd-pct button[aria-pressed="true"], .vd-comp div.on { background: #3a2410; }
  .vd-eco, .vd-quem .sim { background: #12301d; }
  .vd-alerta { background: #2b2210; }
}
/* tela grande: o topo vira duas colunas (texto + compra à esquerda, capa à direita) */
@media (min-width: 900px) {
  .vd { max-width: 1040px; }
  .vd-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "txt img" "compra img"; column-gap: 36px; align-items: start; }
  .vd-hero-txt { grid-area: txt; }
  .vd-hero-img { grid-area: img; }
  .vd-hero-compra { grid-area: compra; }
  /* seções alinhadas à MESMA margem esquerda do topo (centralizadas a 720 px ficavam tortas em
     relação ao título e ao preço); a coluna de leitura continua em 720 px */
  .vd-sec { max-width: 720px; margin: 0; }
  .vd-stats { grid-template-columns: repeat(4, 1fr); }
  .vd-sec:has(.vd-stats) { max-width: none; }
  .vd-garantia { max-width: 720px; text-align: left; }
  .vd-garantia .vd-esc { margin: 0 0 6px; }
  .vd-garantia p { margin: 0; }
  .vd-quem { grid-template-columns: 1fr 1fr; }
}
/* caixa de compra da página de cada doença: garantia sob o botão e oferta do curso completo */
.compra .nota.garantia { color: var(--ink); font-size: 16px; }
.compra .upsell { display: grid; gap: 2px; margin-top: 14px; padding: 12px 14px; border: 2px dashed var(--brand); border-radius: 10px; background: #fff7ef; }
.compra .upsell b { font-size: 17px; }
.compra .upsell span { color: var(--brand-ink); font-size: 15px; font-weight: 700; }
.compra .upsell:hover { text-decoration: none; border-style: solid; }
@media (prefers-color-scheme: dark) { .compra .upsell { background: #2b1a0a; } }
/* na página de vendas o cabeçalho do site rola junto (no celular ele fixo comia ~135 px da tela,
   e o botão fixo do rodapé já mantém a compra sempre à mão) */
body:has(.vd) .cab { position: static; }
/* barra fixa no computador: preço + botão de tamanho normal, centrados (no celular segue largura cheia) */
@media (min-width: 900px) {
  .vd-barra { justify-content: center; gap: 24px; }
  .vd-barra .vd-cta { flex: 0 0 340px; }
}
