/* Meu Grupo — a página do grupo. Cor e cara do app de origem (Bíblia para Mulher). */
:root {
  --cor: #E36A93;
  --cor-escura: #B84B71;
  --cor-suave: #FCE9F0;
  --texto: #2B2126;
  --texto-2: #6F5F66;
  --fundo: #FBF7F8;
  --cartao: #FFFFFF;
  --borda: #F1DDE5;
  --ouro: #E9A23B;
}

* { box-sizing: border-box; }
/* Sem isto, um botão (display:flex) com hidden continuava aparecendo. */
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font: 16px/1.55 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  padding-bottom: 92px; /* espaço do rodapé fixo */
  -webkit-font-smoothing: antialiased;
}

/* ---------- Topo ---------- */
.topo {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 28px 20px 30px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
}
.topo-fundo {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--cor) 0%, var(--cor-escura) 100%);
  background-size: cover; background-position: center;
}
.topo-fundo.com-imagem::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.topo-conteudo { position: relative; }
.topo-logo { height: 64px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.topo-tipo {
  margin: 12px 0 2px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  opacity: .9;
}
.topo-nome { margin: 0; font-size: 1.7rem; font-weight: 800; line-height: 1.15; text-shadow: 0 1px 4px rgba(0,0,0,.25); }

/* ---------- Cartões ---------- */
.pagina { max-width: 640px; margin: 0 auto; padding: 18px 16px 8px; }
.cartao {
  background: var(--cartao);
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 18px 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.cartao-rotulo { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cor-escura); }
.cartao-titulo { margin: 0 0 4px; font-size: 1.15rem; font-weight: 800; }
.cartao-texto { margin: 0; color: var(--texto-2); }

/* Palavra do dia */
.palavra-versiculo {
  margin: 4px 0 12px; padding: 12px 14px;
  background: var(--cor-suave); border-left: 4px solid var(--cor); border-radius: 10px;
  font-style: italic; font-size: 1.05rem;
}
.palavra-meditacao { margin: 0 0 12px; }
.palavra-oracao { margin: 0 0 14px; }
.palavra-oracao summary { cursor: pointer; font-weight: 700; color: var(--cor-escura); padding: 6px 0; }
.palavra-oracao p { margin: 8px 0 0; color: var(--texto-2); }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; border: 0;
  font-weight: 800; font-size: .95rem; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.botao-suave { background: var(--cor-suave); color: var(--cor-escura); width: 100%; }
.botao-app { background: var(--cor); color: #fff; padding: 10px 16px; white-space: nowrap; }

/* ---------- Rodapé fixo com o app ---------- */
.rodape-app {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--borda);
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.rodape-icone { width: 44px; height: 44px; border-radius: 12px; }
.rodape-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.rodape-texto strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rodape-texto span { font-size: .75rem; color: var(--texto-2); }

@media (min-width: 700px) {
  .topo { border-radius: 0; }
  .topo-nome { font-size: 2rem; }
}

/* ---------- Blocos da parte 2 ---------- */
.texto-lider { margin: 0; white-space: pre-wrap; }
.video { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; margin-bottom: 8px; }
.video-capa { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%;
              background: rgba(227,106,147,.95); color: #fff; font-size: 26px; display: grid; place-items: center; padding-left: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
#bloco-igreja .botao { margin-top: 10px; }
#bloco-igreja .cartao-texto { margin-bottom: 4px; }

/* ---------- Parte 3: participar, presença, leitura, quiz ---------- */
.botao-cheio { background: var(--cor); color: #fff; width: 100%; }
.botao-cheio:disabled { opacity: .6; }
.centro { text-align: center; }
.destaque { font-weight: 800; color: var(--cor-escura); }
.erro { color: #c0392b; font-size: .85rem; margin: 8px 0 0; min-height: 1em; }
.entrar { border-color: var(--cor); background: linear-gradient(180deg, #fff, var(--cor-suave)); }
.campo-codigo { width: 100%; padding: 12px 14px; border: 1.5px solid var(--borda); border-radius: 12px; font-size: 1.1rem;
                letter-spacing: .15em; text-align: center; text-transform: uppercase; margin: 8px 0 10px; font-family: inherit; }
#bloco-leitura .botao, #bloco-presenca .botao { margin-top: 6px; }
#bloco-leitura .botao-suave { margin-top: 10px; }
.quiz-passo { margin: 0 0 4px; font-size: .78rem; color: var(--texto-2); }
.quiz-pergunta { margin: 0 0 10px; font-weight: 700; }
.quiz-opcoes { display: grid; gap: 8px; }
.quiz-opcao { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--borda); background: #fff;
              font: inherit; cursor: pointer; }
.quiz-opcao.certa { border-color: #2e9e5b; background: #e9f8ee; }
.quiz-opcao.errada { border-color: #c0392b; background: #fdecea; }
.quiz-just { margin: 10px 0 0; font-size: .88rem; color: var(--texto-2); }
#quiz-proxima { margin-top: 12px; width: 100%; }
.quiz-resultado { margin: 4px 0; font-size: 1.05rem; }
body.ios .so-android { display: none !important; }

/* ---------- Partes 4 e 5: oração, ao vivo, culto especial, convite ---------- */
.aovivo { display: flex; align-items: center; gap: 10px; background: #fff0f3; border: 1.5px solid #f3a3ba; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-weight: 800; color: #b0233f; text-decoration: none; }
.aovivo .ponto { width: 12px; height: 12px; border-radius: 50%; background: #e0173a; box-shadow: 0 0 0 0 rgba(224,23,58,.6); animation: pulsar 1.4s infinite; flex: none; }
@keyframes pulsar { 0% { box-shadow: 0 0 0 0 rgba(224,23,58,.55); } 70% { box-shadow: 0 0 0 10px rgba(224,23,58,0); } 100% { box-shadow: 0 0 0 0 rgba(224,23,58,0); } }
.proxima-live { font-size: .85rem; color: var(--texto-2); margin: 8px 0 0; }
.culto-capa { width: 100%; border-radius: 12px; display: block; margin: 6px 0 10px; }
.culto-quando { font-weight: 800; color: var(--cor-escura); margin: 0 0 4px; }
.oracao-texto { margin: 0 0 12px; }
.local { margin: 6px 0 0; color: var(--texto); font-weight: 600; }

/* Convite (folheto) */
.folheto .topo { padding-bottom: 40px; }
.folheto .abertura { font-size: 1.05rem; line-height: 1.55; text-align: center; }
.parte { margin-bottom: 14px; }
.parte-titulo { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; color: var(--cor-escura); }
.parte-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cor); color: #fff; font-size: .8rem; margin-right: 8px; }
.versiculo { margin: 0 0 10px; padding: 10px 12px; background: var(--cor-suave); border-left: 4px solid var(--cor); border-radius: 10px; font-style: italic; }
.versiculo .ref { display: block; font-style: normal; font-weight: 700; font-size: .82rem; color: var(--cor-escura); margin-top: 4px; }
.traducao { font-size: .72rem; color: var(--texto-2); text-align: center; margin: 4px 0 14px; }
.oracao-folheto { white-space: pre-wrap; background: #fff; border: 1.5px dashed var(--cor); border-radius: 12px; padding: 12px 14px; }
.form-conversar input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--borda); border-radius: 12px; font: inherit; margin-bottom: 8px; }
.ok { color: #2e9e5b; font-weight: 700; margin: 8px 0 0; }
.qr-dica { font-size: .8rem; color: var(--texto-2); text-align: center; }

/* ---------- Parte 6: denúncia ---------- */
.denuncia { text-align: center; margin: 24px 0 8px; font-size: .8rem; }
.denuncia a { color: var(--texto-2); text-decoration: none; }
.campo-select, .campo-texto { width: 100%; padding: 12px 14px; border: 1.5px solid var(--borda); border-radius: 12px; font: inherit; margin-bottom: 8px; background: #fff; }
.campo-texto { min-height: 80px; resize: vertical; }
