/* XYZ Notícias · Rádio XYZ — public site styles (no build step).
 *
 * DESIGN TOKENS — two brands, one system. Hex values were sampled from the
 * official logo PNGs (scripts/site-brand-assets.py documents the assets).
 *
 *   Structure (shared)
 *   --navy-950  #030b13  deepest navy (XYZ app family): player, radio zone
 *   --navy-900  #021731  "XYZ" letters of the XYZ Notícias logo: live strip, headlines, theme-color
 *   --navy-800  #012e52  shield navy: hover/pressed navy surfaces
 *   --ink       #142033  body text on paper (15.6:1 on white)
 *   --muted     #4c5868  secondary text on paper (7.0:1 on white)
 *   --paper     #ffffff / --paper-2 #f3f5f8 tinted blocks / --rule #dde3eb hairlines
 *
 *   Portal accents (XYZ Notícias — Brazil flag)
 *   --green-700 #02791a  shield green: category labels, links in chips, WhatsApp button (5.6:1 white)
 *   --green-500 #009a1b  light shield green: fills and rules only (never small text)
 *   --yellow-400 #fbde02 flag yellow: underlines, highlights, focus on dark. NEVER text on white.
 *   --blue-600  #035c8d  globe blue: body links, Agência Brasil column (7.2:1 on white)
 *   --blue-400  #198abf  globe light: decorative only
 *
 *   Radio accents (Rádio XYZ — reserved for the live strip, player, "No ar")
 *   --gold-300  #fbe24c  / --gold-400 #fec52e / --gold-600 #ffa324  metallic gold gradient
 *   --orange-500 #fd6f2f  logo arc orange (visualizer middle)
 *   --red-600   #e7211d  signal red: "AO VIVO" (4.6:1 with white text)
 *   --charcoal  #26282a  microphone charcoal
 *
 *   The gold/yellow pair is the bridge between the brands.
 *   Type: Inter (UI, body) + Source Serif 4 (headlines, article body), both self-hosted (OFL).
 */
@font-face { font-family: 'Inter'; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; src: url(fonts/source-serif-4-latin-wght-normal.woff2) format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched fallbacks keep the swap from shifting the layout. */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 107%; ascent-override: 90%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Serif Fallback'; src: local('Georgia'), local('Times New Roman'); size-adjust: 97%; ascent-override: 95%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --navy-950: #030b13; --navy-900: #021731; --navy-800: #012e52; --navy-700: #0b3a66;
  --ink: #142033; --muted: #4c5868; --paper: #ffffff; --paper-2: #f3f5f8; --rule: #dde3eb; --rule-strong: #021731;
  --green-700: #02791a; --green-500: #009a1b; --yellow-400: #fbde02; --yellow-500: #f3c800;
  --blue-600: #035c8d; --blue-400: #198abf;
  --gold-300: #fbe24c; --gold-400: #fec52e; --gold-600: #ffa324; --orange-500: #fd6f2f; --red-600: #e7211d; --charcoal: #26282a;
  --on-dark: #f4f6fa; --on-dark-muted: #a9b6c8; --line-dark: rgba(255, 255, 255, .12);
  --radio-gradient: linear-gradient(90deg, var(--gold-400), var(--orange-500) 60%, var(--red-600));
  --flag-rule: linear-gradient(90deg, var(--green-500) 0 58%, var(--yellow-400) 58% 84%, var(--blue-600) 84%);
  --sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Source Serif 4', 'Serif Fallback', Georgia, 'Times New Roman', serif;
  --wrap: 1240px; --gutter: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 12px; --radius-sm: 8px; --player-h: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-1: 0 1px 2px rgba(2, 23, 49, .06), 0 4px 14px rgba(2, 23, 49, .07);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; scrollbar-color: #9eabbd var(--paper); }
body.site { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); font-feature-settings: 'cv11', 'ss01';
  caret-color: var(--green-700); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--yellow-400); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-thumb { background: #a7b3c3; border-radius: 8px; border: 2px solid var(--paper); }
::-webkit-scrollbar-track { background: var(--paper); }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.site-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
time, .num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

.site-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.site-skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font: 650 0.9375rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease-out), background-color .15s, box-shadow .2s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 36px; padding: 7px 14px; font-size: 0.875rem; }
.btn--gold { background: linear-gradient(180deg, var(--gold-300), var(--gold-400) 55%, var(--gold-600)); color: #1d1405; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 2px 8px rgba(224, 138, 0, .25); }
.btn--gold:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 18px rgba(224, 138, 0, .35); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-800); }
.btn--ghost { border-color: var(--rule); color: var(--navy-900); background: var(--paper); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }

/* ---------- live strip (radio brand, top) ---------- */
.live-strip { position: relative; background: var(--navy-900); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.live-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 140% at 100% 50%, rgba(253, 111, 47, .22), transparent 70%), radial-gradient(40% 160% at 0% 50%, rgba(25, 138, 191, .18), transparent 70%); }
.live-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--radio-gradient); opacity: .85; }
.live-strip__inner { display: flex; align-items: center; gap: 10px; min-height: 50px; padding-block: 6px; }
.live-strip__brand { flex: none; display: flex; align-items: center; }
.live-strip__brand img { width: 40px; height: 32px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.live-strip__now { flex: 1 1 auto; min-width: 0; margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
.live-strip__program { font-size: 0.8125rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-strip__track { font-size: 0.7813rem; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-strip__track:empty { display: none; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 3px 9px 3px 8px; border-radius: 999px; background: var(--red-600); color: #fff;
  font: 750 0.6875rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.live-badge i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
/* pulse ring: transform + opacity only */
.live-badge i::after, .ticker__pulse::after, .listeners__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ring 1.8s ease-out infinite; }
.live-badge--sm { font-size: 0.625rem; padding: 2px 7px; vertical-align: .15em; }
@keyframes ring { from { transform: scale(1); opacity: .75; } to { transform: scale(2.8); opacity: 0; } }
.viz { display: block; height: 28px; flex: 0 1 72px; min-width: 40px; }
.viz--strip { display: none; }

/* play buttons (strip + player) */
.play-btn { position: relative; flex: none; display: inline-grid; grid-auto-flow: column; place-items: center; gap: 6px; border: 0; cursor: pointer; color: #1d1405;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400) 55%, var(--gold-600)); font: 700 0.875rem/1 var(--sans);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 2px 10px rgba(254, 197, 46, .25), 0 0 calc(var(--lvl, 0) * 26px) rgba(253, 111, 47, calc(var(--lvl, 0) * .8));
  transition: transform .15s var(--ease-out); }
.play-btn:hover { transform: scale(1.04); }
.play-btn:active { transform: scale(.97); }
.play-btn--strip { height: 36px; padding: 0 14px 0 11px; border-radius: 999px; }
.play-btn--player { width: 48px; height: 48px; border-radius: 50%; }
.play-btn .ic { width: 20px; height: 20px; }
.play-btn__pause, .btn .play-btn__pause { display: none; }
html[data-player="live"] .play-btn__play, html[data-player="connecting"] .play-btn__play { display: none; }
html[data-player="live"] .play-btn__pause, html[data-player="connecting"] .play-btn__pause { display: block; }
html[data-player="connecting"] .play-btn::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid transparent; border-top-color: var(--gold-300); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- masthead (portal brand) ---------- */
.site-header { background: var(--paper); }
.site-header__inner { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.site-brand { flex: none; display: block; }
.site-brand img { width: 150px; height: auto; aspect-ratio: 600 / 224; }
.site-header__aside { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.site-app-link { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--navy-900); font-size: 0.8438rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-app-link:hover { border-color: var(--green-700); color: var(--green-700); }
@media (max-width: 599px) { .site-header__aside { gap: 8px; } .site-app-link { padding: 0 10px; } .site-app-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.site-header__date { display: none; margin: 0; color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.site-header__date::first-letter { text-transform: uppercase; }
.site-search { position: relative; display: flex; align-items: center; flex: 1 1 auto; max-width: 340px; min-width: 0; }
.site-search__input { width: 100%; min-width: 0; height: 42px; padding: 0 44px 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2);
  font: 400 0.9375rem var(--sans); color: var(--ink); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.site-search__input::placeholder { color: #5f6b7b; }
.site-search__input:focus { outline: none; border-color: var(--blue-600); background: var(--paper); box-shadow: 0 0 0 3px rgba(3, 92, 141, .18); }
.site-search__button { position: absolute; right: 3px; top: 3px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy-900); color: #fff; cursor: pointer; }
.site-search__button:hover { background: var(--navy-800); }
.site-search--page { max-width: 460px; gap: 8px; }
.site-search--page .site-search__input { padding-right: 14px; }

.site-nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(8px); }
.site-nav::before { content: ""; display: block; height: 4px; background: var(--flag-rule); }
.site-nav__inner { position: relative; }
.site-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.site-nav__list::-webkit-scrollbar { display: none; }
.site-nav__list.is-end { -webkit-mask-image: none; mask-image: none; }
.site-nav__item { flex: none; scroll-snap-align: start; }
.site-nav__item--programs { margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--rule); }
.site-nav__link { display: flex; align-items: center; height: 46px; padding: 0 11px; color: var(--navy-900); font: 600 0.9063rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .2s var(--ease-out), color .15s; }
.site-nav__link:hover { box-shadow: inset 0 -3px 0 var(--yellow-400); }
.site-nav__link.is-active { color: var(--green-700); box-shadow: inset 0 -3px 0 var(--green-700); }

/* ---------- main ---------- */
.site-main { display: block; max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding: 20px var(--gutter-r) 48px var(--gutter); min-height: 60vh; outline: none; view-transition-name: site-main; }
.page-header { margin: 8px 0 20px; }
.page-header__title { margin: 0 0 6px; font: 700 clamp(1.85rem, 4.5vw, 2.75rem)/1.1 var(--serif); color: var(--navy-900); letter-spacing: -.015em; }
.page-header__intro { margin: 0; max-width: 62ch; color: var(--muted); font-size: 1.0625rem; }
.site-empty { margin: 8px 0; padding: 18px; border-radius: var(--radius); background: var(--paper-2); color: var(--muted); }
.site-flash { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 550; }
.site-flash--success { background: #e7f5ea; color: #0a5418; }
.site-flash--error { background: #fdecec; color: #9b1512; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding-top: 10px; border-top: 2px solid var(--rule-strong); position: relative; }
.section-head::before { content: ""; position: absolute; left: 0; top: -2px; width: 56px; height: 2px; background: var(--green-500); }
.section-head__title { margin: 0; font: 700 1.375rem/1.2 var(--serif); color: var(--navy-900); letter-spacing: -.01em; }
.section-head__more { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-600); font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-head__more:hover { text-decoration: underline; text-decoration-color: var(--yellow-500); text-decoration-thickness: 2px; }
.section-head__more .ic { width: 1em; height: 1em; }

/* ---------- news cards ---------- */
.news-card { position: relative; min-width: 0; }
.news-card__media { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--paper-2); }
.news-card__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease-out); }
.news-card:hover .news-card__image { transform: scale(1.03); }
.news-card__media--art { position: relative; aspect-ratio: 16 / 9; display: grid; align-content: end; padding: 12px 14px 16px; text-decoration: none; isolation: isolate;
  background: url(brand/xyz-escudo.webp) no-repeat right 14px top 12px / auto 52%, radial-gradient(90% 120% at 100% 0%, rgba(31, 79, 154, .55), transparent 60%), var(--navy-900); }
.news-card__media--art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--flag-rule); }
.news-card__media--wire { background: url(brand/xyz-escudo.webp) no-repeat right 14px top 12px / auto 40%, radial-gradient(90% 120% at 100% 0%, rgba(25, 138, 191, .5), transparent 60%), var(--navy-800); }
.news-card__art { font: 700 clamp(1rem, 2.2vw, 1.25rem)/1.15 var(--serif); color: #fff; max-width: 70%; }
.news-card--lead .news-card__art { font-size: clamp(1.4rem, 3vw, 2rem); }
.news-card__body { padding-top: 10px; }
.news-card__category, .news-article__category a, .timeline__category { position: relative; z-index: 2; display: inline-block; margin-bottom: 4px; color: var(--green-700); font: 750 0.75rem/1.3 var(--sans);
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.news-card__category, .timeline__category { min-height: 24px; padding-block: 5px 3px; margin-bottom: 0; }
.news-card__category:hover, .timeline__category:hover { text-decoration: underline; }
.news-card__title { margin: 0; font: 650 1.1875rem/1.22 var(--serif); color: var(--navy-900); letter-spacing: -.005em; }
.news-card__link { text-decoration: none; }
.news-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* growing underline (paint only, hover/focus only) */
.news-card__link, .timeline__title a, .wire__title a, .most-read__title a, .ticker__item a {
  background: linear-gradient(var(--yellow-500), var(--yellow-500)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.news-card:hover .news-card__link, .news-card__link:focus-visible, .timeline__title a:hover, .wire__title a:hover, .most-read__title a:hover, .ticker__item a:hover { background-size: 100% 2px; }
.wire__title a { background-image: linear-gradient(var(--blue-400), var(--blue-400)); }
.ticker__item a { background-image: linear-gradient(var(--yellow-400), var(--yellow-400)); }
/* hover lift: the card and a soft panel behind it (transform + opacity) */
.news-card--rail, .news-card--secondary, .news-card--row { isolation: isolate; transition: transform .35s var(--ease-out); }
.news-card--rail::before, .news-card--secondary::before, .news-card--row::before { content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: 14px; background: var(--paper);
  box-shadow: 0 10px 28px rgba(2, 23, 49, .12); opacity: 0; transition: opacity .35s var(--ease-out); pointer-events: none; }
.news-card--rail:hover, .news-card--secondary:hover { transform: translateY(-4px); }
.news-card--rail:hover::before, .news-card--secondary:hover::before, .news-card--row:hover::before { opacity: 1; }
.news-card__summary { margin: 6px 0 0; color: var(--muted); font-size: .97rem; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 8px 0 0; color: var(--muted); font-size: 0.8125rem; }
.news-card__source { font-weight: 600; color: var(--blue-600); }
.news-card--lead .news-card__media { border-radius: var(--radius); }
.news-card--lead .news-card__title { font-size: clamp(1.75rem, 4.6vw, 2.6rem); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.news-card--lead .news-card__summary { font-size: 1.0625rem; color: #364356; max-width: 60ch; }
.news-card--lead .news-card__body { padding-top: 14px; }
.news-card--text .news-card__body { padding-top: 0; }
.news-card--secondary .news-card__title { font-size: 1.25rem; }
.news-card--row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.news-card--row .news-card__media { grid-column: 2; grid-row: 1; }
.news-card--row .news-card__image { aspect-ratio: 1; }
.news-card--row .news-card__body { grid-column: 1; grid-row: 1; padding-top: 0; }
.news-card--row .news-card__summary { display: none; }
.news-card--row.news-card--text { grid-template-columns: 1fr; }

.news-grid { display: grid; gap: 22px 20px; grid-template-columns: 1fr; }
.news-rows { border-top: 1px solid var(--rule); }

/* ---------- home: front ---------- */
.front { display: grid; gap: 28px; margin-bottom: 36px; }
.front__news { display: grid; gap: 24px; min-width: 0; }
.front__secondary { display: grid; gap: 0; }
.front__secondary .news-card { padding: 16px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; }
.front__secondary .news-card__media { grid-column: 2; grid-row: 1; }
.front__secondary .news-card__image { aspect-ratio: 1; }
.front__secondary .news-card__body { grid-column: 1; grid-row: 1; padding-top: 0; }
.front__secondary .news-card--text { grid-template-columns: 1fr; }
.front__secondary .news-card__media--art { aspect-ratio: 1; background-position: center; background-size: auto 56%, auto, auto; padding: 0; }
.front__secondary .news-card__art { display: none; }
.front__secondary .news-card__summary { display: none; }
.front__aside { display: grid; gap: 22px; align-content: start; min-width: 0; }
.side-block { min-width: 0; }

/* "No ar agora" card — radio surface */
.onair-card { position: relative; overflow: hidden; padding: 18px; border-radius: var(--radius); background: radial-gradient(120% 90% at 100% 0%, rgba(253, 111, 47, .22), transparent 55%), var(--navy-900);
  color: var(--on-dark); box-shadow: var(--shadow-1); isolation: isolate; }
.onair-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 650 0.8125rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-300); }
.onair-card__name { margin: 0; font: 700 1.45rem/1.15 var(--serif); color: #fff; }
.onair-card__host { margin: 4px 0 0; color: var(--on-dark-muted); font-size: 0.875rem; }
.onair-card__progress { height: 4px; margin: 14px 0 6px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.onair-card__progress i { display: block; height: 100%; width: 100%; background: var(--radio-gradient); border-radius: inherit; transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1.2s var(--ease-out); }
.onair-card__time { display: flex; justify-content: space-between; margin: 0; font-size: 0.7813rem; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.onair-card__track { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 0.875rem; color: var(--on-dark); }
.onair-card .listeners { margin-top: 8px; }
.onair-card__listen { margin-top: 14px; }
.onair-card__next { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; }
.onair-card__next li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 8px; font-size: 0.875rem; }
.onair-card__next-time { color: var(--gold-400); font-weight: 700; font-variant-numeric: tabular-nums; }
.onair-card__next strong { display: block; font-weight: 600; color: #fff; }
.onair-card__next small { color: var(--on-dark-muted); font-size: 0.7813rem; }
.onair-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; color: var(--gold-300); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.onair-card__more:hover { text-decoration: underline; }
.onair-card__more .ic { width: 1em; height: 1em; }

.top-list { list-style: none; margin: 0; padding: 0; }
.top-list__item { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.top-list__position { font: 700 1.5rem/1 var(--serif); color: var(--navy-900); text-align: center; font-variant-numeric: tabular-nums; }
.top-list__item:first-child .top-list__position { color: #b26a00; }
.top-list__song { min-width: 0; display: flex; flex-direction: column; }
.top-list__title { font-weight: 650; color: var(--navy-900); }
.top-list__artist { color: var(--muted); font-size: 0.875rem; }
.top-list__plays { color: var(--muted); font-size: 0.8125rem; white-space: nowrap; }
.top-list--compact .top-list__item { padding: 8px 0; }
.top-list--compact .top-list__position { font-size: 1.25rem; }
.top-list--compact .top-list__title, .top-list--compact .top-list__artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-cta { margin-top: 20px; }

/* ad slots */
.site-banners { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; margin: 0 auto 28px; }
.site-banners__label { font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: #5f6b7b; }
/* fixed box per position: rotating art never moves the page */
.site-banner { position: relative; width: 100%; max-width: 970px; aspect-ratio: 4 / 1; }
.site-banners--home_top .site-banner { max-width: none; aspect-ratio: 8 / 1; }
.site-banners--footer .site-banner { aspect-ratio: 6 / 1; }
.site-banners--sidebar .site-banner, .site-banners--sidebar_tall .site-banner { max-width: 300px; aspect-ratio: 1; }
.site-banners--sidebar_tall .site-banner { aspect-ratio: 4 / 5; }
.site-banners--in_article { margin: 28px 0 0; }
.site-banners--in_article .site-banner { max-width: 400px; aspect-ratio: 1; }
.site-banner__link { display: block; width: 100%; height: 100%; }
.site-banner__image { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.site-banner__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease-out); }
.site-banner__layer.is-in { opacity: 1; }
.house-ad { display: grid; gap: 6px; width: 100%; max-width: 300px; min-height: 200px; align-content: center; padding: 20px; border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(150deg, var(--paper-2), #e9eef5); border: 1px dashed #b9c4d3; }
.house-ad strong { font: 700 1.25rem/1.2 var(--serif); color: var(--navy-900); }
.house-ad span { color: var(--muted); font-size: 0.875rem; }
.house-ad .btn { justify-self: start; margin-top: 8px; color: #1d1405; }

/* timeline (latest) + wire (Agência Brasil) */
.news-columns { display: grid; gap: 32px; margin-bottom: 36px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__item { position: relative; display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.timeline__item > time { color: var(--muted); font-size: 0.8125rem; padding-top: 2px; }
.timeline__title { margin: 0; font: 650 1.0625rem/1.3 var(--serif); color: var(--navy-900); }
.timeline__title a { text-decoration: none; }
.timeline__category { margin-bottom: 2px; font-size: 0.6875rem; }
.timeline__source { margin: 4px 0 0; font-size: 0.7813rem; color: var(--blue-600); font-weight: 600; }
.timeline--compact .timeline__item { grid-template-columns: 1fr; gap: 2px; }
.wire { padding: 0 16px 16px; border-radius: var(--radius); background: var(--paper-2); }
.wire .section-head { border-top-color: var(--blue-600); }
.wire .section-head::before { background: var(--yellow-400); }
.wire .section-head { margin-inline: -16px; padding-inline: 16px; }
.wire .section-head::before { left: 16px; }
.wire__list { list-style: none; margin: 0; padding: 0; }
.wire__item { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wire__item:last-child { border-bottom: 0; }
.wire__meta { display: flex; gap: 10px; margin: 0 0 4px; font-size: 0.7813rem; color: var(--muted); }
.wire__meta span { font-weight: 700; color: var(--blue-600); text-transform: uppercase; letter-spacing: .05em; font-size: 0.6875rem; padding-top: 1px; }
.wire__title { margin: 0; font: 650 1.0625rem/1.3 var(--serif); color: var(--navy-900); }
.wire__title a { text-decoration: none; }
.wire__credit { margin: 4px 0 0; font-size: 0.7813rem; color: var(--muted); }
.wire__credit a { color: var(--blue-600); font-weight: 600; }
.wire__license { margin: 10px 0 0; font-size: 0.75rem; color: var(--muted); }

.home-section { margin-bottom: 36px; min-width: 0; }
.home-section--rail .news-grid, .news-related .news-grid { grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.home-section--rail .news-card, .news-related .news-card { scroll-snap-align: start; }

/* ---------- radio zone (dark, radio brand) ---------- */
.radio-zone { position: relative; margin: 8px calc(var(--gutter) * -1) 36px; padding: 28px var(--gutter) 30px; background: radial-gradient(70% 60% at 85% 0%, rgba(253, 111, 47, .16), transparent 60%),
  radial-gradient(60% 50% at 0% 100%, rgba(25, 138, 191, .14), transparent 60%), var(--navy-950); color: var(--on-dark); isolation: isolate; }
.radio-zone::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--radio-gradient); }
.radio-zone__head { margin-bottom: 20px; }
.radio-zone__title { margin: 0; font: 700 clamp(1.6rem, 4vw, 2.2rem)/1.1 var(--serif); color: #fff; }
.radio-zone__head p { margin: 4px 0 0; color: var(--on-dark-muted); }
.radio-zone__grid { display: grid; gap: 26px; }
.radio-zone__col { display: grid; gap: 26px; align-content: start; min-width: 0; }
.radio-zone .section-head { border-top-color: rgba(255, 255, 255, .2); }
.radio-zone .section-head::before { background: var(--gold-400); }
.radio-zone .section-head__title { color: #fff; font-size: 1.2rem; }
.radio-zone .section-head__more { color: var(--gold-300); }
.radio-block { min-width: 0; }
.program-rows { list-style: none; margin: 0; padding: 0; }
.program-row { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 10px; padding: 10px 8px; border-radius: var(--radius-sm); }
.program-row + .program-row { border-top: 1px solid var(--line-dark); }
.program-row.is-on-air { background: rgba(254, 197, 46, .1); box-shadow: 0 0 0 1px rgba(254, 197, 46, .35) inset; }
.program-row__time { color: var(--gold-400); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.program-row__time span { color: var(--on-dark-muted); font-weight: 500; font-size: 0.8125rem; }
.program-row__name { margin: 0; font: 600 0.9688rem/1.3 var(--sans); color: #fff; }
.program-row__host { margin: 2px 0 0; color: var(--on-dark-muted); font-size: 0.8438rem; }
.video-pair { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-card--compact .video-card__title { font: 600 0.9063rem/1.3 var(--sans); color: #fff; margin: 8px 0 0; }
.host-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.host-strip a { display: grid; justify-items: center; gap: 6px; width: 84px; text-align: center; font-size: 0.8125rem; color: var(--on-dark); text-decoration: none; }
.host-strip a:hover span { text-decoration: underline; }
.host-strip__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.host-strip__photo--mono, .host-card__photo--mono { display: grid; place-items: center; font: 700 1.25rem/1 var(--serif); color: #1d1405; background: linear-gradient(140deg, var(--gold-300), var(--gold-600) 70%, var(--orange-500));
  box-shadow: 0 6px 18px rgba(253, 111, 47, .25); }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.agenda__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start; }
.agenda__date { display: grid; justify-items: center; padding: 6px 0; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px var(--line-dark) inset;
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-muted); }
.agenda__date b { font: 700 1.4rem/1.1 var(--serif); color: var(--gold-400); }
.agenda__title { margin: 0; font: 600 0.9375rem/1.3 var(--sans); color: #fff; }
.agenda__title a { text-decoration: none; }
.agenda__title a:hover { text-decoration: underline; }
.agenda__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 4px 0 0; font-size: 0.8125rem; color: var(--on-dark-muted); }
.agenda__meta span { display: inline-flex; align-items: center; gap: 4px; }
.agenda__meta .ic { width: 14px; height: 14px; }
.promo-teaser__title { margin: 0; font: 700 1.2rem/1.25 var(--serif); color: #fff; }
.promo-teaser__title a { text-decoration: none; }
.promo-teaser__title a:hover { text-decoration: underline; text-decoration-color: var(--gold-400); }
.promo-teaser__until { margin: 6px 0 0; color: var(--gold-300); font-size: 0.875rem; font-weight: 600; }
.quote { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); }
.quote p { margin: 0; font: italic 400 1rem/1.45 var(--serif); color: var(--on-dark); }
.quote footer { margin-top: 6px; font-size: 0.8125rem; color: var(--on-dark-muted); }
.messages-teaser__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.radio-zone .btn--ghost { background: #0b1826; color: var(--on-dark); border-color: rgba(255, 255, 255, .3); }
.radio-zone .btn--ghost:hover { border-color: var(--gold-300); }

/* YouTube lite embed */
.video-lite { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: #000; aspect-ratio: 16 / 9; }
.video-lite__thumb { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s, transform .6s var(--ease-out); }
.video-lite:hover .video-lite__thumb { opacity: 1; transform: scale(1.03); }
.video-lite__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-600)); color: #1d1405; box-shadow: 0 6px 22px rgba(0, 0, 0, .45); transition: transform .2s var(--ease-out); }
.video-lite:hover .video-lite__play { transform: scale(1.08); }
.video-lite__play .ic { width: 24px; height: 24px; margin-left: 3px; }
.video-lite iframe, .video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- article ---------- */
.article-layout { display: grid; gap: 32px; }
.news-article { min-width: 0; max-width: 760px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 0.8125rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; color: #8a96a6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.news-article__category { margin: 0 0 6px; }
.news-article__title { margin: 0; font: 700 clamp(1.9rem, 5.2vw, 3rem)/1.08 var(--serif); color: var(--navy-900); letter-spacing: -.02em; }
.news-article__summary { margin: 14px 0 0; font: 400 clamp(1.1rem, 2.4vw, 1.3rem)/1.45 var(--serif); color: #364356; }
.news-article__byline { display: grid; gap: 12px; margin: 18px 0 0; padding: 14px 0; border-block: 1px solid var(--rule); }
.news-article__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--muted); font-size: 0.875rem; }
.news-article__meta strong { color: var(--navy-900); }
.news-article__cover { margin: 22px 0 0; }
.news-article__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.news-article__cover figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); }
.news-article__body { margin-top: 24px; font: 400 1.1875rem/1.7 var(--serif); color: #1c2738; max-width: 68ch; }
.news-article__body > * + * { margin-top: 1.1em; }
.news-article__body p { margin-bottom: 0; }
.news-article__body h2, .news-article__body h3, .news-article__body h4 { margin: 1.6em 0 0; font-family: var(--serif); color: var(--navy-900); line-height: 1.2; }
.news-article__body h2 { font-size: 1.5rem; }
.news-article__body h3 { font-size: 1.25rem; }
.news-article__body a { color: var(--blue-600); text-decoration-color: var(--yellow-500); text-decoration-thickness: 2px; }
.news-article__body a:hover { text-decoration-color: var(--green-500); }
.news-article__body blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 1px solid var(--rule); font-style: italic; font-size: 1.25rem; color: var(--navy-900); position: relative; }
.news-article__body blockquote::before { content: "“"; position: absolute; left: -6px; top: -14px; font: 700 3rem/1 var(--serif); color: var(--green-500); }
.news-article__body img { border-radius: var(--radius-sm); }
.news-article__body ul, .news-article__body ol { padding-left: 1.3em; }
.news-article__body hr { border: 0; height: 4px; width: 80px; background: var(--flag-rule); margin-inline: 0; }
.news-article__source { margin: 28px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--paper-2); font-size: 0.875rem; color: var(--muted); }
.news-article__source a { color: var(--blue-600); font-weight: 600; }
.news-article__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.news-article__tag a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--navy-900); font-size: 0.8438rem; text-decoration: none; }
.news-article__tag a:hover { background: #e6ebf2; }
.news-article__footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }
.article-aside { display: grid; gap: 26px; align-content: start; min-width: 0; }
.news-related { margin-top: 40px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin-right: 2px; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper); color: var(--navy-900); font: 600 0.875rem var(--sans); text-decoration: none; cursor: pointer; transition: border-color .15s, background-color .15s; }
.share__btn:hover { border-color: var(--navy-900); }
.share__btn--whatsapp { background: var(--green-700); border-color: var(--green-700); color: #fff; padding: 0 14px; }
.share__btn--whatsapp:hover { background: #036315; border-color: #036315; }

/* ---------- list pages ---------- */
.news-filters { display: grid; gap: 14px; margin-bottom: 14px; }
.tabs__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px; border-radius: 999px; background: var(--paper-2); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs__link { display: block; padding: 8px 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.tabs__link:hover { background: #e6ebf2; }
.tabs__link.is-active { background: var(--navy-900); color: #fff; }
.chips { margin: 0 0 22px; }
.chips__list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0 0 4px; overflow-x: auto; scrollbar-width: none; }
.chips__list::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--rule); color: var(--navy-900); font-size: 0.875rem; font-weight: 550;
  text-decoration: none; white-space: nowrap; background: var(--paper); }
.chip:hover { border-color: var(--green-700); color: var(--green-700); }
.chip.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chip__count { font-size: 0.75rem; opacity: .75; font-variant-numeric: tabular-nums; }
.news-section { margin-bottom: 24px; }
.news-section--highlights { margin-bottom: 28px; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 24px; }
.pagination__link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule); color: var(--navy-900); font-weight: 600; text-decoration: none; }
.pagination__link[rel="next"] { justify-self: end; }
.pagination__link:hover { border-color: var(--navy-900); }
.pagination__current { color: var(--muted); font-size: 0.875rem; }

/* programação */
.schedule-day { margin: 0 0 30px; scroll-margin-top: 70px; }
.schedule-day__title { margin: 0 0 12px; padding-top: 10px; border-top: 2px solid var(--rule-strong); font: 700 1.35rem/1.2 var(--serif); color: var(--navy-900); }
.schedule-day--today .schedule-day__title { border-top-color: var(--green-500); }
.program-list { display: grid; gap: 12px; }
.program-card { display: grid; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--paper-2); }
.program-card__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.program-card__time { margin: 0; font-weight: 750; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.program-card__time span { margin-left: 6px; font-weight: 500; color: var(--muted); font-size: 0.8438rem; }
.program-card__name { margin: 2px 0 0; font: 650 1.15rem/1.25 var(--serif); color: var(--navy-900); }
.program-card__host { margin: 2px 0 0; color: var(--muted); font-size: 0.9063rem; }
.program-card__host a { color: var(--blue-600); }
.program-card__description { color: #364356; font-size: 0.9375rem; }
.program-card__description p { margin: 6px 0 0; }
.program-card.is-on-air { background: var(--navy-900); color: var(--on-dark); box-shadow: 0 0 0 2px var(--gold-400) inset; }
.program-card.is-on-air .program-card__time, .program-card.is-on-air .program-card__name { color: #fff; }
.program-card.is-on-air .program-card__time span, .program-card.is-on-air .program-card__host, .program-card.is-on-air .program-card__description { color: var(--on-dark-muted); }
.program-card.is-on-air .program-card__host a { color: var(--gold-300); }

/* locutores, vídeos, eventos, promoções */
.host-grid { display: grid; gap: 20px; }
.host-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; border-radius: var(--radius); background: var(--paper-2); }
.host-card__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.host-card__photo--mono { font-size: 2rem; }
.host-card__name { margin: 4px 0 6px; font: 700 1.35rem/1.2 var(--serif); color: var(--navy-900); }
.host-card__bio { color: #364356; }
.host-card__bio p { margin: 0 0 8px; }
.host-card__social a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); font-weight: 600; }
.video-grid { display: grid; gap: 26px 20px; }
.video-card__title { margin: 10px 0 0; font: 650 1.15rem/1.3 var(--serif); color: var(--navy-900); }
.video-card__description { color: var(--muted); font-size: 0.9375rem; }
.video-card__description p { margin: 6px 0 0; }
.events-section { margin-bottom: 32px; }
.events-section__title { margin: 0 0 14px; font: 700 1.35rem/1.2 var(--serif); color: var(--navy-900); }
.event-list { display: grid; gap: 14px; }
.event-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--paper-2); }
.event-card__date { display: grid; justify-items: center; align-content: start; padding: 8px 0; border-radius: var(--radius-sm); background: var(--navy-900); color: var(--on-dark-muted);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; }
.event-card__date b { font: 700 1.75rem/1.05 var(--serif); color: var(--gold-400); }
.event-card__date small { font-size: 0.6875rem; }
.event-card__title { margin: 0; font: 700 1.2rem/1.25 var(--serif); color: var(--navy-900); }
.event-card__when, .event-card__location { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--muted); font-size: 0.9063rem; }
.event-card__description { color: #364356; }
.event-card__description p { margin: 8px 0 0; }
.event-card__more { margin: 12px 0 0; }
.event-card__image { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.events-section--past .event-card { opacity: .8; }
.promotion-list { display: grid; gap: 22px; }
.promotion-card { display: grid; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.promotion-card__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promotion-card__art { display: grid; place-items: center; aspect-ratio: 16 / 7; background: radial-gradient(80% 120% at 80% 0%, rgba(253, 111, 47, .45), transparent 60%), var(--navy-900); color: var(--gold-400); }
.promotion-card__art .ic { width: 64px; height: 64px; }
.promotion-card__body { padding: 18px; }
.promotion-card__title { margin: 0; font: 700 1.35rem/1.2 var(--serif); color: var(--navy-900); }
.promotion-card__period { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--green-700); font-weight: 650; font-size: 0.9063rem; }
.promotion-card__description p { margin: 10px 0 0; }
.promotion-card__rules { margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--paper); font-size: 0.9063rem; }
.promotion-card__rules summary { cursor: pointer; font-weight: 650; color: var(--navy-900); }
.promotion-card__more { margin: 16px 0 0; }

/* recados */
.messages-layout { display: grid; gap: 32px; }
.message-panel { min-width: 0; }
.message-form { display: grid; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--paper-2); }
.segmented { display: inline-flex; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: #e4e9f0; width: max-content; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { padding: 9px 16px; border-radius: 999px; font-weight: 650; font-size: 0.9375rem; color: var(--navy-900); cursor: pointer; }
.segmented input:checked + label { background: var(--navy-900); color: #fff; }
.segmented input:focus-visible + label { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.message-form__grid { display: grid; gap: 14px; }
.message-form__field { display: grid; gap: 6px; min-width: 0; }
.message-form__field label { font-weight: 650; font-size: 0.9063rem; color: var(--navy-900); }
.optional { font-weight: 450; color: var(--muted); }
.message-form input:not([type="radio"]), .message-form textarea { width: 100%; font: 400 1rem/1.4 var(--sans); padding: 11px 12px; border: 1px solid #c6cfdb; border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.message-form textarea { resize: vertical; min-height: 110px; }
.message-form input:focus, .message-form textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(3, 92, 141, .18); }
.message-form [aria-invalid="true"] { border-color: #c0262a; box-shadow: 0 0 0 3px rgba(192, 38, 42, .12); }
.message-form__hint { color: var(--muted); font-size: 0.8125rem; }
.message-form__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.message-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.message-form__foot small { color: var(--muted); font-size: 0.8125rem; max-width: 42ch; }
.message-wall__title { margin: 0 0 14px; padding-top: 10px; border-top: 2px solid var(--rule-strong); font: 700 1.35rem/1.2 var(--serif); color: var(--navy-900); }
.message-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.message-card { padding: 14px 16px; border-radius: var(--radius); background: var(--paper-2); }
.message-card__kind { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 6px; color: var(--green-700); font-size: 0.75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.message-card__text { margin: 0; font: italic 400 1.0625rem/1.5 var(--serif); color: var(--navy-900); }
.message-card__song { margin: 6px 0 0; font-weight: 650; color: var(--navy-900); }
.message-card__author { margin: 8px 0 0; color: var(--muted); font-size: 0.8438rem; }

/* contato, 404 */
.contact-layout { display: grid; gap: 24px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--paper-2); }
.contact-list__item > .ic { width: 24px; height: 24px; color: var(--green-700); }
.contact-list__item span { display: grid; min-width: 0; }
.contact-list__item small { color: var(--muted); font-size: 0.7813rem; }
.contact-list__item a { color: var(--navy-900); font-weight: 650; overflow-wrap: anywhere; }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); text-decoration: none; color: var(--on-dark); background: var(--navy-900); }
.contact-card .ic { width: 26px; height: 26px; color: var(--gold-400); margin-bottom: 4px; }
.contact-card strong { font: 700 1.15rem/1.25 var(--serif); color: #fff; }
.contact-card span { color: var(--on-dark-muted); font-size: 0.875rem; }
.contact-card:hover strong { text-decoration: underline; text-decoration-color: var(--gold-400); }
.contact-card--ads { background: var(--green-700); }
.contact-card--ads .ic { color: var(--yellow-400); }
.contact-card--ads span { color: #e3f4e6; }
.not-found { max-width: 640px; padding: 24px 0; }
.not-found__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark); margin-top: 24px; padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px)); }
.site-footer::before { content: ""; display: block; height: 4px; background: var(--flag-rule); }
.site-footer__grid { display: grid; gap: 28px; padding-block: 32px 20px; }
.site-footer__logos { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.site-footer__paper { display: block; padding: 8px 12px; border-radius: var(--radius-sm); background: #fff; }
.site-footer__paper img { width: 170px; height: auto; }
.site-footer__logos > picture img { width: 70px; height: auto; }
.site-footer__name { margin: 0; font-weight: 700; }
.site-footer__slogan { margin: 2px 0 0; color: var(--on-dark-muted); font-size: 0.875rem; }
.site-footer__title { margin: 0 0 10px; font: 650 0.8125rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow-400); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--yellow-400); }
.site-footer__contact li { display: flex; align-items: center; gap: 8px; color: var(--on-dark-muted); font-size: 0.9063rem; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__app p { margin: 0 0 12px; color: var(--on-dark-muted); font-size: 0.9063rem; }
.site-footer__install-help { font-size: 0.8125rem !important; }
.site-social { display: flex !important; gap: 6px !important; margin-top: 14px !important; }
.site-social__link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.site-social__link:hover { background: rgba(255, 255, 255, .16); }
.site-footer__base { padding-block: 14px 20px; border-top: 1px solid var(--line-dark); }
.site-footer__copy { margin: 0; color: var(--on-dark-muted); font-size: 0.8125rem; }

/* ---------- persistent player (radio brand, bottom) ---------- */
.site-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; color: var(--on-dark); padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, rgba(3, 11, 19, .94), var(--navy-950)); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px rgba(3, 11, 19, .25); }
.site-player::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--radio-gradient); opacity: calc(.45 + var(--lvl, 0) * .55); }
.site-player__inner { display: flex; align-items: center; gap: 12px; min-height: var(--player-h); padding-block: 8px; }
.site-player__cover { position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(251, 226, 76, .35), transparent 60%), linear-gradient(140deg, #3a2a08, var(--charcoal));
  box-shadow: 0 0 0 1px rgba(254, 197, 46, .35) inset, 0 4px calc(12px + var(--bass, 0) * 26px) rgba(253, 111, 47, calc(.18 + var(--lvl, 0) * .7));
  transform: scale(calc(1 + var(--bass, 0) * .05)); transition: box-shadow .12s linear; }
.site-player__logo { width: 38px; height: 30px; object-fit: contain; }
.site-player__initials { position: absolute; inset: 0; display: none; place-items: center; font: 800 0.9375rem/1 var(--sans); color: #1d1405; letter-spacing: .02em;
  background: linear-gradient(140deg, var(--gold-300), var(--gold-600) 65%, var(--orange-500)); }
.site-player__cover.has-track .site-player__initials { display: grid; }
.site-player__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.site-player__program { font-size: 0.75rem; font-weight: 650; color: var(--gold-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-player__track { font-size: 0.9063rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-player__track:empty { display: none; }
.site-player__status { font-size: 0.75rem; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viz--player { flex: 0 1 64px; height: 30px; }
.site-player__volume { display: none; align-items: center; gap: 8px; color: var(--on-dark-muted); }
.site-player__volume input { width: 96px; accent-color: var(--gold-400); }
.site-player__audio { max-width: 240px; height: 36px; }
html.js .site-player__audio { display: none; }

/* toast */
.site-toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 70; padding: 10px 16px; border-radius: 999px; background: var(--navy-900); color: #fff;
  font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow-1); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease-out); }
.site-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Portal v2 — "portal vivo". Rules: continuous motion uses transform/opacity
   only, runs only while the block is on screen (.in-view, set by site.js) and
   stops under prefers-reduced-motion (global rule at the end). Every box that
   site.js fills or swaps has its size reserved here (no layout shift).
   ========================================================================== */

/* "Última hora" ticker (portal brand: navy + flag yellow) */
.ticker { position: relative; display: flex; align-items: center; height: 44px; margin: -6px 0 22px; border-radius: 999px; background: var(--navy-900); color: var(--on-dark);
  overflow: hidden; isolation: isolate; box-shadow: var(--shadow-1); }
.ticker__label { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 9px; height: 100%; margin: 0; padding: 0 24px 0 16px; background: var(--yellow-400);
  color: var(--navy-900); font: 800 0.75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.ticker__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); }
.ticker__pulse::after { animation-play-state: paused; }
.ticker.in-view .ticker__pulse::after { animation-play-state: running; }
.ticker__viewport { flex: 1 1 auto; min-width: 0; height: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); }
.ticker__viewport::-webkit-scrollbar { display: none; }
.ticker__track { display: flex; align-items: center; width: max-content; height: 100%; margin: 0; padding: 0; list-style: none; }
.ticker__item { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 20px 0 22px; white-space: nowrap; font-size: 0.9063rem; }
.ticker__item::before { content: ""; position: absolute; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow-400); opacity: .8; }
.ticker__item time { color: var(--yellow-400); font-size: 0.7813rem; font-weight: 750; }
.ticker__item a { color: #fff; font-weight: 550; text-decoration: none; padding-block: 2px; }
.ticker__toggle { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--on-dark); cursor: pointer; }
.ticker__toggle .ic { width: 16px; height: 16px; }
.ticker__toggle:hover { color: var(--yellow-400); }
.ticker__play, .ticker.is-paused .ticker__pause { display: none; }
.ticker.is-paused .ticker__play { display: block; }
.ticker.is-running .ticker__viewport { overflow-x: hidden; }
.ticker.is-running .ticker__track { animation: ticker-move var(--ticker-dur, 40s) linear infinite; will-change: transform; }
.ticker.is-paused .ticker__track, .ticker.is-held .ticker__track, .ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker:not(.in-view) .ticker__track { animation-play-state: paused; }
@keyframes ticker-move { to { transform: translate3d(-50%, 0, 0); } }

/* Headline carousel: slides share one grid cell (height = tallest slide, so
   swapping never shifts anything). Without JS the first slide shows and the
   dots are #anchors (:target). */
.headline { position: relative; min-width: 0; }
.headline__viewport { display: grid; touch-action: pan-y; overflow-x: clip; overflow-y: visible; }
.headline__slide { grid-area: 1 / 1; min-width: 0; }
.headline__slide:not(:first-child) { visibility: hidden; opacity: 0; }
html:not(.js) .headline__viewport:has(.headline__slide:target) .headline__slide { visibility: hidden; opacity: 0; }
html:not(.js) .headline__viewport:has(.headline__slide:target) .headline__slide:target { visibility: visible; opacity: 1; }
html.js .headline__slide { visibility: hidden; opacity: 0; transform: translate3d(var(--from, 32px), 0, 0);
  transition: opacity .5s var(--ease-out), transform .75s var(--ease-out), visibility 0s linear .75s; }
html.js .headline__slide.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .55s var(--ease-out) .05s, transform .75s var(--ease-out), visibility 0s; }
html.js .headline__slide.is-leaving { transform: translate3d(var(--to, -32px), 0, 0); }
.headline .news-card--lead .news-card__media { position: relative; }
.headline .news-card--lead .news-card__title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.headline .news-card--lead .news-card__summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.headline.in-view .headline__slide.is-active .news-card__image { animation: ken-burns 9s ease-out both; }
@keyframes ken-burns { from { transform: scale(1.07) translate3d(1%, 0, 0); } to { transform: scale(1); } }
.headline__bar { display: flex; align-items: center; gap: 6px; height: 40px; margin-top: 8px; }
.headline__dots { display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.headline__dots li { flex: 1 1 0; min-width: 0; }
.headline__dot { display: flex; align-items: center; height: 40px; }
.headline__dot i { position: relative; display: block; width: 100%; height: 4px; border-radius: 4px; background: var(--rule); overflow: hidden; }
.headline__dot i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green-500); transform: scaleX(0); transform-origin: left; }
.headline__dot:hover i { background: #c9d2de; }
.headline__dot.is-active i::after { transform: scaleX(1); }
.headline.is-auto .headline__dot.is-active i::after { animation: fill-bar var(--slide-ms, 7000ms) linear both; }
.headline.is-paused .headline__dot.is-active i::after { animation-play-state: paused; }
@keyframes fill-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.headline__btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; background: var(--paper); color: var(--navy-900);
  cursor: pointer; transition: transform .15s var(--ease-out), border-color .15s; }
.headline__btn:hover { border-color: var(--navy-900); }
.headline__btn:active { transform: scale(.94); }
.headline__btn .ic { width: 18px; height: 18px; }
html:not(.js) .headline__btn, .headline:not(.is-auto) [data-carousel-toggle] { visibility: hidden; }
.headline__play, .headline.is-held .headline__pause { display: none; }
.headline.is-held .headline__play { display: block; }

/* "N novas notícias" pill + live insertions */
.news-pill { position: fixed; left: 50%; top: 62px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 18px; border: 0; border-radius: 999px;
  background: var(--green-700); color: #fff; font: 700 0.9063rem/1 var(--sans); box-shadow: 0 10px 26px rgba(2, 23, 49, .28); cursor: pointer;
  transform: translate3d(-50%, -18px, 0); opacity: 0; pointer-events: none; transition: transform .4s var(--ease-out), opacity .25s; }
.news-pill.is-visible { transform: translate3d(-50%, 0, 0); opacity: 1; pointer-events: auto; }
.news-pill:hover { background: #036315; }
.is-new { animation: news-in .7s var(--ease-out) both; }
.is-new::after { content: ""; position: absolute; inset: 2px -8px; z-index: -1; border-radius: 10px; background: rgba(251, 222, 2, .22); animation: news-flash 3s ease-out both; pointer-events: none; }
.timeline__item.is-new, .news-card.is-new { isolation: isolate; }
@keyframes news-in { from { opacity: 0; transform: translate3d(0, -10px, 0); } }
@keyframes news-flash { from { opacity: 1; } to { opacity: 0; } }

/* skeletons (shimmer = transform only) */
.skel { position: relative; display: block; height: 12px; margin: 7px 0; border-radius: 6px; background: #e7ecf2; overflow: hidden; }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: translateX(-100%); animation: shimmer 1.3s ease-in-out infinite; }
.skel--sm { width: 32%; height: 10px; }
.skel--short { width: 62%; }
.skel-box { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); background: #e7ecf2; position: relative; overflow: hidden; }
.skel-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-100%); animation: shimmer 1.3s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.news-card--skeleton .news-card__body { padding-top: 4px; }

/* "Mais lidas" */
.most-read__list { list-style: none; margin: 0; padding: 0; }
.most-read__item { position: relative; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 10px; min-height: 92px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.most-read__item:last-child { border-bottom: 0; }
.most-read__rank { font: 800 2.1rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1.5px var(--navy-900); text-align: center; font-variant-numeric: tabular-nums; }
.most-read__item:first-child .most-read__rank { color: var(--green-700); -webkit-text-stroke: 0; }
.most-read__item.is-skeleton .most-read__rank { -webkit-text-stroke-color: #cfd7e2; color: transparent; }
.most-read__category { display: block; color: var(--green-700); font: 750 0.6875rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.most-read__title { margin: 2px 0 4px; font: 650 1.0625rem/1.3 var(--serif); color: var(--navy-900); }
.most-read__title a { text-decoration: none; }
.most-read__body time { color: var(--muted); font-size: 0.7813rem; }

/* news columns: 1–3 blocks side by side (latest / mais lidas / Agência) */
.news-columns > * { min-width: 0; margin-bottom: 0; }

/* agenda + promoção (light, portal side) */
.home-duo { display: grid; gap: 28px; margin-bottom: 36px; }
.home-duo > * { margin-bottom: 0; }
.home-agenda .agenda__date { background: var(--paper-2); box-shadow: 0 0 0 1px var(--rule) inset; color: var(--muted); }
.home-agenda .agenda__date b { color: var(--green-700); }
.home-agenda .agenda__title { color: var(--navy-900); }
.home-agenda .agenda__meta { color: var(--muted); }
.promo-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.promo-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(251, 222, 2, .2), rgba(0, 154, 27, .08)); }
.promo-item__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-900); color: var(--yellow-400); }
.promo-item__icon .ic { width: 24px; height: 24px; }
.promo-item__title { margin: 0; font: 700 1.05rem/1.3 var(--serif); color: var(--navy-900); }
.promo-item__title a { text-decoration: none; }
.promo-item__title a:hover { text-decoration: underline; text-decoration-color: var(--green-500); }
.promo-item__until { margin: 4px 0 0; color: var(--green-700); font-size: 0.8438rem; font-weight: 650; }

/* videos carousel */
.video-band { position: relative; margin: 0 calc(var(--gutter) * -1) 36px; padding: 22px var(--gutter) 24px; color: var(--on-dark); isolation: isolate;
  background: radial-gradient(60% 90% at 100% 0%, rgba(231, 33, 29, .18), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(25, 138, 191, .16), transparent 60%), var(--navy-900); }
.video-band__head { display: flex; align-items: flex-start; gap: 12px; }
.video-band__head .section-head { flex: 1 1 auto; min-width: 0; border-top-color: rgba(255, 255, 255, .22); }
.video-band .section-head::before { background: var(--red-600); }
.video-band .section-head__title { color: #fff; }
.video-band .section-head__more { color: var(--yellow-400); }
.video-band__nav { display: flex; gap: 8px; padding-top: 6px; }
.video-band__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.video-band__btn:hover:not(:disabled) { border-color: var(--yellow-400); color: var(--yellow-400); }
.video-band__btn:disabled { opacity: .35; cursor: default; }
.video-band__btn .ic { width: 18px; height: 18px; }
.video-band__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 74%); gap: 16px; margin: 0; padding: 0 0 6px; list-style: none; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.video-band__track::-webkit-scrollbar { display: none; }
.video-slide { min-width: 0; scroll-snap-align: start; }
.video-slide__title { margin: 10px 0 0; font: 650 0.9688rem/1.3 var(--sans); color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-slide__meta { margin: 4px 0 0; color: var(--on-dark-muted); font-size: 0.7813rem; }
.video-slide.is-live .video-lite { box-shadow: 0 0 0 2px var(--red-600); }
.video-lite__live { position: absolute; left: 10px; top: 10px; }
.in-view .video-lite__live { animation: badge-beat 1.6s ease-in-out infinite; }
@keyframes badge-beat { 50% { transform: scale(1.07); } }
.video-lite:hover .video-lite__thumb, .video-lite:focus-visible .video-lite__thumb { animation: thumb-pan 5s ease-in-out infinite alternate; }
@keyframes thumb-pan { from { transform: scale(1.08) translate3d(2%, 0, 0); } to { transform: scale(1.08) translate3d(-2%, -1%, 0); } }

/* radio alive: equalizer, track progress, listeners, spinning disc */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; flex: none; width: 18px; height: 14px; }
.eq i { flex: 1; height: 100%; border-radius: 1px; background: linear-gradient(0deg, var(--gold-400), var(--orange-500) 60%, var(--red-600)); transform: scaleY(.3); transform-origin: bottom; }
.is-live.in-view .eq i { animation: eq .9s ease-in-out infinite alternate; }
.is-live.in-view .eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.is-live.in-view .eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.6s; }
.is-live.in-view .eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.2s; }
@keyframes eq { 0% { transform: scaleY(.2); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }
.track-progress { flex: 1 1 auto; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.track-progress i { display: block; height: 100%; border-radius: inherit; background: var(--radio-gradient); transform: scaleX(var(--from, 0)); transform-origin: left;
  animation: track-fill var(--dur, 180s) linear both; }
@keyframes track-fill { from { transform: scaleX(var(--from, 0)); } to { transform: scaleX(1); } }
.has-progress .eq { display: none; }
.listeners { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--on-dark-muted); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.listeners__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #35d07f; }
.listeners__dot::after { animation-play-state: paused; }
.in-view .listeners__dot::after { animation-play-state: running; }
.listeners.is-bump [data-listeners-text] { display: inline-block; animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.12); } }

.now-panel { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 26px; padding: 16px; border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(254, 197, 46, .13), rgba(253, 111, 47, .06) 55%, rgba(255, 255, 255, .02)); box-shadow: 0 0 0 1px rgba(254, 197, 46, .24) inset; }
.now-panel__disc { position: relative; width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 10px 26px rgba(0, 0, 0, .5), 0 0 0 2px rgba(254, 197, 46, .4); }
.now-panel__disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 14%, rgba(255, 255, 255, .16) 20%, transparent 27% 62%, rgba(255, 255, 255, .1) 68%, transparent 75%); }
.now-panel__label { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 25%, #18181a 26% 27%, transparent 28%), repeating-radial-gradient(circle, #121214 0 1.5px, #1f1f23 1.5px 3.5px); }
.now-panel__label picture { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--gold-300), var(--gold-600) 60%, var(--orange-500)); }
.now-panel__logo { width: 30px; height: auto; }
html[data-player="live"] .now-panel.in-view .now-panel__label { animation: spin 5s linear infinite; }
.now-panel__body { min-width: 0; }
.now-panel__kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--gold-300); font: 650 0.75rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.now-panel__track { margin: 0; font: 700 1.15rem/1.25 var(--serif); color: #fff; overflow-wrap: anywhere; }
.now-panel__track:empty { display: none; }
.now-panel__program { margin: 3px 0 0; color: var(--on-dark-muted); font-size: 0.8438rem; }
.now-panel__meter { display: flex; align-items: center; gap: 10px; height: 16px; margin-top: 10px; }
.now-panel__listen { margin-top: 12px; }

/* Mais tocadas on the dark radio zone + rank changes */
.radio-zone .top-list__item { border-bottom-color: var(--line-dark); background: var(--navy-950); }
.radio-zone .top-list__position { color: var(--gold-400); }
.radio-zone .top-list__item:first-child .top-list__position { color: var(--gold-300); }
.radio-zone .top-list__title { color: #fff; }
.radio-zone .top-list__artist { color: var(--on-dark-muted); }
.top-list__item { position: relative; }
.top-list__item[data-move]::after { position: absolute; right: 0; top: 50%; margin-top: -9px; font: 700 0.8125rem/1.125rem var(--sans); animation: news-flash 6s ease-in both; }
.top-list__item[data-move="up"]::after { content: "↑"; color: #35d07f; }
.top-list__item[data-move="down"]::after { content: "↓"; color: #ff7a6b; }

/* infinite scroll on /noticias */
.infinite { display: grid; justify-items: center; gap: 10px; margin-top: 22px; }
.infinite__sentinel { width: 100%; height: 1px; }
.infinite__end { margin: 0; color: var(--muted); font-size: 0.875rem; }
.news-rows .news-card.is-appended { animation: news-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }

/* staggered reveal of list items (site.js sets --i) */
.reveal-wait .stagger > * { opacity: .001; transform: translate3d(0, 14px, 0); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-wait.is-in .stagger > * { opacity: 1; transform: none; }

/* page-load progress during partial navigation */
.nav-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 90; height: 3px; background: var(--flag-rule); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
html.is-navigating .nav-progress { opacity: 1; animation: nav-load 2.4s cubic-bezier(.1, .8, .2, 1) forwards; }
.nav-progress.is-done { opacity: 0; transform: scaleX(1); transition: opacity .35s .1s; }
@keyframes nav-load { from { transform: scaleX(0); } to { transform: scaleX(.85); } }

/* Below-the-fold blocks skip layout/paint until they approach the viewport
   (the home page is long; this keeps the first render cheap on phones).
   Dark sections keep their background on the outer box (painted) and skip only
   the inner grid, so contrast checkers still see the real background. */
.news-columns, .home-section--rail, .radio-zone__grid, .site-footer__grid, .news-related, .schedule-day:not(.schedule-day--today), .site-banners--home_middle, .site-banners--footer {
  content-visibility: auto; contain-intrinsic-size: auto 720px; }
.site-footer__grid { contain-intrinsic-size: auto 480px; }

/* ---------- motion: reveal + page transitions ---------- */
.reveal-wait { opacity: .001; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-wait.is-in { opacity: 1; transform: none; }
html.is-navigating .site-main { opacity: .55; transition: opacity .15s; }
::view-transition-old(site-main) { animation: vt-out .18s ease-in both; }
::view-transition-new(site-main) { animation: vt-in .32s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
.site-main.is-entering { animation: vt-in .32s var(--ease-out) both; }

/* ---------- breakpoints ---------- */
@media (min-width: 480px) {
  .viz--strip { display: block; flex-basis: 56px; }
  .site-brand img { width: 170px; }
}
@media (min-width: 720px) {
  :root { --player-h: 72px; }
  .site-brand img { width: 220px; }
  .site-header__inner { padding-block: 14px; }
  .viz--strip { flex-basis: 140px; }
  .live-strip__brand img { width: 50px; height: 40px; }
  .viz--player { flex-basis: 220px; }
  .site-player__volume { display: inline-flex; }
  .play-btn--player { width: 52px; height: 52px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-section--rail .news-grid, .news-related .news-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .news-card--row { grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; }
  .news-card--row .news-card__image { aspect-ratio: 16 / 9; }
  .news-card--row .news-card__summary { display: block; }
  .news-filters { grid-template-columns: auto 1fr; align-items: center; }
  .news-filters .site-search { justify-self: end; width: 100%; }
  .front__secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .front__secondary .news-card { display: block; padding: 0; border-top: 0; }
  .front__secondary .news-card__image, .front__secondary .news-card__media--art { aspect-ratio: 16 / 9; }
  .front__secondary .news-card__body { padding-top: 10px; }
  .front__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front__aside .site-banners { grid-column: 1 / -1; }
  .news-columns { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .radio-zone__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .host-grid, .video-grid, .promotion-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-card { grid-template-columns: 72px minmax(0, 1fr) 240px; }
  .event-card__image { grid-column: auto; }
  .messages-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  .message-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .message-form__field--full { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-columns.news-columns--1 { grid-template-columns: minmax(0, 1fr); }
  .news-columns.news-columns--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-columns--3 > :last-child { grid-column: 1 / -1; }
  .home-duo--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-band__track { grid-auto-columns: calc((100% - 32px) / 3); }
  .ticker { margin-top: -4px; }
}
@media (min-width: 1024px) {
  .site-header__date { display: block; }
  .site-brand img { width: 280px; }
  .site-main { padding-top: 26px; }
  .front { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .front__news { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-content: start; }
  .front__secondary { grid-template-columns: 1fr; gap: 0; }
  .front__secondary .news-card { padding: 14px 0; border-top: 1px solid var(--rule); }
  .front__secondary .news-card:first-child { padding-top: 0; border-top: 0; }
  /* only the first secondary story keeps its picture: the column stays as tall as the lead */
  .front__secondary .news-card:not(:first-child) .news-card__media { display: none; }
  .front__secondary .news-card__summary { display: block; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .front__aside { grid-template-columns: 1fr; }
  .news-columns { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; }
  .news-grid, .home-section--rail .news-grid, .news-related .news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .news-grid--highlights { grid-template-columns: 2fr 1fr 1fr; }
  .radio-zone { margin-inline: 0; padding: 32px 32px 34px; border-radius: 16px; }
  .radio-zone__grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .article-aside { position: sticky; top: 70px; }
  .host-grid, .promotion-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .host-card { grid-template-columns: 1fr; justify-items: start; }
  .host-card__photo { width: 120px; height: 120px; }
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .site-nav__link { padding: 0 13px; font-size: 0.9375rem; }
  .news-columns.news-columns--3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .news-columns--3 > :last-child { grid-column: auto; }
  .video-band { margin-inline: 0; padding: 26px 28px 28px; border-radius: 16px; }
  .video-band__track { grid-auto-columns: calc((100% - 48px) / 4); }
}
@media (min-width: 1280px) {
  .site-nav__list { -webkit-mask-image: none; mask-image: none; }
}

/* ==========================================================================
   Phone chrome (< 768 px) — PLANO-MOBILE-NATIVO.md, etapa C (+ etapa A).
   One-line top bar that hides while reading down, the app-like bottom bar
   (Início · Notícias · Ouvir · TV · Mais) with the mini-player above it,
   sheets (<dialog>), full-screen search and the article bar. The live strip,
   masthead and menu stay exactly as they were from 768 px up.
   In "Site para computador" the head script zooms the page and scales these
   width queries by the same factor (public/site-head.js).
   ========================================================================== */
:root { --bnav-h: 64px; --mini-h: 60px; --topbar-h: 56px; --safe-b: env(safe-area-inset-bottom, 0px); }
.topbar, .bnav, .article-bar, .chips__all { display: none; }
html:not(.js) .article-bar__js, html:not(.js) .topbar__live, html:not(.js) .bnav__item--radio, html:not(.js) [data-sheet-open] { display: none !important; }

/* sheets: Mais, editorias (bottom sheet on phones, centered card from 768 px) */
.sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: 560px; max-height: min(86dvh, calc(100% - 24px)); margin: 0 auto; padding: 0; border: 0; border-radius: 20px 20px 0 0;
  background: var(--paper); color: var(--ink); box-shadow: 0 -12px 40px rgba(2, 23, 49, .25); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; animation: sheet-up .32s var(--ease-out); }
.sheet::backdrop { background: rgba(2, 23, 49, .5); }
.sheet[open]::backdrop { animation: fade-in .25s ease-out; }
.sheet.is-closing { animation: sheet-down .2s ease-in forwards; }
.sheet.is-closing::backdrop { animation: fade-out .2s ease-in forwards; }
@keyframes sheet-up { from { transform: translate3d(0, 100%, 0); } }
@keyframes sheet-down { to { transform: translate3d(0, 100%, 0); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.sheet__panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px max(16px, env(safe-area-inset-right, 0px)) calc(18px + var(--safe-b)) max(16px, env(safe-area-inset-left, 0px)); }
.sheet__grip { display: block; width: 40px; height: 5px; margin: 4px auto 10px; border-radius: 3px; background: #c9d2de; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; touch-action: none; }
.sheet__title { margin: 0; font: 700 1.25rem/1.2 var(--serif); color: var(--navy-900); }
.sheet__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--navy-900); cursor: pointer; }
.sheet__close .ic { width: 22px; height: 22px; }
.sheet__list { list-style: none; margin: 0; padding: 0; }
.sheet__link { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--rule); color: var(--navy-900); font-weight: 600; text-decoration: none; }
.sheet__link > .ic:first-child { width: 22px; height: 22px; color: var(--green-700); }
.sheet__link > span { flex: 1 1 auto; min-width: 0; }
.sheet__link[aria-current="page"] { color: var(--green-700); }
.sheet__chev { width: 18px; height: 18px; color: #8a96a6; }
.sheet__list--chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 6px; }
.sheet__sub { margin: 18px 0 2px; font: 700 0.8125rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sheet__saved ul { list-style: none; margin: 0; padding: 0; }
.sheet__saved a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--rule); font: 600 1rem/1.3 var(--serif); color: var(--navy-900); text-decoration: none; }
.sheet__app { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--navy-900); color: #fff; text-decoration: none; }
.sheet__app > .ic:first-child { width: 26px; height: 26px; color: var(--gold-400); }
.sheet__app > span { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.sheet__app small { color: var(--on-dark-muted); font-size: 0.8125rem; }
.sheet__app .sheet__chev { color: var(--gold-300); }

/* full-screen search (opened by the top bar's magnifier) */
.search-ov { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 0 var(--safe-b); border: 0; background: var(--paper); color: var(--ink); }
.search-ov[open] { display: flex; flex-direction: column; animation: fade-in .18s ease-out; }
.search-ov::backdrop { background: var(--paper); }
.search-ov__bar { display: flex; align-items: center; gap: 6px; padding: calc(6px + env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) 6px max(8px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--rule); }
.search-ov__back, .search-ov__go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--navy-900); cursor: pointer; }
.search-ov__back .ic, .search-ov__go .ic { width: 22px; height: 22px; }
.search-ov__go { background: var(--navy-900); color: #fff; }
.search-ov__input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); font: 400 1rem var(--sans); color: var(--ink); }
.search-ov__input:focus { outline: none; border-color: var(--blue-600); background: var(--paper); box-shadow: 0 0 0 3px rgba(3, 92, 141, .18); }
.search-ov__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
.search-ov__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.search-ov__title { margin: 8px 0; font: 700 0.8125rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.search-ov__clear { min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--blue-600); font: 600 0.875rem var(--sans); cursor: pointer; }
.search-ov__list, .search-ov__results { list-style: none; margin: 0; padding: 0; }
.search-ov__list a { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--rule); color: var(--navy-900); text-decoration: none; }
.search-ov__list .ic { width: 20px; height: 20px; color: #8a96a6; }
.search-ov__status { margin: 10px 0; color: var(--muted); font-size: 0.875rem; }
.search-ov__status:empty { display: none; }
.search-ov__results a { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--navy-900); text-decoration: none; }
.search-ov__results a.is-text { grid-template-columns: minmax(0, 1fr); }
.search-ov__results img { grid-column: 2; grid-row: 1; width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-2); }
.search-ov__results b { display: block; font: 650 1.0625rem/1.3 var(--serif); }
.search-ov__results small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.8125rem; }
.search-ov__results em { display: block; margin-bottom: 2px; color: var(--green-700); font: 750 0.6875rem/1.3 var(--sans); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }

/* discreet banners above the phone bars: app invitation, "Site para computador" hint */
.m-banner { position: fixed; z-index: 64; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(var(--bnav-h) + var(--mini-h) + var(--safe-b) + 20px);
  display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 12px; border-radius: 16px; background: var(--navy-900); color: var(--on-dark); box-shadow: 0 12px 32px rgba(2, 23, 49, .35);
  transform: translate3d(0, 16px, 0); opacity: 0; transition: transform .3s var(--ease-out), opacity .2s; }
.m-banner.is-visible { transform: none; opacity: 1; }
.m-banner__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: radial-gradient(circle at 30% 20%, rgba(251, 226, 76, .35), transparent 60%), var(--charcoal); }
.m-banner__icon img { width: 36px; height: auto; }
.m-banner__text { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; font-size: 0.8125rem; line-height: 1.35; color: var(--on-dark-muted); }
.m-banner__text strong { color: #fff; font-size: 0.9375rem; }
.m-banner__cta { flex: none; min-height: 40px; padding: 8px 14px; font-size: 0.875rem; }
.m-banner__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--on-dark-muted); cursor: pointer; }
.m-banner__close .ic { width: 20px; height: 20px; }
/* article text size chosen in the article bar (site.js sets --reader-scale; shared with the app) */
.news-article__body { font-size: calc(1.1875rem * var(--reader-scale, 1)); }

@media (max-width: 767.98px) {
  html { scroll-padding-top: calc(var(--topbar-h) + 12px); scroll-padding-bottom: calc(var(--bnav-h) + var(--mini-h) + var(--safe-b) + 24px); }
  .live-strip, .site-header { display: none; }

  /* top bar: logo · busca · Ouvir; slides away reading down, back reading up (transform only) */
  .topbar { display: block; position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(1.4) blur(8px); transition: transform .28s var(--ease-out); }
  .topbar::after { content: ""; display: block; height: 3px; background: var(--flag-rule); }
  .topbar.is-hidden { transform: translate3d(0, -100%, 0); }
  .topbar__inner { display: flex; align-items: center; gap: 4px; height: calc(var(--topbar-h) - 3px); padding: 0 max(10px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
  .topbar__brand { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
  .topbar__logo { width: auto; height: 38px; aspect-ratio: 600 / 224; }
  .topbar__search { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--navy-900); }
  .topbar__search .ic { width: 24px; height: 24px; }
  .topbar__live { height: 40px; margin-left: 2px; padding: 0 15px 0 12px; }
  .news-pill { top: calc(var(--topbar-h) + 10px + env(safe-area-inset-top, 0px)); }

  /* room for the bars: nothing ends up behind them */
  .site-main { padding-top: 16px; padding-bottom: 32px; }
  .site-footer { padding-bottom: calc(var(--bnav-h) + var(--mini-h) + var(--safe-b) + 28px); }
  .site-toast { bottom: calc(var(--bnav-h) + var(--mini-h) + var(--safe-b) + 24px); }
  .section-head { flex-wrap: wrap; row-gap: 2px; } /* large system fonts: "Ver todas" goes under the title */

  /* bottom bar: the app's tab bar on the portal's light paper */
  .bnav { position: fixed; z-index: 62; left: 0; right: 0; bottom: 0; display: flex; height: calc(var(--bnav-h) + var(--safe-b));
    padding: 0 max(4px, env(safe-area-inset-right, 0px)) var(--safe-b) max(4px, env(safe-area-inset-left, 0px)); background: var(--paper);
    border-top: 1px solid var(--rule); box-shadow: 0 -4px 16px rgba(2, 23, 49, .06); }
  .bnav__item, .article-bar__btn { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 48px;
    padding: 0 2px; border: 0; background: none; color: var(--muted); font: 600 0.75rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
  .bnav__item > span:last-child, .article-bar__btn > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bnav__item .ic, .article-bar__btn .ic { width: 24px; height: 24px; transition: transform .15s var(--ease-out); }
  .bnav__item::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 2px; background: var(--green-700);
    transform: scaleX(0); transition: transform .2s var(--ease-out); }
  .bnav__item[aria-current="page"], .bnav__item.is-section { color: var(--green-700); font-weight: 750; }
  .bnav__item[aria-current="page"]::after, .bnav__item.is-section::after { transform: scaleX(1); }
  .bnav__item:active .ic, .article-bar__btn:active .ic, .article-bar__btn:active .article-bar__glyph { transform: scale(.88); }
  .bnav__item--radio { color: var(--navy-900); }
  .bnav__orb { display: grid; place-items: center; width: 34px; height: 34px; margin: -5px 0; border-radius: 50%; color: #1d1405;
    background: linear-gradient(180deg, var(--gold-300), var(--gold-400) 55%, var(--gold-600)); box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 2px 8px rgba(224, 138, 0, .3);
    transition: transform .15s var(--ease-out), box-shadow .2s; }
  .bnav__item--radio:active .bnav__orb { transform: scale(.9); }
  .bnav__orb .ic { width: 20px; height: 20px; }
  .bnav__off, .bnav__item--radio[aria-pressed="true"] .bnav__on { display: none; }
  .bnav__item--radio[aria-pressed="true"] .bnav__off { display: block; }
  .bnav__item--radio[aria-pressed="true"] .bnav__orb { box-shadow: 0 0 0 3px rgba(254, 197, 46, .35), 0 2px 10px rgba(253, 111, 47, .35); }

  /* mini-player: the persistent player as a floating card above the bottom bar */
  .site-player { left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(var(--bnav-h) + var(--safe-b) + 8px); padding-bottom: 0;
    border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(3, 11, 19, .3); }
  .site-player__inner { min-height: var(--mini-h); padding: 6px 6px 6px 8px; gap: 10px; }
  .site-player__cover { width: 44px; height: 44px; }
  .viz--player { display: none; }
  .play-btn--player { width: 44px; height: 44px; }

  /* article: full-bleed hero first, then the title; the action bar takes the bottom bar's place */
  .site--article .bnav { display: none; }
  .article-bar { position: fixed; z-index: 62; left: 0; right: 0; bottom: 0; display: flex; height: calc(var(--bnav-h) + var(--safe-b));
    padding: 0 max(4px, env(safe-area-inset-right, 0px)) var(--safe-b) max(4px, env(safe-area-inset-left, 0px)); background: var(--paper);
    border-top: 1px solid var(--rule); box-shadow: 0 -4px 16px rgba(2, 23, 49, .06); }
  /* "Compartilhar" is the longest label: it gets more room than A−/A+, and the labels
     stop growing at 15px so a large system font never cuts them */
  .article-bar__btn { color: var(--navy-900); font-size: min(0.75rem, 15px); }
  .article-bar [data-article-share] { flex-grow: 1.5; }
  .article-bar [data-text-size] { flex-grow: .8; }
  .article-bar__btn:disabled { opacity: .38; cursor: default; }
  .article-bar__btn[aria-pressed="true"] { color: var(--green-700); }
  .article-bar__on, .article-bar__btn[aria-pressed="true"] .article-bar__off { display: none; }
  .article-bar__btn[aria-pressed="true"] .article-bar__on { display: block; }
  .article-bar__glyph { display: block; height: 24px; font: 700 1.125rem/1 var(--serif); line-height: 24px; letter-spacing: -.02em; transition: transform .15s var(--ease-out); }
  .site--hero .site-main { padding-top: 0; }
  .news-article { display: flex; flex-direction: column; }
  .news-article__cover { order: -1; margin: 0 calc(var(--gutter-r) * -1) 14px calc(var(--gutter) * -1); }
  .news-article__image { border-radius: 0; }
  .news-article__cover figcaption { padding: 0 var(--gutter-r) 0 var(--gutter); }
  .news-article__title { font-size: clamp(1.75rem, 7.6vw, 2.375rem); }
  .news-article__byline .share { display: none; }

  /* editorias: chips slide edge to edge (never cut mid-word); "Todas" opens the full list */
  .chips { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter-r) * -1); }
  .chips__list { padding: 2px var(--gutter-r) 6px var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .chips__list > li { flex: none; scroll-snap-align: start; }
  .chips__all { display: list-item; list-style: none; }
  .chip--all { font: 650 0.875rem/1.2 var(--sans); background: var(--navy-900); border-color: var(--navy-900); color: #fff; cursor: pointer; }
  .chip--all .ic { width: 16px; height: 16px; }
  .chip--all:hover { color: #fff; border-color: var(--navy-900); }
}
/* "Site para computador" fix: vw follows the wide (zoomed) viewport, so the
   headline sizes that use vw take their phone value (the clamp minimum). */
html.is-fit .page-header__title { font-size: 1.85rem; }
html.is-fit .news-card__art { font-size: 1rem; }
html.is-fit .news-card--lead .news-card__art { font-size: 1.4rem; }
html.is-fit .news-card--lead .news-card__title { font-size: 1.75rem; }
html.is-fit .radio-zone__title { font-size: 1.6rem; }
html.is-fit .news-article__title { font-size: 1.75rem; }
html.is-fit .news-article__summary { font-size: 1.1rem; }
@media (min-width: 768px) {
  .sheet { inset: 0; height: fit-content; margin: auto; border-radius: 20px; max-height: 80vh; }
  .sheet__grip { display: none; }
  .m-banner { display: none; }
}

/* touch: big targets, press feedback, no hover-only effects, no blue tap flash */
@media (pointer: coarse) {
  html { -webkit-tap-highlight-color: transparent; }
  .chip, .tabs__link { display: inline-flex; align-items: center; min-height: 44px; }
  .share__btn { min-width: 44px; height: 44px; }
  .headline__btn, .video-band__btn { width: 44px; height: 44px; }
  .headline__dot { height: 44px; }
  .section-head__more, .pagination__link, .onair-card__more { min-height: 44px; }
  .breadcrumb a { padding-block: 12px; }
  .site-footer__nav a, .site-footer__contact a { display: inline-flex; align-items: center; min-height: 40px; }
  .btn:active, .chip:active, .share__btn:active, .tabs__link:active, .sheet__link:active, .sheet__app:active, .topbar__search:active, .search-ov__list a:active { transform: scale(.96); }
  .news-card--rail:active, .news-card--secondary:active, .news-card--row:active, .news-card--lead:active { transform: scale(.985); transition: transform .12s; }
  .timeline__item:active, .most-read__item:active, .wire__item:active, .search-ov__results a:active { opacity: .7; }
}
@media (hover: none) {
  .news-card--rail:hover, .news-card--secondary:hover, .play-btn:hover { transform: none; }
  .news-card--rail:hover::before, .news-card--secondary:hover::before, .news-card--row:hover::before { opacity: 0; }
  .news-card:hover .news-card__image, .video-lite:hover .video-lite__thumb { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-wait, .reveal-wait .stagger > * { opacity: 1; transform: none; }
  .site-player__cover { transform: none; }
  .live-badge i::after, .ticker__pulse::after, .listeners__dot::after, .skel::after, .skel-box::after { display: none; }
  .news-card--rail:hover, .news-card--secondary:hover { transform: none; }
  ::view-transition-old(site-main), ::view-transition-new(site-main) { animation: none !important; }
}
@media print {
  .live-strip, .site-nav, .site-player, .site-footer, .site-banners, .share, .article-aside, .site-search, .ticker, .news-pill, .nav-progress, .headline__bar,
  .topbar, .bnav, .article-bar, .m-banner, .chips__all { display: none !important; }
  body.site { padding: 0; }
}
