/* 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;
  --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); }
.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-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; }
.player__tocar .icone-play { margin-left: 3px; }
.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); }
.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%; animation: nuvens 60s linear infinite; }
@keyframes nuvens { from { background-position: 0 0, 0 0, 0 0; } to { background-position: -200% 0, -140% 0, -100% 0; } }
.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 110px; }
.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: #a8520a; 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; }
.sub { color: var(--cinza); font-size: 22px; font-weight: 300; line-height: 1.7; margin: 0; }

/* Sobre a rádio e perguntas frequentes */
/* Fica logo acima do Anuncie, no mesmo lilás da faixa de cima: a onda do Anuncie continua casando */
.sobre { background: var(--lilas); 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; }
.sobre__coluna { align-self: stretch; display: flex; flex-direction: column; }
/* No canto de baixo, à esquerda: entra na margem da página até 70 px, sem sair da tela em telas menores */
.sobre__globo { margin: auto 0 -40px calc(-1 * min(70px, max(0px, (100vw - 1140px) / 2))); padding-top: 40px; }
/* 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; 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%; background: var(--mapa) repeat-x calc(var(--tam) * -.34) 50% / auto 100%; animation: girar-terra 120s linear infinite; }
/* O mapa tem 2,5 vezes a largura da Terra (1,65 × --tam): corre essa distância e emenda, de oeste
   para leste, bem devagar. Começa com a América Latina à esquerda do centro (−0,34 × --tam; no centro seria −0,22) */
@keyframes girar-terra { from { background-position-x: calc(var(--tam) * -.34); } to { background-position-x: calc(var(--tam) * 1.31); } }
.globo-animado__ondas { position: absolute; inset: 0; overflow: visible; }
.globo-animado__ondas path { fill: none; stroke: #293f74; stroke-width: 7; stroke-linecap: round; transform-box: view-box; transform-origin: 88px 100px; animation: emitir-onda 2.4s ease-in-out infinite; }
.globo-animado__ondas path:nth-child(2) { animation-delay: .3s; }
.globo-animado__ondas path:nth-child(3) { animation-delay: .6s; }
@keyframes emitir-onda { 0%, 100% { opacity: .15; scale: .97; } 25% { opacity: 1; scale: 1; } 55% { opacity: .15; 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 p { margin: 0 0 18px; color: var(--cinza); line-height: 1.7; }

/* 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; }
.grade-quadro--escuro .grade-quadro__faixa { background: #e97010; 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; }
/* 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); } }
/* Celular: o quadro em escala ficaria com letras pequenas demais; vira uma lista com o mesmo visual */
@media (max-width: 640px) {
  .grade-quadro { aspect-ratio: auto; padding: 66px 12px 58px; }
  .grade-palco__sinal { display: none; }
  .grade-quadro__faixa { left: 0; width: 100%; height: auto; padding: 16px 16px 16px 58px; border-radius: 0; font-size: 16px; }
  .grade-quadro__faixa span { position: static; writing-mode: horizontal-tb; transform: none; }
  .grade-palco__globo { left: 12px; top: 8px; width: 38px; }
  .grade-palco__logo { right: 50%; bottom: 16px; width: 140px; transform: translateX(50%); }
  .grade-quadro__lista { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 6px; }
  .grade-item { grid-template-columns: 76px 1fr 96px; min-height: 66px; }
  .grade-item__hora { font-size: 16px; border-radius: 12px 0 0 12px; }
  .grade-item__hora small { font-size: 11px; }
  .grade-item__nome { padding: 8px 10px; font-size: 13px; }
}

/* Cartões dos programas (página inicial e fim das páginas de programa) */
.programas-area { padding-top: 70px; }
.programas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.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: #a8520a; font-size: 13px; font-weight: 500; }
.programa-cartao__ver { margin-top: auto; padding-top: 12px; color: var(--azul); font-size: 14px; font-weight: 500; }

/* 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; }

/* 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 */
.lilas { background: var(--lilas); }
.lilas > .cor-lilas { background: var(--branco); }
.lilas { 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); 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-play { margin-left: 3px; }
.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); }
.ouvinte-faixa { background: var(--branco); }
.ouvinte-faixa > .cor-lilas { margin-top: 40px; }
.ouvinte { padding-top: 60px; position: relative; isolation: isolate; }
.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 18px 44px; }
.depoimento__cartao { flex: 1; display: flex; flex-direction: column; gap: 18px; border-radius: 30px; padding: 30px 30px 26px;
  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: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--laranja); color: var(--branco); }
.depoimento__estrelas { color: #f5b300; letter-spacing: 2px; font-size: 16px; }
.depoimento blockquote { flex: 1; margin: 0; font-size: 16px; font-weight: 400; color: #4b4856; line-height: 1.75; }
.depoimento__autor { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(36, 60, 108, .1); }
.depoimento__avatar { flex: none; width: 56px; height: 56px; 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: 46px; height: 46px; }
.depoimento__nome { display: grid; line-height: 1.3; }
.depoimento__nome strong { font: 600 16px 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 h3 { 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 { position: fixed; left: 18px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.whatsapp img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.whatsapp span { 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; margin-left: auto; }
  .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) {
  .programas, .videos { grid-template-columns: repeat(2, 1fr); }
  .carrossel--depoimentos, .carrossel--episodios { --por-vez: 2; }
  .carrossel__seta--ant { left: 6px; }
  .carrossel__seta--prox { right: 6px; }
}

@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__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 { display: none; }
  .programa-topo__grade { grid-template-columns: 1fr; gap: 28px; }
  .programas, .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 span { 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 6px 14px -4px rgba(36, 60, 108, .5); }
.barra-player .player__tocar svg { width: 20px; height: 20px; }
.barra-player .player.tocando .player__tocar { box-shadow: 0 6px 16px -4px 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 { 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; }
@keyframes onda { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.whatsapp { bottom: calc(18px + env(safe-area-inset-bottom)); }

/* Voltar ao topo: no canto direito, do lado oposto ao WhatsApp; surge ao rolar a página */
.voltar-topo { position: fixed; right: 18px; bottom: calc(22px + 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 { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .voltar-topo { right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .player.tocando .player__ondas i { animation: none; height: 70%; }
}

/* =====================================================================
   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; }
.sintonia__ondas i { width: 2px; height: 40%; border-radius: 2px; background: var(--laranja); 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__terra, .globo-animado__ondas path { 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 infinite; }
@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; }
@keyframes reflexo { 0% { left: -60%; } 28%, 100% { left: 130%; } }

@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; }
}
