/* IMAC Church · visual do app (preto e amarelo da marca, fonte Poppins) */
:root {
  --preto: #000000; --fundo: #000000; --cartao: #1E1E1E; --cartao2: #262626; --linha: #2E2E2E;
  --amarelo: #FFE24F; --amarelo2: #FFF0A0; --texto: #F5F5F5; --suave: #BDBDBD; --apagado: #9A9A9A;
  --verde: #9BE29B; --vermelho: #FF8A80; --raio: 18px;
  --seguro-baixo: env(safe-area-inset-bottom, 0px); --seguro-topo: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--fundo); color: var(--texto); font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.5; }
body { min-height: 100vh; min-height: 100dvh; }
a { color: var(--amarelo); }
a:hover { color: var(--amarelo2); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amarelo); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* estrutura */
#tela { max-width: 560px; margin: 0 auto; padding: calc(16px + var(--seguro-topo)) 20px calc(120px + var(--seguro-baixo)); display: flex; flex-direction: column; gap: 20px; }
#tela.cheia { padding-bottom: calc(32px + var(--seguro-baixo)); }
.topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.topo h1 { font-size: 24px; font-weight: 700; flex: 1; }
.voltar { width: 44px; height: 44px; margin-left: -10px; display: grid; place-items: center; border: 0; background: none; color: var(--texto); border-radius: 50%; text-decoration: none; }
.redondo { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linha); background: var(--cartao); display: grid; place-items: center; color: var(--texto); text-decoration: none; position: relative; }
.ponto { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--amarelo); }
.i { width: 22px; height: 22px; flex-shrink: 0; }
.i-g { width: 30px; height: 30px; }

/* barra de baixo */
#nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--seguro-baixo)); width: min(536px, calc(100% - 24px)); height: 72px; border-radius: 26px; background: #0A0A0A; border: 1px solid #2A2A2A; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; z-index: 20; }
/* fecha o vão entre a barra e o fim da tela, para o conteúdo não aparecer ali embaixo */
#nav::after { content: ""; position: absolute; left: -50vw; right: -50vw; top: calc(100% + 1px); height: calc(16px + var(--seguro-baixo)); background: var(--fundo); }
#nav::before { content: ""; position: absolute; left: -50vw; right: -50vw; bottom: 100%; height: 28px; background: linear-gradient(to bottom, rgba(0,0,0,0), var(--fundo)); pointer-events: none; }
#nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0; color: #D6D6D6; text-decoration: none; font-size: 11px; font-weight: 500; }
#nav a[aria-current="page"] { color: var(--amarelo); font-weight: 600; }

/* textos */
.titulo { font-size: 26px; font-weight: 700; }
.sub { font-size: 15px; color: var(--suave); }
.secao { display: flex; flex-direction: column; gap: 12px; }
.secao-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.secao-topo h2 { font-size: 18px; font-weight: 700; }
.secao-topo a { font-size: 14px; font-weight: 500; padding: 8px 0; }
.olho { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pequeno { font-size: 13px; color: var(--suave); }
.vazio { padding: 26px 18px; border: 1px dashed #3A3A3A; border-radius: var(--raio); text-align: center; color: var(--suave); font-size: 14px; }
.pre { white-space: pre-line; }

/* cartões */
.cartao { background: var(--cartao); border: 1px solid #2A2A2A; border-radius: var(--raio); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.destaque { background: var(--amarelo); color: #111; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.destaque .olho { color: #111; }
.linha { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--cartao); border: 1px solid #2A2A2A; color: var(--texto); text-decoration: none; }
.linha > span:not(.data) { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.linha b { font-size: 15px; font-weight: 600; }
.linha small { font-size: 13px; color: var(--suave); }
.data { width: 56px; height: 58px; border-radius: 14px; background: var(--cartao2); color: var(--amarelo); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1.1; }
.data b { font-size: 11px; letter-spacing: .1em; }
.data strong { font-size: 20px; color: var(--texto); }
.data.am { background: var(--amarelo); color: #111; }
.data.am strong { color: #111; }
.grade2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 118px; padding: 16px; border-radius: 18px; background: var(--cartao); border: 1px solid #2A2A2A; color: var(--texto); text-decoration: none; font-weight: 600; text-align: left; }
.tile.am { background: var(--amarelo); color: #111; border-color: var(--amarelo); }
.tile svg { color: var(--amarelo); }
.tile.am svg { color: #111; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--amarelo); color: #111; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; }
.btn:hover { color: #111; background: var(--amarelo2); }
.btn.linha-btn { background: transparent; color: var(--texto); border: 1.5px solid #3A3A3A; font-weight: 600; }
.btn.linha-btn:hover { border-color: var(--amarelo); color: var(--texto); }
.btn.contorno { background: transparent; color: var(--amarelo); border: 1.5px solid var(--amarelo); }
.btn.escuro { background: #111; color: var(--amarelo); }
.btn.perigo { background: transparent; color: var(--vermelho); border: 1.5px solid #5A2A2A; }
.btn.p { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn.largo { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { background: none; border: 0; color: var(--amarelo); text-decoration: underline; text-underline-offset: 4px; padding: 10px; font-weight: 500; }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.acoes > * { flex: 1 1 140px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; flex-shrink: 0; scrollbar-width: none; }
.chip { flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--amarelo); background: transparent; color: var(--texto); font-size: 14px; font-weight: 500; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--amarelo); color: #111; }
.chip.cinza { border-color: #3A3A3A; }
.abas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: #0A0A0A; border: 1px solid #2A2A2A; }
.abas button { height: 44px; border: 0; border-radius: 999px; background: transparent; color: #D6D6D6; font-size: 14px; font-weight: 600; }
.abas button[aria-selected="true"] { background: var(--amarelo); color: #111; }

/* formulários */
form { display: flex; flex-direction: column; gap: 14px; }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: #D6D6D6; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; background: #0A0A0A; border: 1px solid var(--linha); color: var(--texto); font-size: 16px; }
.campo textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--apagado); }
.campo small { color: var(--apagado); font-weight: 400; }
.campo.erro input, .campo.erro textarea { border-color: var(--vermelho); }
.marcar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; border-radius: 14px; background: var(--cartao); border: 1px solid #2A2A2A; font-size: 15px; }
.marcar input { width: 22px; height: 22px; accent-color: var(--amarelo); margin: 0; flex-shrink: 0; }
.marcar span { display: flex; flex-direction: column; }
.marcar small { font-size: 12px; color: var(--suave); }
.senha { position: relative; }
.senha button { position: absolute; right: 4px; bottom: 4px; width: 44px; height: 44px; border: 0; background: none; color: var(--texto); display: grid; place-items: center; }
.msg { padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 500; }
.msg.erro { background: #3A1E1E; color: #FFD0CC; }
.msg.ok { background: #1F331F; color: #CDEBC7; }
.duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* abertura e entrada */
.abertura { min-height: calc(100dvh - 120px); display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; gap: 28px; padding-top: 40px; position: relative; }
.abertura .logo { width: min(300px, 80%); }
.abertura-meio { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.abertura-botoes { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 400px; }
/* entrada suave: a logo aparece primeiro, depois a frase e os botões */
.abertura .logo { animation: surge 2.4s cubic-bezier(.25,.6,.2,1) both; }
.abertura-meio p { animation: sobe 1.6s cubic-bezier(.25,.6,.2,1) 1.3s both; }
.abertura-botoes { animation: sobe 1.6s cubic-bezier(.25,.6,.2,1) 2.2s both; }
#tela.entra { animation: aparece .7s ease-out both; }
@keyframes surge { from { opacity: 0; transform: scale(.94); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aparece { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .abertura .logo, .abertura-meio p, .abertura-botoes, #tela.entra { animation: none; } }
.entrar-logo { width: min(260px, 72%); align-self: center; margin: 36px 0 16px; }

/* palavras e mídia */
.capa { position: relative; border-radius: 18px; background: #000 center / cover no-repeat; border: 1px solid #2A2A2A; overflow: hidden; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; padding: 16px; color: #fff; text-decoration: none; }
.capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.75)); }
.capa > * { position: relative; z-index: 1; }
.capa .play { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--amarelo); display: grid; place-items: center; }
.capa.mini { width: 132px; flex-shrink: 0; aspect-ratio: 16 / 10; padding: 8px; border-radius: 12px; }
.capa.mini .play { width: 28px; height: 28px; right: 6px; bottom: 6px; }
.selo { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amarelo); }

/* fotos */
.fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fotos button { aspect-ratio: 1; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: var(--cartao2); }
.fotos img { width: 100%; height: 100%; object-fit: cover; }
.visor { position: fixed; inset: 0; background: #000; z-index: 50; display: flex; flex-direction: column; gap: 14px; padding: calc(16px + var(--seguro-topo)) 16px calc(20px + var(--seguro-baixo)); }
.visor .foto-grande { flex: 1; min-height: 0; display: grid; place-items: center; }
.visor .foto-grande img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 12px; }

/* janela, aviso e carregando */
.fundo-janela { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.janela { width: min(560px, 100%); max-height: 92dvh; overflow-y: auto; background: var(--fundo); border-radius: 24px 24px 0 0; border: 1px solid #2A2A2A; padding: 20px 20px calc(24px + var(--seguro-baixo)); display: flex; flex-direction: column; gap: 16px; }
.janela-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.janela-topo h2 { font-size: 20px; }
#aviso { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(100px + var(--seguro-baixo)); background: var(--amarelo); color: #111; font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 999px; z-index: 70; box-shadow: 0 6px 24px rgba(0,0,0,.4); max-width: calc(100% - 32px); text-align: center; }
.carregando { padding: 40px 0; text-align: center; color: var(--suave); }
.faixa-demo { background: var(--amarelo); color: #111; font-size: 12px; font-weight: 600; text-align: center; padding: 6px 12px; }
.faixa-demo button { background: none; border: 0; text-decoration: underline; font-weight: 700; color: #111; padding: 0 0 0 6px; }
.etiqueta { align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--cartao2); color: var(--suave); }
.etiqueta.am { background: var(--amarelo); color: #111; }
.etiqueta.verde { background: #1F331F; color: #CDEBC7; }
.tabela { display: flex; flex-direction: column; gap: 8px; }
.ingresso { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; background: var(--amarelo); color: #111; }
.ingresso .qr { width: 84px; height: 84px; background: #fff; border-radius: 8px; padding: 6px; flex-shrink: 0; }
.ingresso .qr img, .ingresso .qr svg { width: 100%; height: 100%; }
.pix-qr { width: 200px; height: 200px; background: #fff; border-radius: 14px; padding: 10px; align-self: center; }
.pix-qr svg { width: 100%; height: 100%; display: block; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid #2A2A2A; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.spotify { width: 100%; height: 352px; border: 0; border-radius: 16px; background: #121212; display: block; }
.ao-vivo-ponto { width: 12px; height: 12px; border-radius: 50%; background: #E53935; box-shadow: 0 0 0 4px rgba(229,57,53,.25); flex-shrink: 0; animation: pulsa 1.6s ease-in-out infinite; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 8px rgba(229,57,53,0); } }
@media (prefers-reduced-motion: reduce) { .ao-vivo-ponto { animation: none; } }
/* menu mais em lista */
.perfil-cartao { background: var(--cartao); border: 1px solid #2A2A2A; border-radius: 18px; display: flex; flex-direction: column; }
.perfil-linha { display: flex; align-items: center; gap: 16px; padding: 18px; }
.perfil-linha b { display: block; font-size: 18px; font-weight: 700; }
.perfil-linha small { display: block; font-size: 13px; font-weight: 600; color: var(--texto); margin: 2px 0 8px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--amarelo); color: #111; display: grid; place-items: center; flex: 0 0 64px; }
.avatar .i-g { width: 34px; height: 34px; }
.barra { display: block; height: 8px; border-radius: 999px; background: #3A3520; overflow: hidden; }
.barra span { display: block; height: 100%; background: var(--amarelo); border-radius: 999px; }
.menu-lista { display: flex; flex-direction: column; gap: 10px; }
.menu-item { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 18px; border-radius: 14px; background: var(--cartao); border: 0; color: var(--texto); text-decoration: none; font-size: 16px; font-weight: 600; text-align: left; width: 100%; }
.menu-item:hover { color: var(--texto); background: var(--cartao2); }
.menu-item > .i:first-child { color: var(--amarelo); width: 24px; height: 24px; }
.menu-item span { flex: 1; }
.menu-item .seta { color: var(--amarelo); }
.menu-item.destaque-item { background: var(--amarelo); color: #111; }
.menu-item.destaque-item > .i, .menu-item.destaque-item .seta { color: #111; }
@media (min-width: 700px) { #tela { padding-top: 32px; } }

/* rolagem lateral (edificação e prévias) */
.rolar { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rolar::-webkit-scrollbar { display: none; }
.rolar > * { scroll-snap-align: start; flex-shrink: 0; }
.capa.rolar-item { width: min(78vw, 300px); }
.previa { position: relative; width: 132px; aspect-ratio: 9 / 16; border-radius: 16px; border: 2px solid var(--amarelo); background: #111 center / cover no-repeat; padding: 0; overflow: hidden; color: #fff; text-align: left; }
.previa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.85)); }
.previa-play { position: absolute; top: 10px; left: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: var(--amarelo); color: #111; display: grid; place-items: center; }
.previa-play .i { width: 18px; height: 18px; }
.previa-info { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.previa-info b { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.previa-info small { font-size: 11px; color: #D6D6D6; }
.previa-video { flex: 1; min-height: 0; display: grid; place-items: center; }
.previa-video iframe { height: 100%; max-height: 78dvh; aspect-ratio: 9 / 16; max-width: 100%; border: 0; border-radius: 16px; background: #111; }

/* atalhos do início */
.atalhos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.atalhos a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--texto); text-decoration: none; font-size: 12px; font-weight: 500; }
.atalhos span { width: 56px; height: 56px; border-radius: 18px; background: var(--cartao); border: 1px solid #2A2A2A; display: grid; place-items: center; color: var(--amarelo); }

/* álbuns de fotos: uma foto de capa com a data do culto */
.albuns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.album { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #111 url('../img/simbolo.svg') center / 55% no-repeat; background-size: cover; border: 1px solid #2A2A2A; color: #fff; text-decoration: none; display: block; }
.album:not([style]) { background-size: 55%; }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.85)); }
.album-data { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; flex-direction: column; align-items: center; min-width: 50px; padding: 6px 8px; border-radius: 12px; background: var(--amarelo); color: #111; line-height: 1.05; }
.album-data b { font-size: 10px; letter-spacing: .06em; }
.album-data strong { font-size: 22px; font-weight: 800; }
.album-data small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.album-info { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.album-info b { font-size: 15px; line-height: 1.25; }
.album-info small { font-size: 12px; color: #D6D6D6; }
.secao > .album { aspect-ratio: 16 / 9; }

/* v13: avisos no celular, leitura bíblica e aniversariantes */
.aviso-celular { border-color: var(--amarelo); gap: 10px; }
.aviso-celular b { display: flex; align-items: center; gap: 8px; }
.aviso-celular b svg { color: var(--amarelo); }
.contorno-escuro { background: #111 !important; color: var(--amarelo) !important; border-color: #111 !important; }
.numero-grande { font-size: 30px; font-weight: 800; color: var(--amarelo); line-height: 1; }
.dias-leitura { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dia-leitura { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #2A2A2A; }
.dia-leitura span { display: flex; flex-direction: column; min-width: 0; }
.dia-leitura small { color: var(--suave); font-size: 13px; }
.dia-leitura.hoje b { color: var(--amarelo); }
.dia-leitura .btn { flex: 0 0 auto; }
.leitura-hoje { justify-content: space-between; }
.leitura-hoje .btn { flex: 0 0 auto; }
.niver { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 96px; padding: 12px 14px; border-radius: 16px; background: var(--cartao); border: 1px solid #2A2A2A; text-align: center; }
.niver.hoje { background: var(--amarelo); color: #111; border-color: var(--amarelo); }
.niver-dia { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amarelo); }
.niver.hoje .niver-dia { color: #111; }
.niver b { font-size: 15px; }

/* v14: tocador de áudio e mural de testemunhos */
.ouvir { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ouvir-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--amarelo); color: #111; display: grid; place-items: center; flex: 0 0 48px; }
.tocador { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + var(--seguro-baixo)); width: min(536px, calc(100% - 24px)); z-index: 19; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 20px; background: #1A1A1A; border: 1px solid #333; box-shadow: 0 8px 24px rgba(0,0,0,.6); overflow: hidden; }
.tocador .redondo { width: 40px; height: 40px; flex: 0 0 40px; font-size: 12px; font-weight: 700; }
.tocador-play { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 0; background: var(--amarelo); color: #111; display: grid; place-items: center; }
.tocador-info { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--texto); text-decoration: none; }
.tocador-info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tocador-info small { font-size: 12px; color: var(--suave); }
.tocador-barra { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--amarelo); }
.testemunho { gap: 10px; }

/* v17 · Nossa história */
.historia-foto { width: 100%; max-height: 320px; object-fit: cover; border-radius: 18px; display: block; }
.historia-texto { gap: 12px; }
.historia-texto p { font-size: 15.5px; line-height: 1.75; }

/* v20 · inscrição paga */
.preco { font-size: 18px; font-weight: 700; color: var(--amarelo); }
.preco small { font-size: 12.5px; font-weight: 500; color: #BDBDBD; }
.ingresso .pag { font-weight: 700; font-size: 12.5px; }
.ingresso .pag-falta { color: #8A1C1C; }
.ingresso .pag-ok { color: #1B5E20; }
.ingresso.reservada { background: #FFF3B0; }
.pix-qr { background: #fff; border-radius: 16px; padding: 14px; width: min(240px, 100%); align-self: center; flex: none; }
.pix-qr svg { width: 100%; height: auto; display: block; }
.selo-pg { display: inline-block; width: fit-content; align-self: flex-start; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; }
.selo-pg.pago { background: #1B5E20; color: #fff; } .selo-pg.informado { background: var(--amarelo); color: #111; } .selo-pg.pendente { background: #5A1E1E; color: #FFD6D6; }
.linha-insc { display: flex; flex-direction: column; }
.linha-insc .pg-acao { display: flex; justify-content: flex-end; padding: 0 16px 12px; margin-top: -6px; }

/* v20 · mural de oração */
.oracao-mural { gap: 10px; }
.oracao-mural .om-topo { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.oracao-mural .om-rodape { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.oracao-mural .orando-conta { font-size: 13px; color: #BDBDBD; }
.oracao-mural.respondida { border-color: var(--amarelo); }
.mural-pede { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #2A2410; border: 1px solid #5C4D16; }
.mural-pede small { color: #D6D6D6; font-size: 12.5px; }
.mural-pede.ok { flex-direction: row; justify-content: space-between; align-items: center; background: #13240F; border-color: #2F5524; }

/* v20 · escala de voluntários */
.etiqueta.ok { background: #1B5E20; color: #fff; }
.escala-alerta { border-color: var(--amarelo) !important; }
.escala-minha.pendente { border-color: var(--amarelo); }
.escala-grupo { gap: 8px; }
.escala-grupo .eg-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.escala-grupo .eg-topo > span { display: flex; flex-direction: column; min-width: 0; }
.escala-grupo .eg-linha { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #2A2A2A; }
.escala-grupo .eg-linha > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.escala-grupo .eg-linha small { color: #BDBDBD; font-size: 13px; }
.escala-grupo .eg-linha.recusado small { color: #FF9C9C; }
.escala-grupo .eg-acoes { display: flex; gap: 6px; flex: none; }
.redondo.p { width: 38px; height: 38px; }
.escala-pessoa { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin-bottom: 8px; }
.escala-pessoa select, .escala-pessoa input { min-width: 0; }

/* v20 · Bíblia */
.bib-busca { display: flex; gap: 8px; }
.bib-busca input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--linha); background: var(--cartao); color: var(--texto); font: inherit; font-size: 16px; }
.bib-test { font-size: 15px; font-weight: 700; color: var(--amarelo); letter-spacing: .04em; text-transform: uppercase; }
.bib-livros { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.bib-livros a { padding: 12px 14px; border-radius: 12px; background: var(--cartao); border: 1px solid var(--linha); color: var(--texto); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.bib-caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.bib-caps a { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: var(--cartao); border: 1px solid var(--linha); color: var(--texto); text-decoration: none; font-weight: 700; }
.bib-letra { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bib-texto { line-height: 1.75; font-family: Georgia, 'Times New Roman', serif; color: #EDEDED; }
.bib-texto p { margin: 0 0 6px; padding: 2px 6px; border-radius: 8px; cursor: pointer; transition: background .15s; }
.bib-texto sup { font-family: Poppins, system-ui, sans-serif; font-size: .62em; font-weight: 700; color: var(--amarelo); margin-right: 6px; }
.bib-texto .bib-salmo { font-style: italic; color: #BDBDBD; font-size: .88em; cursor: default; }
.bib-texto .marcado { background: rgba(255, 226, 79, .16); box-shadow: inset 3px 0 0 var(--amarelo); }
.bib-texto .alvo { background: rgba(255, 226, 79, .26); }
.bib-texto .sel { background: #2E2E2E; outline: 1px dashed var(--amarelo); }
.bib-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bib-titulo { font-weight: 700; color: var(--texto); text-decoration: none; }
.bib-barra { position: fixed; left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 18px; background: #161616; border: 1px solid var(--amarelo); box-shadow: 0 10px 30px rgba(0,0,0,.6); max-width: 560px; margin: 0 auto; }
.bib-barra #bib-qual { flex: 1 0 100%; font-size: 13px; font-weight: 700; color: var(--amarelo); }
.bib-achado { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--cartao); border: 1px solid var(--linha); color: var(--texto); text-decoration: none; }
.bib-achado b { color: var(--amarelo); font-size: 14px; }
.bib-achado span { font-size: 14.5px; line-height: 1.55; font-family: Georgia, serif; }
.bib-credito { font-size: 11.5px; color: #8A8A8A; line-height: 1.5; }
.bib-credito a { color: #BDBDBD; }

/* v20 · Contribua no visual da arte "Dízimo e Ofertas" */
.pix-banner { position: relative; overflow: hidden; border-radius: 22px; padding: 22px 18px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: #fff;
  background: radial-gradient(120% 90% at 30% 20%, #E9C46A 0%, #D9A93C 45%, #B7862A 100%); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.pix-banner::before, .pix-banner::after { content: ""; position: absolute; width: 90px; height: 60px; background-image: radial-gradient(#3CC6C1 2.2px, transparent 2.6px); background-size: 14px 14px; opacity: .85; }
.pix-banner::before { top: 12px; right: 10px; } .pix-banner::after { bottom: 10px; left: 8px; }
.pb-titulo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; line-height: .9; font-weight: 800; font-size: 44px; letter-spacing: .01em; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.pb-titulo i { font-family: 'Brush Script MT', 'Segoe Script', cursive; font-style: italic; font-weight: 400; color: #3CC6C1; font-size: 40px; line-height: .6; margin: -4px 0 2px; text-shadow: none; }
.pb-qr { position: relative; z-index: 1; background: #fff; padding: 12px; border-radius: 12px; width: min(210px, 70%); }
.pb-qr svg { width: 100%; height: auto; display: block; }
.pb-vazio { aspect-ratio: 1; display: grid; place-items: center; color: #777; font-size: 13px; font-weight: 600; }
.pb-escaneie { position: relative; z-index: 1; font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: .02em; }
.pb-chave { position: relative; z-index: 1; background: #3CC6C1; color: #fff; font-weight: 800; font-size: 17px; padding: 6px 14px; border-radius: 6px; letter-spacing: .02em; word-break: break-all; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.pb-nome { position: relative; z-index: 1; font-weight: 800; font-size: 13.5px; letter-spacing: .02em; text-shadow: 0 1px 6px rgba(0,0,0,.3); }

/* v23 · arte do culto em destaque */
.arte-destaque { display: block; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--linha); text-decoration: none; color: #fff; background: #111; }
.arte-destaque img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.arte-destaque span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; flex-direction: column; gap: 2px; }
.arte-destaque b { font-size: 17px; }
.arte-destaque small { font-size: 13px; color: #E6E6E6; }
.arte-aviso { width: 100%; border-radius: 14px; display: block; }
.arte-evento { width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; display: block; }
