/* Poppins servida pelo próprio site (só os caracteres latinos, ~8 KB cada peso):
   sem esperar duas conexões extras ao Google antes de mostrar o texto */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.8d91ec1ca2d8.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.9212f6f9860f.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.a09f2fccfee3.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.72993dddf88a.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.25b0e113ca7c.woff2") format("woff2"); }

:root {
  /* Cores da logomarca: azul-marinho (principal) e laranja (secundária) */
  --azul: #243c6c;
  --azul-escuro: #1a2d52;
  --azul-claro: #34558f;
  --laranja: #fc8424;
  --laranja-texto: #a84c08;  /* laranja escuro para textos pequenos: contraste de leitura (WCAG AA) sobre fundo claro */
  --amarelo: #ebfe00;
  --lilas: #f2f5fa;
  --preto: #000;
  --texto: #1d1b22;
  --cinza: #706e6e;
  --branco: #fff;
  --raio: 30px;
  --fonte-titulo: "Poppins", system-ui, sans-serif;
  --fonte-texto: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; font-family: var(--fonte-texto); font-weight: 300; color: var(--texto); background: var(--branco); line-height: 1.6; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 600; line-height: 1.3; margin: 0 0 .4em; color: var(--preto); }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.visualmente-oculto, .isca { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -9999px; }
.pular:focus { left: 16px; top: 16px; z-index: 100; background: var(--branco); padding: 8px 12px; }

/* Destaque amarelo nas palavras entre *asteriscos* */
mark.destaque { background: var(--amarelo); color: var(--preto); font-weight: 700; padding: 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Ondas entre seções (a cor vem da seção vizinha) */
.cor-branca { color: var(--branco); }
.cor-lilas { color: var(--lilas); }
.cor-azul { color: var(--azul); }
.cor-branca, .cor-lilas, .cor-azul { line-height: 0; }
.onda--topo { margin-top: -1px; }

/* Cabeçalho: logo e player por cima da imagem do topo */
/* Topo fixo com fundo de vidro desde o início; ao rolar fica mais compacto */
.topo { position: fixed; inset: 0 0 auto; z-index: 40; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 6px 24px -14px rgba(36, 60, 108, .25); transition: box-shadow .3s; }
.topo.rolado { box-shadow: 0 8px 30px -12px rgba(36, 60, 108, .35); }
/* Ao descer a página o topo fica mais baixo */
.topo.rolado .topo__linha { padding: 8px 0; }
/* As seções não ficam escondidas atrás do topo ao clicar no menu */
[id] { scroll-margin-top: 100px; }
.topo__linha { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; transition: padding .35s ease; }
/* Logo: globo animado + nome. --logo é a largura da logo inteira (como a imagem antiga, de 300 × 58):
   as partes são proporcionais a ela, e a troca de tamanho ao rolar é suave */
@property --logo { syntax: "<length>"; inherits: true; initial-value: 210px; }
.topo__logo { --logo: 210px; flex: none; display: flex; align-items: center; gap: calc(var(--logo) * .037); text-decoration: none; transition: --logo .35s ease; }
.topo__logo img { width: calc(var(--logo) * .797); }
.topo__globo { position: relative; flex: none; width: calc(var(--logo) * .167); height: calc(var(--logo) * .193); }
.topo__globo .globo-animado { --tam: calc(var(--logo) * .21); position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: none; }  /* no topo, sem inclinação */

/* Menu das seções */
.menu ul { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; }
.menu a { display: block; padding: 8px 14px; border-radius: 999px; font: 500 14px var(--fonte-titulo); color: var(--azul); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.menu a:hover { background: rgba(36, 60, 108, .08); }
.menu a.ativo { background: rgba(252, 132, 36, .14); color: var(--laranja-texto); }
.menu a.menu__destaque { background: var(--azul); color: var(--branco); }
.menu a.menu__destaque:hover, .menu a.menu__destaque.ativo { background: var(--laranja); color: var(--branco); }
.menu { margin-left: auto; }
.topo__entrar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; margin-left: -8px; border-radius: 50%; color: var(--azul); background: rgba(255,255,255,.7);
  box-shadow: inset 0 0 0 1px rgba(36, 60, 108, .15); transition: background .2s, color .2s, box-shadow .2s; }
.topo__entrar:hover { background: var(--laranja); color: var(--branco); box-shadow: none; }
.topo__entrar:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.menu-botao { display: none; flex: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(36, 60, 108, .1); background: rgba(255,255,255,.7); cursor: pointer; padding: 0; place-content: center; gap: 5px; }
.menu-botao span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--azul); transition: transform .25s, opacity .25s; }
.menu-botao[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-botao[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-botao[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Player próprio (dados do AzuraCast) */
/* Efeito de vidro (glassmorphism): fundo translúcido que desfoca a imagem de trás */
/* Barra do player, fixa no rodapé da tela */
.barra-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 7px 16px calc(7px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.74); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border-top: 1px solid rgba(255,255,255,.9); box-shadow: 0 -10px 30px -14px rgba(36, 60, 108, .35); }
.barra-player .player { width: min(1140px, 100%); margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.player { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.25));
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 34px rgba(36, 60, 108, .18), inset 0 1px 0 rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .player { background: rgba(255,255,255,.92); }
}
.player__volume input { accent-color: var(--laranja); }
.player__tocar { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--azul-claro), var(--azul)); color: var(--branco); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(36, 60, 108, .35); transition: transform .15s, box-shadow .2s; }
.player__tocar:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(252, 132, 36, .45); }
.player.tocando .player__tocar { background: linear-gradient(135deg, #ff9b45, var(--laranja)); }
.player__tocar:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 2px; }
/* O desenho do triângulo já vem deslocado para a direita na medida certa: sem empurrão extra */
.player__tocar .icone-pausa, .player__carregando { display: none; }
.player.tocando .icone-play { display: none; }
.player.tocando .icone-pausa { display: block; }
.player.carregando .icone-play, .player.carregando .icone-pausa { display: none; }
.player.carregando .player__carregando { display: block; width: 24px; height: 24px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: var(--branco); animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.player__info { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
.player__selo { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font: 700 11px var(--fonte-titulo); text-transform: uppercase; letter-spacing: .08em; color: var(--laranja-texto); }
.player__ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); }
.player.tocando .player__ponto { animation: pulsar 1.4s ease-in-out infinite; }
@keyframes pulsar { 50% { opacity: .3; } }
.player__titulo { font: 600 15px var(--fonte-titulo); color: var(--azul); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.player__artista { font-size: 13px; font-weight: 400; color: var(--cinza); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.player__volume { flex: none; display: flex; align-items: center; gap: 6px; color: var(--cinza); }
.player__volume input { width: 120px; accent-color: var(--laranja); }

/* Topo: ouça no celular */
.app { position: relative; overflow: hidden; isolation: isolate; background-color: var(--lilas); padding: 100px 0 0; --mx: 0; --my: 0; }
.app::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 30%); pointer-events: none; }

/* Animação do topo: céu com zoom lento (como num vídeo), nuvens passando e
   celulares flutuando com ondas de rádio. Tudo em CSS, sem arquivo de vídeo. */
.app__fundo { position: absolute; inset: -4%; z-index: 0; background-size: cover; background-position: center;
  transform: translate(calc(var(--mx) * -12px), calc(var(--my) * -8px)); transition: transform .6s ease-out; }
.app__fundo::after { content: ""; position: absolute; inset: 0; background: inherit; animation: ceu 32s ease-in-out infinite alternate; }
@keyframes ceu { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
.app__nuvens { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(14% 9% at 20% 32%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(11% 7% at 70% 18%, rgba(255,255,255,.65), transparent 70%),
    radial-gradient(12% 8% at 45% 70%, rgba(255,255,255,.55), transparent 70%);
  background-size: 200% 100%; }
/* (A névoa era animada movendo o desenho, o que redesenhava o topo inteiro a cada quadro;
   parada, quase não se nota a diferença, porque as nuvens de verdade passam por cima) */
.app > .container { position: relative; z-index: 2; }
.app > .cor-branca { position: relative; z-index: 4; margin-top: -1px; }

/* Nuvens realistas: manchas brancas deformadas por ruído fractal (filtros #nuvem-a/#nuvem-b),
   atravessando o céu devagar, cada uma no seu ritmo */
.nuvem { position: absolute; left: 0; pointer-events: none; will-change: transform; animation: atravessar linear infinite; }
.nuvem span { display: block; width: 100%; height: 100%; border-radius: 50%; filter: url(#nuvem-a);
  /* topo branco e base acinzentada, como nuvem de verdade (destaca do céu claro) */
  background:
    radial-gradient(closest-side at 40% 38%, #fff 35%, rgba(255,255,255,0) 100%),
    radial-gradient(closest-side at 62% 42%, #fff 30%, rgba(255,255,255,0) 100%),
    radial-gradient(closest-side at 50% 62%, rgba(196, 210, 232, .95) 40%, rgba(196, 210, 232, 0) 100%); }
.nuvem { filter: drop-shadow(0 18px 24px rgba(36, 60, 108, .14)); }
.nuvem--2 span, .nuvem--4 span { filter: url(#nuvem-b); }
@keyframes atravessar { from { transform: translateX(-130vw); } to { transform: translateX(130vw); } }
.app__nuvens-ceu { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.nuvem--1 { top: 6%;  width: 680px; height: 260px; opacity: 0.64;  animation-duration: 280s; animation-delay: -40s; }
.nuvem--2 { top: 36%; width: 480px; height: 190px; opacity: 0.56; animation-duration: 220s; animation-delay: -85s; }
.nuvem--3 { top: 0;   width: 400px; height: 155px; opacity: 0.49; animation-duration: 340s; animation-delay: -120s; }
.nuvem--4 { top: 60%; width: 860px; height: 320px; opacity: 0.59;  animation-duration: 380s; animation-delay: -20s; }

.nuvem--5 { top: 22%; width: 540px; height: 210px; opacity: 0.52; animation-duration: 310s; animation-delay: -100s; }
.nuvem--6 { top: 48%; width: 380px; height: 150px; opacity: 0.49;  animation-duration: 250s; animation-delay: -60s; }
.nuvem--5 span, .nuvem--f2 span { filter: url(#nuvem-b); }

/* Nuvens na frente de tudo (celulares e texto), sem bloquear cliques */
.app__nuvens-frente { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.nuvem--f1 { top: 12%; width: 520px; height: 190px; opacity: 0.59; animation-duration: 190s;  animation-delay: -15s; }
.nuvem--f2 { top: 42%; width: 460px; height: 170px; opacity: 0.39; animation-duration: 240s; animation-delay: -70s; }
.nuvem--f3 { top: 78%; width: 640px; height: 230px; opacity: 0.63;  animation-duration: 210s; animation-delay: -45s; }

/* Uma nuvem passa na frente e cobre só a parte de baixo dos botões das lojas */
.lojas-area { position: relative; }
.nuvem--frente { z-index: 3; top: 50%; width: 560px; height: 200px; opacity: 0.67; animation-duration: 150s; animation-delay: -32s; }

.app__imagem { position: relative; }
/* Dois celulares separados: o de trás mais lento e com menos profundidade,
   o da frente flutua mais e acompanha mais o mouse (sensação de 3D) */
.celulares { position: relative; z-index: 1; width: min(640px, 100%); margin-inline: auto; aspect-ratio: 1 / 1.04; }
.celular { position: absolute; height: auto; filter: drop-shadow(0 30px 40px rgba(36, 60, 108, .28)); user-select: none; transition: translate .6s ease-out; }
.celular--tras { left: 12%; top: 18%; width: 44%; z-index: 1;
  translate: calc(var(--mx) * 8px) calc(var(--my) * 6px);
  animation: entrar-esquerda 1.1s cubic-bezier(.2, .8, .2, 1) .1s both, flutuar-tras 8s ease-in-out 1.2s infinite; }
.celular--frente { right: 10%; top: 7%; width: 50%; z-index: 2;
  translate: calc(var(--mx) * 22px) calc(var(--my) * 14px);
  animation: entrar-direita 1.1s cubic-bezier(.2, .8, .2, 1) .35s both, flutuar-frente 6.5s ease-in-out 1.45s infinite; }
@keyframes flutuar-tras { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes flutuar-frente { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(1.2deg); } }
@keyframes entrar-esquerda { from { opacity: 0; transform: translate(-50px, 30px) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes entrar-direita { from { opacity: 0; transform: translate(50px, 40px) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes entrar { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* Ondas de rádio saindo de trás dos celulares */
.app__ondas { position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.app__ondas i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(252, 132, 36, .55); opacity: 0; animation: onda-radio 6s ease-out infinite; }
.app__ondas i:nth-child(2) { border-color: rgba(36, 60, 108, .45); animation-delay: 2s; }
.app__ondas i:nth-child(3) { animation-delay: 4s; }
@keyframes onda-radio { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

.app__texto > * { animation: entrar .9s cubic-bezier(.2, .8, .2, 1) both; }
.app__texto > :nth-child(1) { animation-delay: .25s; }
.app__texto > :nth-child(2) { animation-delay: .4s; }
.app__texto > :nth-child(3) { animation-delay: .55s; }
.app__grade { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-bottom: 24px; }

.app__texto h1 { font-size: clamp(30px, 4.3vw, 58px); max-width: 12ch; }
.app__sub { font-size: 20px; color: var(--cinza); font-weight: 300; margin: 0 0 24px; }
.lojas { display: flex; gap: 14px; flex-wrap: wrap; }
.lojas a { transition: transform .2s; }
.lojas a:hover { transform: translateY(-2px); }
.lojas img { height: 56px; width: auto; }

/* Programação */
.programacao { padding: 60px 0 70px; }
.programacao__grade { display: grid; grid-template-columns: 1fr; gap: 40px; justify-items: center; }
.programacao__texto { text-align: center; max-width: 860px; }
.programacao__texto h1, .titulo-secao, .app__texto h1 { text-wrap: balance; }
.programacao__selo { display: inline-block; margin-bottom: 14px; padding: 6px 16px; border-radius: 999px; background: rgba(252, 132, 36, .12); color: #9a4507; font: 600 13px var(--fonte-titulo); text-transform: uppercase; letter-spacing: .08em; }
.programacao .carrossel { width: min(1000px, 100%); }
.programacao .carrossel__janela { box-shadow: 0 30px 50px -28px rgba(36, 60, 108, .45); }
.programacao .carrossel__seta--ant { left: -64px; }
.programacao .carrossel__seta--prox { right: -64px; }
.programacao h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.3; margin-bottom: .35em; }
.programacao__titulo { font-size: clamp(32px, 4vw, 45px); margin: 0 0 .25em; text-wrap: balance; }
.programacao__fuso { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; color: var(--cinza); font-size: 14px; font-weight: 400; }
.sub { color: var(--cinza); font-size: 22px; font-weight: 300; line-height: 1.7; margin: 0; }

/* Sobre a rádio e perguntas frequentes */
/* Branca, como a faixa de cima; a onda que abre o Anuncie também é branca */
.sobre { background: var(--branco); padding: 40px 0 60px; }
.sobre .titulo-secao { margin-top: 0; }
.sobre__grade { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
/* Globo da logomarca no fundo: grande, cinza translúcido, só um pedaço aparecendo no canto de baixo à esquerda */
.sobre { position: relative; overflow: hidden; }
.sobre > .container { position: relative; z-index: 1; }
/* O fundo esmaece na parte de baixo: o globo some aos poucos em vez de terminar num corte reto
   (logo abaixo vem a faixa branca da onda do Anuncie) */
.sobre__fundo { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(to top, transparent, #000 160px); mask: linear-gradient(to top, transparent, #000 160px); }
.sobre__globo { position: absolute; left: -150px; bottom: -190px; }
.sobre__globo .globo-animado { --tam: 560px; --globo-cor: rgba(112, 122, 140, .13); }
.sobre__globo .globo-animado__onda path { stroke-opacity: .45; }  /* as ondas, mais leves que a Terra */
/* Globo da logomarca animado, nas cores da logo: os continentes são vazados e pegam a cor do fundo
   (desenho de 200 × 200: Terra com centro em 88,100 e raio 66) */
.globo-animado { --tam: 230px; --globo-cor: #293f74; position: relative; width: var(--tam); aspect-ratio: 1; rotate: -25deg; }
.globo-animado__terra { position: absolute; left: 11%; top: 17%; width: 66%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
/* O mapa é uma faixa larga (oceano na cor do globo, continentes vazados) que desliza por trás do círculo.
   Deslizar (transform) é feito pela placa de vídeo, sem redesenhar nada a cada quadro.
   O mapa tem 1,65 × --tam de largura; a faixa anda essa distância e emenda, de oeste para leste.
   Começa com a América Latina à esquerda do centro */
.globo-animado__mapa { position: absolute; left: 0; top: 0; width: calc(var(--tam) * 3.3); height: 100%; background: var(--globo-cor);
  -webkit-mask: var(--mapa) repeat-x 0 50% / auto 100%; mask: var(--mapa) repeat-x 0 50% / auto 100%;
  transform: translateX(calc(var(--tam) * -1.99)); will-change: transform; animation: girar-terra 120s linear infinite; }
@keyframes girar-terra { from { transform: translateX(calc(var(--tam) * -1.99)); } to { transform: translateX(calc(var(--tam) * -.34)); } }
/* Parte da página fora da tela: animações pausadas (ver site.js) */
.pausado, .pausado *, .pausado *::before, .pausado *::after { animation-play-state: paused !important; }
.globo-animado__onda { position: absolute; inset: 0; overflow: visible; transform-origin: 44% 50%; will-change: transform, opacity; animation: emitir-onda 2.4s ease-in-out infinite; }
.globo-animado__onda path { fill: none; stroke: var(--globo-cor); stroke-width: 7; stroke-linecap: round; }
.globo-animado__onda:nth-of-type(2) { animation-delay: .3s; }
.globo-animado__onda:nth-of-type(3) { animation-delay: .6s; }
@keyframes emitir-onda { 0%, 100% { opacity: .15; transform: scale(.97); } 25% { opacity: 1; transform: scale(1); } 55% { opacity: .15; transform: scale(1.04); } }
.sobre .sobre__texto { text-align: left; margin: 0; font-size: 18px; line-height: 1.8; }
.sobre__texto a { color: var(--azul); font-weight: 500; }
.perguntas h3 { font-size: 22px; margin-bottom: 14px; }
.pergunta { border-bottom: 1px solid #d9e0ec; }
.pergunta summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font: 500 17px var(--fonte-titulo); color: var(--preto); }
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary::after { content: "+"; flex: none; color: var(--laranja); font-size: 24px; line-height: 1; transition: transform .25s; }
/* "fechando": a pergunta segue aberta enquanto desliza para fechar, mas o × já volta a ser + */
.pergunta[open]:not(.fechando) summary::after { transform: rotate(45deg); }
.pergunta summary:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; border-radius: 6px; }
.pergunta__resposta { margin: 0 0 18px; color: var(--cinza); line-height: 1.7; }
.pergunta__resposta p { margin: 0; }
.pergunta__resposta p + p { margin-top: .6em; }
.pergunta__resposta a { color: var(--azul); font-weight: 500; }

/* Grade da programação: o desenho das artes antigas (1920 × 1080), agora em HTML editável.
   As medidas estão em cqw (1% da largura do palco), tiradas da arte original: 1cqw = 19,2 px.
   O palco (fundo laranja, arcos, globo e logo) fica parado; os quadros ficam empilhados no mesmo
   lugar e, ao passar, só a faixa e as linhas trocam (as linhas entram em cascata). */
.grade-palco { container-type: inline-size; background: #ff8728; }
.carrossel--grade .carrossel__trilho { position: relative; z-index: 1; display: grid; transform: none !important; transition: none; }
.carrossel--grade .carrossel__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.carrossel--grade .carrossel__item.atual { opacity: 1; visibility: visible; transition: opacity .3s; }
.grade-quadro { position: relative; aspect-ratio: 16 / 9; padding: 5.05cqw 6.67cqw 0 8.02cqw; }
/* Arcos do canto de cima, à direita: as ondas que saem do globo na logomarca. Cada arco acende
   um pouco depois do anterior, do mais perto do globo para o mais longe, como um sinal transmitindo */
.grade-palco__sinal { position: absolute; top: -2cqw; right: -2cqw; pointer-events: none; }
.grade-palco__sinal i { position: absolute; left: 0; top: 0; width: 22cqw; aspect-ratio: 1; translate: -50% -50%; border: .75cqw solid #293f74; border-radius: 50%; animation: transmitir 2.4s ease-in-out infinite; }
.grade-palco__sinal i:nth-child(2) { width: 25.9cqw; animation-delay: .3s; }
.grade-palco__sinal i:nth-child(3) { width: 29.8cqw; animation-delay: .6s; }
@keyframes transmitir { 0%, 100% { opacity: .3; scale: 1; } 30% { opacity: 1; scale: 1.025; } }
.grade-quadro__faixa { position: absolute; left: .68cqw; top: 0; width: 5.78cqw; height: 43cqw; margin: 0; border-radius: 0 0 3cqw 3cqw; background: var(--branco); color: #293f74; font: 300 1.95cqw/1 var(--fonte-titulo); }
.grade-quadro__faixa span { position: absolute; left: 50%; bottom: 4.4cqw; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; }
.grade-quadro__faixa b { font-weight: 700; }
/* Laranja queimado: branco sobre ele passa no mínimo de leitura (4,6:1); sobre o laranja do painel, não (2,4:1) */
.grade-quadro--escuro .grade-quadro__faixa { background: #c25400; color: var(--branco); }
.grade-palco__globo { position: absolute; z-index: 2; left: .68cqw; top: 39.6cqw; width: 5.78cqw; height: auto; }
.grade-palco__logo { position: absolute; z-index: 2; right: 3.6cqw; bottom: 1.6cqw; width: 15.8cqw; }
.grade-quadro__lista { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, 7.29cqw); grid-auto-flow: column; column-gap: 1.82cqw; row-gap: .47cqw; }
.grade-item { display: grid; grid-template-columns: 10.57cqw 1fr 15.6cqw; min-width: 0; }
.grade-item__hora { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 1.15cqw 0 0 1.15cqw; background: #f9f5f2; color: #293f74; font: 700 1.98cqw/1.15 var(--fonte-titulo); text-align: center; }
.grade-item__hora small { font-size: 1.45cqw; font-weight: 600; }
.grade-item__nome { display: flex; align-items: center; overflow: hidden; padding: 0 .6cqw 0 1.3cqw; background: #293f74; color: var(--branco); font: 300 1.5cqw/1.18 var(--fonte-titulo); letter-spacing: -.01em; }
.grade-item__nome b { font-weight: 700; }
.grade-item__nome a { color: inherit; text-decoration: none; }
.grade-item__nome a:hover b { text-decoration: underline; text-decoration-color: #ff8728; text-underline-offset: .3cqw; }
.grade-item__imagem { overflow: hidden; background: #1b2c55; }
.grade-item__imagem img { width: 100% !important; height: 100%; object-fit: cover; }
/* Ao vivo: pontinho vermelho antes do nome */
.grade-item { position: relative; }
.grade-item__vivo { flex: none; width: .75cqw; height: .75cqw; margin-right: .6cqw; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 .25cqw rgba(255, 59, 59, .25); }
/* Programas com página própria: uma setinha mostra que dá para clicar */
.grade-item__nome a::after { content: " →"; font-weight: 600; color: #ffb36b; }
/* O que está no ar agora: a linha cresce um pouco, o horário fica amarelo com o selo "No ar" piscando,
   um contorno amarelo pulsa em volta e barrinhas de som tocam ao lado do nome */
.grade-item.agora { z-index: 2; scale: 1.035; border-radius: 1.15cqw; box-shadow: 0 1.2cqw 2.6cqw -.6cqw rgba(41, 63, 116, .55), 0 0 2.6cqw rgba(238, 255, 0, .55); }
.grade-item.agora::after { content: ""; position: absolute; inset: -.35cqw; border: .32cqw solid var(--amarelo); border-radius: 1.45cqw; pointer-events: none; animation: contorno-no-ar 2s ease-in-out infinite; }
@keyframes contorno-no-ar { 50% { inset: -.7cqw; border-color: rgba(238, 255, 0, .35); } }
.grade-item.agora .grade-item__hora { background: var(--amarelo); color: #1b2c55; }
.grade-item.agora .grade-item__nome { background: #1b2c55; }
.grade-item__no-ar { display: inline-flex; align-items: center; gap: .4cqw; margin-bottom: .35cqw; padding: .2cqw .7cqw; border-radius: 99px; background: #e60023; color: var(--branco); font: 700 1cqw/1.3 var(--fonte-titulo); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 .3cqw .8cqw rgba(230, 0, 35, .4); }
.grade-item__no-ar::before { content: ""; width: .55cqw; height: .55cqw; border-radius: 50%; background: currentColor; animation: piscar-no-ar 1.2s ease-in-out infinite; }
@keyframes piscar-no-ar { 50% { opacity: .2; } }
/* Barrinhas de som (postas pelo site.js só na linha que está no ar) */
.grade-item__ondas { flex: none; display: inline-flex; align-items: flex-end; gap: .22cqw; height: 1.6cqw; margin-left: auto; padding-left: .8cqw; }
.grade-item__ondas i { width: .3cqw; height: 100%; border-radius: 99px; background: var(--amarelo); transform-origin: bottom; animation: barrinha-no-ar .9s ease-in-out infinite; }
.grade-item__ondas i:nth-child(2) { animation-delay: -.3s; }
.grade-item__ondas i:nth-child(3) { animation-delay: -.6s; }
.grade-item__ondas i:nth-child(4) { animation-delay: -.15s; }
@keyframes barrinha-no-ar { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
/* Cascata: a cada quadro que entra, as linhas aparecem uma depois da outra */
.carrossel--programacao.visivel .carrossel__item.atual .grade-item { animation: entrar-linha .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.45s + var(--i) * 70ms); }
@keyframes entrar-linha { from { opacity: 0; transform: translateX(-2.5cqw); } }
/* O botão de abrir a lista inteira só existe no celular */
.grade-ver-mais { display: none; }
/* Celular: o quadro em escala ficaria com letras pequenas demais; vira uma lista com o mesmo visual */
@media (max-width: 640px) {
  .grade-palco { border-radius: 22px; }
  .grade-quadro { aspect-ratio: auto; padding: 62px 10px 104px; }
  .grade-palco__sinal { display: none; }
  /* No celular a faixa vira o título do painel, no mesmo laranja dele */
  .grade-quadro__faixa, .grade-quadro--escuro .grade-quadro__faixa { left: 0; width: 100%; height: auto; padding: 12px 14px; border-radius: 0; background: #c25400; color: var(--branco); font-size: 15px; text-align: center; }
  /* Globo e título juntos, centralizados (o globo do painel some e vai para dentro do título) */
  .grade-quadro__faixa span { position: static; display: inline-flex; align-items: center; white-space: pre; writing-mode: horizontal-tb; transform: none; }
  .grade-quadro__faixa span::before { content: ""; flex: none; width: 34px; height: 34px; margin-right: 10px; background: url("../img/favicon.bbc4102af07d.png") center / contain no-repeat; }
  .grade-palco__globo { display: none; }
  .grade-palco__logo { right: 50%; bottom: 14px; width: 130px; transform: translateX(50%); }
  .grade-quadro__lista { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 5px; }
  /* Linhas compactas; a miniatura mantém a proporção da arte (300 × 140), sem cortar o texto dela */
  .grade-item { grid-template-columns: 62px 1fr 112px; min-height: 52px; }
  .grade-item__hora { font-size: 15px; border-radius: 10px 0 0 10px; }
  .grade-item__hora small { font-size: 10px; }
  .grade-item__vivo { width: 7px; height: 7px; margin-right: 7px; box-shadow: 0 0 0 3px rgba(255, 59, 59, .25); }
  .grade-item.agora { scale: 1.02; border-radius: 10px; box-shadow: 0 8px 18px -8px rgba(41, 63, 116, .6), 0 0 18px rgba(238, 255, 0, .55); }
  .grade-item.agora::after { inset: -3px; border-width: 3px; border-radius: 12px; }
  @keyframes contorno-no-ar { 50% { inset: -6px; border-color: rgba(238, 255, 0, .35); } }
  .grade-item__no-ar { gap: 4px; margin-bottom: 3px; padding: 2px 7px; font-size: 9px; }
  .grade-item__no-ar::before { width: 5px; height: 5px; }
  .grade-item__ondas { gap: 2px; height: 14px; padding-left: 8px; }
  .grade-item__ondas i { width: 3px; }
  /* Com a lista curta, o programa no ar aparece mesmo que esteja depois do quinto */
  .carrossel--grade:not(.expandida) .grade-quadro__lista .grade-item.agora { display: grid; }
  .grade-item__nome { padding: 6px 9px; font-size: 12.5px; line-height: 1.25; letter-spacing: 0; }
  .grade-item__imagem { display: flex; align-items: center; }
  .grade-item__imagem img { height: auto; aspect-ratio: 300 / 140; }
  /* Setas nas laterais, no meio da altura do painel (descontando as bolinhas embaixo dele) */
  .programacao .carrossel--grade .carrossel__seta { top: calc((100% - 33px) / 2); translate: 0 -50%; width: 36px; height: 36px; font-size: 24px; }
  .programacao .carrossel--grade .carrossel__seta--ant { left: -12px; }
  .programacao .carrossel--grade .carrossel__seta--prox { right: -12px; }
  .carrossel--grade .carrossel__pontos { padding-top: 24px; }
  /* Lista curta: só os cinco primeiros horários de cada quadro até tocar em "Ver programação completa" */
  .carrossel--grade:not(.expandida) .grade-item:nth-child(n + 6) { display: none; }
  /* Discreto: texto branco pequeno no laranja queimado (tom sobre tom), com uma setinha que vira ao abrir */
  .grade-ver-mais { display: flex; align-items: center; gap: 6px; position: absolute; z-index: 3; left: 50%; bottom: 56px; transform: translateX(-50%); padding: 7px 14px; border: 0; border-radius: 999px; background: #c25400; color: var(--branco); font: 500 13px var(--fonte-titulo); white-space: nowrap; cursor: pointer; transition: background .2s; }
  .grade-ver-mais::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate .25s, margin .25s; }
  .grade-ver-mais[aria-expanded="true"]::after { rotate: -135deg; margin-top: 3px; }
  .grade-ver-mais:hover { background: #a84700; }
  .grade-ver-mais:focus-visible { outline: 3px solid var(--branco); outline-offset: 2px; }
}

/* Cartões dos programas (página inicial e fim das páginas de programa) */
.programas-secao { background: var(--lilas); }
.programas-secao > .cor-lilas { background: var(--branco); }
.programas-area { padding: 30px 0 60px; }
.programas-secao .programa-cartao { background: var(--branco); }
.programas-secao .programa-cartao:hover { box-shadow: 0 22px 40px -22px rgba(36, 60, 108, .5); }
.carrossel.carrossel--programas { --por-vez: 3; }
.carrossel--programas .carrossel__janela { border-radius: 0; padding-top: 6px; }
.carrossel--programas .carrossel__seta { translate: 0 -75%; }
.programas { list-style: none; margin: 0; padding: 0; align-items: stretch; }
.programa-item { display: flex; padding: 0 10px 34px; }
.programa-item .programa-cartao { width: 100%; }
.programa-cartao { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 22px; background: var(--lilas); text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
.programa-cartao__banner { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--azul); }
.programa-cartao__banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.programa-cartao:hover .programa-cartao__banner img { transform: scale(1.05); }
.programa-cartao__corpo { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 22px; }
.programa-cartao:hover { transform: translateY(-4px); background: var(--branco); box-shadow: 0 22px 40px -22px rgba(36, 60, 108, .45); }
.programa-cartao strong { font: 600 20px var(--fonte-titulo); color: var(--preto); }
.programa-cartao__com { color: var(--cinza); font-size: 15px; }
.programa-cartao__horario { width: fit-content; margin-top: 4px; padding: 4px 12px; border-radius: 999px; background: rgba(252, 132, 36, .12); color: #9a4507; font-size: 13px; font-weight: 500; }
.programa-cartao__ver { margin-top: auto; padding-top: 12px; color: var(--azul); font-size: 14px; font-weight: 500; }
@media (max-width: 640px) {
  .programa-cartao:hover { transform: none; }
  .programa-cartao__corpo { padding: 16px 18px 18px; }
  .programa-cartao strong { font-size: 18px; }
}

/* Página de um programa */
.programa-topo { background: var(--lilas); padding-top: 150px; }
.programa-topo__grade { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-bottom: 30px; }
.programa-topo h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.1; margin: 4px 0 10px; }
.programa-topo__com { margin: 0 0 18px; font-size: 19px; color: var(--cinza); }
.programa-topo__imagem img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--raio); box-shadow: 0 30px 50px -28px rgba(36, 60, 108, .5); }
.trilha { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--cinza); }
.trilha a { color: var(--azul); }
.horarios { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.horarios li { padding: 7px 14px; border-radius: 999px; background: var(--branco); color: var(--azul); font-size: 14px; font-weight: 500; box-shadow: 0 6px 16px -10px rgba(36, 60, 108, .4); }
.programa-sobre .texto-rico { text-align: left; font-size: 18px; line-height: 1.8; margin-top: 20px; }
.lives { padding: 30px 0 60px; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video__capa { position: relative; display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 16 / 9; background: #0b1a33; }
.video__capa img, .video__capa iframe { width: 100%; height: 100%; object-fit: cover; border: 0; transition: transform .4s; }
.video__capa:hover img { transform: scale(1.04); }
.video__play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; background: var(--laranja); color: var(--branco); box-shadow: 0 10px 24px rgba(0,0,0,.3); transition: transform .25s; }
.video__capa:hover .video__play { transform: scale(1.1); }
.video__titulo { margin: 14px 0 4px; font-size: 16px; font-weight: 500; line-height: 1.45; }
.video__data { color: var(--cinza); font-size: 13px; }
.lives__todas { text-align: center; margin: 36px 0 0; }

/* Modal dos vídeos */
html.modal-aberto { overflow: hidden; }
.modal-video { width: min(1000px, 100% - 32px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.modal-video::backdrop { background: rgba(8, 16, 34, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-video[open] { animation: modal-entra .3s cubic-bezier(.2, .8, .2, 1); }
.modal-video[open]::backdrop { animation: modal-fundo .3s ease; }
@keyframes modal-entra { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes modal-fundo { from { opacity: 0; } }
/* Sem overflow hidden na caixa: o botão de fechar fica acima dela e não pode ser cortado */
.modal-video__caixa { position: relative; border-radius: 24px; background: #0b1a33; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
.modal-video__tela { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px 24px 0 0; background: #000; }
.modal-video__tela iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-video__fechar { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--branco); color: var(--preto); cursor: pointer; transition: background .2s, color .2s; }
.modal-video__fechar:hover { background: var(--laranja); color: var(--branco); }
.modal-video__barra { display: flex; align-items: center; gap: 16px; padding: 16px 18px; color: var(--branco); }
.modal-video__info { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: center; }
.modal-video__info strong { font: 500 16px var(--fonte-titulo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-video__info > span { color: #9fb0cf; font-size: 13px; }
.modal-video__seta { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--branco); font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.modal-video__seta:hover { background: var(--laranja); }
.modal-video__seta[hidden] { visibility: hidden; display: block; }
.modal-video button:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.outros-programas { padding: 30px 0 90px; }
.pagina-programa .rodape__grade { padding-top: 80px; }

/* Blog: lista de artigos e página do artigo (mesmo topo das páginas de programa) */
.blog-topo { position: relative; overflow: hidden; }
.blog-topo .container { position: relative; z-index: 1; padding-bottom: 40px; }
.blog-topo > .cor-branca { position: relative; z-index: 1; }
.blog-topo__globo { left: auto; right: -150px; }
.blog-topo__intro { max-width: 680px; margin: 0; font-size: 19px; line-height: 1.6; color: var(--cinza); }
.blog-lista { padding: 30px 0 90px; }
.blog-lista__vazio { text-align: center; color: var(--cinza); }
.artigos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.artigo-cartao a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 24px; background: var(--branco); color: inherit; text-decoration: none;
  box-shadow: 0 24px 40px -26px rgba(36, 60, 108, .45), 0 0 0 1px rgba(36, 60, 108, .07); transition: transform .3s, box-shadow .3s; }
.artigo-cartao a:hover { transform: translateY(-4px); box-shadow: 0 30px 46px -24px rgba(36, 60, 108, .55), 0 0 0 1px rgba(36, 60, 108, .07); }
.artigo-cartao__capa img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.artigo-cartao__corpo { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; }
.artigo-cartao time { font-size: 13px; color: var(--cinza); }
.artigo-cartao strong { font: 600 20px/1.3 var(--fonte-titulo); color: var(--preto); }
.artigo-cartao__resumo { flex: 1; font-size: 15px; line-height: 1.6; color: #4b4856; }
.artigo-cartao__ler { margin-top: 6px; font: 600 14px var(--fonte-titulo); color: var(--laranja-texto); }
.artigo__largura { max-width: 800px; }
.pagina-artigo .programa-topo h1 { font-size: clamp(32px, 4.4vw, 52px); }
.artigo__meta { margin: 0; font-size: 15px; color: var(--cinza); }
.artigo__corpo { padding-top: 20px; padding-bottom: 60px; }
.artigo__capa { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 30px; border-radius: var(--raio); }
.artigo__corpo .artigo__texto { max-width: none; text-align: left; font-size: 18px; line-height: 1.8; color: #3b3846; }
.artigo__texto h2 { margin: 1.8em 0 .5em; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; color: var(--preto); }
.artigo__texto h3 { margin: 1.5em 0 .4em; font-size: 21px; color: var(--preto); }
.artigo__texto a { color: var(--azul); }
.artigo__texto blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--laranja); font-style: italic; color: #4b4856; }
.artigo__convite { margin-top: 44px; padding: 30px 32px; border-radius: 24px; background: var(--lilas); text-align: center; }
.artigo__convite strong { display: block; font: 600 24px var(--fonte-titulo); color: var(--preto); }
.artigo__convite p { margin: 8px auto 20px; max-width: 520px; color: var(--cinza); line-height: 1.6; }
.blog-lista--outros { padding-top: 10px; }
.blog-busca { display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: 26px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--branco);
  box-shadow: 0 14px 30px -18px rgba(36, 60, 108, .45), 0 0 0 1px rgba(36, 60, 108, .08); transition: box-shadow .2s; }
.blog-busca:focus-within { box-shadow: 0 14px 30px -18px rgba(36, 60, 108, .45), 0 0 0 2px var(--laranja); }
.blog-busca svg { flex: none; color: var(--cinza); }
.blog-busca input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: none; font: 400 16px var(--fonte-texto); color: var(--preto); }
.blog-busca .botao { flex: none; padding: 11px 22px; }
.blog-lista__resultado { margin: 0 0 24px; color: var(--cinza); }
.blog-lista__resultado a { color: var(--azul); }
.paginacao { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.paginacao__numero, .paginacao__seta { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--branco); color: var(--azul); text-decoration: none;
  font: 600 15px var(--fonte-titulo); box-shadow: 0 8px 18px -12px rgba(36, 60, 108, .5), 0 0 0 1px rgba(36, 60, 108, .08); transition: background .2s, color .2s; }
.paginacao__seta { font-size: 24px; line-height: 1; }
a.paginacao__numero:hover, .paginacao__seta:hover { background: var(--laranja); color: var(--branco); }
.paginacao__numero[aria-current] { background: var(--azul); color: var(--branco); }
.paginacao__reticencias { color: var(--cinza); padding: 0 4px; }
@media (max-width: 640px) {
  .artigo__texto { font-size: 17px; }
  .artigo__convite { padding: 26px 20px; }
}

/* Carrossel (programação e depoimentos) */
.carrossel { position: relative; --por-vez: 1; }
.carrossel__janela { overflow: hidden; border-radius: var(--raio); touch-action: pan-y; cursor: grab; }
.carrossel.arrastando .carrossel__janela { cursor: grabbing; }
.carrossel.arrastando .carrossel__trilho { transition: none; }
.carrossel.arrastando a, .carrossel.arrastando img { pointer-events: none; }
.carrossel__trilho { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.carrossel__item { flex: 0 0 calc(100% / var(--por-vez)); min-width: 0; margin: 0; }
.carrossel__item img { width: 100%; }
.carrossel__seta { position: absolute; top: 50%; translate: 0 -70%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--branco); color: var(--preto); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); z-index: 2; transition: background .2s; }
.carrossel__seta:hover { background: var(--laranja); color: var(--branco); }
.carrossel__seta--ant { left: -22px; }
.carrossel__seta--prox { right: -22px; }
.carrossel__pontos { display: flex; justify-content: center; gap: 8px; padding-top: 18px; }
.carrossel__pontos span { width: 9px; height: 9px; border-radius: 50%; background: #c8d2e2; transition: width .3s, background .3s; }
.carrossel__pontos span.ativo { background: var(--laranja); width: 24px; border-radius: 6px; }

/* Faixa lilás: podcast e espaço do ouvinte */
.podcast-ouvintes { background: var(--branco); padding-bottom: 40px; overflow-x: clip; }
.titulo-secao { text-align: center; font-size: clamp(32px, 4vw, 45px); margin: 40px 0 36px; }
/* Episódios do podcast */
/* Episódios: cartões de vidro sobre manchas suaves nas cores da logomarca */
.episodios-area { position: relative; isolation: isolate; }
.episodios-area::before, .episodios-area::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.episodios-area::before { width: min(420px, 90vw); height: 420px; left: 0; top: 120px; background: radial-gradient(circle, #5b7fc4 0%, rgba(91,127,196,0) 70%); }
.episodios-area::after { width: min(380px, 80vw); height: 380px; right: 0; top: 40px; background: radial-gradient(circle, #ffad66 0%, rgba(252,132,36,0) 70%); }

.carrossel--episodios { --por-vez: 3; }
.carrossel--episodios .carrossel__seta { translate: 0 -75%; }
.carrossel--episodios .carrossel__janela { border-radius: 0; padding-top: 6px; }
.carrossel--episodios .carrossel__trilho { list-style: none; margin: 0; padding: 0; align-items: stretch; }
.episodio-item { display: flex; padding: 10px 12px 40px; }
.episodio { flex: 1; display: flex; flex-direction: column; gap: 18px; min-height: 290px; padding: 26px; border-radius: 30px;
  background: linear-gradient(150deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 40px -22px rgba(36, 60, 108, .45), inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  transition: transform .3s, box-shadow .3s; }
.episodio:hover { transform: translateY(-5px); box-shadow: 0 30px 46px -22px rgba(36, 60, 108, .55), inset 0 1px 0 rgba(255,255,255,.9); }
.episodio.tocando { border-color: rgba(252, 132, 36, .6); }
.episodio__topo { display: flex; gap: 18px; align-items: center; }
.episodio__moldura { flex: none; padding: 4px; border-radius: 22px; background: linear-gradient(135deg, var(--laranja), var(--azul)); }
.episodio__capa { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; display: block; user-select: none; }
.episodio__info { min-width: 0; display: grid; gap: 8px; justify-items: start; }
.episodio__duracao { font-size: 13px; font-weight: 500; color: var(--cinza); }
.episodio__data { justify-self: start; font-size: 11px; font-weight: 600; color: var(--laranja-texto); text-transform: uppercase; letter-spacing: .06em; background: rgba(252, 132, 36, .12); padding: 4px 10px; border-radius: 999px; }
.episodio__titulo { flex: 1; font-size: 18px; font-weight: 600; line-height: 1.4; margin: 0; color: var(--azul); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Player de cada episódio */
.ep-player { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 20px; background: rgba(36, 60, 108, .06); border: 1px solid rgba(36, 60, 108, .08); }
.ep-player__tocar { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--branco); background: linear-gradient(135deg, #ff9b45, var(--laranja)); box-shadow: 0 8px 18px -6px rgba(252, 132, 36, .7); transition: transform .15s; }
.ep-player__tocar:hover { transform: scale(1.07); }
.ep-player__tocar:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.ep-player__tocar .icone-pausa, .ep-player__carregando { display: none; }
.episodio.tocando .icone-play { display: none; }
.episodio.tocando .icone-pausa { display: block; }
.episodio.carregando .icone-play, .episodio.carregando .icone-pausa { display: none; }
.episodio.carregando .ep-player__carregando { display: block; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: var(--branco); animation: girar .8s linear infinite; }
.ep-player__barra { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ep-player__progresso { --progresso: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 6px 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--laranja) var(--progresso), rgba(36, 60, 108, .15) var(--progresso)); }
.ep-player__progresso::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--branco); border: 3px solid var(--laranja); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.ep-player__progresso::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--branco); border: 3px solid var(--laranja); }
.ep-player__progresso::-moz-range-track { background: transparent; }
.ep-player__tempos { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--cinza); font-variant-numeric: tabular-nums; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .episodio { background: rgba(255,255,255,.95); }
}
.episodios__todos { text-align: center; margin: 32px 0 0; }
.botao { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--azul); color: var(--branco); text-decoration: none; font: 600 15px var(--fonte-titulo); transition: background .2s, transform .2s; }
.botao:hover { background: var(--laranja); transform: translateY(-2px); }
.botao--claro { background: var(--branco); color: var(--azul); box-shadow: inset 0 0 0 2px rgba(36, 60, 108, .2); }

/* Página de "não encontrada" */
.erro { background: var(--lilas); padding: 170px 0 120px; text-align: center; }
.erro__caixa { display: flex; flex-direction: column; align-items: center; }
.erro__globo { margin-bottom: 10px; }
.erro__globo .globo-animado { --tam: 170px; rotate: none; }
.erro h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.15; margin: 8px 0 14px; text-wrap: balance; }
.erro .sub { max-width: 640px; font-size: 19px; }
.erro__botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.erro__dica { margin: 26px 0 0; color: var(--cinza); font-size: 14px; }
.pagina-erro .rodape > .onda { background: var(--lilas); }
.pagina-erro .rodape__grade { padding-top: 80px; }
.ouvinte-faixa { background: var(--lilas); }
.ouvinte-faixa > .cor-branca { margin-top: 40px; }
.ouvinte { padding-top: 60px; position: relative; isolation: isolate; }
/* Notas do app nas lojas, logo abaixo do título do Espaço do ouvinte */
.notas-lojas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 auto 30px; }
.nota-loja { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-radius: 999px; background: var(--branco); box-shadow: 0 14px 30px -18px rgba(36, 60, 108, .45); }
.nota-loja__nota { font: 700 30px/1 var(--fonte-titulo); color: var(--azul); }
.nota-loja__info { display: grid; gap: 3px; font-size: 13px; color: var(--cinza); line-height: 1.3; white-space: nowrap; }
.nota-loja__info b { font-weight: 600; color: var(--texto); }
.nota-loja__info small { display: block; font-size: 12px; }
/* Estrelas preenchidas na proporção da nota (4,8 = 96%) */
.nota-loja__estrelas { width: fit-content; font-size: 17px; letter-spacing: 2px; line-height: 1; color: transparent;
  background: linear-gradient(90deg, var(--laranja) calc(var(--nota) / 5 * 100%), #d9e0ec 0); -webkit-background-clip: text; background-clip: text; }
.nota-loja__avaliar { padding: 8px 16px; border-radius: 999px; background: var(--azul); color: var(--branco); text-decoration: none; font: 600 13px var(--fonte-titulo); transition: background .2s; }
.nota-loja__avaliar:hover { background: var(--laranja); }
.ouvinte::before, .ouvinte::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.ouvinte::before { width: min(380px, 80vw); height: 380px; right: 10%; top: 140px; background: radial-gradient(circle, #5b7fc4 0%, rgba(91,127,196,0) 70%); }
.ouvinte::after { width: min(340px, 80vw); height: 340px; left: 6%; bottom: 0; background: radial-gradient(circle, #ffad66 0%, rgba(252,132,36,0) 70%); }
.texto-rico { font-size: 17px; text-align: center; max-width: 760px; margin: 0 auto 24px; }
.carrossel--depoimentos { --por-vez: 3; }
.carrossel--depoimentos .carrossel__janela { border-radius: 0; padding: 6px 0 0; }
.carrossel--depoimentos .carrossel__seta { translate: 0 -75%; }
.carrossel--depoimentos .carrossel__trilho { align-items: stretch; }
.depoimento { display: flex; padding: 14px 14px 40px; }
.depoimento__cartao { flex: 1; display: flex; flex-direction: column; gap: 12px; border-radius: 26px; padding: 22px 24px 20px;
  background: linear-gradient(150deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 40px -22px rgba(36, 60, 108, .45), inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  transition: transform .3s, box-shadow .3s; }
.depoimento__cartao:hover { transform: translateY(-5px); box-shadow: 0 30px 46px -22px rgba(36, 60, 108, .55), inset 0 1px 0 rgba(255,255,255,.9); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .depoimento__cartao { background: rgba(255,255,255,.95); }
}
.depoimento__topo { display: flex; align-items: center; justify-content: space-between; }
.depoimento__aspas { width: 36px; height: 36px; padding: 9px; border-radius: 12px; background: var(--laranja); color: var(--branco); }
.depoimento__estrelas { color: #f5b300; letter-spacing: 2px; font-size: 15px; }
.depoimento blockquote { margin: 0; font-size: 15px; font-weight: 400; color: #4b4856; line-height: 1.6; }
/* Texto longo fica em 4 linhas; o "Ler mais" (posto pelo script só quando sobra texto) abre o resto */
.depoimento__texto { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.depoimento blockquote.cortado { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.depoimento__mais { padding: 0; border: 0; background: none; font: 600 13px var(--fonte-titulo); color: var(--laranja-texto); cursor: pointer; }
.depoimento__mais:hover { text-decoration: underline; }
.depoimento__autor { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(36, 60, 108, .1); }
.depoimento__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--branco), 0 0 0 5px var(--laranja); }
.depoimento__avatar--ilustrado { display: grid; place-items: end center; overflow: hidden; background: linear-gradient(135deg, var(--azul-claro), var(--azul-escuro)); color: rgba(255,255,255,.92); }
.depoimento__avatar--ilustrado svg { width: 38px; height: 38px; }
.depoimento__nome { display: grid; line-height: 1.3; }
.depoimento__nome strong { font: 600 15px var(--fonte-titulo); color: var(--preto); }
.depoimento__nome small { font-size: 13px; color: var(--cinza); }

/* Anuncie: foto do estúdio atrás do azul */
.anuncie { position: relative; background: var(--azul) var(--fundo, none) center / cover fixed; color: var(--branco); text-align: center; padding-top: 120px; margin-top: -1px; }
/* A onda de cima fica por cima da foto, na cor da seção anterior: sem emenda entre as duas */
.anuncie > .anuncie__onda-topo { position: absolute; top: -1px; left: 0; right: 0; }
.anuncie::before { content: ""; position: absolute; inset: 0; background: var(--azul); opacity: .93; }
.anuncie > * { position: relative; }
.anuncie .container { padding-bottom: 60px; }
.anuncie h2 { color: var(--branco); font-size: clamp(32px, 4.4vw, 50px); }
.anuncie p { font-size: 18px; font-weight: 400; margin: 0; opacity: .95; }
.botao-whatsapp { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 16px 30px; border-radius: 999px; background: var(--laranja); color: var(--branco); text-decoration: none; font: 600 17px var(--fonte-titulo); box-shadow: 0 14px 30px -10px rgba(252, 132, 36, .75); transition: transform .2s, box-shadow .2s, background .2s; }
.botao-whatsapp:hover { transform: translateY(-3px); background: #ff9640; box-shadow: 0 18px 36px -10px rgba(252, 132, 36, .85); }
.botao-whatsapp:focus-visible { outline: 3px solid var(--branco); outline-offset: 3px; }

/* Apoiadores: faixa de logos rolando */
/* Sobe 2px e cobre a emenda com a faixa Anuncie (a foto do estúdio vazava numa linha fina) */
.apoiadores { position: relative; z-index: 1; margin-top: -2px; background: var(--branco); padding: 70px 0 220px; overflow: hidden; }
.apoiadores__faixa { display: flex; width: max-content; animation: rolar 35s linear infinite; }
.apoiadores__faixa:hover { animation-play-state: paused; }
.apoiadores__lista { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 70px; padding-right: 70px; }
.apoiadores__lista img { height: 80px; width: auto; max-width: 200px; object-fit: contain; transition: transform .2s; }
.apoiadores__lista a:hover img { transform: scale(1.06); }
@keyframes rolar { to { transform: translateX(-50%); } }

/* Atendimento fraterno: cartão azul sobre o rodapé */
.atendimento-secao { position: relative; z-index: 5; margin-top: -150px; margin-bottom: -140px; }
.atendimento { background: var(--azul); color: var(--branco); border-radius: var(--raio); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; box-shadow: 0 30px 60px rgba(36, 60, 108, .35); }
.atendimento h2 { color: var(--branco); font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; }
.atendimento p { font-weight: 300; margin: 0; }
.formulario { display: grid; gap: 14px; }
.formulario input, .formulario textarea { width: 100%; border: 0; border-radius: 14px; padding: 15px 18px; font: 400 15px var(--fonte-texto); color: var(--texto); }
.formulario textarea { resize: vertical; }
.formulario input:focus, .formulario textarea:focus { outline: 3px solid var(--laranja); }
.formulario button { border: 0; border-radius: 14px; padding: 16px; background: var(--preto); color: var(--branco); font: 700 14px var(--fonte-titulo); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: background .2s, color .2s; }
.formulario button:hover { background: var(--laranja); color: var(--branco); }
.aviso { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--branco); color: var(--texto); font-weight: 500; }
.aviso--error { background: #ffe1e1; }

/* Rodapé */
.rodape { position: relative; background: var(--preto); color: #bdbdbd; padding: 0 0 calc(110px + env(safe-area-inset-bottom)); font-size: 14px; }
.rodape > .onda { color: var(--preto); background: var(--branco); }
.rodape__grade { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-top: 200px; }
.rodape__logo { width: 230px; margin-bottom: 18px; }
.rodape h2 { color: var(--branco); font-size: 22px; margin-bottom: 18px; }
.rodape a { color: #bdbdbd; text-decoration: none; }
.rodape a:hover { color: var(--branco); }
.contato { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contato li { display: flex; align-items: center; gap: 10px; }
.contato svg { color: var(--laranja); flex: none; }
.doacao { margin: 0; line-height: 1.8; }
.redes { display: flex; gap: 10px; margin-top: 18px; }
.redes a { width: 36px; height: 36px; border-radius: 50%; background: var(--branco); color: var(--preto); display: grid; place-items: center; transition: background .2s; }
.redes a:hover { background: var(--laranja); color: var(--branco); }
.rodape__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #222; margin-top: 48px; padding-top: 22px; color: #8a8a8a; font-size: 13px; }

/* WhatsApp */
/* WhatsApp no canto direito, embaixo do voltar ao topo (o texto fica à esquerda do ícone) */
.whatsapp { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30; display: flex; flex-direction: row-reverse; align-items: center; gap: 8px; text-decoration: none; }
/* Anéis verdes pulsando em volta do ícone, e uma balançadinha de vez em quando: chama a atenção sem incomodar */
.whatsapp__icone { position: relative; isolation: isolate; display: grid; width: 52px; height: 52px; transition: scale .2s; }
.whatsapp__icone::before, .whatsapp__icone::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 50%; background: #25d366; animation: pulso-whatsapp 2.6s ease-out infinite; }
.whatsapp__icone::after { animation-delay: 1.3s; }
.whatsapp__icone img { width: 52px; height: 52px; animation: balancar-whatsapp 5s ease-in-out infinite; }
.whatsapp:hover .whatsapp__icone { scale: 1.08; }
@keyframes pulso-whatsapp { from { transform: scale(1); opacity: .45; } to { transform: scale(1.75); opacity: 0; } }
@keyframes balancar-whatsapp { 0%, 82%, 100% { rotate: 0deg; } 85% { rotate: -14deg; } 88% { rotate: 12deg; } 91% { rotate: -8deg; } 94% { rotate: 4deg; } }
.whatsapp img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.whatsapp__texto { background: var(--branco); padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; box-shadow: 0 2px 10px rgba(0,0,0,.15); }



/* Tablet e celular: o menu vira um painel aberto pelo botão ☰ */
@media (max-width: 1100px) {
  .menu-botao { display: grid; }
  .topo__entrar { margin-left: auto; width: 46px; height: 46px; border-radius: 14px; }
  .menu { position: absolute; top: calc(100% - 6px); left: 16px; right: 16px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .menu.aberto { opacity: 1; visibility: visible; transform: none; }
  .menu ul, .topo.rolado .menu ul { flex-direction: column; gap: 4px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 20px 40px -16px rgba(36, 60, 108, .4); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .menu a { padding: 13px 18px; font-size: 16px; border-radius: 14px; }
}

@media (max-width: 1160px) {
  .programacao .carrossel__seta--ant { left: 8px; }
  .programacao .carrossel__seta--prox { right: 8px; }
}

@media (max-width: 1024px) {
  .videos { grid-template-columns: repeat(2, 1fr); }
  .carrossel.carrossel--programas { --por-vez: 2; }
  .carrossel--depoimentos, .carrossel--episodios { --por-vez: 2; }
  .carrossel__seta--ant { left: 6px; }
  .carrossel__seta--prox { right: 6px; }
}
@media (max-width: 640px) {
  .carrossel.carrossel--programas { --por-vez: 1; }
}

@media (max-width: 860px) {
  /* Topo fixo também no celular; ao rolar fica compacto, com fundo de vidro */
  .menu-botao { width: 46px; height: 46px; border-radius: 14px; transition: width .35s, height .35s; }
  .topo.rolado .menu-botao { width: 40px; height: 40px; border-radius: 12px; }
  .topo__entrar { transition: width .35s, height .35s, background .2s, color .2s; }
  .topo.rolado .topo__entrar { width: 40px; height: 40px; border-radius: 12px; }

  .topo__linha { gap: 12px; padding: 20px 4px; }
  .topo.rolado .topo__linha { padding: 10px 4px; }
  .topo__logo { --logo: 190px; }
  .topo.rolado .topo__logo { --logo: 150px; }


  .app { padding-top: 110px; }
  .nuvem--1 { width: 420px; height: 170px; }
  .nuvem--2 { width: 320px; height: 130px; }
  .nuvem--4 { width: 520px; height: 200px; }
  .nuvem--frente { width: 360px; height: 135px; top: 50%; }
  .nuvem--5 { width: 340px; height: 135px; }
  .nuvem--f1 { width: 320px; height: 120px; }
  .nuvem--f2 { width: 300px; height: 115px; }
  .nuvem--f3 { width: 380px; height: 140px; }
  .app__grade, .programacao__grade, .atendimento, .rodape__grade { grid-template-columns: 1fr; }
  .app__texto { text-align: center; }
  .app__texto h1 { margin-inline: auto; }
  .lojas { justify-content: center; }
  .programacao { padding: 40px 0 70px; }
  .sobre { padding-bottom: 40px; }
  .sobre__globo { left: -110px; bottom: -130px; }
  .sobre__globo .globo-animado { --tam: 380px; }
  .blog-topo__globo { left: auto; right: -110px; }
  .programa-topo__grade { grid-template-columns: 1fr; gap: 28px; }
  .videos { grid-template-columns: 1fr; }
  .programa-topo { padding-top: 120px; }
  .sobre__grade { grid-template-columns: 1fr; gap: 32px; }
  .carrossel--depoimentos { --por-vez: 1; }
  /* No celular as setas dos depoimentos ficam embaixo, ao lado dos pontos, sem cobrir o texto */
  .carrossel--depoimentos .carrossel__seta { top: auto; bottom: -8px; translate: none; width: 40px; height: 40px; font-size: 26px; }
  .carrossel--depoimentos .carrossel__seta--ant { left: 12px; }
  .carrossel--depoimentos .carrossel__seta--prox { right: 12px; }
  .carrossel--depoimentos .carrossel__pontos { padding-top: 26px; }
  .carrossel--episodios { --por-vez: 1; }
  .carrossel--episodios .carrossel__seta { top: auto; bottom: -8px; translate: none; width: 40px; height: 40px; font-size: 26px; }
  .carrossel--episodios .carrossel__seta--ant { left: 12px; }
  .carrossel--episodios .carrossel__seta--prox { right: 12px; }
  .carrossel--episodios .carrossel__pontos { padding-top: 26px; }
  .apoiadores { padding-bottom: 190px; }
  .apoiadores__lista { gap: 44px; padding-right: 44px; }
  .apoiadores__lista img { height: 60px; }
  .rodape__grade { padding-top: 180px; gap: 32px; }
  .anuncie { background-attachment: scroll; padding-top: 80px; }
}

/* Sem que o app e as divisórias do grid estiquem a página no celular */
.app__grade > *, .programacao__grade > *, .atendimento > *, .rodape__grade > * { min-width: 0; }

/* Celular pequeno: o volume fica com os botões do próprio aparelho */
@media (max-width: 420px) {
  .player__volume { display: none; }
}
@media (max-width: 860px) {
  .whatsapp__texto { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app__fundo::after, .app__nuvens, .celular, .app__ondas i, .app__texto > * { animation: none !important; }
  .nuvem { animation: none !important; }
  .nuvem--frente { display: none; }
  .app__ondas { display: none; }
  .player.tocando .player__ponto { animation: none; }
  .carrossel__trilho { transition: none; }
  .apoiadores__faixa { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .apoiadores__lista[aria-hidden="true"] { display: none; }
  .apoiadores__lista { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
}

/* Mini-player flutuante: cápsula de vidro centralizada no rodapé da tela */
.barra-player { left: 50%; right: auto; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(540px, calc(100% - 24px)); padding: 7px 18px 7px 7px; border-radius: 999px;
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 18px 40px -14px rgba(36, 60, 108, .5), inset 0 1px 0 rgba(255,255,255,.9); }
.barra-player .player { gap: 12px; }
.barra-player .player__tocar { width: 46px; height: 46px; box-shadow: 0 3px 10px -3px rgba(36, 60, 108, .5); }
.barra-player .player__tocar svg { width: 20px; height: 20px; }
.barra-player .player.tocando .player__tocar { box-shadow: 0 3px 12px -3px rgba(252, 132, 36, .7); }
.barra-player .player.carregando .player__carregando { width: 18px; height: 18px; }
.barra-player .player__info { display: grid; gap: 0; }
.barra-player .player__titulo { font-size: 15px; }
.barra-player .player__artista { display: none; }
.barra-player .player__volume input { width: 84px; }

/* Ondinhas que se mexem enquanto a rádio toca */
.player__ondas { flex: none; display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.player__ondas i { display: block; width: 3px; height: 30%; border-radius: 2px; background: rgba(36, 60, 108, .25); transition: background .3s; }
.player.tocando .player__ondas i { height: 100%; transform-origin: bottom; background: var(--laranja); animation: onda 1s ease-in-out infinite; }
.player.tocando .player__ondas i:nth-child(2) { animation-delay: -.4s; }
.player.tocando .player__ondas i:nth-child(3) { animation-delay: -.2s; }
.player.tocando .player__ondas i:nth-child(4) { animation-delay: -.6s; }
/* Escala em vez de altura: a placa de vídeo faz sozinha, sem recalcular a página a cada quadro */
@keyframes onda { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }


/* Voltar ao topo: no canto direito, logo acima do WhatsApp (centrado com ele); surge ao rolar a página */
.voltar-topo { position: fixed; right: 18px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 30;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--branco); color: var(--azul); box-shadow: 0 10px 24px -8px rgba(36, 60, 108, .55), 0 0 0 1px rgba(36, 60, 108, .08);
  opacity: 0; visibility: hidden; translate: 0 16px; scale: .8;
  transition: opacity .3s, translate .35s cubic-bezier(.2, .8, .2, 1), scale .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s, background .2s, box-shadow .2s; }
.voltar-topo.visivel { opacity: 1; visibility: visible; translate: none; scale: 1; transition-delay: 0s; }
.voltar-topo:hover { background: var(--laranja); color: var(--branco); box-shadow: 0 12px 26px -8px rgba(252, 132, 36, .75); }
.voltar-topo:hover svg { animation: subir-seta .6s ease-in-out; }
.voltar-topo:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; }
@keyframes subir-seta { 50% { transform: translateY(-4px); } }

@media (max-width: 860px) {
  .rodape { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .barra-player { bottom: calc(10px + env(safe-area-inset-bottom)); width: calc(100% - 20px); padding: 6px 16px 6px 6px; }
  .barra-player .player__titulo { font-size: 14px; }
  .whatsapp { right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); }
  .voltar-topo { right: 16px; bottom: calc(150px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .player.tocando .player__ondas i { animation: none; transform: scaleY(.7); }
}

/* =====================================================================
   Animações das seções (ligadas ao tema rádio). Tudo para quando o
   visitante pede menos movimento no aparelho (fim deste bloco).
   ===================================================================== */

/* Elementos que aparecem ao entrar na tela: saem de um desfoque */
[data-revelar] { opacity: 0; translate: 0 30px; filter: blur(8px); transition: opacity .9s ease, translate .9s cubic-bezier(.2, .8, .2, 1), filter .9s ease; }
[data-revelar].visivel { opacity: 1; translate: none; filter: none; }
/* Blocos grandes não desfocam inteiros: cada parte tem seu efeito abaixo */
.carrossel[data-revelar], .anuncie[data-revelar] { opacity: 1; translate: none; filter: none; }

/* Destaque amarelo pintado como marca-texto quando o título aparece */
mark.destaque { background: linear-gradient(var(--amarelo), var(--amarelo)) no-repeat left center / 100% 100%; transition: background-size .9s cubic-bezier(.6, 0, .2, 1) .35s; }
[data-revelar]:not(.visivel) mark.destaque { background-size: 0% 100%; }

/* Linha sob o topo que enche conforme a página rola, com o nome da seção atual */
.sintonia { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(36, 60, 108, .07); --progresso: 0%; }
.sintonia::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--progresso); background: linear-gradient(90deg, var(--azul), var(--laranja)); }
.sintonia__agulha { position: absolute; top: 50%; left: var(--progresso); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--laranja); box-shadow: 0 0 0 4px rgba(252, 132, 36, .2), 0 0 12px rgba(252, 132, 36, .8); }
.sintonia__secao { position: absolute; top: 14px; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid rgba(36, 60, 108, .12); box-shadow: 0 6px 16px -8px rgba(36, 60, 108, .4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--azul); font: 600 12px var(--fonte-titulo); white-space: nowrap; opacity: 0; scale: .9; transition: opacity .3s, scale .3s; pointer-events: none; }
.sintonia.rolando .sintonia__secao { opacity: 1; scale: 1; }
.sintonia__ondas { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
/* As ondinhas só se mexem enquanto a etiqueta aparece (ao rolar) */
.sintonia__ondas i { width: 2px; height: 100%; border-radius: 2px; background: var(--laranja); transform: scaleY(.4); transform-origin: bottom; }
.sintonia.rolando .sintonia__ondas i { animation: onda .9s ease-in-out infinite; }
.sintonia__ondas i:nth-child(2) { animation-delay: -.3s; }
.sintonia__ondas i:nth-child(3) { animation-delay: -.6s; }

/* Programação: uma linha de sintonia varre a grade e vai revelando a imagem */
.carrossel--programacao .carrossel__janela { position: relative; clip-path: inset(0 100% 0 0 round var(--raio)); transition: clip-path 1.6s cubic-bezier(.7, 0, .2, 1) .2s; }
.carrossel--programacao.visivel .carrossel__janela { clip-path: inset(0 0 0 0 round var(--raio)); }
.carrossel--programacao .carrossel__janela::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; z-index: 3; background: var(--laranja); box-shadow: 0 0 18px 6px rgba(252, 132, 36, .7); opacity: 0; pointer-events: none; }
.carrossel--programacao.visivel .carrossel__janela::after { animation: varrer 1.6s cubic-bezier(.7, 0, .2, 1) .2s both; }
/* Grade: em vez da cortina, surge como uma onda de rádio, um círculo que se abre a partir do canto
   dos arcos (em cima, à direita), como se o sinal saísse dali e acendesse o painel */
.carrossel--grade .carrossel__janela { clip-path: circle(0% at 100% 0%); transition: clip-path 1.3s cubic-bezier(.65, 0, .25, 1) .1s; }
.carrossel--grade.visivel .carrossel__janela { clip-path: circle(150% at 100% 0%); }
.carrossel--grade .carrossel__janela::after { display: none; }
@keyframes varrer { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }

/* Cartões de vidro (episódios e depoimentos): inclinam e refletem a luz seguindo o mouse */
.episodio, .depoimento__cartao { position: relative; overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--sobe, 0px)); transition: transform .35s ease, box-shadow .3s, translate .9s cubic-bezier(.2, .8, .2, 1), opacity .9s; }
.episodio:hover, .depoimento__cartao:hover { --sobe: -5px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--sobe, 0px)); }
.episodio::after, .depoimento__cartao::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--bx, 50%) var(--by, 0%), rgba(255,255,255,.75), rgba(255,255,255,0) 65%); mix-blend-mode: soft-light; }
.episodio:hover::after, .depoimento__cartao:hover::after { opacity: 1; }

/* Episódios chegam um por um */
.carrossel--episodios:not(.visivel) .episodio, .carrossel--depoimentos:not(.visivel) .depoimento__cartao { opacity: 0; translate: 0 50px; }
.carrossel--episodios .episodio-item:nth-child(2) .episodio, .carrossel--depoimentos .depoimento:nth-child(2) .depoimento__cartao { transition-delay: 0s, 0s, .12s, .12s; }
.carrossel--episodios .episodio-item:nth-child(3) .episodio, .carrossel--depoimentos .depoimento:nth-child(3) .depoimento__cartao { transition-delay: 0s, 0s, .24s, .24s; }
.carrossel--episodios .episodio-item:nth-child(4) .episodio, .carrossel--depoimentos .depoimento:nth-child(4) .depoimento__cartao { transition-delay: 0s, 0s, .36s, .36s; }

/* Episódio tocando: aura giratória laranja e azul na borda */
@property --angulo { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.episodio.tocando { border: 2px solid transparent;
  background: linear-gradient(150deg, rgba(255,255,255,.92), rgba(255,255,255,.7)) padding-box,
              conic-gradient(from var(--angulo), var(--laranja), var(--azul-claro), #ffd2a8, var(--laranja)) border-box;
  animation: aura 4s linear infinite; }
@keyframes aura { to { --angulo: 360deg; } }

/* Depoimentos: as estrelas acendem uma a uma */
.depoimento__estrelas span { display: inline-block; transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1), color .4s; }
.carrossel--depoimentos:not(.visivel) .depoimento__estrelas span { opacity: .15; transform: scale(.4) rotate(-40deg); color: #c8d2e2; }
.depoimento__estrelas span:nth-child(1) { transition-delay: .5s; }
.depoimento__estrelas span:nth-child(2) { transition-delay: .62s; }
.depoimento__estrelas span:nth-child(3) { transition-delay: .74s; }
.depoimento__estrelas span:nth-child(4) { transition-delay: .86s; }
.depoimento__estrelas span:nth-child(5) { transition-delay: .98s; }

/* Anuncie: luz "NO AR" de estúdio e botão com pulso e efeito magnético */
.no-ar { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px 6px 10px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.55);
  font: 700 12px var(--fonte-titulo); letter-spacing: .18em; text-transform: uppercase; color: var(--branco); background: rgba(0,0,0,.15); }
.no-ar i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px 2px rgba(255, 59, 48, .9); animation: lampada 2.6s infinite; }
@keyframes lampada { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 48% { opacity: .25; } 50% { opacity: 1; } 52% { opacity: .4; } 54% { opacity: 1; } }
.botao-whatsapp { position: relative; translate: var(--imax, 0px) var(--imay, 0px); transition: transform .2s, box-shadow .2s, background .2s, translate .25s ease-out; }
.botao-whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--laranja); animation: pulso 2.2s ease-out infinite; pointer-events: none; }
@keyframes pulso { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.7); } }

/* Apoiadores: logos em tons de cinza ganham cor ao passar o mouse */
.apoiadores__lista img { filter: grayscale(1) opacity(.65); transition: filter .4s, transform .2s; }
.apoiadores__lista li:hover img { filter: none; }

/* Atendimento: aurora suave em tons de azul da logomarca dentro do cartão */
.atendimento { position: relative; overflow: hidden; isolation: isolate; }
.atendimento > *:not(.atendimento__aurora) { position: relative; z-index: 1; }
.atendimento__aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.atendimento__aurora i { position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .35; animation: aurora 18s ease-in-out infinite alternate; }
.atendimento__aurora i:nth-child(1) { background: #5b8ad6; left: -15%; top: -40%; }
.atendimento__aurora i:nth-child(2) { background: #8fb4ec; right: -20%; bottom: -50%; animation-duration: 22s; animation-delay: -6s; }
.atendimento__aurora i:nth-child(3) { background: #ffffff; left: 35%; top: 40%; width: 35%; opacity: .18; animation-duration: 26s; animation-delay: -12s; }
@keyframes aurora { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18%, 12%) scale(1.15); } 100% { transform: translate(-10%, 20%) scale(.9); } }

/* Ondas entre as seções: duas camadas correndo na horizontal, como água
   (funciona em todos os navegadores). Aceleram quando a página é rolada. */
.onda { position: relative; display: block; width: 100%; height: 72px; overflow: hidden; }
.onda__camada { position: absolute; left: 0; width: 200%; height: 100%; will-change: transform; animation: correr-onda linear infinite; }
.onda--base .onda__camada { bottom: 0; }
.onda--topo .onda__camada { top: 0; }
.onda__camada--tras { opacity: .45; animation-duration: 34s; }
.onda__camada--frente { animation-duration: 22s; }
/* Sobre a foto do estúdio a camada clara de trás vira faixas acinzentadas: ali fica só a onda sólida */
.anuncie .onda__camada--tras { display: none; }
@keyframes correr-onda { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 860px) {
  .onda { height: 44px; }
  .onda__camada { width: 400%; }  /* no celular as ondas ficam mais largas e suaves */
}

@media (max-width: 860px) {
  .sintonia__secao { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-revelar], [data-revelar]:not(.visivel) mark.destaque { opacity: 1 !important; translate: none !important; filter: none !important; background-size: 100% 100% !important; }
  .carrossel--programacao .carrossel__janela { clip-path: none !important; }
  .carrossel--programacao .carrossel__janela::after, .no-ar i, .botao-whatsapp::after, .atendimento__aurora i, .onda__camada, .episodio.tocando, .sintonia__ondas i, .modal-video[open], .modal-video[open]::backdrop, .carrossel--programacao .grade-item, .grade-palco__sinal i, .globo-animado__mapa, .globo-animado__onda, .whatsapp__icone::before, .whatsapp__icone::after, .whatsapp__icone img, .grade-item__no-ar::before, .grade-item.agora::after, .grade-item__ondas i { animation: none !important; }
  .carrossel--episodios:not(.visivel) .episodio, .carrossel--depoimentos:not(.visivel) .depoimento__cartao, .carrossel--depoimentos:not(.visivel) .depoimento__estrelas span { opacity: 1 !important; translate: none !important; transform: none !important; color: inherit !important; }
}

/* Título do topo digitado letra por letra (as letras já ocupam o lugar final, então nada pula) */
[data-digitar] { transition: height .7s cubic-bezier(.4, 0, .2, 1), opacity .45s ease, translate .6s cubic-bezier(.4, 0, .2, 1), filter .45s ease; }
[data-digitar].digitando .letra { opacity: 0; }
/* Troca de frase: as letras se apagam em onda (da esquerda para a direita) e o título sobe desfocando */
[data-digitar].saindo { opacity: 0; translate: 0 -.35em; filter: blur(6px); transition-delay: 0s, .35s, .3s, .3s; }
[data-digitar].saindo .letra.on { opacity: 0; transition: opacity .3s ease calc(var(--i, 0) * 14ms); }
[data-digitar].saindo .cursor-digitacao { display: none; }
/* O destaque amarelo recolhe para a direita, acompanhando a onda */
[data-digitar].saindo mark.destaque { background-position: right center; background-size: 0% 100%; transition: background-size .4s cubic-bezier(.6, 0, .2, 1); }
[data-digitar] .letra.on { opacity: 1; }
/* Enquanto digita, o destaque fica apagado sem transição (antes ele "encolhia" e aparecia um bloco amarelo) */
[data-digitar].digitando mark.destaque { background-size: 0% 100%; transition: none; }
/* Até o script preparar as letras, o título fica escondido (sem piscar inteiro antes de digitar).
   Se o script não rodar, ele aparece sozinho depois de 2,5 s. */
.digitar-espera { opacity: 0; animation: mostrar-titulo 0s 2.5s forwards; }
@keyframes mostrar-titulo { to { opacity: 1; } }
/* O cursor não ocupa espaço (largura zero): o texto não é empurrado enquanto é digitado */
.cursor-digitacao { display: inline-block; position: relative; width: 0; height: .95em; vertical-align: -.1em; }
.cursor-digitacao::after { content: ""; position: absolute; left: .03em; top: 0; width: max(3px, .07em); height: 100%; border-radius: 2px; background: var(--laranja); animation: cursor-piscar 1s steps(1) infinite; }
.cursor-digitacao.sumindo::after { animation: none; opacity: 0; transition: opacity .6s; }
@keyframes cursor-piscar { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .digitar-espera { opacity: 1 !important; animation: none !important; }
  [data-digitar] .letra { opacity: 1 !important; }
  .cursor-digitacao { display: none; }
}

/* "Disponível para Android e IOS": um brilho laranja passa pelo texto de tempos em tempos */
.app__sub { background: linear-gradient(100deg, var(--cinza) 0%, var(--cinza) 40%, var(--laranja) 50%, var(--cinza) 60%, var(--cinza) 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: brilho-texto 7s ease-in-out 3s 2; }  /* passa duas vezes e para: o brilho redesenha o texto a cada quadro */
@keyframes brilho-texto { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0 0; } }

/* Botões das lojas: flutuam de leve, um reflexo de luz atravessa cada um e sobem ao passar o mouse */
.lojas a { position: relative; display: block; border-radius: 10px; overflow: hidden; transition: transform .25s, box-shadow .25s;
  animation: entrar-botao .7s cubic-bezier(.2, .8, .2, 1) .9s both, flutuar-botao 4.5s ease-in-out 1.6s infinite; }
/* O da esquerda entra primeiro, o da direita logo depois; cada um flutua no seu ritmo */
.lojas a:nth-child(2) { animation: entrar-botao .7s cubic-bezier(.2, .8, .2, 1) 1.35s both, flutuar-botao 5.8s ease-in-out 2.05s infinite; }
@keyframes entrar-botao { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
.lojas a:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .45); }
@keyframes flutuar-botao { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.lojas a::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); transform: skewX(-20deg);
  animation: reflexo 5s ease-in-out 2.5s infinite; }
.lojas a:nth-child(2)::after { animation-duration: 7.3s; animation-delay: 5.2s; }
/* Desliza com transform (a placa de vídeo faz sozinha): de -60% a 130% do botão = 475% da largura do reflexo */
@keyframes reflexo { 0% { transform: translateX(0); } 28%, 100% { transform: translateX(475%); } }

@media (prefers-reduced-motion: reduce) {
  .app__sub { animation: none; background: none; color: var(--cinza); }
  .lojas a, .lojas a::after { animation: none !important; }
  .lojas a::after { display: none; }
}

/* Título do player: se não couber, desliza devagar até o fim e volta (com pausas para ler) */
.player__titulo { display: block; overflow: hidden; text-overflow: clip; }
.player__titulo > span { display: inline-block; white-space: nowrap; }
.player__titulo.rolar { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 18px), transparent); }
.player__titulo.rolar > span { padding: 0 10px; margin-left: -10px; animation: rolar-titulo var(--tempo, 10s) ease-in-out infinite alternate; }
@keyframes rolar-titulo { 0%, 15% { transform: translateX(0); } 85%, 100% { transform: translateX(calc(-1 * var(--distancia, 0px))); } }
@media (prefers-reduced-motion: reduce) {
  .player__titulo.rolar > span { animation: none; }
}

/* Celular e tablet: sem os efeitos que pesam na placa de vídeo. Vidro desfocado nos cartões,
   inclinação 3D, manchas com blur e nuvens com filtro SVG somavam ~450 MB de camadas
   e o navegador do celular fechava a página ao rolar. */
@media (hover: none), (max-width: 860px) {
  .episodio, .depoimento__cartao { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.95); transform: none; transition: box-shadow .3s, translate .9s cubic-bezier(.2, .8, .2, 1), opacity .9s; }
  .episodio:hover, .depoimento__cartao:hover { transform: none; }
  .episodio.tocando { background: linear-gradient(150deg, #fff, rgba(255,255,255,.92)) padding-box, conic-gradient(from var(--angulo), var(--laranja), var(--azul-claro), #ffd2a8, var(--laranja)) border-box; }
  /* As manchas já são degradês suaves: o blur por cima só custava memória */
  .episodios-area::before, .episodios-area::after, .ouvinte::before, .ouvinte::after { filter: none; }
  .atendimento__aurora i { filter: none; animation: none; }
  .atendimento__aurora i:nth-child(1) { background: radial-gradient(closest-side, #5b8ad6, rgba(91,138,214,0)); }
  .atendimento__aurora i:nth-child(2) { background: radial-gradient(closest-side, #8fb4ec, rgba(143,180,236,0)); }
  .atendimento__aurora i:nth-child(3) { background: radial-gradient(closest-side, #fff, rgba(255,255,255,0)); }
  [data-revelar] { filter: none; transition: opacity .9s ease, translate .9s cubic-bezier(.2, .8, .2, 1); }
  /* Nuvens: metade delas, sem o filtro de ruído e sem sombra */
  .nuvem { filter: none; }
  .nuvem span, .nuvem--2 span, .nuvem--4 span, .nuvem--5 span, .nuvem--f2 span { filter: none; }
  .nuvem--3, .nuvem--5, .nuvem--6, .nuvem--f2 { display: none; }
}

/* ===== Acessibilidade ===== */
/* Botão no meio da lateral direita e o painel que ele abre */
.acess-botao { position: fixed; right: 0; top: 50%; translate: 0 -50%; z-index: 35; display: grid; place-items: center; width: 48px; height: 52px; padding: 0 0 0 4px; border: 0; border-radius: 16px 0 0 16px;
  background: var(--azul); color: var(--branco); cursor: pointer; box-shadow: -6px 10px 24px -12px rgba(36, 60, 108, .7); transition: width .2s, background .2s; }
.acess-botao:hover, .acess-botao[aria-expanded="true"] { width: 56px; background: var(--laranja-texto); }
.acess-botao:focus-visible, .acess-painel button:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.acess-painel { position: fixed; right: 64px; top: 50%; translate: 0 -50%; z-index: 46; width: min(340px, calc(100vw - 88px)); max-height: calc(100dvh - 120px); overflow-y: auto; padding: 18px; border-radius: 24px;
  background: var(--branco); color: var(--texto); box-shadow: 0 30px 60px -20px rgba(36, 60, 108, .55), 0 0 0 1px rgba(36, 60, 108, .08); }
.acess-painel[hidden] { display: none; }
.acess-painel__topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.acess-painel__topo h2 { margin: 0; font-size: 20px; }
.acess-painel__fechar { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--lilas); color: var(--preto); cursor: pointer; }
.acess-tamanho { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 6px; border-radius: 16px; background: var(--lilas); }
.acess-tamanho button { width: 52px; height: 44px; border: 0; border-radius: 12px; background: var(--branco); color: var(--azul); font: 600 20px var(--fonte-titulo); cursor: pointer; }
.acess-tamanho button small { font-size: 15px; }
.acess-tamanho button:disabled { opacity: .4; cursor: default; }
.acess-tamanho span { font: 600 15px var(--fonte-titulo); color: var(--preto); }
.acess-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acess-opcoes button { display: grid; gap: 2px; align-content: start; min-height: 74px; padding: 12px; border: 2px solid transparent; border-radius: 16px; background: var(--lilas); color: var(--preto); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.acess-opcoes button b { font: 600 14px var(--fonte-titulo); }
.acess-opcoes button small { font-size: 12px; line-height: 1.35; color: var(--cinza); }
.acess-opcoes button:hover { border-color: rgba(36, 60, 108, .25); }
.acess-opcoes button[aria-pressed="true"] { border-color: var(--azul); background: #e3eaf7; }
.acess-opcoes button[aria-pressed="true"] b::after { content: " ✓"; color: var(--azul); }
.acess-painel__restaurar { width: 100%; margin-top: 10px; padding: 11px; border: 0; border-radius: 999px; background: none; color: var(--azul); font: 600 14px var(--fonte-titulo); text-decoration: underline; cursor: pointer; }
.acess-painel__nota { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: var(--cinza); text-align: center; }
@media (max-width: 640px) {
  .acess-botao { width: 40px; height: 46px; }
  .acess-botao svg { width: 24px; height: 24px; }
  .acess-painel { right: 12px; left: 12px; width: auto; top: auto; bottom: calc(86px + env(safe-area-inset-bottom)); translate: none; max-height: calc(100dvh - 180px); }
}
/* O VLibras traz o próprio botão: some, porque quem abre é o painel acima */
#vlibras-access-wrapper { display: none !important; }

/* Letra maior: aumenta o conteúdo e o rodapé (o topo e o player continuam do mesmo tamanho) */
html.acess-fonte main, html.acess-fonte .rodape { zoom: var(--acess-zoom, 1); }

/* Destacar links */
html.acess-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
html.acess-links a:not(.botao):not(.menu__destaque) { outline: 2px dashed currentColor; outline-offset: 2px; }

/* Parar animações (o script também para o carrossel e a digitação do título) */
html.acess-parado *, html.acess-parado *::before, html.acess-parado *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Lendo em voz alta: marca o trecho que está sendo lido */
html.acess-ouvir main, html.acess-ouvir .rodape { cursor: help; }
.acess-lendo { outline: 3px solid var(--laranja) !important; outline-offset: 4px; border-radius: 4px; background-color: rgba(252, 132, 36, .12) !important; }

/* Alto contraste: fundo preto, texto branco, links e botões em amarelo.
   Só a página e o que fica por cima dela (topo, player, painéis) ganham fundo preto; o resto fica transparente,
   senão as camadas de enfeite (nuvens, fundos) cobririam o texto */
html.acess-contraste, html.acess-contraste body { background: #000 !important; }
html.acess-contraste body *:not(svg):not(svg *):not(img):not(video):not(iframe):not(picture) {
  background-color: transparent !important; background-image: none !important; color: #fff !important; border-color: #fff !important;
  box-shadow: none !important; text-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; -webkit-text-fill-color: currentColor !important; }
html.acess-contraste *::before, html.acess-contraste *::after { background-image: none !important; box-shadow: none !important; }
html.acess-contraste .topo, html.acess-contraste .menu ul, html.acess-contraste .barra-player, html.acess-contraste .player, html.acess-contraste .acess-painel,
html.acess-contraste .acess-botao, html.acess-contraste dialog, html.acess-contraste .modal-video__caixa, html.acess-contraste .whatsapp__texto { background-color: #000 !important; }
html.acess-contraste .topo { border-bottom: 2px solid #fff !important; }
html.acess-contraste .barra-player { border-top: 2px solid #fff !important; }
html.acess-contraste a, html.acess-contraste a *, html.acess-contraste button, html.acess-contraste button *, html.acess-contraste summary { color: #ff0 !important; }
html.acess-contraste a.botao, html.acess-contraste button, html.acess-contraste input, html.acess-contraste textarea { border: 2px solid #ff0 !important; }
html.acess-contraste mark { background-color: #ff0 !important; color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.acess-contraste .acess-opcoes button[aria-pressed="true"] { background-color: #ff0 !important; }
html.acess-contraste .acess-opcoes button[aria-pressed="true"] * { color: #000 !important; -webkit-text-fill-color: #000 !important; }
/* No contraste: sem as ondas brancas entre as seções, logo em branco e as peças feitas de fundo (menu, pontos) visíveis */
html.acess-contraste .onda { display: none !important; }
html.acess-contraste .topo__logo img, html.acess-contraste .topo__globo { filter: brightness(0) invert(1); }
html.acess-contraste .menu-botao span, html.acess-contraste .carrossel__pontos span, html.acess-contraste .player__ponto { background-color: #fff !important; }
html.acess-contraste .carrossel__pontos span.ativo { background-color: #ff0 !important; }
