/* Noticias ricas (nov/2026): numeros, barras, simuladores, linha do tempo, quiz e compartilhar.
   So tokens do site.css. Tudo funciona sem JS (o JS so anima e calcula). */
.nx-prog { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: var(--acento); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

.nx-resumo { padding: 22px 24px; border-radius: var(--r); background: var(--tinta); color: #fff; }
.nx-resumo__rot { margin: 0 0 12px; font-size: var(--t-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acento-claro); }
.nx-resumo ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.nx-resumo li::marker { color: var(--acento-claro); }
.nx-resumo strong { color: #fff; }

.nx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.nx-stats > li { margin: 0 !important; padding: 18px 16px; border-radius: var(--r-sm); background: var(--papel); border: 1px solid var(--linha); }
.nx-stats b { display: block; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: var(--tinta); font-variant-numeric: tabular-nums; }
.nx-stats span { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.35; color: var(--texto-2); }
.nx-stats .up b { color: var(--sheets-verde); }
.nx-stats .down b { color: var(--alerta); }

.nx-bloco { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--linha); border-radius: var(--r); background: var(--fundo); box-shadow: var(--sombra); }
.nx-bloco > h3 { margin: 0 0 4px !important; font-size: var(--t-h4); }
.nx-bloco > p.nx-sub { margin: 0 0 18px; font-size: var(--t-small); color: var(--texto-2); }

.nx-barras { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font-variant-numeric: tabular-nums; }
.nx-barras li { margin: 0 !important; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.nx-barras li > span { font-size: var(--t-small); font-weight: 600; color: var(--tinta); }
.nx-barras li > b { font-size: var(--t-small); font-weight: 700; }
.nx-barras li > i { grid-column: 1 / -1; display: block; height: 10px; border-radius: 6px; background: var(--papel-2); position: relative; overflow: hidden; }
.nx-barras li > i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 6px; background: var(--acento); transition: width 1.1s var(--ease); }
.nx-barras li.neg > i::after { background: var(--alerta); }
.nx-barras li.alt > i::after { background: var(--acento-claro); }
.nx-barras li.pre > i::after { width: 0; transition: none; }
.nx-nota { margin: 12px 0 0; font-size: .8125rem; color: var(--texto-2); }

.nx-rosca { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.nx-rosca__g { width: 120px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--acento) calc(var(--p) * 1%), var(--papel-2) 0); display: grid; place-items: center; }
.nx-rosca__g::before { content: attr(data-t); display: grid; place-items: center; width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--fundo); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; text-align: center; }
.nx-rosca p { margin: 0; font-size: var(--t-small); color: var(--texto-2); }
.nx-rosca p b { color: var(--tinta); }

.nx-fig { }
.nx-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--papel-2); }
.nx-fig figcaption { margin-top: 10px; font-size: .8125rem; color: var(--texto-2); }

.nx-sim { display: grid; gap: 18px; }
.nx-sim form { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .nx-sim form { grid-template-columns: 1fr 1fr; } .nx-sim form .cheio { grid-column: 1 / -1; } }
.nx-sim label { display: grid; gap: 6px; font-size: var(--t-small); font-weight: 600; color: var(--tinta); }
.nx-sim label small { font-weight: 400; color: var(--texto-2); }
.nx-sim input[type="number"], .nx-sim select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--linha); border-radius: var(--r-sm); background: var(--fundo); font: inherit; font-weight: 500; color: var(--tinta); }
.nx-sim input[type="range"] { width: 100%; accent-color: var(--acento); min-height: 32px; }
.nx-sim input:focus-visible, .nx-sim select:focus-visible, .nx-op:focus-visible, .nx-btn:focus-visible, .nx-share a:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
.nx-sim .rot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.nx-sim .rot output { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--acento-hover); }
.nx-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--linha); border-radius: var(--pill); background: var(--papel); font: inherit; font-size: var(--t-small); font-weight: 600; color: var(--tinta); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.nx-btn:hover { border-color: var(--acento); background: var(--acento-fraco); }
.nx-btn[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: #fff; }

.nx-out { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-sm); background: var(--tinta); color: #fff; }
.nx-out__grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.nx-out dl { margin: 0; }
.nx-out dt { font-size: var(--t-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.nx-out dd { margin: 4px 0 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nx-out dd.alerta { color: #FF8A8A; }
.nx-out dd.ok { color: #7EE2A1; }
.nx-out p { margin: 0; font-size: var(--t-small); line-height: 1.5; color: rgba(255,255,255,.82); }
.nx-out .nx-barras li > span, .nx-out .nx-barras li > b { color: #fff; }
.nx-out .nx-barras li > i { background: rgba(255,255,255,.16); }
.nx-out .nx-barras li.alt > i::after { background: var(--acento-claro); }

.nx-linha { margin: 0; padding: 0; list-style: none; position: relative; display: grid; gap: 22px; }
.nx-linha::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--linha); }
.nx-linha li { margin: 0 !important; position: relative; padding-left: 36px; }
.nx-linha li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--fundo); border: 3px solid var(--acento); }
.nx-linha time, .nx-linha .quando { display: block; font-size: var(--t-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acento-hover); }
.nx-linha b { display: block; margin-top: 2px; font-size: 1.0625rem; color: var(--tinta); }
.nx-linha p { margin: 4px 0 0; font-size: var(--t-small); color: var(--texto-2); }

.nx-comp { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .nx-comp { grid-template-columns: 1fr 1fr; } }
.nx-comp > div { padding: 18px; border-radius: var(--r-sm); border: 1px solid var(--linha); background: var(--papel); }
.nx-comp h4 { margin: 0 0 8px; font-size: 1rem; }
.nx-comp ul { margin: 0; padding-left: 1.1em; font-size: var(--t-small); }
.nx-comp .bom { border-color: #B7E4C7; background: #F1FBF5; }
.nx-comp .atencao { border-color: #F5C2C2; background: #FEF4F4; }

.nx-quiz { display: grid; gap: 22px; }
.nx-q > p { margin: 0 0 10px; font-weight: 600; color: var(--tinta); }
.nx-ops { display: grid; gap: 8px; }
.nx-op { min-height: 48px; padding: 10px 16px; text-align: left; border: 1px solid var(--linha); border-radius: var(--r-sm); background: var(--fundo); font: inherit; font-size: var(--t-small); color: var(--tinta); cursor: pointer; transition: background .2s, border-color .2s; }
.nx-op:hover:not(:disabled) { border-color: var(--acento); background: var(--acento-fraco); }
.nx-op:disabled { cursor: default; }
.nx-op.certo { border-color: var(--sheets-verde); background: #F1FBF5; }
.nx-op.errado { border-color: var(--alerta); background: #FEF4F4; }
.nx-exp { margin: 10px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--papel); font-size: var(--t-small); color: var(--texto-2); }
.nx-placar { margin: 0; font-weight: 700; color: var(--tinta); }

.nx-frase { padding: 20px 22px; border-radius: var(--r); background: var(--acento-fraco); border: 1px solid #C9DAFB; }
.nx-frase p { margin: 0 0 14px; font-size: 1.0625rem; line-height: 1.5; color: var(--tinta); }

.nx-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nx-share__rot { width: 100%; margin: 0; font-size: var(--t-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); }
.nx-share a, .nx-share button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--linha); background: var(--fundo); font: inherit; font-size: var(--t-small); font-weight: 600; color: var(--tinta); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.nx-share a:hover, .nx-share button:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.nx-share .zap { background: #1FA855; border-color: #1FA855; color: #fff; }
.nx-share .zap:hover { background: #178443; border-color: #178443; }
.nx-share [data-nativo] { display: none; }
.nx-share.nativo [data-nativo] { display: inline-flex; }
.prosa .nx-share a { color: var(--tinta); }
.prosa .nx-share a:hover, .prosa .nx-share .zap { color: #fff; }

.nx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-tags span { padding: 6px 12px; border-radius: var(--pill); background: var(--acento-fraco); font-size: var(--t-small); font-weight: 600; color: var(--acento-hover); }

.nx-toast { position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: var(--pill); background: var(--tinta); color: #fff; font-size: var(--t-small); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.nx-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .nx-barras li > i::after, .nx-toast { transition: none; }
}

/* ritmo vertical: o .prosa dá 1.1em entre irmãos e os blocos pedem mais ar; listas do .prosa recuam, as daqui não */
.prosa ul.nx-stats, .prosa ul.nx-barras, .prosa ol.nx-linha, .prosa ul.nx-tags { padding-left: 0; }
.prosa > .nx-resumo, .prosa > .nx-stats, .prosa > .nx-bloco, .prosa > .nx-comp, .prosa > .nx-fig, .prosa > .nx-frase { margin-block: 2em; }
.prosa > .nx-resumo { margin-top: 0; }
.prosa > .nx-share, .prosa > .nx-tags { margin-block: 1.5em; }
.prosa > .nx-bloco + .nx-bloco { margin-top: 1.5em; }
.nx-sim > * { margin: 0 !important; }
.nx-out > * { margin: 0 !important; }
.nx-out ul.nx-barras { margin-top: 4px !important; }
.nx-bloco > .nx-barras, .nx-bloco > .nx-linha { margin: 0; }
.nx-bloco > .nx-nota { margin-top: 16px; }
.nx-quiz > .nx-q { margin: 0; }
.nx-quiz > * + * { margin-top: 24px; }
.nx-quiz > h3 { margin-bottom: 4px; }
.nx-ops > * { margin: 0 !important; }
.nx-exp { margin-top: 12px !important; }
.nx-comp ul { padding-left: 1.1em; }
.nx-comp li + li { margin-top: .4em; }
.nx-linha li p { margin-top: 4px; }
.nx-frase > .nx-share { margin-top: 0; }
.nx-share__rot { margin-bottom: 2px; }
@media (max-width: 559px) { .prosa > .nx-resumo, .prosa > .nx-stats, .prosa > .nx-bloco, .prosa > .nx-comp, .prosa > .nx-fig, .prosa > .nx-frase { margin-block: 1.6em; } }

.nx-mapa__corpo { display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) { .nx-mapa__corpo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.nx-mapa svg { width: 100%; height: auto; max-height: 420px; }
.nx-mapa polygon { fill: var(--papel-2); stroke: var(--linha); stroke-width: 2; stroke-linejoin: round; }
.nx-mapa g circle { fill: var(--acento); stroke: #fff; stroke-width: 2; }
.nx-mapa g.pos circle { fill: var(--sheets-verde); }
.nx-mapa g.neg circle { fill: var(--alerta); }
.nx-mapa g text { fill: #fff; font-size: 13px; font-weight: 700; }
.nx-mapa__leg { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; font-variant-numeric: tabular-nums; }
.nx-mapa__leg li { margin: 0 !important; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--linha); font-size: var(--t-small); }
.nx-mapa__leg li:last-child { border-bottom: 0; }
.nx-mapa__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--acento); color: #fff; font-size: .75rem; font-weight: 700; }
.nx-mapa__leg .pos .nx-mapa__n { background: var(--sheets-verde); }
.nx-mapa__leg .neg .nx-mapa__n { background: var(--alerta); }
.nx-mapa__c { font-weight: 600; color: var(--tinta); }
.nx-mapa__leg b { font-weight: 700; }
.nx-mapa__leg .pos b { color: var(--sheets-verde); }
.nx-mapa__leg .neg b { color: var(--alerta); }

.nx-flag { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); vertical-align: -3px; margin-right: 8px; }
.nx-cidades { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px; }
.nx-cidades li { margin: 0 !important; padding: 12px; border-radius: var(--r-sm); background: var(--papel); border: 1px solid var(--linha); display: grid; gap: 2px; align-content: start; }
.nx-cidades img { width: 100%; height: 56px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); margin-bottom: 8px; background: #fff; }
.nx-cidades b { font-size: var(--t-small); font-weight: 600; color: var(--tinta); line-height: 1.25; }
.nx-cidades .v { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--tinta); }
.nx-cidades .r { font-size: .8125rem; color: var(--texto-2); }
.nx-cidades .up .r { color: var(--sheets-verde); font-weight: 600; }
.nx-cidades .down .v, .nx-cidades .down .r { color: var(--alerta); }
.nx-mapa__c { display: flex; align-items: center; }
.prosa ul.nx-cidades, .prosa ol.nx-mapa__leg { padding-left: 0; }
/* cards de cidade: bandeira, nome, valor e rotulo sempre na mesma altura entre os cards */
.nx-cidades { align-items: stretch; }
.nx-cidades li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 4px; align-content: stretch; }
.nx-cidades img { margin-bottom: 6px; }
.nx-cidades b { align-self: start; min-height: 2.5em; }
@supports not (grid-template-rows: subgrid) { .nx-cidades li { grid-row: auto; grid-template-rows: none; } }

/* ---- guias (nov/2026): funil, passos, conversa, documento, cartoes e checklist ---- */
.nx-funil ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; justify-items: center; }
.nx-funil li { margin: 0 !important; width: max(var(--w), 150px); max-width: 100%; padding: 12px 16px; border-radius: 12px; text-align: center; color: #fff; background: color-mix(in srgb, var(--acento) calc(100% - var(--k) * 11%), var(--tinta)); }
.nx-funil li b { display: block; font-size: 1rem; line-height: 1.25; color: #fff; }
.nx-funil li span { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.35; color: rgba(255,255,255,.88); }

.nx-passos { margin: 0; padding: 0; list-style: none; counter-reset: nxp; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nx-passos > li { margin: 0 !important; counter-increment: nxp; position: relative; padding: 52px 18px 18px; border-radius: var(--r-sm); background: var(--papel); border: 1px solid var(--linha); }
.nx-passos > li::before { content: counter(nxp); position: absolute; left: 18px; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--acento); color: #fff; font-size: .875rem; font-weight: 700; }
.nx-passos b { display: block; font-size: 1rem; color: var(--tinta); line-height: 1.3; }
.nx-passos p { margin: 6px 0 0; font-size: var(--t-small); line-height: 1.5; color: var(--texto-2); }

.nx-chat ul { margin: 14px 0 0; padding: 16px; list-style: none; display: grid; gap: 10px; border-radius: var(--r-sm); background: #ECE5DD; }
.nx-chat li { margin: 0 !important; max-width: 86%; padding: 10px 12px; border-radius: 12px; font-size: .9375rem; line-height: 1.45; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.nx-chat li p { margin: 0; color: #111B21; }
.nx-chat__eu { justify-self: end; background: #D9FDD3; border-top-right-radius: 3px; }
.nx-chat__cli { justify-self: start; background: #fff; border-top-left-radius: 3px; }
.nx-chat__cp { display: block; margin: 6px 0 0 auto; padding: 2px 8px; border: 0; border-radius: 6px; background: rgba(17,27,33,.08); color: #111B21; font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; }
.nx-chat__cp:hover { background: rgba(17,27,33,.16); }

.nx-doc { padding: clamp(18px, 3vw, 28px); border-radius: 6px; background: #FFFDF7; border: 1px solid #E5DFCF; box-shadow: 0 14px 30px -18px rgba(13,15,18,.35); color: var(--tinta); }
.nx-doc__tit { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--tinta); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta); }
.nx-doc dl { margin: 0; display: grid; gap: 10px; }
.nx-doc dl > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 10px; align-items: baseline; padding-bottom: 8px; border-bottom: 1px dotted #B9B29E; }
.nx-doc dt { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5B5646; }
.nx-doc dd { margin: 0; font-size: .9375rem; font-style: italic; color: #1F3A8A; }
.nx-doc__ass { margin: 22px 0 0; padding-top: 8px; border-top: 1px solid var(--tinta); width: min(280px, 100%); font-size: .75rem; color: #5B5646; }
@media (max-width: 480px) { .nx-doc dl > div { grid-template-columns: 1fr; gap: 2px; } }

.nx-cards { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.nx-cards > li { margin: 0 !important; padding: 18px; border-radius: var(--r-sm); background: var(--fundo); border: 1px solid var(--linha); box-shadow: var(--sombra); }
.nx-cards__selo { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px; background: #E8EFFE; color: #1D4ED8; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.nx-cards b { display: block; font-size: 1rem; color: var(--tinta); line-height: 1.3; }
.nx-cards p { margin: 6px 0 0; font-size: var(--t-small); line-height: 1.5; color: var(--texto-2); }

.nx-check ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.nx-check li { margin: 0 !important; }
.nx-check label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 10px; background: var(--papel); border: 1px solid var(--linha); font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.nx-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acento); }
.nx-check input:checked + span { color: var(--texto-2); text-decoration: line-through; }
.nx-check__n { margin: 12px 0 0; font-size: var(--t-small); font-weight: 600; color: var(--tinta); }
@media (prefers-reduced-motion: no-preference) {
  .js .nx-funil[data-revela] li { opacity: 0; transform: scaleX(.6); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--k) * 110ms); }
  .js .nx-funil.is-in li { opacity: 1; transform: none; }
}

.prosa > .nx-passos, .prosa > .nx-doc, .prosa > .nx-cards { margin-block: 2em; }
@media (max-width: 559px) { .prosa > .nx-passos, .prosa > .nx-doc, .prosa > .nx-cards { margin-block: 1.6em; } }
