/* NEXs Now ao vivo (28/out/2026): painéis de cotações, câmbio, juros, clima e notícias por área. Script: /nexs-live.js */
.nexs-live-section { padding: 64px max(24px, calc((100% - 1180px) / 2)) 72px; background: #f7faff; }
.nexs-live { --lv-navy: var(--navy, #0b2d5b); --lv-deep: var(--navy-deep, #071a33); --lv-blue: var(--blue, #2f8bff); --lv-cyan: var(--cyan, #35d9ff); --lv-line: var(--line, rgba(11,45,91,.13)); --lv-muted: var(--muted, #5e6d80); --lv-up: #0f8a55; --lv-down: #c73a3a; color: var(--ink, #0a1a33); font-family: inherit; }
.nexs-live[hidden] { display: none; }
.nexs-live-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.nexs-live-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 10px; color: var(--lv-blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nexs-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #18c27a; box-shadow: 0 0 0 0 rgba(24,194,122,.55); animation: nexs-live-pulse 2s infinite; }
@keyframes nexs-live-pulse { 70% { box-shadow: 0 0 0 9px rgba(24,194,122,0); } 100% { box-shadow: 0 0 0 0 rgba(24,194,122,0); } }
@media (prefers-reduced-motion: reduce) { .nexs-live-dot { animation: none; } }
.nexs-live-head h2 { margin: 0; color: var(--lv-navy); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.nexs-live-stamp { margin: 0; color: var(--lv-muted); font-size: 13px; }
.nexs-live-grid { columns: 3 300px; column-gap: 18px; }
.nexs-live-grid.is-news { columns: 2 340px; }
.nexs-live-grid > .nexs-live-card { break-inside: avoid; margin: 0 0 18px; }
.nexs-live-wide { margin: 0 0 18px; }
.nexs-live-card { display: block; min-width: 0; padding: 22px 22px 18px; background: #fff; border: 1px solid var(--lv-line); border-radius: 18px; box-shadow: 0 10px 34px rgba(7,26,51,.06); }
.nexs-live-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; color: var(--lv-navy); font-size: 15px; font-weight: 800; }
.nexs-live-card h3 a { flex: none; color: var(--lv-blue); font-size: 12px; font-weight: 750; text-decoration: none; }
.nexs-live-card h3 a:hover { text-decoration: underline; }
.nexs-live-rows { margin: 0; padding: 0; list-style: none; }
.nexs-live-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 10px 0; border-top: 1px solid var(--lv-line); }
.nexs-live-row:first-child { border-top: 0; }
.nexs-live-label { min-width: 0; color: var(--ink, #0a1a33); font-size: 13.5px; font-weight: 650; }
.nexs-live-unit { display: block; color: var(--lv-muted); font-size: 11.5px; font-weight: 500; }
.nexs-live-value { text-align: right; font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 800; color: var(--lv-navy); white-space: nowrap; }
.nexs-live-change { display: block; font-size: 12px; font-weight: 750; }
.nexs-live-change.is-up { color: var(--lv-up); }
.nexs-live-change.is-down { color: var(--lv-down); }
.nexs-live-change.is-flat { color: var(--lv-muted); }
.nexs-live-brl { grid-column: 1 / -1; color: var(--lv-muted); font-size: 12px; }
.nexs-live-brl strong { color: var(--lv-navy); font-variant-numeric: tabular-nums; }
.nexs-live-note { margin: 12px 0 0; color: var(--lv-muted); font-size: 11.5px; line-height: 1.45; }
.nexs-live-news { margin: 0; padding: 0; list-style: none; }
.nexs-live-news li { padding: 11px 0; border-top: 1px solid var(--lv-line); }
.nexs-live-news li:first-child { border-top: 0; padding-top: 2px; }
.nexs-live-news a { color: var(--ink, #0a1a33); font-size: 14px; font-weight: 650; line-height: 1.4; text-decoration: none; }
.nexs-live-news a:hover, .nexs-live-news a:focus-visible { color: var(--lv-blue); text-decoration: underline; }
.nexs-live-meta { display: block; margin-top: 3px; color: var(--lv-muted); font-size: 12px; }
.nexs-live-weather { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.nexs-live-city { padding: 12px 13px; background: #f4f8fe; border: 1px solid var(--lv-line); border-radius: 12px; }
.nexs-live-city strong { display: block; color: var(--lv-navy); font-size: 13px; }
.nexs-live-temp { display: block; margin: 4px 0 2px; color: var(--lv-navy); font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nexs-live-city small { display: block; color: var(--lv-muted); font-size: 11.5px; line-height: 1.45; }
.nexs-live-city .nexs-live-rain { color: #1867c8; font-weight: 700; }
.nexs-live-error { margin: 0; color: var(--lv-muted); font-size: 14px; }

/* Faixa compacta (página inicial e NOW) */
.nexs-live-ticker-section { padding: 0 max(24px, calc((100% - 1180px) / 2)); background: transparent; }
.nexs-live.is-ticker { display: flex; align-items: center; gap: 14px; margin: 26px 0; padding: 12px 16px; color: #fff; background: linear-gradient(120deg, var(--lv-deep), #0b2d5b 70%, #0e4c90); border-radius: 16px; box-shadow: 0 14px 40px rgba(7,26,51,.16); }
.nexs-live.is-ticker .nexs-live-kicker { flex: none; margin: 0; color: var(--lv-cyan); font-size: 11px; }
.nexs-live-strip { display: flex; gap: 22px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.nexs-live-strip::-webkit-scrollbar { display: none; }
.nexs-live-tick { flex: none; display: flex; align-items: baseline; gap: 7px; font-size: 13px; white-space: nowrap; }
.nexs-live-tick b { color: rgba(255,255,255,.75); font-weight: 650; }
.nexs-live-tick span { font-weight: 800; font-variant-numeric: tabular-nums; }
.nexs-live-tick em { font-style: normal; font-size: 12px; font-weight: 800; }
.nexs-live-tick em.is-up { color: #4ee39d; }
.nexs-live-tick em.is-down { color: #ff8a8a; }
.nexs-live-tick em.is-flat { color: rgba(255,255,255,.6); }
.nexs-live.is-ticker > a { flex: none; color: var(--lv-cyan); font-size: 12px; font-weight: 800; text-decoration: none; }
@media (max-width: 640px) { .nexs-live.is-ticker { flex-wrap: wrap; } .nexs-live-strip { width: 100%; } }
