/* ==========================================================================
   Rádio Positiva FM — folha de estilos
   Tema claro (padrão) e escuro via [data-theme="dark"]
   ========================================================================== */

:root {
  color-scheme: light;

  --bg: #f4f6fb;
  --bg-alt: #eaeef7;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --surface-3: #eaf3ff;

  --text: #171c25;
  --text-strong: #0a0e15;
  --muted: #5c6979;

  --line: #e2e7f0;
  --line-strong: #ccd6e5;

  --brand: #1d5fd1;
  --brand-dark: #164ba5;
  --brand-fill: #1d5fd1;
  --brand-fill-dark: #164ba5;
  --brand-soft: #e8f1ff;
  --brand-line: #bcd4f8;
  --brand-text: #163d8a;

  --accent: #1ca35d;
  --accent-soft: #e4f7ec;
  --danger: #e53935;

  --nav-bg: linear-gradient(100deg, #123a80 0%, #1d5fd1 58%, #2f7ae8 100%);
  --nav-hover: rgba(255, 255, 255, .12);
  --header-bg: rgba(255, 255, 255, .84);
  --topbar-bg: #0c1320;
  --footer-bg: #101725;
  --footer-text: #b6c2d3;
  --footer-line: rgba(255, 255, 255, .1);
  --hero-vignette: linear-gradient(to top, rgba(3, 9, 20, .94) 0%, rgba(3, 9, 20, .55) 48%, rgba(3, 9, 20, .1) 100%);
  --glow-1: rgba(29, 95, 209, .13);
  --glow-2: rgba(28, 163, 93, .1);

  --shadow: 0 1px 2px rgba(13, 25, 48, .05), 0 10px 26px -18px rgba(13, 25, 48, .35);
  --shadow-lg: 0 24px 52px -24px rgba(13, 25, 48, .45);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #090d14;
  --bg-alt: #0d131d;
  --surface: #121a26;
  --surface-2: #0f1722;
  --surface-3: #16233a;

  --text: #e3eaf5;
  --text-strong: #ffffff;
  --muted: #8e9fb7;

  --line: #222d3d;
  --line-strong: #32405a;

  --brand: #4d8cf7;
  --brand-dark: #7aabff;
  --brand-fill: #2b6ae3;
  --brand-fill-dark: #2459c4;
  --brand-soft: rgba(77, 140, 247, .14);
  --brand-line: rgba(77, 140, 247, .42);
  --brand-text: #9cc0ff;

  --accent: #2fd07a;
  --accent-soft: rgba(47, 208, 122, .14);
  --danger: #ff5a55;

  --nav-bg: linear-gradient(100deg, #0b1524 0%, #12264a 58%, #1b3a6b 100%);
  --nav-hover: rgba(255, 255, 255, .1);
  --header-bg: rgba(10, 14, 21, .82);
  --topbar-bg: #060a10;
  --footer-bg: #070b12;
  --footer-text: #93a3b9;
  --footer-line: rgba(255, 255, 255, .08);
  --hero-vignette: linear-gradient(to top, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .6) 48%, rgba(0, 0, 0, .2) 100%);
  --glow-1: rgba(77, 140, 247, .16);
  --glow-2: rgba(47, 208, 122, .08);

  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 28px -18px rgba(0, 0, 0, .9);
  --shadow-lg: 0 26px 60px -26px rgba(0, 0, 0, .95);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 1rem;
  background:
    radial-gradient(1100px 620px at 6% -10%, var(--glow-1), transparent 62%),
    radial-gradient(900px 520px at 104% 2%, var(--glow-2), transparent 58%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--brand-fill); color: #fff; }

.container { width: min(1240px, calc(100% - 2rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 3px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* --------------------------------------------------------------------------
   Barra superior
   -------------------------------------------------------------------------- */
.topbar { background: var(--topbar-bg); color: #d3dbe8; font-size: .84rem; }
.topbar-inner, .header-inner, .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-inner { padding: .45rem 0; }
.topbar-left { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-left i, .topbar-social a:hover { color: #7db0ff; }
.topbar-social { display: flex; gap: .35rem; }
.topbar-social a {
  width: 30px; height: 30px; display: grid; place-items: center; color: #fff; opacity: .85;
  border-radius: 50%; transition: background .2s ease, opacity .2s ease, transform .2s ease;
}
.topbar-social a:hover { opacity: 1; background: rgba(255, 255, 255, .12); transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   Cabeçalho e navegação
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s ease, padding .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(8, 18, 38, .75); }
.header-inner { padding: 1rem 0; transition: padding .3s ease; }
.site-header.is-scrolled .header-inner { padding: .55rem 0; }

.brand { display: flex; align-items: center; gap: .75rem; }
.brand img {
  width: 62px; height: 62px; object-fit: contain;
  transition: width .3s ease, height .3s ease, transform .3s ease;
  filter: drop-shadow(0 6px 12px rgba(20, 60, 140, .18));
}
.brand:hover img { transform: rotate(-3deg) scale(1.03); }
.site-header.is-scrolled .brand img { width: 48px; height: 48px; }
.brand-text strong {
  display: block; font-size: 2rem; line-height: 1; color: var(--brand-text);
  font-weight: 800; letter-spacing: -.035em; transition: font-size .3s ease;
}
.site-header.is-scrolled .brand-text strong { font-size: 1.6rem; }
.brand-text span { font-size: .82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.live-chip, .btn-primary, .play-btn, .menu-btn, .footer-play, .theme-toggle, .day-tab { cursor: pointer; border: 0; }

.live-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand-soft); color: var(--brand-text);
  padding: .7rem 1.05rem; font-weight: 700; border-radius: 99px;
  border: 1px solid transparent;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.live-chip:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px var(--brand); border-color: var(--brand-line); }

.live-dot {
  width: 8px; height: 8px; background: var(--danger); border-radius: 50%;
  display: inline-block; flex: 0 0 8px;
  animation: dotPulse 2.4s ease-in-out infinite;
}

.theme-toggle {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--brand-text); font-size: .95rem;
  transition: transform .3s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); transform: rotate(-14deg); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline-block; }

.menu-btn {
  display: none; background: transparent; font-size: 1.4rem; color: var(--brand-text);
  padding: .35rem .45rem; border-radius: var(--radius-sm);
}
.menu-btn:hover { background: var(--brand-soft); }

.main-nav { background: var(--nav-bg); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.nav-inner { justify-content: flex-start; gap: 0; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  position: relative; padding: .85rem 1rem; font-weight: 700; font-size: .94rem;
  white-space: nowrap; color: rgba(255, 255, 255, .92);
  transition: background .2s ease, color .2s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 3px;
  background: #fff; border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1);
}
.nav-link:hover { background: var(--nav-hover); color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { background: var(--nav-hover); color: #fff; }

/* --------------------------------------------------------------------------
   Hero e player
   -------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 1.25rem; padding: 1.6rem 0 2rem; }

.hero-main {
  position: relative; min-height: 440px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: #05080f;
  isolation: isolate;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover; opacity: .92;
  animation: kenburns 26s ease-in-out infinite alternate;
}
.hero-overlay { position: absolute; inset: 0; background: var(--hero-vignette); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.25rem; color: #fff; }
.hero-content > * { animation: heroUp .85s cubic-bezier(.2, .7, .3, 1) both; }
.hero-content > *:nth-child(1) { animation-delay: .05s; }
.hero-content > *:nth-child(2) { animation-delay: .14s; }
.hero-content > *:nth-child(3) { animation-delay: .23s; }
.hero-content > *:nth-child(4) { animation-delay: .32s; }

.kicker, .tag {
  display: inline-block; font-size: .74rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .07em; padding: .36rem .6rem; border-radius: 6px;
  background: var(--brand-fill); color: #fff; margin-bottom: .75rem;
}
.hero-content .kicker { background: var(--brand-fill); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .8); }
.kicker-dark { background: var(--surface-3); color: var(--brand-text); }

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.03; margin: 0 0 .8rem;
  max-width: 15ch; font-weight: 800; letter-spacing: -.035em;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-content p { max-width: 56ch; font-size: 1.06rem; margin: 0 0 1.35rem; color: rgba(255, 255, 255, .92); }

.btn-primary {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--brand-fill); color: #fff; padding: .82rem 1.25rem;
  font-weight: 700; border-radius: 99px;
  box-shadow: 0 14px 30px -16px rgba(29, 95, 209, .9);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary:hover { background: var(--brand-fill-dark); transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(29, 95, 209, 1); }
.btn-primary i { transition: transform .2s ease; }
.btn-primary:hover i { transform: translateX(2px); }

.hero-side { display: grid; gap: 1.25rem; align-content: start; }

.player-box, .side-list, .widget, .news-card, .contact-card, .stat-box, .host-card, .widget-card, .news-live-card, .partner-card, .schedule-item, .loteria-item {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.player-box {
  padding: 1.3rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  position: relative; overflow: hidden;
}
.player-box::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: .9;
}
.box-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line);
}
.box-title { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-strong); display: inline-flex; align-items: center; gap: .5rem; }
.box-tag { font-size: .72rem; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: .22rem .5rem; border-radius: 99px; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; margin-left: .1rem; }
.eq i { width: 3px; height: 100%; background: var(--brand); border-radius: 2px; transform: scaleY(.35); opacity: .5; transform-origin: bottom; }
.player-box.is-playing .eq i { opacity: 1; animation: eq .95s ease-in-out infinite; }
.player-box.is-playing .eq i:nth-child(2) { animation-delay: .16s; }
.player-box.is-playing .eq i:nth-child(3) { animation-delay: .32s; }
.player-box.is-playing .eq i:nth-child(4) { animation-delay: .08s; }

.player-label { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.player-box h2 { margin: .35rem 0; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.02em; color: var(--text-strong); }
.player-artist { margin: 0; color: var(--brand); font-weight: 700; }
.player-status { margin: .35rem 0 .85rem; color: var(--muted); font-size: .9rem; }
.player-onair { margin: -.35rem 0 1rem; font-size: .86rem; color: var(--text); font-weight: 600; }
.player-onair i { color: var(--brand); margin-right: .35rem; }

.player-controls { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.play-btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), var(--brand-fill-dark)); color: #fff;
  font-size: 1.15rem; flex: 0 0 56px; display: grid; place-items: center;
  box-shadow: 0 14px 26px -14px rgba(29, 95, 209, .95);
  transition: transform .2s ease, box-shadow .2s ease;
}
.play-btn:hover { transform: scale(1.06); box-shadow: 0 18px 32px -14px rgba(29, 95, 209, 1); }
.play-btn:active { transform: scale(.97); }
.player-box.is-playing .play-btn::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--brand); opacity: 0; animation: ring 2.2s ease-out infinite;
}
.volume { flex: 1; display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.volume input { width: 100%; accent-color: var(--brand); cursor: pointer; }
.player-meta {
  display: flex; justify-content: space-between; gap: .75rem; font-size: .86rem;
  color: var(--muted); padding-top: .85rem; border-top: 1px solid var(--line);
}
.player-meta span { display: inline-flex; align-items: center; gap: .4rem; }

.side-list { padding: 1.3rem; border-radius: var(--radius); }
.quick-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
  font-weight: 700; color: var(--text);
  transition: color .2s ease, padding-left .2s ease;
}
.quick-link:last-child { border-bottom: 0; padding-bottom: 0; }
.quick-link i { color: var(--brand); font-size: .78rem; transition: transform .2s ease; }
.quick-link:hover { color: var(--brand); padding-left: .25rem; }
.quick-link:hover i { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Seções
   -------------------------------------------------------------------------- */
.section { padding: 2.75rem 0; }
.section-gray {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem; padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.section-title::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 78px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent));
  animation: growBar .7s cubic-bezier(.2, .7, .3, 1) both;
}
.section-title h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--text-strong); }
.section-more, .section-sub { font-weight: 700; color: var(--brand); font-size: .9rem; }
.section-more { display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s ease; }
.section-more:hover { gap: .7rem; }
.section-sub { color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* Destaques */
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.news-card {
  display: block; color: inherit; text-decoration: none;
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, border-color .3s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); }
.news-img { aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2, .7, .3, 1); }
.news-card:hover .news-img img { transform: scale(1.07); }
.news-img-radio, .news-img-community { display: grid; place-items: center; font-size: 3rem; color: #fff; }
.news-img-radio { background: linear-gradient(135deg, #1d5fd1, #4b87f0); }
.news-img-community { background: linear-gradient(135deg, #159154, #35c276); }
.news-body { padding: 1.1rem; }
.tag { margin-bottom: .65rem; }
.news-body h3 { margin: 0 0 .5rem; font-size: 1.28rem; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--text-strong); transition: color .2s ease; }
.news-card:hover .news-body h3 { color: var(--brand); }
.news-body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Programação
   -------------------------------------------------------------------------- */
.schedule-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 1.25rem; }
.day-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.day-tab {
  padding: .5rem .95rem; background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; color: var(--muted); border-radius: 99px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.day-tab:hover { color: var(--brand); border-color: var(--brand-line); transform: translateY(-1px); }
.day-tab.active {
  background: var(--brand-fill); color: #fff; border-color: transparent;
  box-shadow: 0 10px 22px -14px var(--brand);
}

.schedule-hud {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  padding: .7rem 1rem; margin-bottom: 1rem; border-radius: 10px;
  background: linear-gradient(120deg, #0a1726 0%, #12263d 55%, #0d2137 100%);
  border: 1px solid rgba(96, 165, 250, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 26px -22px #0b1a2b;
  color: #cfe0f7; font-size: .78rem;
}
.hud-live {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; color: #fff;
}
.schedule-hud .live-dot { background: #ff4d4d; box-shadow: 0 0 0 3px rgba(255, 77, 77, .16); }
.hud-day {
  display: inline-flex; align-items: center; gap: .4rem;
  color: #9fb8d6; text-transform: uppercase; letter-spacing: .07em; font-size: .7rem; font-weight: 700;
}
.hud-day i { color: #60a5fa; }
.hud-clock {
  display: inline-flex; align-items: center; gap: .45rem; margin-left: auto;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9rem; font-weight: 700; letter-spacing: .09em; color: #7dd3fc;
  font-variant-numeric: tabular-nums;
}
.hud-clock i { font-size: .8rem; opacity: .8; }

.schedule-list { position: relative; display: grid; gap: .55rem; padding-left: 22px; }
.schedule-list::before {
  content: ''; position: absolute; left: 6px; top: 1rem; bottom: 1rem; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-line) 55%, transparent);
  opacity: .7;
}
.schedule-item {
  position: relative; border-radius: 10px; padding: .8rem 1rem;
  display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center;
  border: 1px solid var(--line); border-left: 3px solid transparent;
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.schedule-item::before {
  content: ''; position: absolute; left: -20px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--brand-line);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.schedule-item:hover { transform: translateX(4px); border-color: var(--brand-line); border-left-color: var(--brand); background: var(--surface-2); box-shadow: var(--shadow); }
.schedule-item:hover::before { background: var(--brand); border-color: var(--brand); }
.schedule-item.is-live {
  border-left-color: var(--brand);
  background: linear-gradient(90deg, var(--brand-soft), var(--surface) 70%);
  box-shadow: 0 0 0 1px var(--brand-line), 0 18px 30px -26px var(--brand);
}
.schedule-item.is-live::before {
  background: var(--brand); border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft); animation: dotPulse 2.2s ease-out infinite;
}
.schedule-time {
  display: flex; flex-direction: column; gap: .05rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.schedule-time strong { font-size: .98rem; font-weight: 800; color: var(--text-strong); letter-spacing: -.01em; }
.schedule-time span { font-size: .72rem; font-weight: 600; color: var(--muted); }
.schedule-info { min-width: 0; }
.schedule-info h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; font-size: 1.05rem; color: var(--text-strong); }
.schedule-info p { display: inline-flex; align-items: center; gap: .4rem; margin: .2rem 0 0; color: var(--muted); font-size: .87rem; }
.schedule-info p i { color: var(--brand); font-size: .76rem; }
.onair-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .18rem .5rem; border-radius: 99px; background: var(--brand-fill); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
}
.onair-pill .live-dot { width: 6px; height: 6px; background: #fff; box-shadow: none; animation: none; }
.schedule-progress { margin-top: .55rem; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.schedule-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .8s linear; }

.widget { padding: 1.3rem; border-radius: var(--radius); }
.widget-head { font-size: 1.02rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding-bottom: .7rem; margin-bottom: .25rem; border-bottom: 2px solid var(--brand); color: var(--text-strong); }
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li { display: flex; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.rank-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rank {
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}
.rank-list strong { display: block; font-size: .98rem; line-height: 1.2; color: var(--text-strong); }
.rank-list small { color: var(--muted); }

/* --------------------------------------------------------------------------
   Utilidades (widgets iBahia)
   -------------------------------------------------------------------------- */
.widgets-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.widget-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: 1.25rem; min-width: 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.widget-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: .9;
}
.widget-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); }
.widget-card-wide { grid-column: span 2; }
.widget-card-head {
  display: flex; justify-content: space-between; gap: .75rem; align-items: center;
  padding-bottom: .6rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.widget-card-head span {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .92rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-strong);
}
.widget-card-head span i { color: var(--brand); font-size: .88rem; }
.widget-card-head small {
  display: inline-flex; align-items: center; gap: .3rem; text-align: right;
  color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.widget-loading { color: var(--muted); font-size: .93rem; }
.widgets-source { margin: 1rem 0 0; color: var(--muted); font-size: .84rem; }
.widgets-source a { color: var(--brand); font-weight: 700; }
.widget-note { margin: .65rem 0 0; color: var(--muted); font-size: .72rem; font-weight: 600; }

.clima-now { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .1rem .85rem; margin-bottom: .85rem; }
.clima-now-icon {
  grid-row: span 2; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(140deg, var(--brand-soft), transparent);
  border: 1px solid var(--brand-line); color: var(--brand); font-size: 1.5rem;
}
.clima-now-temp {
  font-size: 2.45rem; line-height: 1; font-weight: 800; letter-spacing: -.04em;
  color: var(--text-strong); font-variant-numeric: tabular-nums;
}
.clima-now-temp span { font-size: 1.1rem; font-weight: 700; color: var(--brand); margin-left: .1rem; }
.clima-now-label { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 600; }
.clima-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.clima-chips span {
  display: inline-flex; align-items: center; gap: .32rem; padding: .28rem .5rem; border-radius: 7px;
  background: var(--surface-3); color: var(--muted); font-size: .73rem; font-weight: 700;
}
.clima-chips i { color: var(--brand); font-size: .7rem; }
.clima-days { display: grid; gap: .1rem; }
.clima-day {
  display: grid; grid-template-columns: 58px 22px minmax(0, 1fr) 34px 30px; align-items: center; gap: .5rem;
  padding: .38rem 0; border-bottom: 1px solid var(--line); font-size: .82rem;
}
.clima-day:last-child { border-bottom: 0; }
.clima-day-name { font-weight: 700; color: var(--text); text-transform: capitalize; }
.clima-day > i { color: var(--brand); font-size: .8rem; text-align: center; }
.clima-bar { position: relative; height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.clima-bar i { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #38bdf8, #f59e0b); }
.clima-day-max { font-weight: 800; color: var(--text-strong); text-align: right; font-variant-numeric: tabular-nums; }
.clima-day-min { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

.moeda-list { display: grid; gap: .15rem; }
.moeda-item { display: grid; grid-template-columns: 1fr auto auto; gap: .55rem; align-items: center; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.moeda-item:last-child { border-bottom: 0; }
.moeda-name { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.moeda-name i {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand); font-size: .74rem;
}
.moeda-value {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 800; color: var(--text-strong); font-variant-numeric: tabular-nums;
}
.moeda-var { font-size: .72rem; font-weight: 800; color: #fff; padding: .2rem .45rem; border-radius: 99px; min-width: 58px; text-align: center; letter-spacing: .01em; }
.moeda-var.up { background: #158704; }
.moeda-var.down { background: #c41230; }

.loterias-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.loteria-item {
  border-radius: 12px; padding: .9rem; background: var(--surface-2); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.loteria-item:hover { transform: translateY(-2px); border-color: var(--brand-line); }
.loteria-item h3 {
  display: flex; align-items: center; gap: .4rem; margin: 0 0 .7rem;
  font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-text);
}
.loteria-item h3::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: 0 0 7px; }
.loteria-nums { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .7rem; }
.loteria-nums span {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-fill) 100%); color: #fff;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  font-variant-numeric: tabular-nums;
}
.loteria-item p { margin: 0; color: var(--muted); font-size: .74rem; font-weight: 600; }
.loteria-bicho .bicho-list { list-style: none; margin: 0 0 .7rem; padding: 0; display: grid; gap: .3rem; }
.loteria-bicho .bicho-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .45rem;
  padding: .3rem .45rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
  font-size: .72rem;
}
.loteria-bicho .bicho-hora { color: var(--muted); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loteria-bicho .bicho-milhar { color: var(--text-strong); font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.loteria-bicho .bicho-animal { color: var(--brand-text); font-weight: 800; min-width: 4.4em; text-align: right; }
.loteria-bicho { cursor: pointer; }
.loteria-bicho:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bicho-open {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem;
  color: var(--brand-text); font-size: .72rem; font-weight: 800;
}
.bicho-open i { font-size: .6rem; transition: transform .2s ease; }
.loteria-bicho:hover .bicho-open i { transform: translateX(3px); }

/* Janela de resultados do Jogo do Bicho */
.bicho-dialog {
  width: min(680px, calc(100vw - 2rem)); max-height: 86vh; padding: 0; overflow: auto;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-lg);
}
.bicho-dialog::backdrop { background: rgba(6, 12, 22, .62); backdrop-filter: blur(2px); }
.bicho-dialog-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem .9rem; border-bottom: 1px solid var(--line);
}
.bicho-dialog-kicker {
  display: block; margin-bottom: .25rem; color: var(--brand); font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
}
.bicho-dialog-head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--text-strong); }
.bicho-dialog-close {
  flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted);
  cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.bicho-dialog-close:hover { color: var(--danger); border-color: var(--danger); background: var(--surface); }
.bicho-dialog-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  padding: 1rem 1.25rem .55rem;
}
.bicho-dialog-controls label {
  color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
}
.bicho-dialog-controls input[type="date"] {
  padding: .45rem .7rem; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: inherit; font-weight: 700;
}
.bicho-btn-ghost {
  padding: .45rem .9rem; border-radius: 99px; border: 1px solid var(--brand-line);
  background: var(--brand-soft); color: var(--brand-text); font: inherit; font-size: .78rem; font-weight: 800;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease;
}
.bicho-btn-ghost:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.bicho-dialog-status { margin: .2rem 1.25rem .7rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.bicho-dialog-list { display: grid; gap: .8rem; padding: 0 1.25rem 1rem; }
.bicho-extra { padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.bicho-extra h3 {
  margin: 0 0 .5rem; color: var(--brand-text); font-size: .8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
}
.bicho-premios { display: grid; gap: .28rem; }
.bicho-premio {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums;
}
.bicho-premio b { min-width: 1.9em; color: var(--muted); font-size: .72rem; }
.bicho-premio em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--brand); }
.bicho-dialog-note {
  margin: 0; padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: .72rem; font-weight: 600;
}

/* Programação recolhível */
.schedule-layout[hidden] { display: none; }
#programacao .section-title { cursor: pointer; }
#programacao .section-title h2 { transition: color .2s ease; }
#programacao .section-title:hover h2 { color: var(--brand); }
.schedule-toggle {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem;
  border-radius: 99px; border: 1px solid var(--brand-line); background: var(--brand-soft);
  color: var(--brand-text); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.schedule-toggle:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.schedule-toggle i { font-size: .7rem; transition: transform .25s ease; }
.section-title.is-open .schedule-toggle i { transform: rotate(180deg); }

@media (max-width: 640px) {
  .bicho-dialog { width: calc(100vw - 1.25rem); max-height: 88vh; }
  .bicho-dialog-head h2 { font-size: 1.02rem; }
  .schedule-toggle { padding: .5rem .85rem; font-size: .76rem; }
}

.horoscopo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.horoscopo-item {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: .65rem .25rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2); color: var(--text); font-size: .73rem; font-weight: 700;
  text-align: center; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.horoscopo-item:hover {
  border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand);
  transform: translateY(-3px); box-shadow: 0 14px 22px -20px var(--brand);
}
.horoscopo-item img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .12)); }
.horoscopo-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.horoscopo-item .signo-fallback {
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-size: .74rem;
}

/* --------------------------------------------------------------------------
   Locutores
   -------------------------------------------------------------------------- */
.hosts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 780px; margin: 0 auto; }
.host-card {
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, border-color .3s ease;
}
.host-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); }
.host-media { position: relative; overflow: hidden; background: var(--surface-3); }
.host-media::after {
  content: ''; position: absolute; inset: auto 0 0; height: 50%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 15, 26, .62));
}
.host-photo, .host-fallback { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-3); }
.host-photo { transition: transform .55s cubic-bezier(.2, .7, .3, 1); }
.host-card:hover .host-photo { transform: scale(1.05); }
.host-fallback { display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: var(--brand-text); }
.host-badge {
  position: absolute; z-index: 1; left: .9rem; bottom: .85rem;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .6rem; border-radius: 99px;
  background: rgba(9, 17, 28, .55); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
}
.host-info { padding: 1.1rem 1.15rem 1.25rem; }
.host-info h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; color: var(--text-strong); }
.host-programs { display: flex; flex-wrap: wrap; gap: .35rem; margin: .55rem 0 .55rem; }
.host-programs span {
  padding: .25rem .55rem; border-radius: 6px; background: var(--brand-soft);
  color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .01em;
}
.host-info p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Sobre
   -------------------------------------------------------------------------- */
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem; align-items: center; }
.about-media img {
  width: 100%; height: 100%; min-height: 320px; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; margin: .5rem 0 1rem; font-weight: 800; letter-spacing: -.03em; color: var(--text-strong); text-wrap: balance; }
.about-content p { color: var(--muted); margin: 0 0 .85rem; }
.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.35rem; }
.stat-box {
  border-radius: var(--radius-sm); padding: 1rem .75rem; text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.stat-box:hover { transform: translateY(-3px); border-color: var(--brand-line); }
.stat-box strong { display: block; font-size: 1.65rem; color: var(--brand); line-height: 1; margin-bottom: .3rem; letter-spacing: -.03em; }
.stat-box span { color: var(--muted); font-size: .86rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.contact-card {
  border-radius: var(--radius); padding: 1.6rem 1.35rem; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); }
.contact-card i {
  display: inline-grid; place-items: center; width: 54px; height: 54px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  font-size: 1.4rem; margin-bottom: .9rem;
}
.contact-card h3 { margin: 0 0 .35rem; font-size: 1.2rem; color: var(--text-strong); }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { color: var(--brand); font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 2.75rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--footer-line); }
.footer-logo { width: 72px; margin-bottom: 1rem; }
.footer-grid p { color: var(--footer-text); margin: 0 0 1rem; font-size: .94rem; }
.footer-grid h4 { margin: 0 0 .85rem; color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-grid a { display: block; color: var(--footer-text); padding: .22rem 0; transition: color .2s ease, transform .2s ease; }
.footer-grid a:hover { color: #fff; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #fff; padding: 0; border-radius: 9px;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--brand-fill); transform: translateY(-2px); }
.footer-play { width: 100%; justify-content: center; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0 1.6rem; color: #8b98ab; font-size: .88rem;
}

/* --------------------------------------------------------------------------
   Notícias ao vivo (portal de Angra)
   -------------------------------------------------------------------------- */
.news-live-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.news-live-card {
  border-radius: var(--radius); border-top: 3px solid var(--brand);
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, border-color .3s ease;
}
.news-live-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); border-top-color: var(--accent); }
.news-live-thumb { aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.news-live-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.news-live-card:hover .news-live-thumb img { transform: scale(1.07); }
.news-live-thumb.is-empty { display: flex; align-items: center; justify-content: center; color: var(--brand-line); font-size: 2.2rem; }
.news-live-body { padding: 1.15rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; min-width: 0; }
.news-live-card .tag { margin: 0; align-self: flex-start; background: var(--brand-soft); color: var(--brand-text); }
.news-live-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.28; font-weight: 800; letter-spacing: -.015em; color: var(--text-strong); transition: color .2s ease; }
.news-live-card:hover h3 { color: var(--brand); }
.news-live-date { margin-top: auto; font-size: .8rem; color: var(--muted); font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.news-live-date i { transition: transform .2s ease; }
.news-live-card:hover .news-live-date i { transform: translateX(3px); }
.news-live-loading {
  grid-column: 1 / -1; background: var(--surface); border: 1px dashed var(--line-strong);
  border-radius: var(--radius); padding: 1.35rem; color: var(--muted);
}
.news-live-loading a { color: var(--brand); font-weight: 700; }
.section-note { margin: .95rem 0 0; color: var(--muted); font-size: .84rem; }

/* --------------------------------------------------------------------------
   Patrocínios e parceiros
   -------------------------------------------------------------------------- */
.partners-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.partner-card {
  border-radius: var(--radius); padding: 1.1rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, border-color .3s ease;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); }
.partner-card img {
  width: 88px; height: 88px; object-fit: contain;
  filter: grayscale(1); opacity: .8;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}
.partner-card:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.partner-card strong { display: block; font-size: .93rem; line-height: 1.2; color: var(--text-strong); }
.partner-card span { display: block; color: var(--muted); font-size: .78rem; }
.partners-cta { margin: 1.35rem 0 0; text-align: center; color: var(--muted); }
.partners-cta a { color: var(--brand); font-weight: 700; }
.partners-cta a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Animações
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .75s cubic-bezier(.2, .7, .3, 1), transform .75s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(229, 57, 53, .14); }
  50% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); }
}
@keyframes kenburns {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1.2%, 0); }
}
@keyframes heroUp {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes eq {
  0%, 100% { transform: scaleY(.3); }
  50% { transform: scaleY(1); }
}
@keyframes ring {
  0% { opacity: .55; transform: scale(.94); }
  70% { opacity: 0; transform: scale(1.28); }
  100% { opacity: 0; transform: scale(1.28); }
}
@keyframes growBar {
  from { width: 0; }
  to { width: 78px; }
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero, .schedule-layout, .about-layout { grid-template-columns: 1fr; }
  .news-grid, .widgets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .widget-card-wide { grid-column: span 2; }
  .news-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loterias-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .horoscopo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-btn { display: inline-grid; place-items: center; }
  .main-nav { display: none; }
  .main-nav.open { display: block; animation: navIn .28s ease both; }
  .nav-inner { flex-direction: column; align-items: stretch; overflow: visible; }
  .nav-link { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: .8rem 1rem; }
  .nav-link::after { display: none; }
  .nav-link.active { background: rgba(255, 255, 255, .14); }
  #headerPlayText { display: none; }
  .live-chip { padding: .65rem; }
  .brand img { width: 50px; height: 50px; }
  .brand-text strong { font-size: 1.4rem; }
  .brand-text span { font-size: .72rem; }

  .hero { padding-top: 1rem; }
  .hero-main { min-height: 340px; }
  .hero-content { padding: 1.3rem; }
  .hero-content h1 { max-width: none; }
  .hero-content p { font-size: .98rem; }

  .section { padding: 2rem 0; }
  .news-grid, .hosts-grid, .contact-grid, .stats-row, .footer-grid,
  .widgets-grid, .loterias-wrap { grid-template-columns: 1fr; }
  .news-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .news-live-body { padding: .75rem; gap: .45rem; }
  .news-live-card h3 { font-size: .92rem; line-height: 1.3; }
  .news-live-card .tag { font-size: .68rem; padding: .2rem .45rem; }
  .news-live-date { font-size: .74rem; }
  .widget-card-wide { grid-column: span 1; }
  .horoscopo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-item { grid-template-columns: 1fr; gap: .2rem; }
  .footer-bottom { flex-direction: column; gap: .35rem; }
}

/* --------------------------------------------------------------------------
   Ticker de notícias (barra inferior)
   -------------------------------------------------------------------------- */
:root { --ticker-h: 46px; }

body.has-ticker { padding-bottom: calc(var(--ticker-h) + env(safe-area-inset-bottom)); }

.news-ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  height: calc(var(--ticker-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--topbar-bg);
  border-top: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 -12px 28px -18px rgba(0, 0, 0, .85);
}
.news-ticker[hidden] { display: none; }

.news-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0 .95rem;
  background: var(--brand-fill);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}
.news-ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: tickerPulse 1.8s ease-in-out infinite;
}
@keyframes tickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.news-ticker-viewport { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.news-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll var(--ticker-duration, 60s) linear infinite;
}
.news-ticker-group { display: flex; align-items: center; }
.news-ticker:hover .news-ticker-track,
.news-ticker:focus-within .news-ticker-track { animation-play-state: paused; }

.news-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  position: relative;
  padding-right: 1.6rem;
  margin-right: 1.6rem;
  color: #dbe4f2;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
}
.news-ticker-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-fill);
  opacity: .75;
  transform: translateY(-50%);
}
.news-ticker-item:hover { color: #fff; }
.news-ticker-item:hover .news-ticker-title { text-decoration: underline; }
.news-ticker-num { color: var(--brand); font-weight: 800; }
.news-ticker-src {
  color: #93a6c0;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.news-ticker-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0 1rem;
  color: #fff;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.news-ticker-more:hover { background: rgba(255, 255, 255, .09); }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .news-ticker-more { display: none; }
  .news-ticker-label { padding: 0 .7rem; font-size: .68rem; }
  .news-ticker-item { font-size: .8rem; padding-right: 1.2rem; margin-right: 1.2rem; }
  .news-ticker-src { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker-track { animation: none; }
  .news-ticker-viewport { overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
