/* =====================================================================
   Rádio Gospel CMS — estilo público
   As cores e fontes vêm de variáveis CSS geradas pelo painel
   (Configurações → Aparência). Não é preciso editar este arquivo
   para trocar a identidade visual.
   ===================================================================== */

:root {
  /* valores de segurança — sobrescritos pelo <style id="palette-style"> */
  --primary: #5b2a86; --primary-dark: #3e1a5e; --primary-soft: #efe7f7;
  --secondary: #1d1030; --accent: #f2b632; --accent-soft: #fcedc9;
  --bg: #f8f5fc; --surface: #fff; --text: #1e1528; --muted: #6c5f7a; --border: #e7def2;
  --font-title: 'Poppins', system-ui, sans-serif; --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: calc(var(--radius) * .6);
  --shadow-sm: 0 1px 2px rgba(20, 10, 40, .06), 0 2px 8px rgba(20, 10, 40, .05);
  --shadow: 0 10px 30px -12px rgba(20, 10, 40, .22);
  --shadow-lg: 0 24px 60px -20px rgba(20, 10, 40, .35);
  --header-h: 72px;
  --dock-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.theme-dark a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.2; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; color: #fff; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #1b1300; box-shadow: 0 10px 26px -10px var(--accent); }
.btn-accent:hover { color: #1b1300; filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.theme-dark .btn-ghost { color: var(--text); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { color: #fff; background: #1ebe5a; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-row.center { justify-content: center; }
.icon-btn {
  width: 40px; height: 40px; flex: none; border-radius: 50%; border: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: inherit; font-size: 1rem; transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(127,127,127,.15); color: inherit; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 20px; }

/* ---------- Tags / chips ---------- */
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #1b1300; }
.tag-soft { background: var(--primary-soft); color: var(--primary); }
.theme-dark .tag-soft { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 600; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Ao vivo / animações ---------- */
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,.6); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }
.live-pill { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: rgba(255,59,59,.12); color: #e02424; }
.live-pill.sm { font-size: .62rem; padding: 3px 8px; vertical-align: middle; margin-left: 6px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 30%; background: currentColor; border-radius: 2px; }
.is-playing .eq i { animation: eq 1s infinite ease-in-out; }
.is-playing .eq i:nth-child(2) { animation-delay: -.4s; }
.is-playing .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   CABEÇALHO
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); min-width: 0; }
.brand:hover { color: var(--text); }
.brand-logo { height: 46px; width: auto; max-width: 140px; object-fit: contain; border-radius: 10px; }
.brand-mark { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 8px 18px -8px var(--primary); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-title); font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text); white-space: nowrap; }
.main-nav a i { font-size: .85rem; color: var(--muted); display: none; }
.main-nav a:hover { background: var(--primary-soft); color: var(--primary); }
.main-nav a.active { background: var(--primary-soft); color: var(--primary); }
.theme-dark .main-nav a:hover, .theme-dark .main-nav a.active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-play { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 999px; padding: 9px 16px; background: var(--primary); color: #fff; font-weight: 700; font-size: .88rem; box-shadow: 0 8px 18px -10px var(--primary); }
.header-play:hover { background: var(--primary-dark); }
.header-play .eq { display: none; }
.is-playing .header-play .eq { display: inline-flex; }
.is-playing .header-play .js-play-icon { display: none; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.1rem; }

@media (max-width: 1100px) {
  .hamburger { display: inline-grid; place-items: center; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px calc(var(--dock-h) + 24px);
    background: var(--surface); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a { padding: 14px 16px; font-size: 1.02rem; border-radius: var(--radius-sm); }
  .main-nav a i { display: inline-block; width: 22px; text-align: center; }
  .header-actions { margin-left: auto; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-text small { display: none; } .brand-logo { height: 38px; } }

/* PWA banner */
.pwa-banner { background: var(--secondary); color: #fff; padding: 10px 0; font-size: .9rem; }
.pwa-inner { display: flex; align-items: center; gap: 12px; }
.pwa-inner span { flex: 1; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero, .page-hero, .popup-player {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(1100px 500px at 85% -10%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, color-mix(in srgb, var(--primary) 70%, transparent), transparent 60%),
    linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 55%, var(--primary) 100%);
}
.hero.has-image { background: linear-gradient(100deg, color-mix(in srgb, var(--secondary) 92%, transparent) 0%, color-mix(in srgb, var(--primary-dark) 75%, transparent) 55%, color-mix(in srgb, var(--primary) 40%, transparent) 100%), var(--hero-img) center/cover no-repeat; }
.hero-glow {
  position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 200deg at 80% 10%, rgba(255,255,255,.07) 0deg 6deg, transparent 6deg 16deg);
  mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 72px 20px 80px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); font-weight: 800; margin: 18px 0 14px; text-wrap: balance; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.18rem); opacity: .88; max-width: 560px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-np { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: .92rem; opacity: .9; color: var(--accent); }
.hero-np span:last-child { color: #fff; }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.onair-card, .verse-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: calc(var(--radius) + 4px);
  padding: 22px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg);
}
.onair-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.onair-card .live-pill { background: #ff3b3b; color: #fff; }
.onair-card .live-pill .pulse { background: #fff; }
.onair-time { font-size: .85rem; font-weight: 700; opacity: .85; }
.onair-body { display: flex; align-items: center; gap: 16px; margin: 18px 0 14px; }
.onair-avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent); color: #1b1300; font-size: 1.5rem; border: 3px solid rgba(255,255,255,.4); }
.onair-avatar img { width: 100%; height: 100%; object-fit: cover; }
.onair-body h2 { font-size: 1.3rem; }
.onair-body p { opacity: .8; font-size: .9rem; }
.progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.onair-next { list-style: none; margin-top: 16px; display: grid; gap: 6px; }
.onair-next li { display: flex; gap: 12px; font-size: .9rem; padding: 7px 0; border-top: 1px dashed rgba(255,255,255,.18); }
.onair-next time { font-weight: 800; color: var(--accent); min-width: 48px; }
.onair-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; color: #fff; font-weight: 700; font-size: .88rem; }
.onair-link:hover { color: var(--accent); }

.verse-card { position: relative; background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.88)); color: var(--secondary); border-color: transparent; }
.theme-dark .verse-card { background: var(--surface); color: var(--text); }
.verse-label { display: inline-flex; gap: 8px; align-items: center; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.theme-dark .verse-label { color: var(--accent); }
.verse-card blockquote { font-family: var(--font-title); font-size: 1.12rem; font-weight: 600; line-height: 1.45; margin: 10px 0 8px; }
.verse-card figcaption { font-weight: 800; color: var(--primary); font-size: .9rem; }
.theme-dark .verse-card figcaption { color: var(--accent); }
.verse-share { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--primary-soft); color: var(--primary); }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 56px; }
}
@media (max-width: 520px) {
  .hero-buttons .btn { flex: 1 1 100%; }
}

/* Page hero (páginas internas) */
.page-hero .container { padding-top: 48px; padding-bottom: 52px; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; display: flex; align-items: center; gap: 14px; }
.page-hero h1 i { color: var(--accent); font-size: .8em; }
.page-hero p { margin-top: 8px; opacity: .85; max-width: 640px; }
.page-body { padding-top: 36px; padding-bottom: 56px; }
.page-body.narrow { max-width: 860px; }

/* =====================================================================
   SEÇÕES / CARDS
   ===================================================================== */
.section { padding: 56px 0; }
.section.container { padding-left: 20px; padding-right: 20px; }
.section-tint { background: linear-gradient(180deg, transparent, var(--primary-soft) 30%, var(--primary-soft) 70%, transparent); }
.theme-dark .section-tint { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--primary) 12%, transparent) 30%, color-mix(in srgb, var(--primary) 12%, transparent) 70%, transparent); }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; display: flex; align-items: center; gap: 12px; }
.section-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 1rem; }
.link-more { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sub-title { font-size: 1.3rem; margin: 40px 0 18px; display: flex; gap: 10px; align-items: center; }
.sub-title i { color: var(--primary); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: 24px; box-shadow: var(--shadow-sm); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-cols { grid-template-columns: 1fr; } }
.img-fallback { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; font-size: 2.4rem; color: rgba(255,255,255,.85); background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.img-fallback.sm { min-height: 0; font-size: 1.4rem; }
.img-fallback.xs { min-height: 0; width: 56px; height: 56px; font-size: 1rem; border-radius: 10px; flex: none; }
.empty-soft { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-soft i { font-size: 2.2rem; color: var(--primary); opacity: .5; margin-bottom: 10px; }

/* Ações rápidas */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: -34px; position: relative; z-index: 2; }
.quick-card {
  display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.quick-card i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 1.15rem; margin-bottom: 10px; transition: background .2s, color .2s; }
.theme-dark .quick-card i { color: var(--accent); }
.quick-card strong { font-family: var(--font-title); font-size: 1rem; }
.quick-card small { color: var(--muted); font-size: .84rem; }
.quick-card:hover { transform: translateY(-4px); border-color: var(--primary); color: var(--text); box-shadow: var(--shadow-lg); }
.quick-card:hover i { background: var(--primary); color: #fff; }

/* Notícias home */
.news-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.news-featured { position: relative; display: block; border-radius: calc(var(--radius) + 4px); overflow: hidden; min-height: 400px; color: #fff; background: var(--secondary); box-shadow: var(--shadow); }
.news-featured img, .news-featured .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-featured:hover img { transform: scale(1.04); }
.news-featured-body { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.news-featured h3 { font-size: clamp(1.3rem, 2.6vw, 1.85rem); }
.news-featured p { opacity: .88; }
.news-featured small { opacity: .8; }
.news-featured:hover { color: #fff; }
.news-layout.single { grid-template-columns: 1fr; }
.news-layout.single .news-featured { min-height: 360px; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-row { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .2s, transform .2s; }
.news-row:hover { border-color: var(--primary); color: var(--text); transform: translateX(3px); }
.news-row img, .news-row .img-fallback { width: 112px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.news-row h3 { font-size: .98rem; margin: 4px 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-row small { color: var(--muted); font-size: .8rem; }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } .news-featured { min-height: 320px; } }

/* Grid de notícias */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.news-card img, .news-card .img-fallback { width: 100%; height: 190px; object-fit: cover; min-height: 0; }
.news-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.news-card-body h3 { font-size: 1.08rem; }
.news-card-body p { color: var(--muted); font-size: .9rem; }
.news-card-body small { margin-top: auto; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.search { display: flex; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); overflow: hidden; min-width: 240px; }
.search input { border: none; background: transparent; padding: 10px 16px; flex: 1; outline: none; min-width: 0; }
.search button { border: none; background: var(--primary); color: #fff; padding: 0 16px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.page-btn { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; color: var(--text); }
.page-btn.active, .page-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Artigo */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.article { padding: clamp(20px, 4vw, 44px); }
.article h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 14px 0 10px; }
.article-sub { font-size: 1.15rem; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .88rem; padding: 16px 0; margin: 16px 0 22px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.article-figure { margin: 0 0 26px; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.article-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.article-content { font-size: 1.07rem; line-height: 1.8; }
.article-content > * + * { margin-top: 1em; }
.article-content h2 { font-size: 1.45rem; margin-top: 1.6em; }
.article-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.article-content ul, .article-content ol { padding-left: 1.4em; }
.article-content blockquote { border-left: 4px solid var(--accent); padding: 8px 18px; background: var(--primary-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.article-content a { text-decoration: underline; }
.article-content img { border-radius: var(--radius-sm); }
.article-content .rte-video-wrap iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-sm); }
.article-content .rte-audio-wrap { background: var(--primary-soft); border-left: 4px solid var(--primary); padding: 14px 18px; border-radius: var(--radius-sm); }
.article-content .rte-audio-title { font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.article-content audio { width: 100%; }
.article-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.aside-card { padding: 20px; }
.aside-card h4, .aside-title { font-size: 1rem; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.related { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .92rem; }
.related:hover { color: var(--primary); }
.related img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.aside-cta { padding: 22px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border: none; }
.aside-cta i { font-size: 1.6rem; color: var(--accent); margin-bottom: 6px; }
.aside-cta:hover { color: #fff; transform: translateY(-2px); }
.aside-cta span { opacity: .85; font-size: .9rem; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* Compartilhar */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-weight: 700; font-size: .9rem; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.share-btn:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.share-wa:hover { background: #25d366; border-color: #25d366; }
.share-fb:hover { background: #1877f2; border-color: #1877f2; }
.share-tg:hover { background: #229ed9; border-color: #229ed9; }

/* Mais tocadas */
.top-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.top-list li { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius-sm); transition: background .2s; }
.top-list li:hover { background: var(--primary-soft); }
.theme-dark .top-list li:hover { background: color-mix(in srgb, var(--primary) 14%, transparent); }
.top-pos { width: 30px; text-align: center; font-family: var(--font-title); font-weight: 800; font-size: 1.35rem; color: var(--primary); flex: none; }
.theme-dark .top-pos { color: var(--accent); }
.top-list li:first-child .top-pos { color: var(--accent); text-shadow: 0 1px 0 rgba(0,0,0,.15); }
.top-cover { width: 52px; height: 52px; flex: none; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: rgba(255,255,255,.85); font-size: 1.3rem; }
.top-cover img { width: 100%; height: 100%; object-fit: cover; }
.top-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top-meta strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-meta small { color: var(--muted); }
.trend { font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.trend-up { color: #16a34a; } .trend-down { color: #dc2626; } .trend-same { color: var(--muted); } .trend-new { color: var(--accent); }
.top-list .icon-btn { color: #ff0000; }
.top-list-big { padding: 14px; }
.top-list-big li { padding: 14px; }
.top-list-big .top-cover { width: 64px; height: 64px; }

/* Mural de oração */
.prayer-stack { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.prayer-card { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; break-inside: avoid; }
.prayer-card.type-testemunho { border-left-color: var(--accent); }
.prayer-card.type-gratidao { border-left-color: #16a34a; }
.prayer-card header, .prayer-card footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.prayer-type { font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }
.theme-dark .prayer-type { color: var(--accent); }
.prayer-card time { font-size: .78rem; color: var(--muted); }
.prayer-card p { font-size: .95rem; white-space: normal; overflow-wrap: anywhere; }
.prayer-author { font-size: .85rem; color: var(--muted); }
.prayer-author strong { color: var(--text); }
.pray-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--primary); background: transparent; color: var(--primary); font-weight: 700; font-size: .82rem; transition: background .2s, color .2s; }
.theme-dark .pray-btn { color: var(--text); }
.pray-btn b { background: var(--primary-soft); color: var(--primary); padding: 1px 8px; border-radius: 99px; font-size: .78rem; }
.pray-btn:hover:not(:disabled) { background: var(--primary); color: #fff; }
.pray-btn.is-done { background: var(--primary); color: #fff; cursor: default; }
.pray-btn.is-done b { background: rgba(255,255,255,.25); color: #fff; }
.amen { font-size: .82rem; font-weight: 700; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; filter: brightness(.85); }
.prayer-layout { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 28px; align-items: start; }
.prayer-layout .form-card { position: sticky; top: calc(var(--header-h) + 16px); }
.prayer-wall .chips { margin-bottom: 18px; }
.prayer-grid { columns: 2 300px; column-gap: 16px; }
.prayer-grid .prayer-card { margin-bottom: 16px; }
@media (max-width: 980px) { .prayer-layout { grid-template-columns: 1fr; } .prayer-layout .form-card { position: static; } }

/* Agenda */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.events-grid.past { opacity: .75; }
.event-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.event-media { position: relative; height: 170px; }
.event-media img, .event-media .img-fallback { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.event-date { position: absolute; left: 14px; bottom: -22px; width: 62px; padding: 8px 0; text-align: center; border-radius: 14px; background: var(--accent); color: #1b1300; box-shadow: var(--shadow); line-height: 1; }
.event-date b { display: block; font-family: var(--font-title); font-size: 1.5rem; }
.event-date small { font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.event-body { padding: 32px 18px 18px; }
.event-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.event-meta { list-style: none; font-size: .87rem; color: var(--muted); display: grid; gap: 4px; }
.event-meta i { width: 16px; color: var(--primary); }
.event-detail { overflow: hidden; }
.event-cover { width: 100%; max-height: 440px; object-fit: cover; }
.event-detail-body { padding: clamp(20px, 4vw, 40px); }
.event-detail h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 8px 0 20px; }
.event-facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 22px; }
.event-facts li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius-sm); background: var(--primary-soft); }
.theme-dark .event-facts li { background: color-mix(in srgb, var(--primary) 14%, transparent); }
.event-facts i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; flex: none; }
.event-facts small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.event-desc { font-size: 1.04rem; line-height: 1.8; }

/* A seguir */
.next-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.next-card { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.next-card time { font-weight: 800; color: var(--primary); font-size: .9rem; }
.theme-dark .next-card time { color: var(--accent); }
.next-card small { color: var(--muted); }

/* Locutores */
.hosts-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.host-chip { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .2s, border-color .2s; }
.host-chip:hover { transform: translateY(-4px); border-color: var(--primary); color: var(--text); }
.avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 1.8rem; margin-bottom: 8px; box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--accent); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.host-chip small { color: var(--muted); font-size: .82rem; }
.hosts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.host-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.host-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.host-photo { height: 240px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: rgba(255,255,255,.7); font-size: 3.5rem; }
.host-photo img { width: 100%; height: 100%; object-fit: cover; }
.host-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.host-body p { color: var(--muted); font-size: .9rem; }
.host-body .link-more { margin-top: auto; }
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 28px; align-items: start; }
.profile-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: rgba(255,255,255,.7); font-size: 4rem; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 10px 0 14px; }
.profile-bio { color: var(--muted); line-height: 1.8; }
.social-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.social-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.social-btn:hover { background: var(--primary); color: #fff; }
@media (max-width: 720px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 240px; } }

/* Missão */
.mission { margin: 20px 0 64px; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 8px); text-align: center; color: #fff; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.mission > i { font-size: 2rem; color: var(--accent); }
.mission blockquote { font-family: var(--font-title); font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 600; max-width: 820px; margin: 14px auto; line-height: 1.45; text-wrap: balance; }
.mission figcaption { color: var(--accent); font-weight: 700; }

/* Programação */
.live-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid #ff3b3b; margin-bottom: 22px; }
.live-banner .btn { margin-left: auto; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.day-tab { flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; font-size: .9rem; }
.day-tab small { font-size: .7rem; text-transform: uppercase; opacity: .7; margin-left: 4px; }
.day-tab:hover { border-color: var(--primary); }
.day-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.day-panel { display: none; }
.day-panel.active { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.schedule { display: flex; flex-direction: column; gap: 10px; }
.schedule-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.schedule-item.is-live { border-color: #ff3b3b; box-shadow: 0 0 0 3px rgba(255,59,59,.12); }
.sched-time { font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; color: var(--primary); min-width: 62px; display: flex; flex-direction: column; line-height: 1.1; }
.theme-dark .sched-time { color: var(--accent); }
.sched-time small { font-family: var(--font-body); font-size: .75rem; color: var(--muted); font-weight: 600; }
.sched-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.sched-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sched-info { flex: 1; min-width: 0; }
.sched-host { font-size: .85rem; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; margin-left: 2px; }
.sched-info p { font-size: .88rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 600px) { .schedule-item { flex-wrap: wrap; } .sched-avatar { display: none; } .schedule-item .tag { margin-left: 78px; } }

/* =====================================================================
   FORMULÁRIOS
   ===================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 18px; }
.form-card { padding: clamp(20px, 3.5vw, 32px); }
.form-card h2 { font-size: 1.35rem; display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.form-card h2 i { color: var(--primary); }
.form-card > .muted { margin-bottom: 18px; font-size: .95rem; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 700; font-size: .88rem; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.field textarea { resize: vertical; min-height: 110px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.seg { border: none; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-weight: 700; font-size: .88rem; margin-bottom: 8px; width: 100%; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: inline-flex; gap: 7px; align-items: center; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--border); font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s; }
.seg-opt input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--accent); }
.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .93rem; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.alert i { margin-top: 3px; }
.alert-success { background: #e7f7ee; color: #146c3c; border: 1px solid #bfe8cf; }
.alert-error { background: #fdecec; color: #a12020; border: 1px solid #f6c8c8; }
.side-player { padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.side-player h3 { font-size: 1.2rem; }
.played-list { list-style: none; display: grid; gap: 10px; padding: 0 20px 20px; }
.played-list li { display: flex; flex-direction: column; font-size: .92rem; padding-top: 10px; border-top: 1px solid var(--border); }
.played-list small { color: var(--muted); }
.stack > .card > .aside-title { padding: 20px 20px 0; }
.contact-info { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.info-list { list-style: none; display: grid; gap: 10px; }
.info-list i { width: 22px; color: var(--primary); }
.prose { padding: clamp(20px, 4vw, 40px); line-height: 1.85; }
.not-found { padding-top: 70px; }
.not-found > i { font-size: 3rem; color: var(--primary); }
.not-found h1 { font-size: 5rem; color: var(--primary); }

/* Anúncios */
.ads-area { margin: 26px auto; display: grid; gap: 12px; }
.ad-block { display: flex; justify-content: center; overflow: hidden; }
.ad-block img { border-radius: var(--radius-sm); }

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.78); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-text small { color: rgba(255,255,255,.6); }
.footer-about p { margin: 16px 0; font-size: .92rem; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 9px; font-size: .92rem; }
.footer-links a { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: var(--accent); }
.footer-links i { width: 18px; color: var(--accent); }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.footer-socials a:hover { background: var(--accent); color: #1b1300; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,.78); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* =====================================================================
   PLAYER FIXO
   ===================================================================== */
.player-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: color-mix(in srgb, var(--secondary) 94%, transparent); color: #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -10px 30px -12px rgba(0,0,0,.35);
}
.player-dock-inner { height: var(--dock-h); display: flex; align-items: center; gap: 14px; }
.pd-cover { width: 50px; height: 50px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); font-size: 1.3rem; }
.pd-cover img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.pd-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pd-info .live-pill { align-self: flex-start; background: #ff3b3b; color: #fff; font-size: .6rem; padding: 2px 8px; margin-bottom: 3px; }
.pd-info .live-pill .pulse { width: 7px; height: 7px; background: #fff; }
.pd-title { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-sub { font-size: .8rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-play { width: 54px; height: 54px; flex: none; border-radius: 50%; border: none; background: var(--accent); color: #1b1300; font-size: 1.25rem; box-shadow: 0 8px 22px -8px var(--accent); transition: transform .15s; }
.pd-play:hover { transform: scale(1.06); }
.pd-play .fa-play { margin-left: 3px; }
.pd-volume { display: flex; align-items: center; gap: 4px; width: 170px; }
.pd-volume input { flex: 1; accent-color: var(--accent); }
.pd-actions { display: flex; gap: 2px; }
.player-dock .icon-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.is-loading .js-play-icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ofertas / modal */
.donation-fab {
  position: fixed; right: 18px; bottom: calc(var(--dock-h) + 16px + env(safe-area-inset-bottom)); z-index: 65;
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border: none; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #ff7a00)); color: #1b1300; font-weight: 800; font-size: .9rem;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); transition: transform .2s;
}
.donation-fab:hover { transform: translateY(-3px); }
@media (max-width: 640px) { .donation-fab span { display: none; } .donation-fab { padding: 0; width: 52px; height: 52px; justify-content: center; font-size: 1.2rem; } }
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(10, 5, 20, .6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.modal-overlay[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; background: var(--surface); color: var(--text); border-radius: calc(var(--radius) + 6px); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); animation: fade .3s var(--ease); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--bg); color: var(--text); font-size: 1.1rem; }
.modal-head { text-align: center; margin-bottom: 22px; }
.modal-icon { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--primary); font-size: 1.6rem; }
.modal-head h2 { font-size: 1.5rem; }
.modal-head p { color: var(--muted); margin-top: 6px; }
.pix-grid { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; }
.pix-qr { text-align: center; }
.pix-qr #pix-qrcode { width: 196px; height: 196px; margin: 0 auto 8px; padding: 8px; background: #fff; border-radius: 14px; border: 1px solid var(--border); display: grid; place-items: center; }
.pix-qr #pix-qrcode img, .pix-qr #pix-qrcode canvas { width: 178px !important; height: 178px !important; }
.pix-qr small { color: var(--muted); font-size: .8rem; }
.pix-info label { display: block; font-weight: 700; font-size: .82rem; margin: 10px 0 6px; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--bg); font-size: .82rem; font-family: ui-monospace, monospace; }
.pix-benef { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.pix-thanks { text-align: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-style: italic; color: var(--muted); font-size: .92rem; }
@media (max-width: 560px) { .pix-grid { grid-template-columns: 1fr; } }

/* Cookies / toast */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: calc(var(--dock-h) + 14px); z-index: 80; max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: .88rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 260px; }
.cookie-banner div { display: flex; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--dock-h) + 20px); transform: translate(-50%, 20px); z-index: 120; background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   PLAYER EM JANELA (popup)
   ===================================================================== */
.popup-body { padding: 0; min-height: 100vh; background: var(--secondary); }
.popup-player { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px 22px; text-align: center; }
.pp-cover { width: 150px; height: 150px; border-radius: 28px; overflow: hidden; display: grid; place-items: center; font-size: 3.4rem; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: var(--shadow-lg); }
.pp-cover img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.popup-player h1 { font-size: 1.5rem; }
.popup-player .live-pill { background: #ff3b3b; color: #fff; }
.popup-player .live-pill .pulse { background: #fff; }
.pp-np { display: flex; flex-direction: column; min-height: 46px; }
.pp-np small { opacity: .7; }
.pp-play { width: 84px; height: 84px; border-radius: 50%; border: none; background: var(--accent); color: #1b1300; font-size: 2rem; box-shadow: 0 14px 36px -10px var(--accent); }
.pp-play .fa-play { margin-left: 5px; }
.popup-player .pd-volume { width: 220px; }
.popup-player .icon-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.pp-verse { max-width: 340px; font-size: .9rem; opacity: .85; font-style: italic; margin-top: 10px; }
.pp-verse cite { display: block; font-style: normal; font-weight: 700; color: var(--accent); margin-top: 4px; }
