/* Tabernáculo da Fé · Limeira — site público
   Visual limpo: fundo branco, azul como única cor de destaque, texto grande e legível. */

:root {
  --accent: #1a5fc4;
  --accent-hover: #154ea3;
  --accent-soft: #e9f1fd;
  --bg: #ffffff;
  --surface: #f5f6f8;
  --ink: #16191f;
  --muted: #5f6570;
  --line: #e4e6ea;
  --line-2: #d2d6dc;
  --live: #d93025;
  --ok: #1e7f46;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 16px;
  --r-sm: 12px;
  --wrap: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lbl-short { display: none; }
.uf { font-size: .78em; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
[aria-selected="true"] .uf { color: rgba(255, 255, 255, .8); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.i { width: 24px; height: 24px; flex: none; }
.i--sm { width: 20px; height: 20px; }
.i--xs { width: 17px; height: 17px; vertical-align: -3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; font-size: 1.05rem; padding: 14px 28px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--soft { background: var(--accent-soft); color: var(--accent); }
.btn--soft:hover { background: #dbe8fb; }
.btn--ghost { background: #fff; color: var(--accent); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--whats { background: #168a4a; color: #fff; }
.btn--whats:hover { background: #127a40; }
.i--wa { width: 26px; height: 26px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.link { font-weight: 600; color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Topo ---------- */
.topbar { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand img { width: 46px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__city { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: 16px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav__contact { display: none; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; }
.menu-btn .i { width: 26px; height: 26px; }
.pill-live { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; color: var(--live); font-weight: 600; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; background: #fdeeed; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px;
    background: #fff; border-bottom: 1px solid var(--line); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__contact { display: block; text-align: left; background: none; border: 0; padding: 14px 4px; font-size: 1.1rem; font-weight: 500; color: var(--accent); }
  .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .topbar__in { gap: 6px; min-height: 62px; }
  .brand img { width: 38px; }
  .brand__name { font-size: 1rem; }
  .brand__city { font-size: .64rem; }
  .topbar .btn--sm { padding: 8px 12px; font-size: .88rem; min-height: 40px; }
  .pill-live { padding: 6px 9px; font-size: .85rem; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .brand__city { display: none; }
  .topbar .wrap { padding: 0 14px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand__txt { min-width: 0; }
  .brand__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__actions { flex: none; }
}
@media (max-width: 420px) {
  .is-live .brand__txt { display: none; }
}
body { overflow-x: clip; }

/* ---------- Ao vivo ---------- */
.live {
  position: relative; color: #fff; padding: 28px 0 32px;
  background: #0f1724 var(--live-bg, none) center / cover no-repeat; isolation: isolate;
}
.live::before { content: ""; position: absolute; inset: 0; background: rgba(10, 15, 25, .6); z-index: -1; }
.live__in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.live__video { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.live__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.live__actions { width: 100%; max-width: 960px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .live__actions { grid-template-columns: repeat(2, 1fr); } }
.live__actions .action { border-color: transparent; }
@media (max-width: 760px) {
  .live { padding: 14px 0 20px; }
  .live .wrap { padding: 0 12px; }
  .live__video { border-radius: 10px; }
  .live__actions { grid-template-columns: 1fr; gap: 8px; }
}

/* Botões de ação (aviso, pedido, audiência, testemunho) */
.action {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; min-height: 80px; color: var(--ink); transition: border-color .15s, background .15s;
}
button.action:hover { border-color: var(--accent); }
.action__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.action__txt { display: flex; flex-direction: column; }
.action__txt b { font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.action__txt small { font-size: .9rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.action--off { background: var(--surface); border-color: var(--surface); }
.action--off .action__ic { background: #e8eaee; color: #8a9099; }
.action--off .action__txt b { color: var(--muted); }

/* ---------- Banners ---------- */
/* Altura = a da arte do banner (1440 × 346, no máximo 346px): assim nada sobra em cima ou embaixo em nenhuma largura de tela */
.banners { position: relative; background: var(--surface); overflow: hidden; container-type: inline-size; --banner-h: max(200px, min(calc(100cqw * 346 / 1440), 346px)); }
.banners__track { display: flex; transition: transform .6s ease; }
.banners__track { align-items: stretch; }
.banners__slide { flex: 0 0 100%; display: flex; min-height: var(--banner-h); }
/* Imagem pronta: mantém a proporção; se outro banner for mais alto (celular), fica centralizada */
.banners__slide--img { align-items: center; background: #0f1724; position: relative; overflow: hidden; isolation: isolate; }
.banners__slide--img::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--slide-img) center / cover; filter: blur(24px) brightness(.75); }
.banners__slide--img > a { position: absolute; inset: 0; display: block; }
/* A imagem pronta aparece inteira, sem corte; sobras são preenchidas pela própria imagem desfocada */
.banners__slide--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.banners__slide--cb > .cb { flex: 1; }
.banners__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.banners__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); }
.banners__dots button[aria-current="true"] { background: #fff; width: 24px; border-radius: 999px; }
@media (max-width: 700px) {
  .banners__dots { bottom: 8px; }
}

/* Destaque padrão (sem banners cadastrados) */
.hero { position: relative; color: #fff; min-height: 440px; display: flex; align-items: flex-end; background: #0f1724; isolation: isolate; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 15, 25, .75) 0%, rgba(10, 15, 25, .15) 70%); z-index: -1; }
.hero__in { padding-top: 70px; padding-bottom: 48px; }
.hero h1 { color: #fff; }
.hero__verse { font-size: 1.15rem; max-width: 40ch; color: rgba(255, 255, 255, .9); margin: 0; }
.hero__verse span { display: block; font-size: .92rem; color: rgba(255, 255, 255, .7); margin-top: 4px; }
@media (max-width: 700px) { .hero { min-height: 340px; } .hero__in { padding-bottom: 28px; } }

/* Faixa "próximo culto" */
.nextbar { border-bottom: 1px solid var(--line); }
.nextbar__in { display: grid; grid-template-columns: repeat(2, 1fr); }
.nextbar__item { display: flex; align-items: center; gap: 14px; padding: 18px 8px; border: 0; background: none; text-align: left; }
.nextbar__item + .nextbar__item { border-left: 1px solid var(--line); padding-left: 24px; }
.nextbar__item small { display: block; font-size: .85rem; color: var(--muted); }
.nextbar__item b { font-size: 1.08rem; font-weight: 600; }
.nextbar__ic { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.nextbar__btn b { color: var(--accent); }
.nextbar__btn { cursor: pointer; transition: background-color .2s ease; }
.nextbar__btn .nextbar__chev { transition: transform .2s ease, color .2s ease; }
.nextbar__btn:hover { background-color: #f7f9fc; }
.nextbar__btn:hover .nextbar__chev { transform: translateX(3px); color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .nextbar__btn:hover .nextbar__chev { transform: none; } }
.nextbar__chev { margin-left: auto; color: var(--muted); }
@media (max-width: 760px) {
  .nextbar__in { grid-template-columns: 1fr; }
  .nextbar__item + .nextbar__item { border-left: 0; border-top: 1px solid var(--line); padding-left: 4px; }
  .nextbar__item { padding: 14px 4px; }
}

/* ---------- Seções ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 24px 0 0; }
.section--alt { background: var(--surface); }
.sec-head { margin-bottom: 22px; max-width: 70ch; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: none; }
.sec-head--row h2 { margin: 0; }
@media (max-width: 700px) { .section { padding: 40px 0; } }

.participa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 700px) { .participa { grid-template-columns: 1fr; } }

.testemunho-cta { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.testemunho-cta:hover { border-color: var(--accent); }
.testemunho-cta b { font-size: 1.08rem; font-weight: 600; }
.testemunho-cta small { color: var(--muted); font-size: .95rem; }
.testemunho-cta > .i { margin-left: auto; color: var(--muted); }

/* Abas */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs [role="tab"] { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 500; font-size: .92rem; color: var(--ink); transition: background-color .2s ease; }
.tabs [role="tab"]:hover { background: #eef0f3; }
.tabs [role="tab"][aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.tabs [role="tab"][aria-selected="true"]:hover { background: var(--accent-hover); }

/* Vídeos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; } }
.vcard { display: flex; flex-direction: column; justify-content: flex-start; align-self: start; border: 0; padding: 0; background: none; text-align: left; width: 100%; }
.vcard__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: #e6e8ec; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard__play { position: absolute; inset: 0; display: grid; place-items: center; }
.vcard__play span { width: 42px; height: 42px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; transition: background .2s ease; }
.vcard:hover .vcard__play span { background: rgba(60, 64, 67, .85); }
.vcard__play .i { width: 20px; height: 20px; margin-left: 2px; }
.vcard__t { margin-top: 10px; font-weight: 600; font-size: 1.02rem; line-height: 1.35; color: var(--ink); }
.vcard__d { color: var(--muted); font-size: .9rem; }
.vcard--skel .vcard__thumb { animation: skel 1.4s ease-in-out infinite; }
.vcard--skel .vcard__t { height: 18px; width: 70%; background: #e6e8ec; border-radius: 6px; }
@keyframes skel { 50% { opacity: .55; } }
.videos__empty { grid-column: 1 / -1; color: var(--muted); }
/* Celular: lista compacta (miniatura à esquerda, título ao lado) para não precisar rolar tanto */
@media (max-width: 560px) {
  .videos { grid-template-columns: 1fr; gap: 14px; }
  .vcard { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; }
  .vcard__thumb { grid-row: 1 / span 2; }
  .vcard__t { margin-top: 0; font-size: .98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .vcard__d { font-size: .85rem; margin-top: 2px; }
  .vcard__play span { width: 34px; height: 34px; }
  .vcard__play .i { width: 16px; height: 16px; }
  .vcard--skel .vcard__t { width: 100%; }
}


/* Cards de conteúdo */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-link {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 28px 26px; min-height: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.card-link:hover { border-color: var(--accent); box-shadow: 0 6px 24px rgba(26, 95, 196, .08); }
.card-link--wide { grid-column: span 2; }
.card-link--full { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; min-height: 0; }
.card-link--full .card-link__ic { margin-bottom: 0; flex: none; width: 64px; height: 64px; }
.card-link--full .card-link__ic .i { width: 34px; height: 34px; }
.card-link--full .card-link__txt { flex: 1; }
.card-link--full .card-link__go { margin-top: 0; white-space: nowrap; }
.card-link__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card-link__ic .i { width: 28px; height: 28px; }
.card-link h3 { font-size: 1.45rem; margin: 0 0 8px; }
.card-link p { color: var(--muted); font-size: 1.04rem; line-height: 1.55; margin: 0 0 18px; max-width: 52ch; }
.card-link__go { margin-top: auto; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card-link--wide { grid-column: auto; }
  .card-link--full { flex-direction: column; align-items: flex-start; }
  .card-link--full .card-link__go { margin-top: 4px; }
  .card-link { min-height: 0; padding: 22px 20px; }
  .card-link h3 { font-size: 1.3rem; }
}

/* ---------- Cabeçalho das páginas internas ---------- */
.pagehead { padding: 52px 0 28px; }
.pagehead h1 { margin-bottom: .3em; }
.pagehead__lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; margin: 0; }

/* ---------- Histórico ---------- */
.story > * { max-width: 760px; }
.story { padding-top: 8px; padding-bottom: 64px; font-size: 1.12rem; line-height: 1.75; }
.story p { margin-bottom: 1.15em; }
.story__h { font-size: 1.4rem; margin-top: 1.6em; }
.story__fig { margin: 28px 0; }
.story__fig img { border-radius: var(--r-sm); width: auto; max-width: 100%; }
.story__fig figcaption { font-size: .95rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.story__fig figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 700px) { .story { font-size: 1.06rem; } }

/* ---------- De volta à Palavra Original ---------- */
.doc-page { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; padding-top: 8px; padding-bottom: 64px; }
.doc-toc { position: sticky; top: 90px; align-self: start; }
.doc-toc__t { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.doc-toc a { display: block; padding: 8px 0 8px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.doc-toc a:hover, .doc-toc a.is-on { color: var(--accent); border-left-color: var(--accent); }
.doc-body { font-size: 1.1rem; line-height: 1.75; }
.doc-body > p { margin-bottom: 1.1em; }
.doc-h2 { font-size: 1.6rem; margin: 2em 0 .6em; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.doc-h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc-h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; color: var(--accent); }
.doc-quote { margin: 18px 0; padding: 14px 18px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.doc-quote p { margin: 0 0 .5em; color: #23344f; }
.doc-quote p:last-of-type { margin-bottom: 0; }
.doc-quote cite { display: block; text-align: right; font-style: normal; font-weight: 600; font-size: .9rem; color: var(--accent); margin-top: 8px; }
.doc-hl { color: var(--accent); }
.doc-ask { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; background: var(--surface); border-radius: var(--r-sm); padding: 12px 14px; }
.doc-ask .i { color: var(--accent); margin-top: 4px; }
.doc-img { margin: 20px auto; width: 100%; max-width: 640px; }
.doc-center { text-align: center; font-weight: 600; }
.doc-source { margin-top: 40px; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .doc-page { grid-template-columns: 1fr; gap: 16px; }
  .doc-toc { position: static; background: var(--surface); border-radius: var(--r-sm); padding: 14px 16px; }
  .doc-toc ol { border: 0; }
  .doc-toc a { padding: 6px 0; border: 0; margin: 0; }
  .doc-body { font-size: 1.05rem; }
}

/* ---------- Igrejas ---------- */
.churches { padding-top: 8px; padding-bottom: 64px; }
.church { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.church h2, .church h3 { margin-bottom: .35em; }
.church small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.church__addr { color: var(--ink); margin-bottom: .5em; }
.church--main { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; padding: 26px; }
.church__map { border-radius: var(--r-sm); overflow: hidden; background: var(--surface); min-height: 300px; }
.church__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.church__map--sm { min-height: 240px; margin-top: 12px; }
.church__map--sm iframe { min-height: 240px; }
.churches__h { margin: 44px 0 16px; }
.churches__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }
@media (max-width: 1000px) { .churches__grid { grid-template-columns: repeat(2, 1fr); } }
.churches__grid .church { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.church__thumb { position: relative; height: 210px; background: var(--surface); flex: none; }
.church__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.church__credit { position: absolute; z-index: 2; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 999px; }
.church__thumb-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #9aa1ab; font-weight: 600; font-size: .95rem; }
.church__thumb-ph .i { width: 34px; height: 34px; }
.church__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.church__body .btnrow { margin-top: auto; padding-top: 14px; }
.church__body .church__map--sm { margin-top: 12px; }
.church h2 { font-size: 1.4rem; }
.church__times { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.church__times li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.church__times b { font-weight: 600; }
.church__sub { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 0; }
.church__sub + .church__times { margin-top: 6px; }
@media (min-width: 1001px) { .churches__grid .church.is-wide3 { grid-column: span 2; } }
@media (min-width: 861px) and (max-width: 1000px) { .churches__grid .church.is-wide2 { grid-column: span 2; } }
.church__note { color: var(--muted); font-size: .92rem; margin: 10px 0 0; }
.church:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26, 95, 196, .2); }
.churches .church { scroll-margin-top: 90px; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
@media (max-width: 860px) {
  .church--main { grid-template-columns: 1fr; padding: 20px; }
  .churches__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding-top: 8px; padding-bottom: 64px; align-items: start; }
.contact__ways { display: flex; flex-direction: column; gap: 10px; }
.way { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.way:hover { border-color: var(--accent); }
.way--whats { background: #168a4a; border-color: #168a4a; color: #fff; }
.way--whats:hover { background: #127a40; border-color: #127a40; }
.way--whats b, .way--whats small { color: #fff; }
.way--whats .way__ic { background: rgba(255, 255, 255, .2); color: #fff; }
.way small { display: block; color: var(--muted); font-size: .88rem; }
.way b { font-size: 1.12rem; font-weight: 600; }
.way__ic { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .card { padding: 20px; } }

.note { background: var(--surface); color: var(--muted); border-radius: var(--r-sm); padding: 12px 14px; font-size: .95rem; line-height: 1.45; margin: 0; }

/* ---------- Formulários ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; min-width: 0; }
.field > span, .names legend { font-weight: 600; font-size: .98rem; }
.field input, .field select, .field textarea, .names input {
  width: 100%; font: inherit; font-size: 1.08rem; color: var(--ink);
  min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .names input:focus { border-color: var(--accent); outline: 3px solid rgba(26, 95, 196, .18); outline-offset: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"], .names input[aria-invalid="true"] { border-color: var(--live); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.row-city { display: grid; grid-template-columns: 1fr 100px; gap: 10px; }
.suggest { position: absolute; z-index: 10; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); max-height: 260px; overflow-y: auto; }
.suggest li { padding: 12px; border-radius: 8px; cursor: pointer; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 10px; }
.suggest li b { color: var(--muted); font-weight: 500; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--accent-soft); }
.form-err { background: #fdeeed; color: #a32018; border-radius: var(--r-sm); padding: 12px 14px; margin: 0; font-weight: 500; }
.field--write textarea { min-height: 42vh; font-size: 1.12rem; line-height: 1.65; padding: 16px 18px; }
.draft-note { margin: -6px 0 0; }

/* Notificar audiência */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface); padding: 4px; border-radius: 999px; }
.seg__b { min-height: 48px; border: 0; border-radius: 999px; background: transparent; font-weight: 500; font-size: 1.02rem; color: var(--muted); }
.seg__b[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.names { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.names legend { margin-bottom: 6px; padding: 0; }
.names__list { display: flex; flex-direction: column; gap: 10px; }
.names__row { display: flex; gap: 8px; }
.names__row button { flex: none; width: 52px; border: 1px solid var(--line-2); background: #fff; border-radius: var(--r-sm); color: var(--muted); display: grid; place-items: center; }
.names > .btn { align-self: flex-start; }
.switch-local { border: 0; background: none; font-weight: 600; color: var(--accent); padding: 6px 0; text-align: left; font-size: 1rem; }
.switch-local:hover { text-decoration: underline; }
.form--aud .when-ex { display: none; }
.form--aud[data-local="exterior"] .when-br { display: none; }
.form--aud[data-local="exterior"] .when-ex { display: inline; }
.form--aud[data-tipo="igreja"] .aud-irmaos { display: none; }

/* Confirmação de envio */
.done { text-align: center; padding: 20px 0 6px; }
.done__ic { width: 68px; height: 68px; border-radius: 50%; background: #e6f4ec; color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; }
.done__ic .i { width: 36px; height: 36px; stroke-width: 2.4; }
.done p { color: var(--muted); font-size: 1.08rem; }
.done__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Janelas (modais) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .45); animation: fade .15s ease; }
@keyframes fade { from { opacity: 0; } }
.modal__box { background: #fff; border-radius: 20px; width: 100%; max-width: 600px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.modal__box--sm { max-width: 460px; }
.modal__box--lg { max-width: 840px; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px 24px; }
.modal__head h2 { margin: 0; font-size: 1.35rem; }
.modal__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; flex: none; }
.modal__x:hover { background: #e8eaee; }
.modal__body { padding: 8px 24px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
body.has-modal { overflow: hidden; }
@media (max-width: 600px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__box { border-radius: 20px 20px 0 0; max-height: 94vh; max-height: 94dvh; }
  .modal--write .modal__box, .modal--video .modal__box { border-radius: 0; max-height: 100vh; max-height: 100dvh; height: 100%; }
  .modal__body { padding: 8px 18px 24px; }
  .modal__head { padding: 12px 12px 8px 18px; }
  .field--write textarea { min-height: 46vh; }
}
.modal__box--video { max-width: 1100px; background: #000; color: #fff; overflow: hidden; }
.modal__box--video .modal__head h2 { color: #fff; font-size: 1.05rem; font-weight: 500; }
.modal__box--video .modal__x { background: rgba(255, 255, 255, .15); color: #fff; }
.map-frame { height: min(70vh, 560px); background: var(--surface); border-radius: 0 0 20px 20px; overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map-frame { height: 70vh; border-radius: 0; } }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .modal--video .modal__box { justify-content: center; } }

/* Dízimos */
.bank__name { font-weight: 700; font-size: 1.25rem; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.bank h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.bank__pix { text-align: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.bank--pix { text-align: center; padding-top: 4px; }
.bank__how { color: var(--muted); font-size: .98rem; margin: 4px 0 18px; }
.bank--pix .copyrow { text-align: left; }
.bank__qr { margin: 0 auto 8px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; background: #fff; width: 240px; }
.copyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; text-align: left; background: var(--surface); border-radius: var(--r-sm); padding: 12px 14px; }
.copyrow small { display: block; color: var(--muted); font-size: .85rem; }
.copyrow b { font-size: 1.08rem; font-weight: 600; word-break: break-all; }
.bank__details { font-size: 1.12rem; line-height: 1.7; background: var(--surface); border-radius: var(--r-sm); padding: 14px 16px; }

/* Contato (janela) */
.contact-pop { display: flex; flex-direction: column; gap: 14px; }
.contact-pop__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.contact-pop__row small { display: block; color: var(--muted); font-size: .88rem; }
.contact-pop__row b { font-size: 1.12rem; font-weight: 600; }
.contact-pop__row .contact-pop__mail { font-size: .95rem; font-weight: 500; overflow-wrap: anywhere; }

/* Horários */
.times__place { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 6px; }
.times__place b { color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.tabs--scroll { flex-wrap: wrap; }
.times { list-style: none; padding: 0; margin: 0 0 16px; }
.times li { display: flex; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.times b { font-weight: 600; }
.ticks { padding-left: 1.2em; }
.busca .ticks { margin: 0 0 20px; color: var(--muted); }
.busca__also { margin: 20px 0 8px; color: var(--muted); font-size: .95rem; text-align: center; }
.busca__apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ticks li { margin-bottom: 4px; }

/* Aviso flutuante */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; background: #1f2329; color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); }
.toast button { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* ---------- Rodapé ---------- */
.footer { background: var(--surface); color: var(--muted); padding: 24px 0; font-size: .95rem; border-top: 1px solid var(--line); }
.footer__in { display: flex; justify-content: center; gap: 6px 24px; flex-wrap: wrap; }
.footer__in span:first-child { color: var(--ink); font-weight: 500; }

/* Banner do editor novo no carrossel: ocupa o slide todo; a arte fica centralizada na altura */
.banners__slide--cb > .cbx { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Igrejas: cartões com foto; os detalhes abrem numa janela ---------- */
.cgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 24vw, 310px); gap: 18px; }
@media (min-width: 1001px) { .cgrid > .is-wide3 { grid-column: span 2; } }
@media (max-width: 1000px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 36vw, 300px); } .cgrid > .is-wide2 { grid-column: span 2; } }
@media (max-width: 560px) { .cgrid { grid-template-columns: 1fr; grid-auto-rows: 270px; gap: 16px; } .cgrid > .is-wide2 { grid-column: auto; } }
.ccard { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; text-align: left;
  background: #1f3a63; color: #fff; font: inherit; box-shadow: 0 6px 20px -10px rgba(15, 23, 42, .45); transition: transform .2s ease, box-shadow .2s ease; }
.ccard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .5); }
.ccard:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ccard__img, .ccard__img img, .ccard__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ccard__img img { object-fit: cover; transition: transform .5s ease; }
.ccard:hover .ccard__img img { transform: scale(1.04); }
.ccard__art { display: none; place-items: center; color: #0b1f3a; background: radial-gradient(120% 90% at 30% 10%, #5b8fd6, #1a3f74 60%, #0f2747); }
.ccard__art svg { width: auto; height: 58%; max-width: 70%; margin-bottom: 8%; }
.ccard--art .ccard__art { display: grid; }
.ccard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(5, 12, 24, .88)); pointer-events: none; }
.ccard__next { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: var(--ink); font-size: .8rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.ccard__next .i { width: 15px; height: 15px; color: var(--accent); }
.ccard__txt { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ccard__city { font-size: 1.45rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.ccard__city small { font-size: .85rem; font-weight: 600; opacity: .8; margin-left: 2px; }
.ccard__bairro { display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; opacity: .9; }
.ccard__bairro .i { width: 15px; height: 15px; flex: none; }



/* Botão escrito no cartão: deixa claro que dá para tocar */
.ccard__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 10px 14px 10px 18px; border-radius: 999px; background: #fff; color: var(--accent);
  font-size: .98rem; font-weight: 700; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); transition: background-color .2s ease; }
.ccard__cta .i { width: 18px; height: 18px; }
.ccard:hover .ccard__cta { background: #eaf1fb; }

/* Página de cada igreja: tudo numa página comum, letras grandes */
.cpage { padding-top: 24px; padding-bottom: 64px; }
.cpage__back { margin-bottom: 18px; font-size: 1rem; }
.cpage__back .i { width: 18px; height: 18px; }
.cpage__back--end { margin: 32px 0 0; }
.cpage__hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(220px, 32vw, 380px); border-radius: 22px; overflow: hidden; background: #1f3a63; isolation: isolate; }
.cpage__hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; display: block; }
.cpage__hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(5, 12, 24, .85)); }
.cpage__hero--art { background: radial-gradient(120% 120% at 20% 0%, #5b8fd6, #1a3f74 60%, #0f2747); min-height: 200px; }
.cpage__hero .church__credit { z-index: 2; top: 14px; bottom: auto; }
.cpage__title { position: relative; z-index: 2; padding: 60px 28px 24px; color: #fff; }
.cpage__title h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; }
.cpage__title h1 small { font-size: .5em; font-weight: 600; opacity: .85; }
.cpage__title p { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 1.15rem; opacity: .95; }
.cpage__title p .i { width: 20px; height: 20px; }
.cpage__next { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 600; }
.cpage__next .i { width: 18px; height: 18px; color: var(--accent); }
.cpage__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.cpage__actions .btn, .cpage__route { min-height: 54px; padding: 0 24px; font-size: 1.08rem; gap: 8px; }
.cpage__actions .btn .i, .cpage__route .i { width: 20px; height: 20px; }
@media (max-width: 560px) { .cpage__actions .btn { flex: 1 1 100%; justify-content: center; } .cpage__title { padding: 56px 20px 18px; } }
.cpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 18px; }
@media (max-width: 860px) { .cpage__grid { grid-template-columns: minmax(0, 1fr); } }
.cpage__col { display: flex; flex-direction: column; gap: 22px; }
.cbox { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.cbox__h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.2rem; }
.cbox__h .i { width: 22px; height: 22px; color: var(--accent); }
.cbox__big { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.5; }
.cbox__big:last-child { margin-bottom: 0; }
.cbox__big a { font-weight: 700; }
.cbox__lbl { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); }
.cbox__times { margin-top: 0; }
.cbox__times li { padding: 13px 0; font-size: 1.1rem; }
.cbox .church__note { margin-top: 16px; font-size: 1rem; line-height: 1.55; }
.cbox--map { display: flex; flex-direction: column; height: 100%; }
.cpage__map { position: relative; flex: 1; min-height: 320px; border-radius: 14px; overflow: hidden; background: var(--surface); }
.cpage__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cpage__route { margin-top: 16px; justify-content: center; }
.cpage__more { margin: 44px 0 14px; font-size: 1.4rem; }
.cmini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .cmini { grid-template-columns: 1fr; } }
.cmini a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.cmini a:hover { border-color: var(--accent); background: #f6f9fe; }
.cmini a > .i:first-child { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #eaf1fb; color: var(--accent); }
.cmini a > .i:last-child { flex: none; width: 20px; height: 20px; color: var(--accent); margin-left: auto; }
.cmini span { display: flex; flex-direction: column; font-size: 1.05rem; line-height: 1.3; }
.cmini span small { color: var(--muted); font-size: .9rem; }
.cmini b small { color: var(--muted); font-weight: 600; font-size: .8rem; }

/* ---------- Barra de atalhos no celular e tablet (Início, Igrejas, Dízimos, História, Contato) ---------- */
.tabbar { display: none; }
@media (max-width: 960px) {
  .tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -6px rgba(15, 23, 42, .18), 0 -1px 3px rgba(15, 23, 42, .06); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 58px; padding: 6px 2px 4px; border: 0; border-radius: 12px; background: none;
    color: #4b5563; font-family: inherit; font-size: .8rem; font-weight: 600; line-height: 1.1; text-decoration: none; cursor: pointer; }
  .tabbar .i { width: 26px; height: 26px; }
  .tabbar a[aria-current="page"] { color: var(--accent); }
  .tabbar a:active, .tabbar button:active { background: var(--surface); }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  /* com os atalhos embaixo, o topo fica só com a marca (e o "Ao vivo") */
  .menu-btn, .topbar__actions > .btn { display: none !important; }
  .nav { display: none !important; }
}
@media print { .tabbar { display: none; } }
/* Telas bem pequenas: "Estamos Ao Vivo" um pouco menor, para o nome da igreja caber */
@media (max-width: 360px) { .pill-live { font-size: .72rem; padding: 5px 8px; gap: 5px; } .brand { gap: 6px; } .brand img { width: 30px; } .brand__name { font-size: .86rem; } .topbar__in { gap: 4px; } }

/* ---------- Santa Ceia do mês (página inicial): cartão do tamanho do conteúdo, no cinza da seção Vídeos ---------- */
.ceia { padding: 28px 0 0; background: var(--surface); }
.ceia__in { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px -12px rgba(15, 23, 42, .25); }
.ceia__body { padding: 22px 24px 24px; }
.ceia__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ceia__head small { display: block; font-size: .85rem; color: var(--muted); }
.ceia__head h2 { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
/* cartões todos do mesmo tamanho */
.ceia__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.ceia__list li { display: flex; min-width: 0; }
.ceia__list a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.ceia__list a:hover { border-color: var(--accent); background: #f6f9fe; }
.ceia__date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); line-height: 1; }
.ceia__date small { font-size: .62rem; font-weight: 700; letter-spacing: .06em; }
.ceia__date b { font-size: 1.25rem; font-weight: 700; margin-top: 2px; }
.ceia__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ceia__txt b { font-size: .98rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ceia__txt b small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.ceia__txt > small { font-size: .82rem; color: var(--muted); }
.ceia__txt > small:empty { display: none; }
.ceia__list .is-next a { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ceia__list .is-next .ceia__date { background: var(--accent); color: #fff; }
.ceia__list .is-next .ceia__txt > small { color: var(--accent); font-weight: 700; }
.ceia__list .is-past a { opacity: .5; }
.ceia__more { display: none; }
@media (max-width: 860px) {
  .ceia { padding-top: 16px; }
  .ceia__body { padding: 16px 14px 16px; }
  .ceia__list { grid-template-columns: 1fr; grid-auto-rows: auto; }
  /* só as próximas; o botão com a setinha mostra todas as igrejas */
  .ceia:not(.show-past) .ceia__list .is-past { display: none; }
  .ceia__more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 10px; border: 1.5px solid var(--accent); border-radius: 12px; background: var(--accent-soft); color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
  .ceia__more .i { width: 20px; height: 20px; transition: transform .2s ease; }
  .ceia.show-past .ceia__more .i { transform: rotate(180deg); }
}
/* Santa Ceia na página e no cartão de cada igreja */
.ccard__pills { position: absolute; z-index: 2; left: 14px; right: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.ccard__ceia { background: var(--accent); color: #fff; }
.cpage__title .cpage__next { margin-right: 6px; }
.cpage__ceia { background: var(--accent); color: #fff; }
.cpage__ceia .i { color: #fff; }
/* selo ao vivo com a origem: versão curta no celular para não quebrar a barra */
.pill-live__short { display: none; }
@media (max-width: 700px) {
  .pill-live.has-from .pill-live__full { display: none; }
  .pill-live.has-from .pill-live__short { display: inline; }
}
