/**
 * Radiodifusora Studio - folha de estilo única
 * Paleta herdada do tema base: primária #333333, laranja #ff7f00 (texto AA #b85400), neutros cinza.
 *
 *  1. Tokens (escuro / claro)   8.  Cartões               15. Matéria
 *  2. Base                      9.  Seções e grades       16. Rádio ao vivo / programação
 *  3. Layout                    10. Botões e formulários  17. Equipe, autor, contato
 *  4. Cabeçalho e navegação     11. Widgets e plugins     18. Rodapé e flutuantes
 *  5. Busca e alerta            12. Anúncios             19. Responsivo
 *  6. Player em ilha            13. Equalizador
 *  7. Bento (home)              14. Áudio inline
 */

/* ============================ 1. TOKENS ============================ */
:root,
:root[data-theme="dark"] {
    --bg: #161616;
    --surface: #1f1f1f;
    --surface-2: #2a2a2a;
    --surface-3: #333333;
    --line: rgb(255 255 255 / .1);
    --line-2: rgb(255 255 255 / .18);
    --text: #e5e5e5;
    --muted: #a3a3a3;
    --heading: #ffffff;
    --accent-text: #ff9833;       /* laranja claro, legível sobre escuro */
    --accent-text: color-mix(in srgb, var(--accent) 70%, #fff);
    --glass: rgb(31 31 31 / .78);
    --shadow: 0 18px 40px -18px rgb(0 0 0 / .7);
    --blob-a: rgb(255 127 0 / .16);
    --blob-b: rgb(245 158 11 / .10);
    color-scheme: dark;
}
:root[data-theme="light"] {
    --bg: #f9fafb;
    --surface: #ffffff;
    --surface-2: #f3f4f6;
    --surface-3: #e5e7eb;
    --line: rgb(17 24 39 / .1);
    --line-2: rgb(17 24 39 / .18);
    --text: #374151;
    --muted: #6b7280;
    --heading: #111827;
    --accent-text: #b85400;       /* laranja AA sobre branco (mesmo do tema base) */
    --accent-text: color-mix(in srgb, var(--accent) 62%, #000);
    --glass: rgb(255 255 255 / .82);
    --shadow: 0 18px 40px -22px rgb(17 24 39 / .3);
    --blob-a: rgb(255 127 0 / .10);
    --blob-b: rgb(245 158 11 / .08);
    color-scheme: light;
}
:root {
    /* Cores do admin (Configurações › Tema) chegam como --color-primary / --color-secondary */
    --primary: var(--color-primary, #333333);
    --accent: var(--color-secondary, #ff7f00);
    --accent-strong: #b85400;
    --accent-strong: color-mix(in srgb, var(--accent) 68%, #000);
    --accent-2: color-mix(in srgb, var(--accent) 85%, #000);
    --grad: linear-gradient(135deg, #c95f00 0%, #a34a00 100%);
    --grad: linear-gradient(135deg, var(--accent-strong) 0%, color-mix(in srgb, var(--accent-strong) 70%, #000) 100%);
    --live: #dc2626;
    --ok: #10b981;

    --font-d: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-b: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-r: 'Source Serif 4', Georgia, 'Times New Roman', serif;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;

    --wrap: 1240px;
    --gutter: clamp(1rem, 3.4vw, 2rem);
    --gap: clamp(.875rem, 1.8vw, 1.25rem);
    --bar-h: 64px;
    --island-h: 76px;
}

/* ============================= 2. BASE ============================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
    font-family: var(--font-b); font-size: 1rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body[data-dock] { padding-bottom: calc(var(--island-h) + 28px); }
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font-d); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--heading); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--heading); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ff9833; outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 1000; padding: .6rem 1rem; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-weight: 700; }
.skip:focus { top: 1rem; color: #fff; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretch { color: inherit; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(700px 420px at 8% -6%, var(--blob-a), transparent 70%),
        radial-gradient(760px 480px at 100% 8%, var(--blob-b), transparent 70%); }

/* ============================ 3. LAYOUT ============================ */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--read { max-width: calc(820px + var(--gutter) * 2); }
.main { outline: none; min-height: 60vh; }
body.is-loading .main { opacity: .55; transition: opacity .15s; }
.block { padding-block: clamp(1.5rem, 3.4vw, 2.75rem); }
.band { padding-block: clamp(1.75rem, 3.6vw, 3rem); background: var(--surface); border-block: 1px solid var(--line); }

.grid3 { display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.duo { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
.duo__list { display: grid; gap: .25rem; align-content: start; }
.duo2 { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 2rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 232px); gap: var(--gap); overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.more { display: flex; justify-content: center; margin-top: 1.75rem; }

/* ================== 4. CABEÇALHO E NAVEGAÇÃO ======================= */
.bar { position: sticky; top: 12px; z-index: 60; padding-inline: var(--gutter); margin-top: 12px; }
.bar__in {
    position: relative; display: flex; align-items: center; gap: 1rem; max-width: var(--wrap); margin-inline: auto;
    min-height: var(--bar-h); padding: .5rem .75rem .5rem 1.1rem;
    background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-xl);
    -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: var(--shadow);
}
.bar.is-stuck .bar__in { border-color: var(--line-2); }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--heading); flex: 0 0 auto; }
.brand img { height: 36px; width: auto; max-width: 190px; object-fit: contain; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--grad); color: #fff; }
.brand__mark .eq { height: 18px; }
.brand__mark .eq i { background: #fff; width: 3px; }
.brand__name { font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }

.nav { flex: 1 1 auto; min-width: 0; }
.nav .menu-root { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .125rem; }
.nav li { position: relative; }
.nav a { display: block; padding: .5rem .85rem; border-radius: var(--r-sm); font-size: .9375rem; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--heading); background: var(--surface-2); }
.nav a.active { color: var(--heading); background: var(--surface-2); }
.nav .has-submenu > a::after { content: "▾"; margin-left: .35rem; font-size: .7em; opacity: .6; }
.nav .submenu {
    position: absolute; left: 0; top: calc(100% + 10px); min-width: 220px; padding: .4rem; display: none;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.nav .has-submenu:hover > .submenu, .nav .has-submenu:focus-within > .submenu { display: block; }
.nav .submenu a { font-weight: 500; }
.nav .submenu .submenu { left: 100%; top: 0; }

.bar__act { display: flex; align-items: center; gap: .35rem; margin-left: auto; flex: 0 0 auto; }
.ibtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text); font-size: 1.15rem; }
.ibtn:hover { background: var(--surface-2); color: var(--heading); }
.ibtn--menu { display: none; }
.ibtn--glass { background: rgb(255 255 255 / .08); color: #fff; border: 1px solid rgb(255 255 255 / .16); }
.ibtn--glass:hover { background: rgb(255 255 255 / .18); color: #fff; }

.onair-btn {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
    background: var(--grad); color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.onair-btn:hover { color: #fff; filter: brightness(1.1); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: 0 0 auto; animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .65); } 70%, 100% { box-shadow: 0 0 0 8px rgb(255 255 255 / 0); } }

/* ===================== 5. BUSCA E ALERTA =========================== */
.search { max-width: var(--wrap); margin: .5rem auto 0; padding: 1rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.search__form { display: flex; align-items: center; gap: .5rem; padding: .25rem .25rem .25rem 1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; }
.search__form:focus-within { border-color: var(--accent); }
.search__form > i { color: var(--muted); }
.search__form input { flex: 1; min-width: 0; min-height: 46px; border: 0; background: transparent; outline: 0; font-size: 1rem; }
.search__form--page { margin-bottom: 2rem; max-width: 640px; }
.searchpanel__list { display: grid; gap: .25rem; margin-top: .75rem; }
.searchpanel__list a { display: grid; padding: .6rem .8rem; border-radius: var(--r-sm); color: var(--heading); }
.searchpanel__list a:hover { background: var(--surface-2); }
.searchpanel__list small { color: var(--muted); }
.searchpanel__empty { margin: .75rem 0 0; color: var(--muted); }

.alert { display: flex; align-items: center; gap: .875rem; max-width: var(--wrap); margin: 14px auto 0; width: calc(100% - var(--gutter) * 2);
    padding: .5rem .6rem .5rem .6rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; }
.alert__badge { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; background: var(--live); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.alert__t { flex: 1; min-width: 0; color: var(--heading); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert__t:hover { color: var(--accent-text); }
.alert__x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.alert__x:hover { background: var(--surface-2); color: var(--heading); }

/* ======================= 6. PLAYER EM ILHA ========================= */
.island {
    position: fixed; overflow: hidden; left: 50%; bottom: 14px; z-index: 70; transform: translateX(-50%);
    width: min(860px, calc(100% - 24px)); min-height: var(--island-h);
    display: flex; align-items: center; gap: .9rem; padding: .6rem .75rem .6rem .6rem;
    background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-xl);
    -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
    box-shadow: 0 24px 60px -20px rgb(0 0 0 / .6);
}
.island__play {
    flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%;
    background: var(--grad); color: #fff; font-size: 1.9rem; transition: transform .15s;
}
.island__play:hover { transform: scale(1.06); }
.island__play.is-playing { background: #fff; color: #111; }
.island__now { display: grid; min-width: 0; flex: 1 1 0; line-height: 1.25; }
.island__lbl { display: inline-flex; align-items: center; gap: .5rem; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.island__lbl .eq { height: 12px; }
.island__prog { color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-d); font-size: 1.0625rem; }
.island__sub { color: var(--muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.island__sub:empty, .island__sub span:empty { display: none; }
.island__vol { display: flex; align-items: center; gap: .5rem; color: var(--muted); }
.island__vol input { width: 92px; accent-color: var(--accent); }
.island__more { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); background: var(--surface-2); }
.island__more:hover { color: var(--heading); }

.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; }
.seg__b { min-height: 34px; padding: 0 .85rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .05em; }
.seg__b:hover { color: var(--heading); }
.seg__b.is-on { background: var(--grad); color: #fff; }

/* ========================= 7. BENTO (HOME) ========================= */
.bento { display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(400px, auto) minmax(270px, auto); padding-top: clamp(1.25rem, 3vw, 2rem); }
.nowtile { grid-column: span 4; grid-row: span 2; }
.bento__lead { grid-column: span 8; }
.bento__sec { grid-column: span 4; }
.bento__lead, .bento__sec { display: flex; }
.bento__lead > *, .bento__sec > * { flex: 1; }

.nowtile {
    position: relative; display: flex; flex-direction: column; gap: .25rem; padding: clamp(1.25rem, 2.4vw, 1.75rem);
    border-radius: var(--r-lg); color: #fff; overflow: hidden; isolation: isolate;
    background: radial-gradient(500px 300px at 90% 0%, rgb(255 255 255 / .22), transparent 60%), var(--grad);
}
.nowtile::after { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 55%; z-index: -1; background: radial-gradient(closest-side, rgb(0 0 0 / .35), transparent); }
.nowtile__top { display: flex; justify-content: space-between; align-items: center; }
.nowtile .eq { height: 28px; }
.nowtile .eq i { background: #fff; }
.live-tag { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 999px; background: rgb(0 0 0 / .28); font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.nowtile__prog { margin: 1.25rem 0 .25rem; color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.nowtile__host, .nowtile__time { margin: 0; color: rgb(255 255 255 / .8); }
.nowtile__host:empty, .nowtile__time:empty { display: none; }
.nowtile__next { margin-top: auto; padding-top: 1.25rem; }
.nowtile__next h3 { margin: 0 0 .5rem; font-family: var(--font-b); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
.nowtile__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }

.nextlist { display: grid; gap: .45rem; }
.nextlist li { display: flex; gap: .75rem; font-size: .9375rem; }
.nextlist time { flex: 0 0 auto; min-width: 5.5rem; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .9; }
.nextlist__ph { opacity: .75; }
.nextlist--big { gap: 0; }
.nextlist--big li { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--text); }
.nextlist--big time { color: var(--accent-text); }

/* ========================== 8. CARTÕES ============================= */
.ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.25rem; color: rgb(255 255 255 / .35); background: linear-gradient(135deg, var(--surface-3), var(--surface-2)); }
.kicker { display: inline-block; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.tag { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tag--link:hover { color: #fff; filter: brightness(1.2); }
.tag--live { background: var(--live); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .55rem; margin-top: .5rem; font-size: .8125rem; color: var(--muted); }
.meta__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* tile (sobreposto) */
.tile { position: relative; display: flex; min-height: 260px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); isolation: isolate; width: 100%; }
.tile__img { position: absolute; inset: 0; z-index: -1; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(17 17 17 / 0) 25%, rgb(17 17 17 / .55) 60%, rgb(17 17 17 / .92) 100%); }
.tile__body { align-self: flex-end; position: relative; padding: clamp(1rem, 2.2vw, 1.5rem); width: 100%; }
.tile .tag { position: relative; z-index: 2; margin-bottom: .6rem; }
.tile__t { margin: 0; font-size: 1.2rem; line-height: 1.2; color: #fff; }
.tile__t a:hover { color: #fff; }
.tile__x { margin: .6rem 0 0; color: rgb(255 255 255 / .82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 60ch; }
.tile .meta { color: rgb(255 255 255 / .75); }
.tile--lead { min-height: 400px; }
.tile--lead .tile__t { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.1; }
.tile--sm .tile__t { font-size: 1.1rem; }
.tile--md { min-height: 100%; }
.tile--md .tile__t { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

/* story (vertical) */
.story { position: relative; display: grid; gap: .875rem; align-content: start; padding: .6rem .6rem 1rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.story:hover { transform: translateY(-3px); border-color: var(--line-2); }
.story__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); background: var(--surface-2); }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story:hover .story__img img { transform: scale(1.05); }
.story__img .tag { position: absolute; left: .6rem; top: .6rem; z-index: 2; }
.story__body { padding-inline: .5rem; }
.story__t { margin: 0; font-size: 1.0625rem; line-height: 1.3; }
.story__x { margin: .5rem 0 0; font-size: .9375rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* line (compacto) */
.line { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: .9rem; align-items: center; padding: .6rem; border-radius: var(--r-md); transition: background .15s; }
.line:hover { background: var(--surface); }
.line__img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--surface-2); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__t { margin: .15rem 0 0; font-size: 1rem; line-height: 1.3; }

/* rank (numerado) */
.ranks { display: grid; gap: var(--gap); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ranks--col { grid-template-columns: minmax(0, 1fr); gap: 0; }
.rank-card { position: relative; display: flex; gap: .875rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.ranks--col .rank-card { padding: .85rem .25rem; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
.rank-card__n { flex: 0 0 auto; font-family: var(--font-d); font-weight: 700; font-size: 2.5rem; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; min-width: 1.6ch; }
.rank-card__t { margin: .15rem 0 0; font-size: .9375rem; line-height: 1.35; }
.rank-card:hover .rank-card__t { color: var(--accent-text); }

/* podcast */
.pod { position: relative; display: grid; gap: .75rem; align-content: start; }
.pod__img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); background: var(--surface-2); }
.pod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pod:hover .pod__img img { transform: scale(1.05); }
.pod__play { position: absolute; right: .7rem; bottom: .7rem; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.5rem; box-shadow: var(--shadow); }
.pod__t { margin: .1rem 0 0; font-size: 1rem; line-height: 1.3; }
.pod__by { margin: .2rem 0 0; font-size: .875rem; color: var(--muted); }
.pod .audio { position: relative; z-index: 3; margin-top: .5rem; }

/* ===================== 9. SEÇÕES E GRADES ========================== */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.head__t { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); display: flex; align-items: center; gap: .6rem; }
.head__t::before { content: ""; width: 10px; height: 26px; border-radius: 4px; background: var(--grad); }
.head__s { margin: .15rem 0 0 1.35rem; color: var(--muted); font-size: .9375rem; }
.head__link { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; font-size: .875rem; font-weight: 700; color: var(--accent-text); }
.head__link:hover { color: var(--heading); }

.phead { margin-bottom: 2rem; max-width: 760px; }
.phead__label { display: inline-block; margin-bottom: .6rem; padding: .25rem .7rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.phead__t { margin: 0 0 .5rem; font-size: clamp(2rem, 5vw, 3.25rem); }
.phead__d { margin: 0; color: var(--muted); font-size: 1.125rem; }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.25rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .875rem; font-weight: 600; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--line-2); color: var(--heading); }
.chip.is-on { background: var(--grad); border-color: transparent; color: #fff; }

.taglist { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.taglist a { display: inline-block; padding: .35rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: .875rem; font-weight: 600; }
.taglist a:hover { border-color: var(--accent); color: var(--heading); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.pager__i { display: inline-flex; align-items: center; gap: .4rem; min-width: 46px; min-height: 46px; padding: 0 1rem; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--heading); font-weight: 600; }
.pager__i.is-on { background: var(--grad); border-color: transparent; color: #fff; }

.empty { text-align: center; padding: 3.5rem 1rem; color: var(--muted); grid-column: 1 / -1; }
.empty i { display: block; margin-bottom: .75rem; font-size: 2.5rem; opacity: .5; }
.empty p { margin: 0; }

/* ============== 10. BOTÕES E FORMULÁRIOS =========================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .55rem 1.3rem; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: .9375rem; line-height: 1.2; transition: filter .15s, background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--lg { min-height: 52px; padding-inline: 1.6rem; font-size: 1rem; }
.btn--grad { background: var(--grad); color: #fff; }
.btn--grad:hover { color: #fff; filter: brightness(1.12); }
.btn--light { background: #fff; color: #14162b; }
.btn--light:hover { color: #14162b; filter: brightness(.94); }
.btn--glass { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .24); color: #fff; }
.btn--glass:hover { background: rgb(255 255 255 / .24); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--heading); }
.btn--ghost:hover { border-color: var(--accent); color: var(--heading); }
.btn--wa { background: #15803d; color: #fff; }
.btn--wa:hover { background: #166534; color: #fff; }

.form { display: grid; gap: 1rem; }
.form h2, .form h3 { margin: 0; }
.form--card { padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.form__row { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.form__hint { margin: 0; font-size: .8125rem; color: var(--muted); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: .35rem; font-size: .875rem; font-weight: 600; color: var(--heading); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: .65rem .9rem; background: var(--surface-2); color: var(--heading); border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 400; font-size: 1rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 127 0 / .3); }
.notice { padding: .9rem 1rem; border-radius: var(--r-md); margin-bottom: 1rem; font-size: .9375rem; border: 1px solid var(--line); background: var(--surface); }
.notice ul { padding-left: 1.1rem; list-style: disc; }
.notice--ok { border-color: rgb(22 163 74 / .5); color: #4ade80; }
.notice--err { border-color: rgb(239 68 68 / .5); color: #f87171; }
.notice--warn { border-color: rgb(245 158 11 / .5); color: #fbbf24; }
:root[data-theme="light"] .notice--ok { color: #166534; }
:root[data-theme="light"] .notice--err { color: #b91c1c; }
:root[data-theme="light"] .notice--warn { color: #92400e; }

/* ===================== 11. WIDGETS E PLUGINS ======================= */
.widgets { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.mega-sena-widget, .cotacoes-widget, .weather-widget { padding: 1.25rem; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.mega-sena-header, .cotacoes-header, .weather-header { margin-bottom: .9rem; }
.mega-sena-title, .cotacoes-title, .weather-title { display: block; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.mega-sena-subtitle, .cotacoes-subtitle, .weather-subtitle { display: block; font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; color: var(--heading); }
.mega-sena-date, .mega-sena-place, .mega-sena-next-date { margin-bottom: .5rem; color: var(--muted); font-size: .875rem; }
.mega-sena-numbers { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.mega-sena-numbers span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.mega-sena-next { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9375rem; }
.mega-sena-badge { padding: .15rem .65rem; border-radius: 999px; background: var(--surface-3); color: var(--heading); font-size: .75rem; font-weight: 700; }
.mega-sena-empty, .cotacoes-empty, .weather-empty { color: var(--muted); }
.cotacao-item { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.cotacao-item:last-child { border-bottom: 0; }
.cotacao-left { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.cotacao-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--heading); }
.cotacao-labels { display: grid; line-height: 1.25; }
.cotacao-code { font-size: .6875rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.cotacao-name { font-weight: 600; color: var(--heading); }
.cotacao-values { display: grid; text-align: right; line-height: 1.25; font-variant-numeric: tabular-nums; }
.cotacao-bid { font-weight: 700; color: var(--heading); }
.cotacao-change { font-size: .8125rem; font-weight: 700; }
.cotacao-change.up { color: #4ade80; }
.cotacao-change.down { color: #ff9833; }
.cotacoes-footer, .weather-footer { margin-top: .75rem; font-size: .75rem; color: var(--muted); }
.weather-main { display: flex; align-items: center; gap: 1rem; }
.weather-icon { font-size: 2.5rem; color: #fbbf24; }
.weather-temp { font-family: var(--font-d); font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--heading); }
.weather-desc { color: var(--muted); }
.weather-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem; margin-top: 1rem; }
.weather-stat { padding: .5rem .75rem; border-radius: var(--r-sm); background: var(--surface-2); font-size: .875rem; }
.topbar-cotacao, .cotacoes-top { display: inline-flex; gap: .35rem; align-items: center; }

/* ========================== 12. ANÚNCIOS =========================== */
.adslot { padding-block: 1rem; text-align: center; }
.adslot .anuncio, .adinline .anuncio { display: inline-block; max-width: 100%; }
.adslot img, .adinline img, .panel--ad img { margin-inline: auto; height: auto; border-radius: var(--r-sm); }
.adinline { margin: 1.75rem 0; padding: .75rem 0; text-align: center; border-block: 1px dashed var(--line-2); }
.ad-rotator { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.ad-rotator-item { display: flex; justify-content: center; }

/* anúncios dentro do feed */
.adfeed { grid-column: 1 / -1; display: flex; justify-content: center; padding: .25rem 0; }
.adfeed .anuncio, .adfeed img { max-width: 100%; height: auto; }
.adfeed--mobile { display: none; }
@media (max-width: 680px) { .adfeed--mobile { display: flex; } }

/* ======================= 13. EQUALIZADOR =========================== */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { display: block; width: 4px; height: 100%; border-radius: 2px; background: var(--accent); transform-origin: bottom; transform: scaleY(.25);
    animation: eq 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -.19s); animation-play-state: paused; }
body.is-radio-playing .eq i { animation-play-state: running; }
.eq i:nth-child(3n+1) { animation-duration: .9s; }
.eq i:nth-child(3n+2) { animation-duration: 1.3s; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }

/* ======================== 14. ÁUDIO INLINE ========================= */
.audio { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .4rem .85rem .4rem .4rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; }
.audio__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.25rem; }
.audio__time { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.audio__bar { width: 100%; min-width: 0; accent-color: var(--accent); }

/* ============================ 15. MATÉRIA ========================== */
.readprogress { position: fixed; left: 0; right: 0; top: 0; z-index: 90; height: 3px; pointer-events: none; }
.readprogress span { display: block; width: 0; height: 100%; background: var(--grad); }

.ahero { position: relative; margin-top: 12px; padding-block: clamp(1.5rem, 4vw, 3rem); }
.ahero--img { min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; margin-inline: var(--gutter); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; padding-block: clamp(1.5rem, 4vw, 2.75rem); }
.ahero__img { position: absolute; inset: 0; z-index: -2; }
.ahero__img img { width: 100%; height: 100%; object-fit: cover; }
.ahero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(17 17 17 / .25) 0%, rgb(17 17 17 / .55) 45%, rgb(17 17 17 / .94) 100%); }
.ahero__in { width: 100%; max-width: 980px; margin-inline: 0; }
.ahero--img .ahero__in { margin-inline: auto; }
.ahero__t { margin: .9rem 0 .75rem; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.ahero--img .ahero__t { color: #fff; }
.ahero__x { margin: 0 0 1.1rem; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 70ch; }
.ahero--img .ahero__x { color: rgb(255 255 255 / .85); }
.ahero__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .875rem; color: var(--muted); }
.ahero--img .ahero__meta { color: rgb(255 255 255 / .8); }
.ahero__by a { font-weight: 700; color: var(--heading); }
.ahero--img .ahero__by a { color: #fff; }
.ahero__by i { margin-right: .3rem; }

.crumbs { margin-bottom: 1rem; font-size: .8125rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .4; }
.crumbs a, .crumbs span { color: var(--muted); }
.ahero--img .crumbs a, .ahero--img .crumbs span { color: rgb(255 255 255 / .75); }

.article-grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: 56px minmax(0, 1fr) 320px; align-items: start; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.sharerail { position: sticky; top: 100px; display: grid; gap: .5rem; }
.sharebtn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--heading); font-size: 1.15rem; }
.sharebtn:hover { border-color: var(--accent); color: var(--heading); }
.sharerow { display: flex; gap: .5rem; margin-top: 1.5rem; }
.article-main { min-width: 0; }
.article-aside { display: grid; gap: var(--gap); position: sticky; top: 100px; }
.panel { padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel__t { margin: 0 0 .5rem; font-size: 1.05rem; }
.panel--ad { text-align: center; }
.panel--plain { padding: 0; border: 0; background: none; }

.amedia { margin: 0 0 1.5rem; }
.amedia video { width: 100%; border-radius: var(--r-lg); background: #000; }
.credit { margin: 0 0 1.25rem; font-size: .8125rem; color: var(--muted); }

.prose { font-family: var(--font-r); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.85; color: var(--text); max-width: 68ch; }
.prose > * + * { margin-top: 1.3em; }
.prose p { margin: 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-d); margin: 2em 0 .5em; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose video, .prose iframe { border-radius: var(--r-md); }
.prose iframe { width: 100%; }
.prose ul, .prose ol { padding-left: 1.4em; list-style: revert; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-inline: 0; padding: .5em 0 .5em 1.4rem; border-left: 4px solid; border-image: var(--grad) 1; font-size: 1.15em; color: var(--heading); }
.prose figcaption { font-family: var(--font-b); font-size: .8125rem; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--font-b); font-size: .9375rem; }
.prose th, .prose td { padding: .55rem .75rem; border: 1px solid var(--line); text-align: left; }
.read__meta { display: flex; gap: 1.25rem; margin: -1rem 0 1.5rem; color: var(--muted); font-size: .875rem; }

.readalso { font-family: var(--font-b); margin-block: 1.75rem; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md); }
.readalso strong { display: block; margin-bottom: .4rem; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.readalso ul { display: grid; gap: .4rem; }
.readalso a { font-weight: 600; color: var(--heading); }
.readalso a:hover { color: var(--accent-text); }

.partner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; margin-block: 2.5rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.partner img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--r-md); background: #fff; }
.partner h2 { margin: .4rem 0 .25rem; font-size: 1.05rem; }
.partner p { margin: 0; font-size: .875rem; color: var(--muted); }
.partner .tag { background: var(--surface-3); color: var(--heading); }

.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.comments__head h2 { margin: 0; font-size: 1.4rem; }
.comments__head .tag { background: var(--surface-3); color: var(--heading); }
.comments__empty { color: var(--muted); }
.comments__list { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.comment { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .9rem; }
.comment__av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; }
.comment__head { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }
.comment__head strong { color: var(--heading); }
.comment__head time { font-size: .8125rem; color: var(--muted); }
.comment p { margin: .25rem 0 0; }

/* ============ 16. RÁDIO AO VIVO / PROGRAMAÇÃO ====================== */
.stage { position: relative; margin: 12px var(--gutter) 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; background: #1f1f1f; }
.stage__bg { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(700px 420px at 15% 10%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%),
    radial-gradient(760px 480px at 90% 90%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 65%),
    var(--primary); background-size: cover; background-position: center; }
.stage__bg[style] { background-blend-mode: normal; }
.stage__in { display: grid; justify-items: center; text-align: center; gap: .5rem; padding-block: clamp(2.5rem, 7vw, 5rem); }
.stage__viz { margin: 1.25rem 0 .5rem; }
.stage__viz .eq { height: clamp(60px, 11vw, 110px); gap: clamp(3px, .6vw, 6px); }
.stage__viz .eq i { width: clamp(5px, 1vw, 10px); background: linear-gradient(180deg, #ff9833, #ff7f00); }
.stage__prog { margin: 0; color: #fff; font-size: clamp(2rem, 6vw, 4rem); text-wrap: balance; }
.stage__host { margin: 0; color: rgb(255 255 255 / .8); font-size: 1.15rem; }
.stage__host:empty { display: none; }
.stage__sub { margin: 0 0 1rem; color: rgb(255 255 255 / .65); }
.stage__play { display: grid; place-items: center; width: 108px; height: 108px; border: 0; border-radius: 50%; background: #fff; color: #14162b; font-size: 3.5rem; box-shadow: 0 20px 50px -12px rgb(255 127 0 / .55); transition: transform .15s; }
.stage__play:hover { transform: scale(1.06); }
.stage__play.is-playing { background: var(--grad); color: #fff; }
.stage__status { margin: .5rem 0 0; color: rgb(255 255 255 / .7); font-size: .9375rem; }
.stage__tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; margin-top: 1rem; }
.stage__vol { display: flex; align-items: center; gap: .5rem; color: rgb(255 255 255 / .75); }
.stage__vol input { width: 150px; accent-color: #ff9833; }
.stage__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.stage .seg { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .18); }
.stage .seg__b { color: rgb(255 255 255 / .8); }

.steps { display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: .9rem; align-items: start; }
.steps i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-md); background: var(--surface-2); color: var(--accent-text); font-size: 1.25rem; }
.steps strong { display: block; color: var(--heading); }
.steps span { color: var(--muted); font-size: .9375rem; }

.timeline__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.timeline__row time { font-family: var(--font-d); font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.timeline__row strong { display: block; color: var(--heading); }
.timeline__row span { color: var(--muted); font-size: .875rem; }

.nowstrip { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; padding: 1rem 1.25rem; margin-bottom: 1.75rem; border-radius: var(--r-lg); color: #fff; background: var(--grad); }
.nowstrip strong { color: #fff; font-family: var(--font-d); font-size: 1.15rem; }
.nowstrip__m { color: rgb(255 255 255 / .85); }
.nowstrip__m:empty { display: none; }
.nowstrip .btn { margin-left: auto; }

.tabs { display: flex; gap: .35rem; overflow-x: auto; padding: .35rem; margin-bottom: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; min-height: 42px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; font-size: .9375rem; }
.tab:hover { color: var(--heading); }
.tab.is-on { background: var(--grad); color: #fff; }
.tab--today:not(.is-on)::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-radius: 50%; background: var(--accent); vertical-align: middle; }

.slots { display: grid; gap: .6rem; }
.slot { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.slot.is-live { border-color: var(--live); box-shadow: inset 4px 0 0 var(--live); }
.slot__time { font-family: var(--font-d); font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.slot__name { margin: 0; font-size: 1.1rem; }
.slot__sub { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .15rem 0 0; font-size: .875rem; color: var(--muted); }
.slot__tags { display: inline-flex; gap: .35rem; }
.slot .tag { background: var(--surface-3); color: var(--heading); }
.slot .tag--live { background: var(--live); color: #fff; }

/* ============= 17. EQUIPE, AUTOR, PODCAST, CONTATO ================= */
.person { text-align: center; }
.person__ph { position: relative; aspect-ratio: 1; overflow: hidden; margin-bottom: .9rem; border-radius: var(--r-lg); background: var(--surface-2); }
.person__ph img { width: 100%; height: 100%; object-fit: cover; }
.person__n { margin: 0; font-size: 1.15rem; }
.person__r { margin: .1rem 0 .5rem; font-weight: 700; font-size: .875rem; color: var(--accent-text); }
.person__b { color: var(--muted); font-size: .9375rem; }

.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.socials--sm { justify-content: center; margin-top: .5rem; }
.socials a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); }
.socials a:hover { background: var(--grad); border-color: transparent; color: #fff; }

.author { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; margin-bottom: 2.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.author__av { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: var(--grad); color: #fff; font-size: 2.75rem; }
.author__av img { width: 100%; height: 100%; object-fit: cover; }
.author .phead__t { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }

.ep { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-bottom: 3rem; }
.ep__cover { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-xl); background: var(--surface-2); box-shadow: var(--shadow); }
.ep__cover img { width: 100%; height: 100%; object-fit: cover; }
.ep__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; color: var(--muted); font-size: .9375rem; }
.ep__player { margin: 1.25rem 0; }
.ep .prose { margin-top: 1rem; }

.contactlist { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
.contactlist li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 1rem; align-items: start; }
.contactlist i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: var(--r-md); background: var(--surface-2); color: var(--accent-text); font-size: 1.25rem; }
.contactlist strong { display: block; color: var(--heading); }
.contactlist span, .contactlist a { color: var(--muted); }
.contactlist a:hover { color: var(--heading); }

.lost { text-align: center; }
.lost__code { display: block; font-family: var(--font-d); font-weight: 700; font-size: clamp(6rem, 22vw, 11rem); line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lost .search__form { margin-inline: auto; }

/* ================== 18. RODAPÉ E FLUTUANTES ======================== */
.foot { margin-top: 3.5rem; padding-top: 3rem; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); }
.foot__top { display: grid; gap: 2.5rem; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); padding-bottom: 2.5rem; }
.foot__word { margin: 0 0 .5rem; font-family: var(--font-d); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.foot__desc { max-width: 42ch; }
.foot__freq { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-s { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); font-size: .8125rem; font-weight: 600; }
.foot__col h2 { margin: 0 0 1rem; font-family: var(--font-b); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--heading); }
.foot__col ul { display: grid; gap: .6rem; }
.foot__col a { color: var(--muted); }
.foot__col a:hover { color: var(--heading); }
.foot__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.foot__contact i { margin-top: .25rem; color: var(--accent-text); }
.foot__ads { padding-block: 1.25rem; text-align: center; border-top: 1px solid var(--line); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.25rem; border-top: 1px solid var(--line); font-size: .8125rem; }
.foot__bottom p { margin: 0; }
.foot__bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.foot__bottom a { color: var(--muted); }
.foot__bottom a:hover { color: var(--heading); }

.fab { position: fixed; right: 14px; bottom: 14px; z-index: 65; display: grid; justify-items: end; gap: .5rem; }
body[data-dock] .fab { bottom: calc(var(--island-h) + 32px); }
.fab__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #15803d; color: #fff; font-size: 1.5rem; box-shadow: var(--shadow); }
.fab__menu { display: grid; gap: .25rem; padding: .4rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--shadow); }
.fab__menu a { display: flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: var(--r-sm); color: var(--heading); font-weight: 600; }
.fab__menu a:hover { background: var(--surface-2); }
.fab__menu i { color: #4ade80; }
.totop { position: fixed; left: 14px; bottom: 14px; z-index: 64; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
body[data-dock] .totop { bottom: calc(var(--island-h) + 32px); }

/* faixa de informações acima do cabeçalho */
.strip { font-size: .8125rem; color: var(--muted); }
.strip__in { display: flex; justify-content: center; max-width: var(--wrap); margin-inline: auto; padding: .5rem var(--gutter) 0; }
.strip__info { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem 1.25rem; }
.strip__info i { margin-right: .35rem; color: var(--accent); }
.strip__info .cotacoes-top { display: inline-flex; align-items: center; gap: .35rem; }
.strip__info .cotacoes-top i { margin: 0; }
[data-clock-date] { text-transform: capitalize; }
.bar { margin-top: 8px; }

/* selos de aplicativo */
.apps { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.apps__b { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .9rem; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); line-height: 1.15; font-weight: 700; }
.apps__b i { font-size: 1.4rem; }
.apps__b small { display: block; font-size: .6875rem; font-weight: 500; color: var(--muted); }
.apps__b:hover { border-color: var(--accent); color: var(--heading); }

/* ====================== 20. REFINAMENTOS PRO ======================= */
/* barra de carregamento da navegação parcial */
body.is-loading::before {
    content: ""; position: fixed; left: 0; top: 0; z-index: 100; height: 3px; width: 40%;
    background: var(--grad); border-radius: 0 3px 3px 0; animation: loadbar 1s ease-in-out infinite;
}
@keyframes loadbar { 0% { left: -40%; } 100% { left: 100%; } }
.main { animation: fadein .25s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* progresso do programa no ar */
.progress { height: 4px; border-radius: 4px; background: rgb(255 255 255 / .25); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; border-radius: 4px; background: #fff; transition: width .6s ease; }
.nowtile .progress { margin-top: .9rem; }
.progress--stage { width: min(360px, 80%); margin-top: .5rem; background: rgb(255 255 255 / .18); }
.progress--stage span { background: var(--accent); }
.island__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0; background: transparent; }
.island__progress span { background: var(--accent); border-radius: 0; }

/* skeleton do feed */
.skel { min-height: 300px; border-radius: var(--r-lg); border: 1px solid var(--line);
    background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 220% 100%;
    animation: skel 1.2s linear infinite; }
@keyframes skel { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* newsletter */
.news { display: grid; gap: 1.25rem 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
    margin-bottom: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg);
    background: var(--surface-2); border: 1px solid var(--line); }
.news h2 { margin: 0 0 .25rem; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.news p { margin: 0; color: var(--muted); }
.news__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.news__form input { min-height: 48px; padding: 0 1.1rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--heading); font-size: 1rem; }
.news__form input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 127 0 / .3); }
.news__msg { grid-column: 1 / -1; min-height: 1.4em; font-size: .875rem; }
.news__msg.is-ok { color: var(--ok); }
.news__msg.is-err { color: #ef4444; }

/* aviso de cookies / LGPD */
.consent { position: fixed; left: 50%; bottom: 14px; z-index: 90; transform: translateX(-50%);
    display: flex; align-items: center; gap: 1rem; width: min(760px, calc(100% - 24px)); padding: .9rem 1rem .9rem 1.25rem;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); font-size: .9rem; }
.consent p { margin: 0; flex: 1; color: var(--text); }
.consent[hidden] + .island, .consent:not([hidden]) ~ .island { bottom: 96px; }

.sharebtn--native { display: none; }
@media (hover: none) and (pointer: coarse) { .sharebtn--native:not([hidden]) { display: inline-grid; } }

/* tipografia e detalhes */
.tile__t, .story__t, .line__t, .pod__t, .rank-card__t { text-wrap: balance; }
.story__body, .line__body { font-variant-numeric: tabular-nums; }
.story, .line, .rank-card, .pod { content-visibility: auto; contain-intrinsic-size: 1px 320px; }
.tile .tag, .story__img .tag { box-shadow: 0 2px 8px rgb(0 0 0 / .25); }
a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.btn--grad, .onair-btn, .seg__b.is-on, .chip.is-on, .tab.is-on, .island__play, .audio__btn { text-shadow: 0 1px 0 rgb(0 0 0 / .15); }
.head__t::before { box-shadow: 0 0 14px rgb(255 127 0 / .45); }

/* ===================== SORTEIOS (plugin) =========================== */
.draws { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.draws--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.draw { position: relative; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.draw__img { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.draw__img img { width: 100%; height: 100%; object-fit: cover; }
.draw__img .tag { position: absolute; left: .75rem; top: .75rem; z-index: 2; background: var(--grad); }
.draw__body { padding: 1.25rem; }
.draw__t { margin: 0 0 .5rem; font-size: 1.25rem; }
.draw__x { color: var(--muted); }
.draw__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: .75rem 0 1rem; font-size: .875rem; color: var(--muted); }
.draw__meta i { margin-right: .35rem; color: var(--accent); }
.draw__form summary { list-style: none; cursor: pointer; }
.draw__form summary::-webkit-details-marker { display: none; }
.draw__form[open] summary { margin-bottom: 1rem; }
.draw--row { grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
.draw--row .draw__img { aspect-ratio: 1; height: 100%; }
.draw--row .draw__t { font-size: 1.05rem; }
.draw--row .draw__body { padding: .9rem 1rem; }
.draw-done .story__t { font-size: 1rem; }
.winners { display: grid; gap: .35rem; margin-top: .6rem; }
.winners li { display: flex; gap: .5rem; align-items: flex-start; font-size: .875rem; color: var(--text); }
.winners i { margin-top: .2rem; color: #fbbf24; }
.block-sp { height: clamp(1.5rem, 3vw, 3rem); }
.tag--accent { background: var(--grad); }

/* modal (pop-up de sorteio) */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; }
.modal__bd { position: absolute; inset: 0; background: rgb(0 0 0 / .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); width: min(860px, 100%); max-height: calc(100vh - 2rem); overflow: auto;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .7); animation: pop .25s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__x { position: absolute; right: .6rem; top: .6rem; z-index: 3; background: rgb(0 0 0 / .45); color: #fff; }
.modal__img { position: relative; min-height: 220px; background: var(--surface-2); }
.modal__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(1.25rem, 3vw, 2rem); align-self: center; }
.modal__body .tag { margin-bottom: .75rem; }
.modal__body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.modal__act { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
body.modal-open { overflow: hidden; }

/* =========================== 19. RESPONSIVO ======================== */
@media (max-width: 1100px) {
    .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ranks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .article-grid { grid-template-columns: 56px minmax(0, 1fr); }
    .article-aside { grid-column: 1 / -1; position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news { grid-template-columns: minmax(0, 1fr); }
    .island__vol { display: none; }
}

@media (max-width: 920px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
    .nowtile { grid-column: 1 / -1; grid-row: auto; }
    .bento__lead { grid-column: 1 / -1; }
    .bento__sec { grid-column: span 1; }
    .bento__lead .tile { min-height: 380px; }
    .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .draws, .draws--compact { grid-template-columns: minmax(0, 1fr); }
    .duo, .duo2, .ep { grid-template-columns: minmax(0, 1fr); }
    .ep__cover { max-width: 320px; }

    .ibtn--menu { display: inline-grid; }
    .nav {
        position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 55; display: none; padding: .75rem 1rem 1rem;
        background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow);
        max-height: calc(100vh - 150px); overflow-y: auto;
    }
    .nav.is-open { display: block; }
    .nav .menu-root { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .25rem; }
    .nav a { padding: .9rem .5rem; font-family: var(--font-d); font-size: 1.2rem; font-weight: 600; color: var(--heading); border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
    .nav .has-submenu > a::after { content: none; }
    .strip { display: none; }
    .nav .submenu { position: static; display: block; min-width: 0; padding: 0 0 0 1rem; border: 0; box-shadow: none; background: none; }
    .nav .submenu a { font-size: 1.1rem; }
    .onair-btn .dot { display: none; }
}

@media (max-width: 680px) {
    :root { --island-h: 68px; --bar-h: 58px; }
    .grid3, .grid4 { grid-template-columns: minmax(0, 1fr); }
    .ranks { grid-template-columns: minmax(0, 1fr); }
    .bento__sec { grid-column: 1 / -1; }
    .form__row { grid-template-columns: minmax(0, 1fr); }
    .modal__box { grid-template-columns: minmax(0, 1fr); }
    .modal__img { min-height: 160px; }
    .article-grid { grid-template-columns: minmax(0, 1fr); }
    .sharerail { position: static; display: flex; order: 2; }
    .partner { grid-template-columns: minmax(0, 1fr); }
    .author { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .timeline__row, .slot { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
    .slot__tags { justify-self: start; }
    .foot__top { grid-template-columns: minmax(0, 1fr); }
    .news__form { grid-template-columns: minmax(0, 1fr); }
    .consent { flex-direction: column; align-items: stretch; text-align: left; }
    .consent:not([hidden]) ~ .island { bottom: 150px; }
    .nowstrip .btn { margin-left: 0; }
    .head { flex-direction: column; align-items: flex-start; gap: .35rem; }
    .island { gap: .6rem; padding: .5rem .6rem .5rem .5rem; bottom: 8px; }
    .island__play { width: 50px; height: 50px; font-size: 1.6rem; }
    .island__more { display: none; }
    .stage__play { width: 92px; height: 92px; font-size: 3rem; }
    .bar__in { padding-left: .9rem; }
    .brand__name { font-size: 1.05rem; }
}

@media print {
    .bar, .island, .fab, .totop, .alert, .adslot, .adinline, .article-aside, .sharerail, .comments, .partner, .foot, .readprogress, .bgfx { display: none !important; }
    body { background: #fff; color: #000; padding: 0 !important; }
    .ahero__t, .prose { color: #000 !important; }
}

/* aviso de pré-visualização beta */
.betabar { position: fixed; left: 50%; top: 10px; z-index: 110; transform: translateX(-50%); display: flex; align-items: center; gap: .6rem; max-width: calc(100% - 20px); padding: .35rem .5rem .35rem .75rem; border-radius: 999px; background: #1f1f1f; color: #fff; font-size: .8125rem; box-shadow: 0 10px 30px rgb(0 0 0 / .35); }
.betabar__tag { padding: .1rem .5rem; border-radius: 999px; background: var(--accent, #ff7f00); color: #111; font-weight: 800; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; }
.betabar__out { padding: .35rem .8rem; border-radius: 999px; background: #fff; color: #111; font-weight: 700; white-space: nowrap; }
.betabar__out:hover { background: #e5e5e5; color: #111; }
@media (max-width: 680px) { .betabar__txt { display: none; } }

.betabar__vote { padding: .35rem .8rem; border: 0; border-radius: 999px; background: var(--accent, var(--brand, #ff7f00)); color: #111; font: inherit; font-weight: 700; cursor: pointer; }
.betabar__vote:hover { filter: brightness(1.1); }
