/* ==========================================================================
   Macaíba Gospel — estilos do site público
   ========================================================================== */

:root {
    /* Cores oficiais do logo: verde #60e83f, vermelho #f60004, cinza-escuro #373435 e preto.
       O verde e o vermelho puros ficam para fundos escuros e detalhes; para texto em fundo
       claro usamos tons mais escuros dos dois (contraste AA). */
    --grafite-950: #0f0e0e;
    --grafite-900: #1b1a1a;
    --grafite: #373435;
    --verde-700: #1a6b0a;
    --verde: #60e83f;
    --verde-600: #1f7a0c;
    --verde-100: #ecfbe6;
    --vermelho: #f60004;
    --ink: #1b1a1a;
    --ink-2: #3d3a3b;
    --muted: #6b6768;
    --line: #e4e3e1;
    --bg: #f4f4f2;
    --surface: #ffffff;
    --red: #db0004;
    --green: #157a4f;
    /* Borda de campo com contraste de 3:1 no branco (WCAG 1.4.11) e verde do WhatsApp com texto branco legível (5:1). */
    --field-border: #8a8687;
    --whatsapp: #15803d;
    --whatsapp-hover: #116b33;

    --font-head: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgb(27 26 26 / .06), 0 4px 16px rgb(27 26 26 / .06);
    --shadow-lg: 0 10px 30px rgb(27 26 26 / .08);
    --gutter: 16px;
    --cat: var(--verde-700);
    /* Tons de verde que se repetiam soltos no CSS */
    --verde-200: #cfeec4;
    --verde-hover: #8af06f;
    /* Movimento: poucas durações, sempre com saída suave */
    --dur-fast: .15s;
    --dur: .2s;
    --dur-slow: .3s;
    --ease-out: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 24px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--verde-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--grafite); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--foco, var(--verde-600)); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
/* Telas grandes: um pouco mais de largura útil (a lateral continua com 320px) */
@media (min-width: 1440px) { .container, .ad--topo { max-width: 1280px; } }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--verde); color: var(--grafite-950); padding: 10px 16px; border-radius: var(--radius);
    font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .65em 1.2em; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--grafite); font-weight: 600; text-decoration: none;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { border-color: var(--verde-700); color: var(--verde-700); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.btn--primary:hover { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.btn--accent { background: var(--verde); border-color: var(--verde); color: var(--grafite-950); }
.btn--accent:hover { background: var(--verde-hover); border-color: var(--verde-hover); color: var(--grafite-950); }
.btn--large { padding: .85em 1.6em; font-size: 1.05rem; }
.btn--danger { background: #fff; border-color: var(--red); color: var(--red); }
.btn--danger:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */
.topbar { background: var(--grafite-950); color: #d4d1d2; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.topbar__date, .topbar__city { display: inline-flex; align-items: center; gap: 6px; }
.topbar__city { display: none; }
.topbar__social { margin-left: auto; display: flex; gap: 4px; }
.topbar .icon { color: var(--verde); }
@media (min-width: 640px) { .topbar__city { display: inline-flex; } }

.social-link {
    position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    color: inherit; transition: background .15s, color .15s;
}
.social-link:hover { background: rgb(255 255 255 / .1); color: #fff; }
.topbar .social-link .icon { color: inherit; }

.masthead { background: var(--grafite-900); color: #fff; }
.masthead__inner { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }

/* Logo oficial (símbolo + "MACAÍBA GOSPEL" + "RÁDIO E EVENTOS"); feito para fundo escuro. */
.brand { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
.brand__logo { display: block; width: auto; height: 46px; max-width: 100%; }
@media (min-width: 768px) { .brand__logo { height: 62px; } }

/* Foco visível: verde escuro em fundo claro, verde oficial nas áreas escuras. */
.topbar, .masthead, .site-footer, .card--overlay, .page-banner, .widget--verse, .music-band, .ap-faixa, .toast, .special-banner, .alert-bar--live { --foco: var(--verde); }
.alert-bar { --foco: #fff; }

.search { display: none; margin-left: auto; position: relative; flex: 0 1 320px; }
.search input {
    width: 100%; padding: .65em 3em .65em 1.1em; border-radius: 999px;
    border: 1px solid rgb(255 255 255 / .18); background: rgb(255 255 255 / .08); color: #fff;
}
.search input::placeholder { color: #bcb9ba; }
.search input:focus { outline: 3px solid var(--verde); outline-offset: 1px; border-color: var(--verde); background: rgb(255 255 255 / .14); }
.search button {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 0; background: var(--verde); color: var(--grafite-950); cursor: pointer;
}
@media (min-width: 900px) { .search { display: block; } }
/* No celular a busca fica atrás da lupa e abre numa linha própria, embaixo do logo. */
.search-toggle {
    margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
    border-radius: 12px; border: 1px solid rgb(255 255 255 / .2); background: transparent; color: #fff; cursor: pointer;
}
.search-toggle .icon { width: 22px; height: 22px; }
.search-toggle[aria-expanded="true"] { background: rgb(255 255 255 / .12); border-color: var(--verde); }
@media (max-width: 899px) {
    .masthead__inner { flex-wrap: wrap; }
    .masthead .nav-toggle { margin-left: 0; }
    .search.is-open { display: block; order: 3; flex: 1 1 100%; margin-left: 0; }
}
@media (min-width: 900px) { .search-toggle { display: none; } }
#conteudo:focus { outline: none; }

.search--large { display: flex; gap: 8px; margin: 18px 0 0; max-width: 640px; }
.search--large input { background: #fff; color: var(--ink); border: 1px solid var(--field-border); padding: .85em 1.2em; }
.search--large input::placeholder { color: var(--muted); }
.search--large input:focus { outline-color: var(--verde-600); border-color: var(--verde-700); background: #fff; }
.search--large button {
    position: static; transform: none; width: auto; height: auto; border-radius: 999px;
    padding: 0 1.3em; gap: 6px; display: inline-flex; align-items: center; font-weight: 700;
}

.nav-toggle {
    margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
    border-radius: 12px; border: 1px solid rgb(255 255 255 / .2); background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.mainnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.mainnav__list { list-style: none; margin: 0; padding: 0; display: flex; }
.mainnav a {
    display: block; position: relative; padding: 14px 12px; font-weight: 600; font-size: .92rem;
    color: var(--ink); text-decoration: none; white-space: nowrap;
}
.mainnav a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
    background: var(--cat, var(--verde)); transform: scaleX(0); transition: transform .2s;
}
.mainnav a:hover::after, .mainnav a[aria-current="page"]::after { transform: scaleX(1); }
.mainnav a[aria-current="page"] { color: var(--grafite); }

@media (max-width: 899px) {
    .mainnav { display: none; }
    .mainnav.is-open { display: block; }
    .mainnav__list { flex-direction: column; padding: 8px 0; }
    .mainnav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
    .mainnav li:last-child a { border-bottom: 0; }
    .mainnav a::after { left: -16px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; border-radius: 0 3px 3px 0; transform: scaleY(0); }
    .mainnav a:hover::after, .mainnav a[aria-current="page"]::after { transform: scaleY(1); }
}
@media (min-width: 900px) {
    .mainnav__list { align-items: center; }
    .mainnav li:first-child a { padding-left: 0; }
    .mainnav li:first-child a::after { left: 0; }
}

/* Faixa "Últimas" */
.ticker { background: var(--verde-100); border-bottom: 1px solid var(--verde-200); font-size: .9rem; }
.ticker__inner { display: flex; align-items: center; gap: 14px; height: 42px; }
.ticker__label {
    flex: none; background: var(--red); color: #fff; font-weight: 800; font-size: .75rem; text-transform: uppercase;
    letter-spacing: .08em; padding: 4px 10px; border-radius: 4px;
}
.ticker__viewport {
    display: flex; overflow: hidden; flex: 1; min-width: 0;
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker__list {
    list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 40px; padding-right: 40px;
    animation: ticker 60s linear infinite;
}
.ticker__viewport:hover .ticker__list, .ticker__viewport:focus-within .ticker__list, .ticker.is-paused .ticker__list { animation-play-state: paused; }
/* Botão de pausar o letreiro (WCAG 2.2.2): o que se move sozinho precisa de um jeito de parar. */
.ticker__pause {
    position: relative; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0;
    border: 1px solid #b9dcae; border-radius: 50%; background: #fff; color: var(--verde-700); cursor: pointer;
}
.ticker__pause::before { content: ""; position: absolute; inset: -7px; }
.ticker__pause .icon { width: 14px; height: 14px; grid-area: 1 / 1; }
.ticker__pause .icon--play, .ticker.is-paused .ticker__pause .icon--pause { display: none; }
.ticker.is-paused .ticker__pause .icon--play { display: block; }
.ticker__list li { white-space: nowrap; }
.ticker__list time { font-weight: 700; color: var(--verde-600); margin-right: 4px; }
.ticker__list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.ticker__list a:hover { text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .ticker__list { animation: none; }
    .ticker__list[aria-hidden="true"] { display: none; }
    .ticker__viewport { overflow-x: auto; }
    .ticker__pause { display: none; }
}

/* --------------------------------------------------------------------------
   Estrutura
   -------------------------------------------------------------------------- */
.site-main { padding-bottom: 56px; min-height: 50vh; }

.layout { display: grid; gap: 32px; margin-top: 32px; }
.layout__main { min-width: 0; }
.layout__side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) {
    .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
    .layout__side { position: sticky; top: 16px; }
}

.grid { display: grid; gap: 24px; }
@media (min-width: 600px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.stack { display: grid; gap: 16px; }

.section { margin-bottom: 44px; }
.section__head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    border-bottom: 2px solid var(--line); margin-bottom: 20px; position: relative;
}
.section__head::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 4px; border-radius: 4px;
    background: var(--cat, var(--verde));
}
.section__title { font-family: var(--font-head); font-size: 1.35rem; margin: 0; padding-bottom: 10px; }
.section__title a { color: inherit; text-decoration: none; }
.section--category .section__title a { color: var(--cat); }
.section__more { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.section__more:hover { color: var(--verde-700); }

/* "Mais notícias" na home: lista em duas colunas que acompanha a coluna lateral */
.more-news { gap: 18px 24px; }

.split { display: grid; gap: 20px; }
.split__list { display: grid; gap: 14px; align-content: start; }
@media (min-width: 720px) {
    .split { grid-template-columns: 1.15fr 1fr; gap: 28px; }
    .split--reverse > :first-child { order: 2; }
}

/* --------------------------------------------------------------------------
   Cartões de notícia
   -------------------------------------------------------------------------- */
.tag {
    display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
    color: var(--cat); text-decoration: none; margin-bottom: 6px;
}
.tag:hover { color: var(--cat); text-decoration: underline; }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { display: block; overflow: hidden; border-radius: var(--radius); background: #e6e3e4; aspect-ratio: 16 / 10; }
.card__media .thumb { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
/* Foto cortada fica presa um pouco acima do meio (onde costuma estar o rosto); a matéria pode escolher outro ponto (image_focus). */
.thumb { object-position: 50% 25%; }
.card:hover .card__media .thumb { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .card:hover .card__media .thumb { transform: none; } }
.card__body { padding-top: 12px; display: flex; flex-direction: column; }
.card__title { font-family: var(--font-head); font-size: 1.08rem; line-height: 1.35; margin: 0 0 6px; letter-spacing: -.005em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--verde-700); text-decoration: underline; text-decoration-color: var(--cat); }
.card__summary { color: var(--ink-2); font-size: .93rem; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { color: var(--muted); font-size: .8rem; margin: 0; display: flex; align-items: center; gap: 5px; }

.thumb--empty {
    display: grid; place-items: center; width: 100%; height: 100%;
    background:
        radial-gradient(circle at 80% 15%, rgb(255 255 255 / .18), transparent 45%),
        linear-gradient(135deg, var(--cat), color-mix(in srgb, var(--cat) 45%, #0e0b0c));
}
.thumb__mark { width: 22%; max-width: 72px; height: auto; opacity: .9; filter: drop-shadow(0 6px 14px rgb(0 0 0 / .25)); }

/* Linha: imagem à esquerda */
.card--row { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--row .card__media { flex: 0 0 38%; max-width: 220px; aspect-ratio: 4 / 3; border-radius: 8px; }
.card--row .card__body { padding-top: 0; flex: 1; }
.card--row .card__title { font-size: 1rem; }
.card--row .thumb__mark { width: 30%; }

/* Sobreposição: título por cima da imagem */
.card--overlay { border-radius: var(--radius-lg); overflow: hidden; background: var(--grafite-900); isolation: isolate; height: 100%; }
.card--overlay .card__media { border-radius: 0; aspect-ratio: auto; position: absolute; inset: 0; }
.card--overlay .card__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgb(23 20 21 / 0) 30%, rgb(23 20 21 / .55) 60%, rgb(23 20 21 / .92));
}
.card--overlay .thumb__mark { position: relative; top: -14%; }
.card--overlay .card__body { position: relative; z-index: 1; margin-top: auto; padding: 22px; color: #fff; }
.card--overlay .tag { color: var(--grafite-950); background: var(--verde); padding: 3px 8px; border-radius: 4px; align-self: flex-start; }
.card--overlay .card__title a { color: #fff; }
.card--overlay .card__title a:hover { color: #fff; text-decoration-color: var(--verde); }
.card--overlay .card__summary { color: #e4e1e2; }
.card--overlay .card__meta { color: #cbc8c9; }
/* Cliques fora dos links do texto caem no link da imagem, que cobre o cartão inteiro. */
.card--overlay .card__body { pointer-events: none; }
.card--overlay .card__body a { pointer-events: auto; }

/* No celular, só o primeiro cartão de cada grade fica grande; os demais viram linha. */
@media (max-width: 599px) {
    .grid--3 { gap: 18px; }
    .grid--3 > .card--default:not(:first-child) { flex-direction: row; gap: 14px; align-items: flex-start; }
    .grid--3 > .card--default:not(:first-child) .card__media { flex: 0 0 36%; aspect-ratio: 4 / 3; border-radius: 8px; }
    .grid--3 > .card--default:not(:first-child) .card__body { padding-top: 0; flex: 1; min-width: 0; }
    .grid--3 > .card--default:not(:first-child) .card__title { font-size: 1rem; }
    .grid--3 > .card--default:not(:first-child) .card__summary { display: none; }
    .grid--3 > .card--default:not(:first-child) .thumb__mark { width: 34%; }
}

/* Compacto: só texto */
.card--compact .card__body { padding-top: 0; }

/* --------------------------------------------------------------------------
   Destaques (topo da home)
   -------------------------------------------------------------------------- */
.hero { display: grid; gap: 16px; margin-top: 24px; }
.hero__lead .card { min-height: 380px; }
.hero__lead .card__title { font-size: 1.55rem; }
.hero__side { display: grid; gap: 16px; }
.hero__side .card { min-height: 220px; }
.hero__side .card__title { font-size: 1.12rem; }
@media (min-width: 900px) {
    .hero { grid-template-columns: 1.7fr 1fr; gap: 20px; }
    .hero__lead .card { min-height: 480px; }
    .hero__lead .card__body { padding: 32px; }
    .hero__lead .card__title { font-size: 2.1rem; }
    .hero__side { grid-template-rows: 1fr 1fr; gap: 20px; }
    .hero__side .card { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Barra lateral
   -------------------------------------------------------------------------- */
.widget { background: var(--surface); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.widget__title {
    display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.05rem;
    margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.widget__title .icon { color: var(--verde-600); }
.widget__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: .88rem; font-weight: 600; text-decoration: none; }

.widget--verse {
    background:
        radial-gradient(circle at 100% 0%, rgb(96 232 63 / .28), transparent 55%),
        linear-gradient(160deg, var(--grafite), var(--grafite-950));
    color: #fff;
}
.widget--verse .widget__title { border-color: rgb(255 255 255 / .15); }
.widget--verse .widget__title .icon { color: var(--verde); }
.verse { margin: 0; }
.verse p { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.08rem; line-height: 1.6; margin-bottom: 10px; }
.verse p::before { content: "“"; color: var(--verde); font-size: 1.6em; line-height: 0; vertical-align: -.3em; margin-right: 2px; }
.verse cite { font-style: normal; font-weight: 700; color: var(--verde); font-size: .9rem; letter-spacing: .02em; }

.ranking { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranking li { counter-increment: rank; display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ranking li:last-child { border-bottom: 0; padding-bottom: 0; }
.ranking li::before {
    content: counter(rank); flex: none; font-family: var(--font-head); font-weight: 900; font-size: 1.6rem;
    line-height: 1; color: var(--cat); min-width: 1.1em;
}
.ranking a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; line-height: 1.4; }
.ranking a:hover { color: var(--verde-700); text-decoration: underline; }

.mini-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-agenda li { display: flex; gap: 12px; align-items: flex-start; }
.mini-agenda a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; line-height: 1.35; display: block; }
.mini-agenda a:hover { color: var(--verde-700); text-decoration: underline; }
.mini-agenda small { color: var(--muted); font-size: .8rem; }

.datebox {
    flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 50px; height: 54px; border-radius: 10px; background: var(--verde-100); color: var(--grafite);
    border: 1px solid var(--verde-200); line-height: 1;
}
.datebox__day { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; }
.datebox__month { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; color: var(--verde-600); }
.datebox__weekday { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: #fff; background: var(--grafite); width: 100%; text-align: center; padding: 4px 0; border-radius: 9px 9px 0 0; margin-bottom: 6px; }
.datebox--large { width: 70px; height: auto; padding-bottom: 8px; }
.datebox--large .datebox__day { font-size: 1.8rem; }

.widget--newsletter p { color: var(--ink-2); font-size: .93rem; }
.newsletter-form { display: grid; gap: 10px; }
.newsletter-form input[type="email"] {
    width: 100%; padding: .7em 1em; border-radius: 999px; border: 1px solid var(--field-border); background: var(--bg);
}
.newsletter-form input[type="email"]:focus { outline: 3px solid var(--verde-600); outline-offset: 1px; border-color: var(--verde-700); background: #fff; }

/* --------------------------------------------------------------------------
   Páginas internas
   -------------------------------------------------------------------------- */
.page-banner {
    --cat: var(--grafite);
    background:
        radial-gradient(circle at 90% -20%, rgb(255 255 255 / .16), transparent 50%),
        linear-gradient(120deg, var(--cat), color-mix(in srgb, var(--cat) 55%, #0e0b0c));
    color: #fff; padding: 36px 0 34px;
}
.page-banner__title { font-family: var(--font-head); font-size: 1.9rem; margin: 0; }
.page-banner__intro { margin: 8px 0 0; color: #fff; max-width: 680px; }
.page-banner__intro a { color: var(--verde); }
@media (min-width: 768px) { .page-banner__title { font-size: 2.4rem; } }

.empty-state { text-align: center; padding: 48px 20px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: 24px; border: 1px solid var(--line); }
.results-count { color: var(--ink-2); }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination__item {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
    border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink);
    text-decoration: none; font-weight: 600; font-size: .9rem;
}
a.pagination__item:hover { border-color: var(--verde-700); color: var(--verde-700); }
.pagination__item.is-current { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.pagination__gap { align-self: center; color: var(--muted); }

/* --------------------------------------------------------------------------
   Notícia
   -------------------------------------------------------------------------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--verde-700); text-decoration: underline; }
.breadcrumb .icon { width: 14px; height: 14px; }

.article { background: var(--surface); border-radius: var(--radius-lg); padding: 22px var(--gutter); box-shadow: var(--shadow); margin: 0 calc(var(--gutter) * -1); }
@media (min-width: 640px) { .article { margin: 0; padding: 36px 40px; } }

.article__title { font-family: var(--font-head); font-size: 1.75rem; font-weight: 900; letter-spacing: -.015em; line-height: 1.2; margin: 4px 0 12px; }
@media (min-width: 768px) { .article__title { font-size: 2.5rem; } }
.article__subtitle { font-size: 1.15rem; color: var(--ink-2); line-height: 1.5; margin-bottom: 18px; }
@media (min-width: 768px) { .article__subtitle { font-size: 1.25rem; } }
.article__meta {
    display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--muted);
    padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta strong { color: var(--ink); }

.article__figure { margin: 24px 0; }
.article__figure .thumb { width: 100%; border-radius: var(--radius); }
.article__figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--cat); }

.article__footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.article__share-label { font-weight: 600; margin-bottom: 10px; }
.related { margin-top: 40px; margin-bottom: 0; }

.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
    display: inline-flex; align-items: center; gap: 6px; height: 44px; min-width: 44px; padding: 0 12px; justify-content: center;
    border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
    font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; position: relative;
}
.share__btn:hover { border-color: currentColor; }
.share__btn--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; padding: 0 16px; }
.share__btn--whatsapp:hover { background: var(--whatsapp-hover); border-color: var(--whatsapp-hover); color: #fff; }
.share__btn--facebook:hover { color: #1877f2; }
.share__btn--x:hover { color: #000; }
.share__btn--telegram:hover { color: #229ed9; }
.share__copied {
    position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap;
    background: var(--ink); color: #fff; font-size: .75rem; padding: 4px 8px; border-radius: 6px;
}

/* Texto da notícia */
.prose { max-width: 68ch; font-size: 1.08rem; line-height: 1.75; color: #2c292a; overflow-wrap: break-word; }
.prose.card-panel { max-width: none; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-head); color: var(--ink); }
.prose > :is(h2, h3, h4) { margin-top: 1.6em; }
.prose > :is(h2, h3, h4) + * { margin-top: .4em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.45rem; }
.prose h3 { font-size: 1.2rem; }
.prose h4 { font-size: 1.05rem; }
.prose a { color: var(--verde-700); text-decoration: underline; text-decoration-color: var(--verde); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 0; }
.prose li + li { margin-top: .35em; }
.prose blockquote {
    margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--verde);
    font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--grafite);
}
.prose img { border-radius: var(--radius); margin: 1.4em auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); display: block; }
/* Post ou reel do Instagram incorporado: em pé, na largura do próprio Instagram. */
.prose iframe.embed-instagram { max-width: 400px; aspect-ratio: auto; height: 640px; margin: 24px auto; background: #fff; border: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* --------------------------------------------------------------------------
   Agenda
   -------------------------------------------------------------------------- */
.past-events { list-style: none; margin: 0; padding: 0; color: var(--ink-2); }
.past-events li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.past-events a { color: var(--ink); text-decoration: none; font-weight: 500; }
.past-events a:hover { color: var(--verde-700); text-decoration: underline; }
.past-events time { font-weight: 700; color: var(--muted); margin-right: 6px; }

/* --------------------------------------------------------------------------
   Formulários e contato
   -------------------------------------------------------------------------- */
.card-panel { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card-panel h2 { font-family: var(--font-head); font-size: 1.1rem; }
.card-panel ul { padding-left: 1.2em; margin: 0; }
.card-panel--accent { background: var(--verde-100); box-shadow: none; border: 1px solid var(--verde-200); }

.contact { display: grid; gap: 24px; margin-top: 32px; }
.contact__info { display: grid; gap: 20px; align-content: start; }
.contact__list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.contact__list li { display: flex; align-items: center; gap: 10px; }
.contact__list .icon { color: var(--verde-600); }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr) 340px; } }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: .7em .9em; border: 1px solid var(--field-border); border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--verde-600); outline-offset: 1px; border-color: var(--verde-700); }
.field textarea { resize: vertical; min-height: 140px; }
.field__hint { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.field__error { font-size: .85rem; color: var(--red); margin: 6px 0 0; font-weight: 600; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--red); }

.alert { padding: 12px 16px; border-radius: 8px; margin: 0; font-weight: 600; }
.alert--error { background: #fdecec; color: #8f1d22; border: 1px solid #f5c2c4; }
.alert--info { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; background: var(--verde-100); color: var(--ink); border: 1px solid var(--verde-200); }
.alert--info .icon { flex: none; margin-top: 2px; }
.alert--success { background: #e7f6ee; color: #0f5c3a; border: 1px solid #b7e2cb; }

/* --------------------------------------------------------------------------
   Erros
   -------------------------------------------------------------------------- */
.error-page { text-align: center; padding: 64px 0 24px; max-width: 640px; margin: 0 auto; }
.error-page__code { font-family: var(--font-head); font-weight: 900; font-size: 5rem; line-height: 1; color: var(--verde-600); margin-bottom: 8px; }
.error-page h1 { font-family: var(--font-head); }
.error-page .search--large { margin: 24px auto; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--grafite-950); color: #c5c2c3; font-size: .92rem; }
.site-footer a { color: #e8e5e6; text-decoration: none; }
.site-footer a:hover { color: var(--verde); }
.site-footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__about p { margin-top: 16px; max-width: 420px; }
.site-footer__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--verde); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__social { display: flex; gap: 6px; }
.site-footer__social .social-link { background: rgb(255 255 255 / .06); width: 38px; height: 38px; }
.brand--footer .brand__logo { height: 56px; }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / .08); font-size: .82rem; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 16px; padding-bottom: 16px; }
.site-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Avisos (toasts)
   -------------------------------------------------------------------------- */
.toasts { position: fixed; z-index: 50; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: grid; gap: 10px; }
.toast {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 12px;
    background: var(--grafite-950); color: #fff; box-shadow: var(--shadow-lg); font-weight: 500;
    border-left: 5px solid var(--verde); animation: toast-in .3s ease-out;
}
.toast--success { border-left-color: #2fbf71; }
.toast--error { border-left-color: #ef4444; }
.toast--warning { border-left-color: #f5b301; }
.toast span { flex: 1; }
.toast__close { flex: none; min-width: 44px; min-height: 44px; margin: -10px -10px -10px 0; border: 0; background: transparent; color: #c5c2c3; cursor: pointer; padding: 10px; display: grid; place-items: center; }
.toast__close:hover { color: #fff; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* ==========================================================================
   v2 — Menu com submenus, Música e Agenda
   ========================================================================== */

.eyebrow {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px;
    font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--verde);
}
.eyebrow a { color: inherit; text-decoration: none; }
.btn--small { min-height: 44px; padding: .45em .9em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--ghost { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .25); color: #fff; }
.btn--ghost:hover { background: rgb(255 255 255 / .16); border-color: #fff; color: #fff; }
.stack-sm { display: grid; gap: 8px; }
.section--spaced { margin-top: 32px; }

/* Menu principal com submenus ---------------------------------------------- */
.has-sub { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.sub-toggle {
    position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; padding: 0;
    border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer;
}
.sub-toggle:hover { color: var(--grafite); background: var(--bg); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 6px; display: none; }
.has-sub.is-open > .submenu { display: block; }
.submenu a { padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.submenu a::after { display: none; }
.submenu a:hover { background: var(--bg); color: var(--verde-700); }
.submenu__cat { display: flex !important; align-items: center; gap: 8px; }
.submenu__cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cat); flex: none; }
.mainnav__cta a { display: inline-flex; align-items: center; gap: 6px; color: var(--grafite-950); }
@media (max-width: 899px) {
    .has-sub { border-bottom: 1px solid var(--line); }
    .has-sub > a { flex: 1; border-bottom: 0; }
    .sub-toggle { width: 44px; height: 44px; margin: 0; }
    .submenu { width: 100%; padding: 0 0 8px 12px; }
    .submenu a { border-bottom: 0; padding: 8px 4px; }
    .mainnav__cta a { margin: 10px 0 6px; justify-content: center; background: var(--verde); border-radius: 999px; padding: 12px; border-bottom: 0; }
    .mainnav__cta a::after { display: none; }
}
@media (min-width: 900px) {
    .has-sub > a { padding-right: 8px; }
    .submenu {
        position: absolute; top: calc(100% - 4px); left: 0; z-index: 40; min-width: 230px;
        background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
    }
    .has-sub:not(.is-dismissed):hover > .submenu { display: block; }
    .mainnav__cta { margin-left: auto; }
    .mainnav__cta a { background: var(--verde); border-radius: 999px; padding: 8px 16px; font-size: .85rem; }
    .mainnav__cta a::after { display: none; }
    .mainnav__cta a:hover { background: var(--verde-hover); color: var(--grafite-950); }
}

/* Faixas e cabeçalhos ------------------------------------------------------- */
.section__links { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.section__title .icon { color: var(--verde-600); vertical-align: -.12em; }
.page-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.page-banner--music { --cat: #4a1114; }
.page-banner--agenda { --cat: #373435; }
.page-banner .eyebrow { color: var(--verde); }

.layout--tight { margin-top: 20px; }

/* Rolagem horizontal (agenda da home) */
.scroller {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: 0 -4px;
    scrollbar-width: thin;
}
.scroller > * { scroll-snap-align: start; }
@media (min-width: 1000px) { .scroller { grid-auto-columns: calc((100% - 48px) / 4); } }

.agenda-strip { margin-top: 36px; padding: 28px 0 20px; background: linear-gradient(180deg, #f2eff0, rgb(242 239 240 / 0)); }
.agenda-strip .section__head { margin-bottom: 18px; }

/* Selos ---------------------------------------------------------------------- */
.type-badge {
    display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
    font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    color: color-mix(in srgb, var(--type, var(--verde-700)) 70%, #000); background: color-mix(in srgb, var(--type, var(--verde-700)) 12%, #fff);
    padding: 3px 8px; border-radius: 4px; margin-bottom: 6px;
}
.type-badge--muted { --type: #747172; }
.price-badge {
    display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
    font-size: .78rem; font-weight: 700; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line);
    padding: 2px 9px; border-radius: 999px;
}
.price-badge .icon { width: 14px; height: 14px; }
.price-badge--free { color: var(--green); background: #e7f6ee; border-color: #b7e2cb; }

/* Cartões de evento -------------------------------------------------------- */
.event-card { position: relative; display: flex; min-width: 0; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.event-card__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.event-card__title { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.35; margin: 0 0 6px; }
.event-card__title a { color: var(--ink); text-decoration: none; }
.event-card__title a:hover { color: var(--verde-700); text-decoration: underline; text-decoration-color: var(--type); }
.event-card__meta { display: flex; flex-direction: column; gap: 3px; margin: 0 0 10px; color: var(--ink-2); font-size: .86rem; }
.event-card__meta span { display: inline-flex; align-items: flex-start; gap: 6px; }
.event-card__meta .icon { color: var(--type); margin-top: .15em; }

.event-card--row { gap: 16px; padding: 16px; align-items: flex-start; border-left: 4px solid var(--type); }
.event-card__thumb { display: none; flex: 0 0 150px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.event-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .event-card__thumb { display: block; } }

.event-card--card { flex-direction: column; overflow: hidden; }
.event-card--card .event-card__body { padding: 14px 16px 16px; }
.event-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--type); overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.event-card--card:hover .event-card__media img { transform: scale(1.04); }
.event-card__art {
    display: grid; place-items: center; width: 100%; height: 100%; color: rgb(255 255 255 / .85);
    background:
        radial-gradient(circle at 85% 15%, rgb(255 255 255 / .22), transparent 45%),
        linear-gradient(135deg, var(--type), color-mix(in srgb, var(--type) 40%, #0e0b0c));
}
.event-card__art .icon { width: 44px; height: 44px; stroke-width: 1.5; }
.datebox--float { position: absolute; left: 12px; top: 12px; height: auto; padding: 6px 0; background: #fff; border: 0; box-shadow: 0 4px 12px rgb(0 0 0 / .18); }
.datebox--xl { width: 84px; height: auto; padding-bottom: 10px; }
.datebox--xl .datebox__day { font-size: 2.2rem; }
@media (prefers-reduced-motion: reduce) { .event-card--card:hover .event-card__media img { transform: none; } }

/* Agenda: filtros, dias e calendário ----------------------------------------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 20px 0 4px; scrollbar-width: none; }
.chip {
    flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink-2); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--verde-700); color: var(--verde-700); }
.chip[aria-current] { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.agenda-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0 0; }
.agenda-filters select { padding: .5em .8em; border-radius: 8px; border: 1px solid var(--field-border); background: #fff; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 500; cursor: pointer; }
.check-inline input { width: 16px; height: 16px; accent-color: var(--grafite); }
.agenda-filters__clear { font-size: .88rem; font-weight: 600; }
.agenda-heading { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 16px; }
.agenda-day { margin-bottom: 28px; }
.agenda-day__title {
    position: sticky; top: 0; z-index: 2; margin: 0 0 12px; padding: 10px 0;
    font-family: var(--font-body); font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    color: var(--grafite); background: var(--bg);
}

.calendar { padding: 16px; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.calendar__title { font-family: var(--font-head); font-size: 1.05rem; margin: 0; }
.calendar__nav { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-2); }
.calendar__nav:hover { background: var(--bg); color: var(--verde-700); }
.calendar__grid { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-size: .9rem; }
.calendar__grid th { font-size: .75rem; color: var(--muted); font-weight: 700; padding: 4px 0 8px; }
.calendar__grid td { padding: 2px; }
.calendar__grid td > * { display: grid; place-items: center; height: 36px; border-radius: 10px; color: var(--muted); }
.calendar__grid td.has-events a { position: relative; color: var(--grafite); font-weight: 800; background: var(--verde-100); text-decoration: none; }
.calendar__grid td.has-events a::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--verde-600); }
.calendar__grid td.has-events a:hover { background: var(--verde); }
.calendar__grid td.is-today > * { box-shadow: inset 0 0 0 2px var(--verde-700); color: var(--grafite); font-weight: 800; }
.calendar__grid td.is-selected > * { background: var(--grafite) !important; color: #fff !important; }
.calendar__legend { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.calendar__dot { width: 12px; height: 12px; border-radius: 4px; background: var(--verde-100); border: 1px solid var(--verde-200); }

.widget--cta { background: linear-gradient(160deg, var(--verde-100), #fff 70%); border: 1px solid var(--verde-200); box-shadow: none; }
.widget--cta p { color: var(--ink-2); font-size: .93rem; }

/* Página do evento ------------------------------------------------------------ */
.event__banner { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.event__banner img { width: 100%; max-height: 460px; object-fit: cover; }
/* Evento da igreja sem arte: o nome e o logo na cor da igreja (o portal não guarda arte de evento da igreja). */
.event__churchart { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 22px; padding: 22px 26px; border-radius: var(--radius); background: var(--brand); color: var(--brand-ink); }
.event__churchname { display: grid; gap: 6px; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; line-height: 1.15; }
.event__churchname small { font-family: var(--font-body, inherit); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.event__churchlogo { width: 88px; height: 88px; padding: 8px; border-radius: 16px; background: #fff; object-fit: contain; }
.event__churchlogo--mono { display: grid; place-items: center; padding: 0; background: var(--brand-ink); color: var(--brand); font-family: var(--font-head); font-size: 2rem; font-weight: 900; }
.event__header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.event__title { margin-top: 2px; }
.event-info { display: grid; gap: 12px; margin: 0 0 20px; }
@media (min-width: 640px) { .event-info { grid-template-columns: 1fr 1fr; } }
.event-info > div { background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.event-info dt { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.event-info dt .icon { color: var(--type); }
.event-info dd { margin: 0; font-weight: 600; line-height: 1.5; }
.event-info dd small { font-weight: 400; color: var(--ink-2); }
.event-info dd a { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: .9rem; }
.event-info__ticket { color: #fff !important; }
.event__calendar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.event__about { margin-top: 28px; }

/* Formulário em blocos -------------------------------------------------------- */
.fieldset { border: 0; padding: 0; margin: 0 0 6px; display: grid; gap: 16px; }
.fieldset legend { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; padding: 0; }
.fieldset legend .muted { font-family: var(--font-body); font-weight: 400; font-size: .85rem; }
.card-panel ol { padding-left: 1.2em; margin: 0; }
.card-panel li + li { margin-top: 6px; }

/* Música ------------------------------------------------------------------------ */
.music-hero {
    color: #fff;
    background:
        linear-gradient(135deg, #1e0b0c, var(--grafite-950));
}
.music-hero__inner { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 28px; align-items: center; }
@media (min-width: 900px) { .music-hero__inner { grid-template-columns: 1.25fr 1fr; gap: 40px; padding-top: 44px; padding-bottom: 36px; } }
.music-hero--song .music-hero__inner { align-items: start; }
.music-hero__cover { display: block; max-width: 440px; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px rgb(0 0 0 / .25); }
.music-hero__title { font-family: var(--font-head); font-weight: 900; font-size: 1.9rem; line-height: 1.15; margin: 0 0 12px; }
@media (min-width: 768px) { .music-hero__title { font-size: 2.6rem; } }
.music-hero__title a { color: #fff; text-decoration: none; }
.music-hero__title a:hover { text-decoration: underline; text-decoration-color: var(--verde); }
.music-hero__artist { display: inline-flex; align-items: center; gap: 10px; color: var(--verde); font-weight: 700; font-size: 1.05rem; text-decoration: none; margin-bottom: 14px; }
.music-hero__artist:hover { color: var(--verde-hover); }
.music-hero__text { color: #dddadb; max-width: 560px; }
.music-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #c4c1c2; font-size: .88rem; }
.music-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.music-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.music-hero .share__btn { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .2); color: #ebe8e9; }
.music-hero .share__btn--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.breadcrumb--light, .breadcrumb--light a { color: #c4c1c2; }
.breadcrumb--light a:hover { color: #fff; }

.subnav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; color: #dddadb; text-decoration: none; font-weight: 600; font-size: .9rem; }
.subnav a:hover { background: rgb(255 255 255 / .1); color: #fff; }
.subnav a[aria-current] { background: rgb(255 255 255 / .14); color: #fff; }

/* Player leve do YouTube */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgb(0 0 0 / .35); }
.yt__link, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.yt__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.yt__link:hover .yt__thumb { transform: scale(1.03); opacity: .9; }
.yt__play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
    background: var(--verde); color: var(--grafite-950); transition: transform var(--dur) var(--ease-out);
}
.yt__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.yt__link:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); }

/* Capas */
.cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.cover--art {
    display: grid; place-items: center; color: rgb(255 255 255 / .9);
    background:
        linear-gradient(135deg, hsl(var(--hue) 60% 42%), hsl(var(--hue) 65% 22%));
}
.cover__icon { width: 34%; height: 34%; stroke-width: 1.4; }

.grid--songs { display: grid; gap: 20px 16px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media (min-width: 768px) { .grid--songs { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
.song-card { min-width: 0; }
.song-card__media { position: relative; display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.song-card__media .cover { transition: transform .4s; }
.song-card:hover .song-card__media .cover { transform: scale(1.05); }
.song-card__badge {
    position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--verde); color: var(--grafite-950);
}
.song-card__badge .icon { width: 16px; height: 16px; margin-left: 2px; }
.song-card__body { padding-top: 10px; }
.song-card__title { font-size: .98rem; font-weight: 700; line-height: 1.3; margin: 0 0 2px; }
.song-card__title a { color: var(--ink); text-decoration: none; }
.song-card__title a:hover { color: var(--verde-700); text-decoration: underline; }
.song-card__artist { font-size: .86rem; color: var(--muted); text-decoration: none; }
.song-card__artist:hover { color: var(--verde-700); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .song-card:hover .song-card__media .cover, .yt__link:hover .yt__thumb { transform: none; } }

/* Top da semana */
.top-songs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.top-songs li { display: flex; align-items: center; gap: 12px; }
.top-songs__rank { flex: none; width: 1.4em; text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; color: var(--verde-600); }
.top-songs__cover { flex: none; width: 48px; border-radius: 8px; overflow: hidden; }
.top-songs__text { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.top-songs__text a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-songs__text a:hover { color: var(--verde-700); text-decoration: underline; }
.top-songs__text small { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-songs--dark .top-songs__rank { color: var(--verde); }
.top-songs--dark .top-songs__text a { color: #fff; }
.top-songs--dark .top-songs__text small { color: #c4c1c2; }
.top-songs--dark li { padding: 8px; border-radius: 12px; background: rgb(255 255 255 / .05); }

/* Artistas */
.avatar { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.avatar--initials {
    display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 2rem;
    background: linear-gradient(135deg, hsl(var(--hue) 60% 42%), hsl(var(--hue) 65% 24%));
}
.avatar--sm { width: 30px; font-size: .75rem; flex: none; }
.avatar--xl { width: 120px; font-size: 2.6rem; flex: none; box-shadow: 0 0 0 4px rgb(255 255 255 / .15); }
@media (min-width: 768px) { .avatar--xl { width: 160px; font-size: 3.2rem; } }
.grid--artists { display: grid; gap: 24px 16px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.artist-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 130px; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.artist-card { text-align: center; min-width: 0; }
.artist-card__photo { display: block; text-decoration: none; width: 110px; margin: 0 auto 10px; border-radius: 50%; transition: transform .2s; }
.artist-card__photo:hover { transform: scale(1.04); }
.artist-card__name { font-size: .95rem; font-weight: 700; margin: 0 0 2px; line-height: 1.3; }
.artist-card__name a { color: var(--ink); text-decoration: none; }
.artist-card__name a:hover { color: var(--verde-700); text-decoration: underline; }
.artist-card__meta { font-size: .8rem; color: var(--muted); margin: 0; }

.artist-hero { color: #fff; background: radial-gradient(circle at 10% 0%, rgb(96 232 63 / .2), transparent 40%), linear-gradient(135deg, #1e0b0c, var(--grafite-950)); }
.artist-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.artist-hero__name { font-family: var(--font-head); font-weight: 900; font-size: 2rem; margin: 0 0 8px; }
@media (min-width: 768px) { .artist-hero__name { font-size: 2.6rem; } }
.artist-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #dddadb; margin-bottom: 14px; }
.artist-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.artist-hero__links { display: flex; flex-wrap: wrap; gap: 8px; }
.artist-bio { margin-bottom: 32px; }

/* Página da música */
.song-about { margin-bottom: 28px; color: var(--ink-2); }
.spotify { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }
.spotify--tall { height: 352px; }
.lyrics__text {
    position: relative; background: var(--surface); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow);
    font-size: 1.1rem; line-height: 1.9; color: #2c292a;
}
.lyrics__text.is-collapsed { max-height: 34em; overflow: hidden; }
.lyrics__text.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgb(255 255 255 / 0), #fff); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.lyrics__toggle { margin-top: 14px; }

/* Faixa de música na home */
.music-band {
    margin: 20px 0 0; padding: 40px 0 44px; color: #fff;
    background:
        linear-gradient(135deg, #1e0b0c, var(--grafite-950));
}
.section__head--dark { border-color: rgb(255 255 255 / .12); }
.section__head--dark .section__title, .section__head--dark .section__title .icon { color: #fff; }
.section__head--dark .section__more { color: #d4d1d2; }
.section__head--dark .section__more:hover { color: var(--verde); }
.music-band__grid { display: grid; gap: 24px; margin-bottom: 28px; }
@media (min-width: 900px) { .music-band__grid { grid-template-columns: 1.5fr 1fr; gap: 32px; } }
.music-band__feature { display: grid; gap: 16px; align-content: start; }
@media (min-width: 640px) { .music-band__feature:has(.music-band__cover) { grid-template-columns: 220px 1fr; align-items: end; } }
.music-band__cover { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px rgb(0 0 0 / .25); max-width: 280px; }
.music-band__caption h3 { font-family: var(--font-head); font-size: 1.6rem; margin: 0 0 6px; }
.music-band__caption h3 a { color: #fff; text-decoration: none; }
.music-band__caption h3 a:hover { text-decoration: underline; text-decoration-color: var(--verde); }
.music-band__artist { color: var(--verde); font-weight: 700; text-decoration: none; }
.music-band__subtitle { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--verde); margin: 0 0 14px; }
.music-band .song-card__title a { color: #fff; }
.music-band .song-card__artist { color: #c4c1c2; }

/* Seções por editoria na home */
.sections-grid { display: grid; gap: 0 40px; margin-top: 44px; }
@media (min-width: 1000px) {
    .sections-grid { grid-template-columns: 1fr 1fr; }
    .sections-grid .split { grid-template-columns: 1fr; }
    .sections-grid .split__list { grid-template-columns: 1fr; }
}
@media (min-width: 1200px) { .sections-grid .split { grid-template-columns: 1fr 1fr; } }

.search-news-title { margin: 8px 0 6px; }
.site-main:has(> .music-band:last-child) { padding-bottom: 0; }

/* ==========================================================================
   v3 — Credibilidade, distribuição e Guia de Igrejas
   ========================================================================== */
.small { font-size: .85rem; }
.subhead { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 20px 0 6px; }
.avatar--md { width: 64px; font-size: 1.4rem; flex: none; }
.avatar--lg { width: 110px; font-size: 2.4rem; flex: none; box-shadow: 0 0 0 4px rgb(255 255 255 / .2); }
.btn--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-hover); border-color: var(--whatsapp-hover); color: #fff; }

.topbar__channel { display: none; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; margin-left: auto; }
.topbar__channel:hover { color: var(--verde); }
.topbar__channel + .topbar__social { margin-left: 8px; }
@media (min-width: 640px) { .topbar__channel { display: inline-flex; } }

/* Autor e matéria */
.byline { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.article__meta .byline__text { display: flex; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.3; }
.article__meta .byline__text > span { display: inline; }
.byline small { font-size: .78rem; color: var(--muted); }
.byline:hover strong { color: var(--verde-700); text-decoration: underline; }
.article__meta { align-items: center; }
.dateline { font-weight: 800; font-size: .92em; letter-spacing: .02em; color: var(--grafite); }
.correction { margin: 28px 0 0; padding: 14px 18px; border-radius: 10px; background: #fff7e6; border: 1px solid #f3d9a4; color: #5a3a00; font-size: .95rem; }
.correction strong { display: inline-flex; align-items: center; gap: 6px; }
.correction p { margin: 6px 0 0; }
.article__report { margin: 22px 0 0; font-size: .88rem; color: var(--muted); }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 20px; border-radius: var(--radius-lg); background: var(--bg); }
.author-box a { text-decoration: none; }
.author-box__name { margin: 0 0 4px; font-weight: 700; }
.author-box__name a { color: var(--ink); }
.author-box__name span { font-weight: 500; color: var(--muted); font-size: .88rem; }
.author-box__bio { margin: 0 0 6px; color: var(--ink-2); font-size: .93rem; }
.author-box__more { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; font-weight: 600; }
.author-hero { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.author-bio-full { margin-bottom: 28px; }

.inline-cta {
    display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center;
    margin: 1.8em 0 !important; padding: 18px 20px; border-radius: var(--radius-lg);
    background: var(--verde-100); border: 1px solid var(--verde-200); font-size: .98rem; line-height: 1.5;
}
.inline-cta > .icon { width: 28px; height: 28px; color: var(--verde-600); }
.inline-cta p { margin: 0; }
.inline-cta .btn, .inline-cta__form { grid-column: 1 / -1; }
.inline-cta--whatsapp { background: #e9f8ef; border-color: #b7e2cb; }
.inline-cta--whatsapp > .icon { color: var(--whatsapp); }
.inline-cta__form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-cta__form input[type="email"] { flex: 1 1 200px; padding: .6em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
@media (min-width: 640px) { .inline-cta--whatsapp .btn { grid-column: auto; justify-self: start; } }

/* Expediente */
.masthead__facts { display: grid; gap: 12px; margin: 0; }
.masthead__facts div { display: grid; gap: 2px; }
@media (min-width: 640px) { .masthead__facts div { grid-template-columns: 140px 1fr; } }
.masthead__facts dt { font-weight: 700; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.masthead__facts dd { margin: 0; }
.team { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.team__member { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.team__member span { display: flex; flex-direction: column; }
.team__member small { color: var(--muted); }
.team__member:hover strong { color: var(--verde-700); }
.policy h2 { font-size: 1.15rem; }

/* Guia de igrejas */
.page-banner--churches { --cat: #16520b; }
.church-filters input[type="search"] { flex: 1 1 260px; padding: .65em 1em; border-radius: 999px; border: 1px solid var(--field-border); background: #fff; }
.church-filters select { padding: .6em .9em; border-radius: 999px; border: 1px solid var(--field-border); background: #fff; max-width: 100%; }
.grid--churches { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 8px; }
.church-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.church-card__photo { display: block; aspect-ratio: 16 / 8; background: #16520b; }
.church-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.church-card__art { display: grid; place-items: center; width: 100%; height: 100%; color: rgb(255 255 255 / .85); background: radial-gradient(circle at 85% 10%, rgb(96 232 63 / .35), transparent 45%), linear-gradient(135deg, var(--verde-600), #1e1b1c); }
.church-card__art .icon { width: 40px; height: 40px; stroke-width: 1.5; }
.church-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.church-card__denomination { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--verde-600); }
.church-card__name { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.3; margin: 0; }
.church-card__name a { color: var(--ink); text-decoration: none; }
.church-card__name a:hover { color: var(--verde-700); text-decoration: underline; }
.church-card__meta, .church-card__next { margin: 0; font-size: .86rem; color: var(--ink-2); display: flex; align-items: flex-start; gap: 6px; }
.church-card__next { color: var(--green); }
.church-card__next--muted { color: var(--muted); }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #1d7ff0; color: #fff; vertical-align: 1px; }
.verified .icon { width: 12px; height: 12px; stroke-width: 3; }
.verified-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; background: #e7f1fe; color: #1d5fbf; font-weight: 700; font-size: .82rem; }
.verified-badge .icon { width: 14px; height: 14px; }
.church-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--verde-600), var(--grafite)); color: #fff; }
.church-cta h2 { font-family: var(--font-head); margin: 0 0 6px; }
.church-cta p { margin: 0; color: rgb(255 255 255 / .85); }

.church__header { margin-bottom: 18px; }
.church__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .85rem; margin: 0 0 8px; }
.church__next { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--green); font-size: .98rem; }
.table-wrap-site { overflow-x: auto; }
.schedule { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.schedule th, .schedule td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.schedule thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
.schedule tbody th { font-weight: 700; white-space: nowrap; }
.schedule__time { font-family: var(--font-head); font-weight: 900; color: var(--grafite); white-space: nowrap; }
.schedule tr.is-today td, .schedule tr.is-today th { background: #f1fbec; }
.schedule small { color: var(--ink-2); }
.today-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--verde); color: var(--grafite-950); font-size: .75rem; font-weight: 800; text-transform: uppercase; vertical-align: 1px; }
.visitor-box .prose { background: var(--verde-100); border: 1px solid var(--verde-200); border-radius: 12px; padding: 16px 18px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.tag-list li { padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.church-claim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding: 16px 18px; border-radius: 12px; border: 1px dashed #c7c4c5; }
.church-claim p { margin: 0; }

.services-block { margin-bottom: 24px; }
.services-block--past { opacity: .6; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.service-row__time { flex: none; min-width: 64px; font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; color: var(--grafite); }
.service-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.service-row__church { font-weight: 700; color: var(--ink); text-decoration: none; }
.service-row__church:hover { color: var(--verde-700); text-decoration: underline; }
.service-row__name { font-size: .9rem; color: var(--ink-2); }
.service-row__place { display: flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--muted); }
.icon-link { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--verde-700); }
.icon-link:hover { background: var(--verde-100); }

.mini-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-services li { display: flex; gap: 12px; align-items: baseline; }
.mini-services__time { flex: none; min-width: 48px; font-family: var(--font-head); font-weight: 900; color: var(--grafite); }
.mini-services a { display: block; color: var(--ink); font-weight: 600; text-decoration: none; font-size: .93rem; line-height: 1.3; }
.mini-services a:hover { color: var(--verde-700); text-decoration: underline; }
.mini-services small { color: var(--muted); font-size: .8rem; }

/* Barra de atalhos fixa no celular */
.tabbar { display: none; }
@media (max-width: 899px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr);
        padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line);
        box-shadow: 0 -4px 16px rgb(41 38 39 / .08);
    }
    .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; color: var(--muted); text-decoration: none; font-size: .75rem; font-weight: 700; }
    .tabbar .icon { width: 22px; height: 22px; }
    .tabbar a[aria-current] { color: var(--grafite); }
    .tabbar a[aria-current] .icon { color: var(--verde-600); }
    .toasts { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   v4 — Música regional: lançamentos da sexta, Top RN, ficha de louvor
   ========================================================================== */
.rn-badge {
    display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 4px;
    background: var(--verde-600); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px;
}
.rn-badge--light { background: rgb(255 255 255 / .16); }
.label-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); font-size: .75rem; font-weight: 600; }
.label-tag .icon { width: 12px; height: 12px; }
.legend-text { font-weight: 600; font-size: .9rem; margin: 0 0 8px; }

/* Faixa "Lançamentos da sexta" na página de Música */
.friday-banner {
    display: flex; align-items: center; gap: 16px; margin-bottom: 32px; padding: 16px 18px; border-radius: var(--radius-lg);
    background: linear-gradient(120deg, #4a1114, var(--grafite)); color: #fff; text-decoration: none; box-shadow: var(--shadow);
}
.friday-banner:hover { color: #fff; transform: translateY(-1px); }
.friday-banner > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.friday-banner strong { font-family: var(--font-head); font-size: 1.15rem; }
.friday-banner small { color: #dddadb; }
.friday-banner__date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 60px; border-radius: 12px; background: var(--verde); color: var(--grafite-950); font-size: .75rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.friday-banner__date span { font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; }

.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 20px 0 4px; }
.release-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.release { display: flex; gap: 16px; align-items: center; padding: 14px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.release__cover { flex: none; width: 92px; border-radius: 10px; overflow: hidden; }
.release__body { min-width: 0; }
.release__date { margin: 0; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--verde-600); }
.release__title { font-family: var(--font-head); font-size: 1.1rem; margin: 2px 0; }
.release__title a { color: var(--ink); text-decoration: none; }
.release__title a:hover { color: var(--verde-700); text-decoration: underline; }
.release__artist { font-size: .9rem; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.release__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.soon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.soon-list li { padding: 10px 14px; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); }
.soon-list a { font-weight: 700; color: var(--ink); }
.soon-list__date { display: inline-block; min-width: 44px; font-family: var(--font-head); font-weight: 900; color: var(--grafite); }

/* Paradas */
.charts { display: grid; gap: 24px; margin: 24px 0 8px; }
@media (min-width: 900px) { .charts { grid-template-columns: 1fr 1fr; } }
.chart { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; }
.chart__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.2rem; margin: 0 0 14px; }
.chart__title .icon { color: var(--verde-600); }
.chart--rn { border-top: 4px solid var(--verde-600); }
.chart__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chart-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.chart-row:nth-child(-n+3) { background: var(--verde-100); }
.chart-row__pos { flex: none; width: 1.6em; text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; color: var(--verde-600); }
.chart-row__cover { flex: none; width: 48px; border-radius: 8px; overflow: hidden; }
.chart-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.chart-row__text a, .chart-row__text strong { color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-row__text a:hover { color: var(--verde-700); text-decoration: underline; }
.chart-row__text small { color: var(--muted); font-size: .82rem; }
.chart-row__views { flex: none; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.top-songs--wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Ficha de louvor e créditos */
.sheet { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 0; }
.sheet div { padding: 12px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.sheet dt { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sheet dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; color: var(--grafite); }
.sheet dd a { color: inherit; text-decoration: none; }
.sheet dd a:hover { text-decoration: underline; text-decoration-color: var(--verde); }
.credits { margin: -12px 0 36px; font-size: .9rem; color: var(--ink-2); }
.credits p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 6px; }
.song-filters { padding-top: 0; margin-bottom: 18px; }

/* Artistas */
.artist-card__place { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.artist-hero__book { margin: 0 0 12px; }
.artist-correction { margin: -10px 0 28px; }

/* Caixas de seleção e opções em formulários */
.field .check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 0; font-weight: 500; font-size: .92rem; line-height: 1.45; cursor: pointer; }
.field .check:first-of-type { margin-top: 0; }
.field textarea + .check { margin-top: 10px; }
.field .check input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--grafite); box-shadow: none; }
.has-error .check input { outline: 2px solid var(--red); outline-offset: 1px; }

/* ==========================================================================
   Fase 4: agenda mais completa
   ========================================================================== */

/* Situação do evento */
.situation-badge {
    display: inline-flex; align-items: center; align-self: flex-start; margin: 0 0 6px 4px;
    font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px; color: #fff; background: #747172;
}
.situation-badge--cancelado { background: var(--red); }
.situation-badge--adiado { background: #b45309; }
.situation-badge--esgotado { background: #565354; }
.event-card__body .situation-badge { margin-left: 0; }
.event-card__body .type-badge + .situation-badge { margin-top: -2px; }
.event-alert {
    display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px;
    background: #fdecec; color: #8f1d22; border: 1px solid #f5c2c4;
}
.event-alert p { margin: 0; }
.event-alert .icon { flex: none; margin-top: 2px; }
.event-alert--adiado { background: #fff4e5; color: #8a4b08; border-color: #f6d3a6; }
.event-alert--esgotado { background: #f3f0f1; color: #423f40; border-color: #e0ddde; }

/* Participar: Vou, calendário e lembrete */
.participate {
    display: grid; gap: 14px; margin: 0 0 18px; padding: 16px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--verde-100), #fff 65%); border: 1px solid var(--verde-200);
}
.participate__going { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.participate__going form { margin: 0; }
.going-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: .6em 1.4em; border-radius: 999px;
    border: 2px solid var(--grafite); background: var(--grafite); color: #fff; font: inherit; font-weight: 800; font-size: 1.02rem; cursor: pointer;
    transition: background .15s, color .15s, transform .1s;
}
.going-btn:hover { background: var(--verde-700); border-color: var(--verde-700); }
.going-btn:active { transform: scale(.97); }
.going-btn.is-going { background: #fff; color: var(--green); border-color: var(--green); }
.going-btn.is-going:hover { background: #e7f6ee; }
.going-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.participate__count { margin: 0; font-weight: 700; color: var(--ink-2); }
.participate__calendar { display: flex; flex-wrap: wrap; gap: 8px; }
.remind { border-top: 1px solid var(--verde-200); padding-top: 12px; }
.remind summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; color: var(--verde-700); list-style: none; }
.remind summary::-webkit-details-marker { display: none; }
.remind summary .icon { color: var(--verde-600); }
.remind__form { display: grid; gap: 10px; margin-top: 12px; }
.remind__row, .alert-form__row { display: flex; gap: 8px; }
.remind__row input, .alert-form__row input {
    flex: 1 1 auto; width: 0; min-width: 0; padding: .65em .9em; border: 1px solid var(--field-border); border-radius: 999px; background: #fff; font: inherit;
}
.remind__row .btn, .alert-form__row .btn { flex: none; }
.remind__row input:focus, .alert-form__row input:focus { outline: 3px solid var(--verde-600); outline-offset: 1px; border-color: var(--verde-700); }
.remind__consent, .alert-form__consent { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.remind__consent input, .alert-form__consent input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--grafite); }

/* Bom saber */
.good-to-know { margin: 0 0 22px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.good-to-know__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--font-head); font-size: 1.15rem; }
.good-to-know__title .icon { color: var(--verde-600); }
.good-to-know__list { display: grid; gap: 12px 20px; margin: 0; }
@media (min-width: 640px) { .good-to-know__list { grid-template-columns: 1fr 1fr; } }
.good-to-know__list dt { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.good-to-know__list dt .icon { width: 16px; height: 16px; color: var(--type, var(--verde-700)); }
.good-to-know__list dd { margin: 2px 0 0 22px; font-weight: 600; line-height: 1.45; }
.event__report { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.event__report .icon { width: 16px; height: 16px; color: var(--red); }

.going-badge { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 6px; font-size: .78rem; font-weight: 700; color: var(--green); }
.going-badge .icon { width: 14px; height: 14px; }

/* Agenda da semana */
.week-summary { margin: 18px 0; font-size: 1rem; color: var(--ink-2); }
.week-day { margin-bottom: 22px; }
.week-day__title {
    display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--line);
    font-family: var(--font-body); font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--grafite);
}
.week-day.is-today .week-day__title { border-color: var(--verde); }
.week-day__today { font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--verde); color: var(--grafite-950); }
.week-day__empty { margin: 0; font-size: .9rem; color: var(--muted); }
.week-day.is-empty { margin-bottom: 14px; }
.code-box {
    width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--field-border); background: #fcf9fa;
    font: .82rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); resize: vertical;
}
.code-box--plain { font-family: var(--font-body); font-size: .86rem; margin-bottom: 10px; }
.copied { font-weight: 600; }
.print-only { display: none; }
@media print {
    .site-header, .site-footer, .tabbar, .toasts, .no-print, .skip-link, .event-card__thumb { display: none !important; }
    body { background: #fff; }
    .page-banner { background: none !important; color: #000; padding: 0 0 8px; }
    .page-banner .eyebrow, .page-banner__intro { color: #000; }
    .layout { display: block; margin: 0; }
    .event-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
    .week-day { break-inside: avoid; }
    .print-only { display: block; }
    .print-credit { margin-top: 18px; font-weight: 700; }
    a { color: #000; text-decoration: none; }
}

/* Calendário do ano */
.calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 18px; font-size: .86rem; color: var(--ink-2); }
.calendar-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend .icon { width: 16px; height: 16px; color: var(--verde-600); }
.calendar-legend__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--verde-700); }
.year-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .year-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .year-grid { grid-template-columns: repeat(3, 1fr); } }
.month-card { display: flex; flex-direction: column; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); border-top: 4px solid var(--verde-700); }
.month-card.is-current { border-top-color: var(--verde); box-shadow: var(--shadow-lg); }
.month-card.is-past { opacity: .62; }
.month-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.month-card__head h2 { margin: 0; font-family: var(--font-head); font-size: 1.2rem; }
.month-card__head a { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.month-card__head a .icon, .month-card__head span { font-size: .84rem; }
.month-card__head a .icon { width: 14px; height: 14px; }
.month-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.month-card__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.35; }
.month-card__list small { display: block; font-size: .8rem; color: var(--muted); }
.month-card__day { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-weight: 800; font-size: .86rem; background: #f2eff0; color: var(--verde-700); }
.month-card__event .month-card__day { background: var(--verde-100); color: var(--verde-600); }
.month-card__event .icon { width: 14px; height: 14px; color: var(--verde-600); vertical-align: -2px; }
.month-card__event a { font-weight: 700; color: var(--ink); }
.month-card__empty { margin: 0; font-size: .88rem; color: var(--muted); }
.cta-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 8px; padding: 22px 24px;
    border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--grafite), #373435); color: #fff;
}
.cta-band h2 { margin: 0 0 4px; font-family: var(--font-head); font-size: 1.2rem; }
.cta-band p { margin: 0; color: #dddadb; max-width: 620px; }

/* Avisos por e-mail */
.alert-form { display: grid; gap: 10px; }
.alert-choice { margin: 6px 0 4px 28px; }
.alert-choice select { width: 100%; padding: .55em .8em; border: 1px solid var(--field-border); border-radius: 8px; background: #fff; }
.follow-box { margin: 26px 0 8px; padding: 18px; border-radius: var(--radius-lg); background: var(--verde-100); border: 1px solid var(--verde-200); }
.follow-box__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.35; }
.follow-box__title .icon { flex: none; color: var(--verde-600); }
.notice-card { max-width: 620px; margin: 48px auto; text-align: center; }
.notice-card__title { font-family: var(--font-head); font-size: 1.6rem; margin: 0 0 10px; }
.notice-card form { margin: 18px 0 0; }
.notice-card__more { margin: 16px 0 0; }
.notice-card__more a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.church-claim__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Quadros para sites parceiros */
.panel-box { background: var(--surface); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.panel-box__title { margin: 0 0 14px; font-family: var(--font-head); font-size: 1.15rem; }
.widgets-builder { display: grid; gap: 20px; margin-top: 28px; }
.widgets-builder__form { display: grid; gap: 14px; align-content: start; }
.widgets-builder__frame { display: grid; justify-items: center; padding: 18px; border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, #eeebec, #eeebec 10px, #f6f3f4 10px, #f6f3f4 20px); }
.widgets-builder__frame.is-dark { background: #1e1b1c; }
.widgets-builder__frame iframe { width: 100%; max-width: 440px; border: 0; border-radius: 12px; }
.widgets-builder__code { display: grid; gap: 12px; align-content: start; }
.widgets-builder__how { margin: 8px 0 0; font-size: 1rem; }
.widgets-builder__steps { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; }
@media (min-width: 1000px) {
    .widgets-builder { grid-template-columns: 340px 1fr; }
    .widgets-builder__form { grid-row: span 2; }
    .widgets-builder__preview { grid-column: 2; }
    .widgets-builder__code { grid-column: 2; }
}
.segmented { display: flex; gap: 8px; }
.segmented label { position: relative; flex: 1; cursor: pointer; }
.segmented input { position: absolute; inset: 0; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
.segmented span {
    display: flex; align-items: center; justify-content: center; gap: 6px; padding: .6em .8em; border-radius: 10px;
    border: 1px solid var(--field-border); background: #fff; font-weight: 700; color: var(--ink-2);
}
.segmented input:checked + span { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--verde); outline-offset: 2px; }
.widgets-more { margin-top: 36px; }
.info-card { background: var(--surface); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.info-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--font-head); font-size: 1.05rem; }
.info-card h3 .icon { color: var(--verde-600); }
.info-card p { margin: 0 0 10px; color: var(--ink-2); font-size: .93rem; }
.info-card > a { font-weight: 700; font-size: .92rem; }
.widget .alert-form__row { flex-direction: column; }
.widget .alert-form__row input { width: 100%; flex: none; }
.widget .alert-form__row .btn { justify-content: center; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.widgets-builder__form { align-self: start; }

/* ==========================================================================
   Fase 5: sustentabilidade (anúncios, patrocínio, apoio)
   ========================================================================== */
.ad { display: grid; justify-items: center; gap: 4px; }
.ad__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ad__link { display: block; line-height: 0; border-radius: 6px; overflow: hidden; }
.ad__link img { max-width: 100%; height: auto; }
.ad--topo { max-width: 1200px; margin: 16px auto 0; padding: 0 var(--gutter); }
.ad--lateral { padding: 12px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ad--materia { margin: 28px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad--fim { margin: 28px 0 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad--lista { grid-column: 1 / -1; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad--adsense { justify-items: stretch; }
.ad--adsense .ad__label { justify-self: center; }
.ad__unit { width: 100%; min-height: 50px; }
/* O espaço do topo já nasce com a altura do anúncio para a página não pular quando ele carrega. */
.ad--topo:has(ins[data-ad-status="filled"]) .ad__unit { min-height: 100px; }
@media (min-width: 768px) { .ad--topo:has(ins[data-ad-status="filled"]) .ad__unit { min-height: 90px; } }
/* Enquanto o Google não tem anúncio para servir (conta em análise, sem preenchimento), o espaço some. */
.ad--adsense:has(.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
/* Enquanto o Google não serve anúncio, o bloco não ocupa altura (mas guarda a largura para o Google
   medir e preencher quando a conta liberar). Assim não sobra vão em branco no topo, na lista e no fim. */
.ad--adsense:not(:has(ins[data-ad-status="filled"])) { height: 0; min-height: 0; margin-top: 0; margin-bottom: 0; padding: 0; border: 0; overflow: hidden; }

.sponsored-badge {
    display: inline-flex; align-items: center; align-self: flex-start; margin: 0 0 6px;
    font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px; color: #6b4a00; background: #fbe7a8; border: 1px solid #f0cf6a;
}
.sponsored-badge--light { background: rgb(251 231 168 / .95); }
.song-card__body .sponsored-badge, .event-card__body .sponsored-badge { margin-bottom: 4px; }
.release__tags .sponsored-badge { margin: 0; }
.sponsored-label { margin: 0 0 10px; font-size: .9rem; color: var(--ink-2); }
.sponsored-label .sponsored-badge { margin: 0 6px 0 0; vertical-align: 1px; }
.sponsored-note {
    display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 14px 16px; border-radius: 12px;
    background: #fff8e1; border: 1px solid #f3dd94; color: #5b4300; font-size: .92rem;
}
.sponsored-note p { margin: 0; }
.sponsored-note .icon { flex: none; margin-top: 2px; color: #b8891a; }
.sponsored-note--small { margin: 20px 0 0; font-size: .86rem; }
.section--sponsored .section__title::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 2px; background: #f0cf6a; vertical-align: 1px; }

/* Esta matéria foi útil? */
.feedback { margin: 28px 0 0; padding: 20px; border-radius: var(--radius-lg); background: var(--verde-100); border: 1px solid var(--verde-200); text-align: center; }
.feedback__title { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; font-family: var(--font-head); font-size: 1.2rem; }
.feedback__title .icon { color: var(--green); }
.feedback p { margin: 0 auto 14px; max-width: 520px; color: var(--ink-2); }
.feedback__form { display: flex; justify-content: center; gap: 10px; }
.feedback__form .btn { min-width: 110px; }
.feedback .share { justify-content: center; }

.widget--support { background: linear-gradient(160deg, #fff8e1, #fff 75%); border: 1px solid #f3dd94; box-shadow: none; }
.widget--support p { color: var(--ink-2); font-size: .93rem; }

/* Apoie e Anuncie */
.page-banner--support { --cat: #373435; }
.support-layout { display: grid; gap: 24px; margin-top: 28px; }
.support-why { display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) { .support-layout { grid-template-columns: minmax(0, 1fr) 380px; } }
.pix-card { align-self: start; display: grid; gap: 12px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); border-top: 5px solid var(--verde); }
.pix-card__title { margin: 0; font-family: var(--font-head); font-size: 1.35rem; text-align: center; }
.pix-card__amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pix-card__amounts .chip { padding: 6px 12px; font-size: .86rem; }
.pix-card__qr { width: min(260px, 100%); margin: 4px auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pix-card__qr svg { display: block; width: 100%; height: auto; }
.pix-card__hint { margin: 0; text-align: center; font-size: .9rem; color: var(--ink-2); }
.pix-card__label { font-weight: 700; font-size: .9rem; }
.pix-card .code-box { word-break: break-all; }
.pix-card__info { display: grid; gap: 6px; margin: 4px 0 0; font-size: .88rem; }
.pix-card__info div { display: flex; justify-content: space-between; gap: 10px; }
.pix-card__info dt { color: var(--muted); }
.pix-card__info dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.pix-card__safety { display: flex; gap: 8px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.pix-card__safety .icon { flex: none; width: 16px; height: 16px; }
.numbers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.numbers__item { display: grid; gap: 2px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.numbers__item strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--grafite); }
.numbers__item span { color: var(--ink-2); font-size: .9rem; }
.info-card__meta { font-size: .85rem !important; color: var(--muted) !important; }

/* ==========================================================================
   Fase 6 — redação: Urgente, ao vivo, formatos, checagem, temas e boletim
   ========================================================================== */

/* Faixa Urgente / Ao vivo no topo */
.alert-bar { background: var(--red); color: #fff; }
.alert-bar--live { background: #8f1d22; }
.alert-bar__inner { display: flex; align-items: center; gap: 12px; min-height: 46px; padding-block: 8px; }
.alert-bar__label {
    flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: #fff; color: var(--red);
}
.alert-bar__link { flex: 1; min-width: 0; color: #fff; font-weight: 700; text-decoration: none; line-height: 1.35; }
.alert-bar__link:hover { text-decoration: underline; }
.alert-bar__time { flex: none; font-size: .8rem; color: #fff; }
@media (max-width: 600px) { .alert-bar__time { display: none; } }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: live-pulse 1.4s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Selos (cartões e matéria) */
.card__kicker, .article__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 6px; }
.card__kicker .tag, .article__kicker .tag { margin: 0; }
.article__kicker { margin-bottom: 8px; }
.flag {
    display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; padding: 3px 7px; border-radius: 4px; line-height: 1.2; background: var(--bg); color: var(--ink-2);
}
.flag--live, .flag--breaking { background: var(--red); color: #fff; }
.flag--live .live-dot { width: 6px; height: 6px; }
.flag--ended { background: #f0edee; color: var(--ink-2); }
.flag--format, .format-label { background: var(--grafite); color: #fff; }
.format-label { display: inline-flex; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.card--overlay .flag--format { background: rgb(255 255 255 / .92); color: var(--grafite); }

/* Vereditos da checagem */
.verdict { display: inline-flex; align-items: center; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; color: #fff; background: var(--ink-2); white-space: nowrap; }
.verdict--falso { background: #b91c1c; }
.verdict--enganoso { background: #c2410c; }
.verdict--fora-de-contexto { background: #a16207; }
.verdict--sem-provas { background: #565354; }
.verdict--verdadeiro { background: #15803d; }
.verdict--lg { font-size: .9rem; padding: 6px 12px; }
.flag--verdict.verdict--falso { background: #b91c1c; }
.flag--verdict { color: #fff; }
.flag--verdict.verdict--enganoso { background: #c2410c; }
.flag--verdict.verdict--fora-de-contexto { background: #a16207; }
.flag--verdict.verdict--sem-provas { background: #565354; }
.flag--verdict.verdict--verdadeiro { background: #15803d; }

.claim { margin: 4px 0 24px; padding: 18px 20px; border-radius: var(--radius-lg); background: #f9f6f7; border: 1px solid var(--line); border-left: 5px solid var(--ink-2); }
.article--checagem .claim:has(.verdict--falso) { border-left-color: #b91c1c; }
.article--checagem .claim:has(.verdict--enganoso) { border-left-color: #c2410c; }
.article--checagem .claim:has(.verdict--verdadeiro) { border-left-color: #15803d; }
.claim__label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.claim__text { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.45; margin: 0 0 6px; color: var(--ink); }
.claim__origin { margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.claim__verdict { display: flex; align-items: center; gap: 10px; margin: 0; }
.claim__verdict .claim__label { margin: 0; }
.claim__hint { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }

.verdict-legend { margin: 0 0 28px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.verdict-legend__title { font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 12px; }
.verdict-legend dl { display: grid; gap: 10px; margin: 0; }
.verdict-legend dl div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px; align-items: start; }
.verdict-legend dd { margin: 0; font-size: .9rem; color: var(--ink-2); }
.verdict-legend__cta { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.verdict-legend__cta .icon { flex: none; color: var(--verde-600); margin-top: 2px; }
@media (max-width: 480px) { .verdict-legend dl div { grid-template-columns: 1fr; gap: 4px; } }

.mini-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-checks li { display: grid; gap: 4px; justify-items: start; }
.mini-checks a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; line-height: 1.35; }
.mini-checks a:hover { color: var(--verde-700); text-decoration: underline; }

/* Opinião e análise */
.article__meta--signed .byline__text strong { font-size: 1.02rem; }
.opinion-note { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; padding: 14px 16px; border-radius: 12px; background: #f4f1f2; color: #322f30; font-size: .92rem; }
.opinion-note p { margin: 0; }
.opinion-note .icon { flex: none; margin-top: 2px; color: var(--verde-700); }
.article--opiniao .article__title, .article--analise .article__title { font-style: italic; }

.opinion-strip__grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .opinion-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.opinion-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); border-top: 3px solid var(--grafite); }
.opinion-card__author { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.opinion-card__author span { display: grid; line-height: 1.25; }
.opinion-card__author small { color: var(--muted); font-size: .8rem; }
.opinion-card__format { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--verde-600); }
.opinion-card__title { margin: 0; font-family: var(--font-head); font-style: italic; font-size: 1.1rem; line-height: 1.35; }
.opinion-card__title a { color: var(--ink); text-decoration: none; }
.opinion-card__title a:hover { color: var(--verde-700); text-decoration: underline; }

.columnists { margin: 0 0 24px; }
.columnists__title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.columnists__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.columnists__list a { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.columnists__list span { display: grid; line-height: 1.2; font-size: .9rem; }
.columnists__list small { color: var(--muted); font-size: .76rem; }

/* Fonte, crédito e temas na matéria */
.article__figure .credit { white-space: nowrap; font-weight: 600; color: var(--ink-2); }
.article__more { margin: 24px 0 0; font-size: .95rem; color: var(--ink-2); }
.article__more a { font-weight: 700; color: var(--verde-700); display: inline-flex; align-items: center; gap: 4px; }
.article__source { display: flex; align-items: flex-start; gap: 6px; margin: 24px 0 0; font-size: .92rem; color: var(--ink-2); }
.article__source a { font-weight: 700; }
.article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 0; }
.article__tags > span { font-weight: 700; font-size: .9rem; color: var(--muted); }
.article__tags .chip { padding: 5px 12px; font-size: .85rem; }

/* Em alta */
.trending { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 16px; padding: 2px 0 4px; }
.trending__label { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.trending .chip { padding: 6px 14px; font-size: .86rem; }
.widget .chips { flex-wrap: wrap; overflow: visible; padding: 0; margin: 0; }
.widget .chips .chip { padding: 6px 12px; font-size: .85rem; }

/* Cobertura ao vivo */
.live-summary { margin: 0 0 24px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--verde-100); border: 1px solid var(--verde-200); }
.live-summary__title { margin: 0 0 8px; font-family: var(--font-head); font-size: 1.05rem; }
.live-summary ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.live-summary a { color: var(--ink); text-decoration: none; font-weight: 600; }
.live-summary a:hover { text-decoration: underline; }
.live-summary time { color: var(--red); font-weight: 800; margin-right: 4px; }
.live { margin: 28px 0 0; }
.live__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 10px; border-bottom: 3px solid var(--red); }
.live__title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-head); font-size: 1.3rem; }
.live__title .live-dot { color: var(--red); width: 10px; height: 10px; }
.live__status { margin: 0; font-size: .85rem; color: var(--muted); }
.live__new { position: sticky; top: 10px; z-index: 5; display: flex; margin: 14px auto 0; box-shadow: var(--shadow-lg); }
.live__list { display: grid; }
.live-update { position: relative; padding: 18px 0 18px 22px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.live-update::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.live-update::after { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--red); }
.live-update--key::after { background: var(--red); }
.live-update--key { background: linear-gradient(90deg, rgb(219 0 4 / .05), transparent 60%); }
.live-update__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.live-update__time { font-weight: 800; color: var(--red); text-decoration: none; font-variant-numeric: tabular-nums; }
.live-update__time:hover { text-decoration: underline; }
.live-update__key { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--verde-600); background: var(--verde-100); padding: 2px 8px; border-radius: 4px; }
.live-update__key .icon { width: 12px; height: 12px; }
.live-update__title { margin: 0 0 6px; font-family: var(--font-head); font-size: 1.12rem; line-height: 1.35; }
.live-update__body { font-size: 1rem; }
.live-update__img { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: var(--radius); }
.live-update__by { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }

/* Boletim por e-mail */
.widget__fine { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.newsletter-page { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 900px) { .newsletter-page { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; } }
.newsletter-page__form { display: grid; gap: 16px; border-top: 5px solid var(--verde); }
.newsletter-page__form .field { margin: 0; }
.newsletter-page__about { display: grid; gap: 14px; align-content: start; }
.field__label, fieldset.field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.choice-cards { display: grid; gap: 10px; }
.field .choice-card, .choice-card { position: relative; display: grid; margin: 0; font-weight: 400; gap: 2px; padding: 14px 14px 14px 44px; border-radius: 12px; border: 2px solid var(--line); cursor: pointer; background: var(--surface); }
.choice-card input { position: absolute; left: 14px; top: 16px; width: 18px !important; height: 18px; margin: 0; accent-color: var(--grafite); }
.choice-card:has(input:checked) { border-color: var(--grafite); background: #f8f5f6; }
.choice-card__title { font-weight: 700; }
.choice-card__hint { font-size: .86rem; font-weight: 400; color: var(--ink-2); }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { flex: none; color: var(--green); margin-top: 3px; }
.ranking--plain li::before { color: var(--cat); }
.page-banner__eyebrow { margin: 0 0 6px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--verde); }
/* Espaço entre o cabeçalho da matéria (botões de compartilhar) e o que vem depois */
.article__header { margin-bottom: 24px; }
.article__header + .article__figure { margin-top: 0; }
.article__meta .avatar--initials { display: grid; place-items: center; }
.article__meta--signed .avatar { width: 52px; font-size: 1.1rem; }
.article__source .icon { flex: none; margin-top: 3px; }
@media (max-width: 600px) { .alert-bar__link { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; } }
img.thumb { height: auto; }

/* Fase 7 — app no celular */
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.link-button:hover { text-decoration: underline; }
.offline { max-width: 460px; margin: 0 auto; min-height: 100vh; padding: 48px 20px; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.offline__mark { width: 72px; height: 72px; }
.offline__title { font-family: var(--font-head); font-size: 1.6rem; margin: 0; }
.offline p { margin: 0; color: var(--ink-2); }
.site-footer .link-button { color: #e8e5e6; } .site-footer .link-button:hover { color: var(--verde); text-decoration: none; }

/* ==========================================================================
   Área infantil — Histórias da Bíblia
   ========================================================================== */
:root {
    --kids-sky: #2a6fbf;
    --kids-leaf: #23845a;
    --kids-coral: #d9583c;
    --kids-cream: #fdf7e8;
}

.kids-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        linear-gradient(135deg, var(--grafite) 0%, var(--kids-sky) 100%);
    padding: 36px 0 40px;
}
.kids-hero__inner { display: grid; gap: 28px; align-items: center; }
.kids-hero__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / .14); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.kids-hero__kicker .icon { color: var(--verde); }
.kids-hero__title { font-family: var(--font-head); font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 12px; line-height: 1.1; }
.kids-hero__intro { font-size: 1.12rem; color: rgb(255 255 255 / .9); max-width: 520px; margin: 0 0 22px; }
.kids-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kids-hero__ghost { background: transparent; border-color: rgb(255 255 255 / .55); color: #fff; }
.kids-hero__ghost:hover { background: rgb(255 255 255 / .12); border-color: #fff; color: #fff; }

.kids-today { display: block; background: var(--surface); color: var(--ink); text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .2s; max-width: 460px; justify-self: center; width: 100%; }
.kids-today:hover { transform: translateY(-3px); color: var(--ink); }
.kids-today__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--verde-100); }
.kids-today__media img { width: 100%; height: 100%; object-fit: cover; }
.kids-today__badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--verde); color: var(--grafite-950); font-size: .8rem; font-weight: 800; }
.kids-today__badge .icon { width: 15px; height: 15px; }
.kids-today__body { display: grid; gap: 2px; padding: 14px 18px 18px; }
.kids-today__number { font-size: .8rem; font-weight: 700; color: var(--kids-sky); text-transform: uppercase; letter-spacing: .06em; }
.kids-today__title { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.25; }
.kids-today__meta { font-size: .88rem; color: var(--muted); }

@media (min-width: 860px) {
    .kids-hero { padding: 56px 0 60px; }
    .kids-hero__inner { grid-template-columns: 1.1fr .9fr; gap: 48px; }
    .kids-today { justify-self: end; }
}

.kids-continue { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 22px 0 0; padding: 12px 16px; border-radius: var(--radius); background: var(--kids-cream); border: 1px solid #f0e2bb; font-weight: 600; }
.kids-continue .icon { color: var(--verde-600); }
.kids-continue a { font-weight: 700; }

.kids-section { margin-top: 34px; }
.kids-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.kids-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.kids-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.kids-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--verde-100); }
.kids-card__media img { width: 100%; height: 100%; object-fit: cover; }
.kids-card__number { position: absolute; left: 12px; bottom: -16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--verde); color: var(--grafite-950); font-weight: 800; font-size: 1rem; border: 3px solid var(--surface); }
.kids-card__body { display: grid; gap: 4px; padding: 24px 16px 16px; }
.kids-card__title { font-weight: 700; font-size: 1.03rem; line-height: 1.3; }
.kids-card[data-kids-read] .kids-card__number { background: var(--kids-leaf); color: #fff; }
.kids-card__meta { font-size: .84rem; color: var(--muted); }

.kids-teachers { margin: 42px 0 0; padding: 24px; border-radius: var(--radius-lg); background: var(--kids-cream); border: 1px solid #f0e2bb; }
.kids-teachers__title { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 14px; }
.kids-teachers__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kids-teachers__list li { display: flex; gap: 12px; align-items: flex-start; }
.kids-teachers__list li > .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface); color: var(--kids-sky); box-shadow: var(--shadow); }
.kids-teachers__list p { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; }
@media (min-width: 768px) { .kids-teachers__list { grid-template-columns: repeat(3, 1fr); } }

.kids-credits { display: flex; gap: 8px; align-items: flex-start; margin: 28px 0 8px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.kids-credits .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.kids-credits a { color: var(--ink-2); }
.kids-credits-page { max-width: 760px; margin: 32px auto 0; }

/* Página da história */
.kids-story__wrap { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
.kids-story__header { background: var(--kids-cream); border-bottom: 1px solid #f0e2bb; padding: 22px 0 24px; }
.kids-story__kicker { margin: 0 0 6px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--kids-sky); }
.kids-story__title { font-family: var(--font-head); font-size: clamp(1.7rem, 5vw, 2.4rem); margin: 0 0 10px; }
.kids-story__ref { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 18px; color: var(--ink-2); font-weight: 600; }
.kids-story__ref .icon { flex: none; color: var(--verde-600); margin-top: 2px; }
.kids-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.kids-tools .btn { padding: .55em 1em; font-size: .92rem; }
.kids-tools .btn[aria-pressed="true"] { background: var(--grafite); border-color: var(--grafite); color: #fff; }

.kids-frames { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 26px; counter-reset: none; }
.kids-frame figure { margin: 0; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.kids-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--verde-100); }
.kids-frame figcaption { position: relative; padding: 18px 20px 20px; transition: background .2s; }
.kids-frame figcaption p { margin: 0; font-size: 1.2rem; line-height: 1.7; color: #272425; }
.kids-frame__count { float: right; margin: 2px 0 6px 12px; padding: 2px 9px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .78rem; font-weight: 700; }
.kids-frame.is-reading figure { box-shadow: 0 0 0 4px var(--verde), var(--shadow-lg); }
.kids-frame.is-reading figcaption { background: var(--verde-100); }
.kids-story--big .kids-frame figcaption p { font-size: 1.5rem; line-height: 1.65; }

.kids-story__end { display: flex; gap: 8px; align-items: flex-start; margin: 26px 0 0; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); font-size: 1.02rem; }
.kids-story__end .icon { flex: none; color: var(--verde-600); margin-top: 2px; }
.kids-story__share { margin: 24px 0 0; }
.kids-story__share p { margin: 0 0 8px; font-weight: 600; }

.kids-pager { display: grid; gap: 10px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.kids-pager__link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.3; }
.kids-pager__link small { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.kids-pager__link .icon { flex: none; color: var(--verde-600); }
.kids-pager__link--next { justify-content: space-between; text-align: right; }
.kids-pager__all { justify-self: center; align-self: center; font-weight: 600; }
@media (min-width: 720px) {
    .kids-pager { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
    .kids-pager__link--next { grid-column: 3; }
}
@media (max-width: 719px) {
    .kids-pager__all { order: 3; }
}

/* Modo apresentação */
.kids-present { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: #141112; color: #fff; }
.kids-present__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.kids-present__title { font-weight: 700; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kids-present__close, .kids-present__nav { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; flex: none; }
.kids-present__close:hover, .kids-present__nav:hover { background: rgb(255 255 255 / .22); }
.kids-present__nav .icon, .kids-present__close .icon { width: 26px; height: 26px; }
.kids-present__stage { flex: 1; min-height: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 16px; }
.kids-present__stage img { width: min(100%, 1280px, calc(62vh * 16 / 9)); height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 12px; }
.kids-present__stage figcaption { max-width: 1000px; }
.kids-present__stage p { margin: 0; text-align: center; font-size: clamp(1.15rem, 2.6vw, 1.9rem); line-height: 1.5; }
.kids-present__bar { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 14px 18px; }
.kids-present__count { min-width: 70px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
html.kids-presenting { overflow: hidden; }

/* Barra lateral */
.widget--kids .widget__title .icon { color: var(--kids-sky); }
.widget-kids { display: grid; gap: 4px; margin-bottom: 12px; text-decoration: none; color: var(--ink); }
.widget-kids img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 6px; background: var(--verde-100); }
.widget-kids__label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--verde-600); }
.widget-kids__title { font-size: 1.02rem; line-height: 1.3; }
.widget-kids:hover .widget-kids__title { color: var(--verde-700); text-decoration: underline; }

@media print {
    .kids-tools, .kids-pager, .kids-story__share, .kids-present, .kids-story .breadcrumb { display: none !important; }
    .kids-story__header { background: none; border: 0; padding: 0 0 8px; }
    .kids-frames { gap: 14px; }
    .kids-frame figure { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
    .kids-frame img { max-height: 9cm; object-fit: contain; }
    .kids-frame figcaption p { font-size: 13pt; }
    .kids-story__end { box-shadow: none; border: 1px solid #ccc; }
}

/* ==========================================================================
   Fase 8: fotos, especiais e envios de leitores
   ========================================================================== */
@media (min-width: 600px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card--gallery .card__media { position: relative; }
.card__count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: rgb(23 20 21 / .78); color: #fff; font-size: .8rem; font-weight: 700; }
.card__count .icon { width: 15px; height: 15px; }
.card--gallery .card__meta .icon { width: 14px; height: 14px; }
.galleries-grid { margin-top: 28px; }
.layout__main .galleries-grid { margin-top: 0; }

/* Página da galeria */
.gallery-head { background: var(--grafite-900); color: #fff; padding: 26px 0 28px; }
.gallery-head__title { font-family: var(--font-head); font-size: clamp(1.6rem, 4.5vw, 2.3rem); margin: 0 0 10px; }
.gallery-head__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: #d4d1d2; font-size: .92rem; }
.gallery-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.gallery-head__meta .icon { width: 16px; height: 16px; color: var(--verde); }
.gallery-head__meta a { color: #fff; }
.gallery-head__intro { max-width: 760px; margin-top: 14px; color: rgb(255 255 255 / .88); }
.gallery-head__intro p { margin: 0 0 .6em; }

.photo-wall { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .photo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.photo-wall__item { margin: 0; min-width: 0; }
.photo-wall__open { display: block; width: 100%; padding: 0; border: 0; background: #e6e3e4; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.photo-wall__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .2s; }
.photo-wall__open:hover img { transform: scale(1.03); }
.photo-wall__caption { margin: 6px 2px 0; font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.gallery-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.gallery-foot p { margin: 0; }

/* Visualizador (lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto 1fr; background: #0d0a0b; color: #fff; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; }
.lightbox__count { font-weight: 700; font-variant-numeric: tabular-nums; opacity: .85; }
.lightbox__stage { margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 12px 18px; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox__stage figcaption { max-width: 900px; text-align: center; font-size: .98rem; line-height: 1.45; }
.lightbox__stage figcaption small { display: block; color: #b5b2b3; font-size: .82rem; margin-top: 2px; }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgb(255 255 255 / .24); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__btn--prev, .lightbox__btn--next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev { left: 12px; }
.lightbox__btn--next { right: 12px; }
.lightbox__btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 640px) {
    .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 14px; transform: none; }
    .lightbox__stage { padding-bottom: 76px; }
}
html.lightbox-open { overflow: hidden; }

/* Galeria no fim da matéria e no evento */
.gallery-block { margin: 28px 0; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.gallery-block__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gallery-block__title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-head); font-size: 1.15rem; }
.gallery-block__title .icon { color: var(--verde-600); }
.gallery-block__name { margin: 4px 0 12px; font-weight: 600; }
.gallery-block__name a { color: var(--ink); }
.gallery-block__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.gallery-block__grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #e6e3e4; }
.gallery-block__grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-block__grid a[data-more]::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgb(23 20 21 / .6); color: #fff; font-size: 1.4rem; font-weight: 800; }

/* Especiais */
.specials-list { display: grid; gap: 18px; margin: 28px 0 40px; }
@media (min-width: 760px) { .specials-list { grid-template-columns: repeat(2, 1fr); } }
.special-tile { position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--special); isolation: isolate; box-shadow: var(--shadow); }
.special-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.special-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--special) 92%, #000) 100%); }
.special-tile:hover img { transform: scale(1.04); }
.special-tile:hover { color: #fff; }
.special-tile__body { display: grid; gap: 4px; padding: 20px; }
.special-tile__when { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--verde); }
.special-tile__title { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.2; }
.special-tile__sub { color: rgb(255 255 255 / .88); font-size: .95rem; }

.special-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--special); padding: 26px 0 34px; }
.special-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.special-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--special) 95%, #000) 0%, color-mix(in srgb, var(--special) 70%, transparent) 70%, transparent 100%); }
.special-hero__kicker { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--verde); color: var(--grafite-950); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.special-hero__kicker .icon { width: 14px; height: 14px; }
.special-hero__title { font-family: var(--font-head); font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.1; margin: 0 0 10px; max-width: 760px; }
.special-hero__sub { font-size: 1.12rem; max-width: 640px; margin: 0 0 16px; color: rgb(255 255 255 / .92); }
.special-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.special-hero__facts > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .35); font-weight: 700; }
.special-hero__countdown { background: var(--verde) !important; color: var(--grafite-950); }
.special-hero__facts .icon { width: 18px; height: 18px; }
.special-hero .breadcrumb--light a, .special-hero .breadcrumb--light { color: rgb(255 255 255 / .8); }
@media (min-width: 900px) { .special-hero { padding: 44px 0 56px; } }

.special-intro { margin-bottom: 28px; }
.special-live { margin: 0 0 32px; padding: 20px; border-radius: var(--radius-lg); background: #fff4f4; border: 1px solid #f3c9cb; }
.special-live__title { font-family: var(--font-head); font-size: 1.35rem; margin: 10px 0 6px; }
.special-live__title a { color: var(--ink); }
.special-live p { color: var(--ink-2); }
.special-share { margin: 10px 0 30px; }
.special-share p { margin: 0 0 8px; font-weight: 600; }
.widget--send { background: var(--verde-100); }
.widget--send p { margin: 0 0 12px; color: var(--ink-2); }

.special-banner { display: grid; gap: 2px 16px; align-items: center; margin: 18px 0 0; padding: 14px 18px; border-radius: var(--radius-lg); background: var(--special); color: #fff; text-decoration: none; box-shadow: var(--shadow); grid-template-columns: 1fr; }
.special-banner:hover { color: #fff; filter: brightness(1.08); }
.special-banner__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--verde); }
.special-banner__kicker .icon { width: 14px; height: 14px; }
.special-banner__title { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.2; }
.special-banner__when { font-weight: 700; color: rgb(255 255 255 / .9); }
.special-banner__cta { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--verde); }
@media (min-width: 860px) {
    .special-banner { grid-template-columns: auto 1fr auto auto; padding: 14px 22px; }
}

/* Envie sua notícia ou foto */
.steps { margin: 0 0 12px; padding-left: 1.3em; display: grid; gap: 6px; color: var(--ink-2); font-size: .94rem; }
.field .check.has-error span { color: var(--red); }

/* ==========================================================================
   Bíblia online
   ========================================================================== */
:root { --bible-size: 1.2rem; }
.widget--verse a { color: inherit; }
.widget--verse .widget__more a { color: var(--verde); }
.verse__version { font-size: .75rem; font-weight: 700; letter-spacing: .06em; color: rgb(255 255 255 / .6); margin-left: 4px; }

.bible-hero {
    color: #fff; padding: 36px 0 40px;
    background:
        radial-gradient(circle at 85% 15%, rgb(96 232 63 / .26), transparent 45%),
        linear-gradient(135deg, var(--grafite) 0%, var(--grafite-950) 100%);
}
.bible-hero__inner { display: grid; gap: 28px; align-items: center; }
.bible-hero__kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--verde); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.bible-hero__title { font-family: var(--font-head); font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 0 0 10px; }
.bible-hero__intro { margin: 0; color: #dedbdc; max-width: 46ch; }
.bible-hero__search { max-width: 560px; }
.bible-continue { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 0; font-weight: 600; color: #dedbdc; }
.bible-continue .icon { color: var(--verde); }
.bible-continue a { color: #fff; font-weight: 700; }
.bible-votd-card {
    display: grid; gap: 10px; padding: 24px; border-radius: var(--radius-lg); text-decoration: none; color: #fff;
    background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); max-width: 460px;
}
.bible-votd-card:hover { background: rgb(255 255 255 / .11); }
.bible-votd-card__label { display: inline-flex; align-items: center; gap: 6px; color: var(--verde); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.bible-votd-card__text { font-family: var(--font-head); font-style: italic; font-size: 1.12rem; line-height: 1.6; }
.bible-votd-card__ref { font-weight: 700; color: var(--verde); }
.bible-votd-card__ref small { color: #c4c1c2; font-weight: 600; margin-left: 4px; }
@media (min-width: 900px) {
    .bible-hero { padding: 56px 0 60px; }
    .bible-hero__inner { grid-template-columns: 1.15fr .85fr; gap: 48px; }
    .bible-votd-card { justify-self: end; }
}

.bible-switch { display: grid; gap: 10px; margin: 24px 0 0; }
.bible-switch__item { display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.bible-switch__item strong { color: var(--grafite); letter-spacing: .04em; }
.bible-switch__item span { font-size: .88rem; color: var(--muted); }
.bible-switch__item[aria-current] { border-color: var(--grafite); box-shadow: inset 0 0 0 1px var(--grafite); }
@media (min-width: 640px) { .bible-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.bible-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.bible-shortcuts a { display: inline-flex; align-items: center; gap: 6px; padding: .45em .9em; border-radius: 999px; background: var(--verde-100); color: var(--grafite); font-weight: 600; font-size: .9rem; text-decoration: none; }
.bible-shortcuts a:hover { background: #dcf6d2; }
.bible-shortcuts .icon { width: 16px; height: 16px; color: var(--verde-600); }

.bible-books { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.bible-books a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.bible-books a:hover { border-color: var(--verde-700); }
.bible-books__abbr { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--grafite); color: var(--verde); font-weight: 800; font-size: .85rem; }
.bible-books__name { font-weight: 700; line-height: 1.2; }
.bible-books__meta { font-size: .78rem; color: var(--muted); }

.page-banner--bible { --cat: #373435; }
.bible-chapters { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
.bible-chapters a { display: grid; place-items: center; height: 52px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--grafite); }
.bible-chapters a:hover, .bible-chapters a:focus-visible { background: var(--grafite); color: #fff; border-color: var(--grafite); }
.bible-other-versions { margin: 20px 0 0; color: var(--muted); }
.bible-other-versions a { font-weight: 700; margin-left: 6px; }

.bible-credit { display: flex; gap: 10px; align-items: flex-start; margin: 32px 0 8px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: .82rem; line-height: 1.5; color: var(--ink-2); }
.bible-credit .icon { flex: none; width: 18px; height: 18px; color: var(--verde-600); margin-top: 2px; }

/* Cabeçalho do capítulo: seletores e ferramentas */
.bible-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 0 14px; }
.bible-head .breadcrumb { margin-bottom: 12px; }
.bible-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bible-toolbar select { padding: .5em .7em; border-radius: 8px; border: 1px solid var(--field-border); background: #fff; color: var(--ink); font: inherit; font-size: .92rem; max-width: 100%; }
.bible-toolbar select[data-bible-chapter] { min-width: 4.5em; }
.bible-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bible-tools .btn .icon { width: 16px; height: 16px; }
.bible-settings { display: grid; gap: 10px; margin-top: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); max-width: 520px; }
.bible-settings__row { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; }
.bible-settings__row > span:first-child { min-width: 9em; }
.bible-settings__row .icon { width: 16px; height: 16px; vertical-align: -3px; }

/* Texto bíblico */
.bible-layout { margin-top: 24px; }
.bible-text { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px var(--gutter) 28px; margin: 0 calc(var(--gutter) * -1); }
@media (min-width: 640px) { .bible-text { margin: 0; padding: 36px 44px; } }
.bible-text__title { font-family: var(--font-head); font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.15; margin: 0; color: var(--grafite); }
.bible-text__title span { color: var(--verde-600); }
.bible-text__version { margin: 4px 0 0; font-size: .85rem; font-weight: 600; color: var(--muted); }
.bible-text__hint { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding: 10px 12px; border-radius: var(--radius); background: var(--verde-100); font-size: .85rem; color: var(--ink-2); }
.bible-text__hint .icon { flex: none; width: 16px; height: 16px; color: var(--verde-600); margin-top: 2px; }
.bible-verses { margin-top: 22px; font-family: var(--font-head); font-size: var(--bible-size); line-height: 1.85; color: var(--ink); }
.bible-v { position: relative; margin: 0 0 .35em; padding: .1em .4em .1em 1.9em; border-radius: 6px; cursor: pointer; transition: background-color .15s; }
.bible-v--para { margin-top: .9em; }
.bible-v:hover { background: rgb(41 38 39 / .04); }
.bible-v:focus-visible { outline: 2px solid var(--verde-700); outline-offset: 1px; }
.bible-v__n { position: absolute; left: .3em; top: .55em; min-width: 1.3em; font-family: var(--font-body); font-size: .64em; font-weight: 800; line-height: 1; color: var(--verde-600); text-decoration: none; }
.bible-v__n:hover { text-decoration: underline; }
.bible-v.is-selected { background: rgb(31 122 12 / .1); box-shadow: inset 3px 0 0 var(--verde-700); }
.bible-v.is-reading { background: rgb(96 232 63 / .22); }
.bible-v:target { animation: bible-flash 2.4s ease-out; }
@keyframes bible-flash { from { background: rgb(96 232 63 / .45); } to { background: transparent; } }
.bible-v.hl-amarelo { background: #fdf1b8; }
.bible-v.hl-verde { background: #d6f2dc; }
.bible-v.hl-azul { background: #d9e8fb; }
.bible-v.hl-rosa { background: #fadbe8; }
.bible-v.hl-laranja { background: #fde1c4; }
.bible-v.is-bookmarked::after, .bible-v.has-note::before { position: absolute; right: .35em; top: .25em; font-family: var(--font-body); font-size: .55em; font-weight: 800; line-height: 1; padding: .3em .45em; border-radius: 4px; }
.bible-v.is-bookmarked::after { content: "MARCADO"; background: var(--grafite); color: var(--verde); }
.bible-v.has-note::before { content: "NOTA"; background: var(--verde); color: var(--grafite); right: auto; left: auto; top: auto; bottom: .2em; right: .35em; }
.bible-fn { font-family: var(--font-body); font-size: .64em; font-weight: 800; color: var(--verde-700); margin-left: 1px; cursor: pointer; }
.bible-poem { display: block; padding-left: 1.2em; }
.bible-poem--2 { padding-left: 2.4em; }
.bible-poem--3 { padding-left: 3.6em; }
.bible-heading { font-family: var(--font-body); font-size: 1rem; font-weight: 800; color: var(--grafite); margin: 1.4em 0 .4em; }
.bible-subtitle { font-family: var(--font-head); font-style: italic; font-size: .92em; color: var(--muted); margin: 1em 0 .4em; padding-left: 1.9em; }
.bible-notes { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }
.bible-notes__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.bible-notes ol { margin: 0; padding-left: 1.6em; display: grid; gap: 4px; }
.bible-notes li.is-target { background: var(--verde-100); border-radius: 4px; }
.bible-notes a { font-weight: 700; margin-right: 4px; }
.bible-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.bible-pager__link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--grafite); text-decoration: none; font-weight: 700; line-height: 1.25; }
.bible-pager__link small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bible-pager__link--next { justify-content: flex-end; text-align: right; }
.bible-pager__link:hover { border-color: var(--verde-700); }
.bible-pager__link .icon { flex: none; }

/* Painel do versículo */
.bible-sheet {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 78vh; overflow-y: auto;
    background: var(--surface); color: var(--ink); border-radius: 18px 18px 0 0; border: 1px solid var(--line); box-shadow: 0 -10px 30px rgb(41 38 39 / .12);
    padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 12px;
}
@media (max-width: 899px) { .bible-sheet { bottom: calc(60px + env(safe-area-inset-bottom)); padding-bottom: 16px; } }
@media (min-width: 900px) { .bible-sheet { left: auto; right: 24px; bottom: 24px; width: 420px; border-radius: 18px; max-height: calc(100vh - 48px); } }
.bible-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bible-sheet__head strong { font-size: 1.05rem; color: var(--grafite); }
.bible-sheet__close { border: 0; background: var(--bg); border-radius: 999px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.bible-sheet__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; }
.bible-sheet__actions > * { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--grafite); font: inherit; font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.bible-sheet__actions > *:hover { border-color: var(--verde-700); }
.bible-sheet__actions [aria-pressed="true"] { background: var(--grafite); color: var(--verde); border-color: var(--grafite); }
.bible-sheet__actions [hidden] { display: none; }
.bible-sheet__colors, .bible-sheet__images { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.bible-sheet__colors > span .icon, .bible-sheet__images > span .icon { width: 16px; height: 16px; vertical-align: -3px; }
.bible-sheet__images a { display: inline-flex; align-items: center; min-height: 44px; padding: .3em .8em; border-radius: 999px; background: var(--verde-100); color: var(--grafite); text-decoration: none; font-weight: 700; }
.bible-swatch { position: relative; width: 30px; height: 30px; border-radius: 999px; border: 2px solid rgb(0 0 0 / .08); cursor: pointer; padding: 0; display: grid; place-items: center; }
.bible-swatch[aria-pressed="true"] { outline: 3px solid var(--verde-700); outline-offset: 1px; }
.bible-swatch--amarelo { background: #fbe38a; }
.bible-swatch--verde { background: #a8e2b6; }
.bible-swatch--azul { background: #aecdf4; }
.bible-swatch--rosa { background: #f4b3cf; }
.bible-swatch--laranja { background: #f9c38f; }
.bible-swatch--none { background: var(--surface); color: var(--muted); }
.bible-swatch--none .icon { width: 14px; height: 14px; }
.bible-sheet__note { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.bible-sheet__note .icon { width: 16px; height: 16px; vertical-align: -3px; }
.bible-sheet__note textarea { width: 100%; padding: .6em .8em; border-radius: 10px; border: 1px solid var(--field-border); font: inherit; font-weight: 400; resize: vertical; }
.bible-sheet__note .btn { justify-self: start; }
.bible-sheet__saved { color: var(--green); font-weight: 700; }
.bible-sheet__xrefs summary { cursor: pointer; font-weight: 700; color: var(--grafite); }
.bible-sheet__xrefs ul, .bible-xrefs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; line-height: 1.5; }
.bible-sheet__xrefs a, .bible-xrefs a { font-weight: 700; }
.bible-sheet__source { margin: 8px 0 0; font-size: .75rem; color: var(--muted); }
.bible-sheet__status { margin: 0; min-height: 1.2em; font-size: .85rem; font-weight: 700; color: var(--green); }

/* Página do versículo e versículo do dia */
.bible-quote { margin: 0; padding: 32px 24px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(circle at 90% 0%, rgb(96 232 63 / .25), transparent 50%), linear-gradient(135deg, var(--grafite), var(--grafite-950)); }
@media (min-width: 640px) { .bible-quote { padding: 44px 48px; } }
.bible-quote blockquote { margin: 0; }
.bible-quote blockquote p { font-family: var(--font-head); font-size: clamp(1.25rem, 3.4vw, 1.75rem); line-height: 1.6; margin: 0; }
.bible-quote blockquote p::before { content: "“"; color: var(--verde); }
.bible-quote blockquote p::after { content: "”"; color: var(--verde); }
.bible-quote figcaption { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.bible-quote__ref { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; color: var(--verde); margin: 0; text-decoration: none; }
.bible-quote__version { font-size: .85rem; color: #c4c1c2; }
.bible-quote__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bible-verse-share { margin-top: 18px; }
.bible-verse-share > p { margin: 0 0 6px; font-weight: 600; color: var(--ink-2); }
.bible-images__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.bible-images__grid figure { margin: 0; display: grid; gap: 8px; justify-items: start; }
.bible-images__grid img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 420px; width: auto; }
.bible-images__license { font-size: .85rem; }
.bible-other { margin: 0 0 12px; padding: 14px 16px; border-left: 3px solid var(--verde); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.bible-other p { margin: 0 0 6px; font-family: var(--font-head); line-height: 1.7; }
.bible-other footer a { font-weight: 700; font-size: .88rem; }
.bible-context p { margin: 0 0 8px; font-family: var(--font-head); line-height: 1.75; color: var(--ink-2); }
.bible-context p.is-current { color: var(--ink); background: var(--verde-100); border-radius: 6px; padding: 2px 6px; }
.bible-context a { font-family: var(--font-body); font-size: .75rem; font-weight: 800; color: var(--verde-600); text-decoration: none; margin-right: 4px; }
.bible-xrefs li span { color: var(--ink-2); }
.bible-votd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bible-votd-list li { padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.bible-votd-list a { text-decoration: none; }
.bible-votd-list time { font-size: .8rem; color: var(--muted); margin-right: 6px; }
.bible-votd-list p { margin: 4px 0 0; font-size: .92rem; color: var(--ink-2); }

/* Comparar */
.bible-compare { margin-top: 24px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: clip; }
.bible-compare__row { display: grid; grid-template-columns: 2.4em 1fr; gap: 6px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bible-compare__row p { margin: 0; grid-column: 2; font-family: var(--font-head); line-height: 1.7; }
.bible-compare__row--head { background: var(--grafite); color: #fff; position: sticky; top: 0; }
.bible-compare__row--head a { grid-column: 2; color: #fff; text-decoration: none; }
.bible-compare__row--head a strong { color: var(--verde); margin-right: 6px; }
.bible-compare__row--head a small { color: #c4c1c2; }
.bible-compare__n { grid-row: 1 / span 4; font-weight: 800; color: var(--verde-600); font-size: .85rem; padding-top: .3em; }
.bible-compare__tag { font-family: var(--font-body); font-size: .75rem; font-weight: 800; color: var(--verde-700); background: #efeced; border-radius: 4px; padding: .1em .4em; vertical-align: .15em; }
@media (min-width: 768px) {
    .bible-compare__row { grid-template-columns: 2.4em repeat(var(--cols), minmax(0, 1fr)); }
    .bible-compare__row p, .bible-compare__row--head a { grid-column: auto; }
    .bible-compare__n { grid-row: auto; }
    .bible-compare__tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Busca e marcadores */
.bible-filters label { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; }
.bible-results { margin-top: 20px; }
.bible-hits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bible-hits li { padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.bible-hits__ref { font-weight: 800; text-decoration: none; }
.bible-hits p { margin: 4px 0 0; font-family: var(--font-head); line-height: 1.7; }
.bible-hits mark, .bible-results mark { background: #fbe38a; color: inherit; border-radius: 3px; padding: 0 .1em; }
.bible-marks__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.bible-mark { padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.bible-mark.hl-amarelo { border-left: 6px solid #fbe38a; }
.bible-mark.hl-verde { border-left: 6px solid #a8e2b6; }
.bible-mark.hl-azul { border-left: 6px solid #aecdf4; }
.bible-mark.hl-rosa { border-left: 6px solid #f4b3cf; }
.bible-mark.hl-laranja { border-left: 6px solid #f9c38f; }
.bible-mark__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bible-mark__head a { font-weight: 800; text-decoration: none; }
.bible-mark__flag { font-size: .75rem; font-weight: 800; background: var(--grafite); color: var(--verde); border-radius: 4px; padding: .15em .45em; }
.bible-mark__remove { margin-left: auto; border: 0; background: none; color: var(--red); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.bible-mark__text { margin: 6px 0 0; font-family: var(--font-head); line-height: 1.7; }
.bible-mark__note { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--verde-100); font-size: .9rem; white-space: pre-line; }
.bible-marks__tip { display: flex; gap: 6px; align-items: flex-start; margin-top: 20px; font-size: .85rem; }
.bible-marks__tip .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.credits-page h3 { margin-top: 1.6em; }

/* Modo leitura e modo escuro (só nas páginas da Bíblia) */
.bible-reading .bible-side { display: none; }
.bible-reading .bible-layout { grid-template-columns: minmax(0, 1fr); }
.bible-reading .bible-text { max-width: 760px; margin-left: auto; margin-right: auto; width: 100%; }
html.bible-dark body { background: #141112; }
.bible-dark .bible-head { background: #1c191a; border-color: #2c292a; }
.bible-dark .bible-head .breadcrumb, .bible-dark .bible-head .breadcrumb a { color: #9d9a9b; }
.bible-dark .bible-text, .bible-dark .bible-credit, .bible-dark .bible-pager__link { background: #1d1a1b; color: #e5e2e3; border-color: #2c292a; box-shadow: none; }
.bible-dark .bible-text__title { color: #f6f3f4; }
.bible-dark .bible-verses { color: #e5e2e3; }
.bible-dark .bible-v:hover { background: rgb(255 255 255 / .05); }
.bible-dark .bible-v.is-selected { background: rgb(153 150 151 / .18); }
.bible-dark .bible-v.hl-amarelo { background: rgb(251 227 138 / .22); }
.bible-dark .bible-v.hl-verde { background: rgb(168 226 182 / .2); }
.bible-dark .bible-v.hl-azul { background: rgb(174 205 244 / .22); }
.bible-dark .bible-v.hl-rosa { background: rgb(244 179 207 / .2); }
.bible-dark .bible-v.hl-laranja { background: rgb(249 195 143 / .2); }
.bible-dark .bible-text__hint, .bible-dark .bible-settings { background: #252223; color: #d1cecf; border-color: #2c292a; }
.bible-dark .bible-notes { color: #c3c0c1; border-color: #2c292a; }
.bible-dark .bible-fn, .bible-dark .bible-notes a, .bible-dark .bible-pager__link { color: var(--verde-hover); }
.bible-dark .bible-toolbar select { background: #252223; color: #e5e2e3; border-color: #3a3738; }
/* Modo escuro: títulos, números e subtítulos do texto bíblico com contraste (antes ficavam quase invisíveis). */
.bible-dark .bible-heading { color: #f0edee; }
.bible-dark .bible-text__title span { color: var(--verde-hover); }
.bible-dark .bible-text, .bible-dark .bible-head { --foco: var(--verde); }
.bible-dark .bible-v__n { color: var(--verde-hover); }
.bible-dark :is(.bible-subtitle, .bible-text__version, .bible-notes__title) { color: #a9a5a6; }

@media print {
    .bible-head, .bible-side, .bible-sheet, .bible-pager, .bible-text__hint, .bible-credit .icon { display: none !important; }
    .bible-text { box-shadow: none; padding: 0; }
    .bible-v { padding-left: 1.6em; }
}
.bible-v.is-bookmarked, .bible-v.has-note { padding-right: 4.6em; }
.bible-page--verse { padding-top: 20px; }
.bible-home .section { margin-top: 32px; }
.bible-page--verse .section { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Apuração do 2º turno (dados oficiais do TSE)
   O 1º colocado leva o grafite cheio; os demais, cinza. Nenhuma cor de partido.
   -------------------------------------------------------------------------- */
.mainnav__apuracao a { display: inline-flex; align-items: center; gap: 6px; }
.mainnav__apuracao .live-dot { color: var(--red); }

/* Faixa no alto do site durante a apuração */
.ap-faixa { background: var(--grafite-950); color: #e8e5e6; border-top: 1px solid rgb(255 255 255 / .08); font-size: .88rem; }
.ap-faixa__inner { display: flex; align-items: center; gap: 14px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.ap-faixa__tag { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; background: var(--verde); color: var(--grafite-950); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.ap-faixa__tag .live-dot { color: var(--red); }
.ap-faixa__itens { display: flex; gap: 6px 22px; flex-wrap: wrap; min-width: 0; flex: 1; }
.ap-faixa__item { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.ap-faixa__item:hover { color: #fff; }
.ap-faixa__cargo { font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--verde); }
.ap-faixa__pct { color: #bcb9ba; }
.ap-faixa__cand b { font-weight: 800; color: #fff; }
.ap-faixa__link { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--verde); font-weight: 700; text-decoration: none; }
.ap-faixa__link:hover { color: #fff; }
@media (max-width: 639px) { .ap-faixa__link span, .ap-faixa__link { display: none; } .ap-faixa__itens { gap: 2px 14px; } }

/* Topo da página */
.ap-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 0%, rgb(96 232 63 / .28), transparent 42%), linear-gradient(120deg, var(--grafite), var(--grafite-950) 70%); }
.ap-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--verde), var(--verde) 55%, var(--vermelho)); }
.ap-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 38px; }
.ap-hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c5c2c3; }
.ap-hero__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 6px; background: rgb(255 255 255 / .1); color: var(--verde); }
.ap-hero__tag .live-dot { color: var(--red); }
.ap-hero__titulo { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 6vw, 3.3rem); line-height: 1.05; margin: 0 0 12px; letter-spacing: -.01em; }
.ap-hero__sub { margin: 0; font-size: 1.1rem; color: #e8e5e6; max-width: 640px; }
.ap-hero__sub strong { color: var(--verde); }
.ap-hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; }
.ap-hero__fonte { display: inline-flex; align-items: center; gap: 6px; color: #c5c2c3; font-size: .92rem; }
.ap-hero__fonte .icon { color: var(--verde); }
.ap-hero__tv { padding: .55em 1.1em; }
.ap-hero__marca { flex: none; display: none; }
.ap-hero__cruz { width: 150px; height: 150px; border-radius: 36px; opacity: .9; box-shadow: 0 12px 32px rgb(0 0 0 / .25); }
@media (min-width: 900px) { .ap-hero__marca { display: block; } }

.ap { padding-top: 22px; }

/* Andamento */
.ap-progresso { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px 20px 14px; }
.ap-progresso__grade { display: grid; gap: 16px 28px; }
@media (min-width: 720px) { .ap-progresso__grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ap-progresso__topo { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; font-size: .92rem; }
.ap-progresso__topo strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--verde-600); font-variant-numeric: tabular-nums; }
.ap-progresso__barra { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin: 8px 0 6px; }
.ap-progresso__barra span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--verde-600), var(--verde)); transition: width var(--dur-slow) var(--ease-out); }
.ap-progresso__item small { color: var(--muted); font-size: .8rem; }
.ap-progresso__rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .86rem; }
.ap-progresso__rodape .icon { color: var(--verde-600); }

/* Abas e locais */
.ap-layout { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 1000px) { .ap-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; } .ap-side { position: sticky; top: 16px; align-self: start; } }
.ap-abas { display: flex; gap: 8px; flex-wrap: wrap; }
.ap-aba { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .15s, color .15s; }
.ap-aba:hover { border-color: var(--grafite); color: var(--ink); }
.ap-aba.is-active { background: var(--grafite-900); border-color: var(--grafite-900); color: #fff; }
.ap-locais { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.ap-local { display: inline-flex; align-items: center; gap: 5px; padding: 7px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.ap-local:hover { border-color: var(--verde-600); color: var(--verde-700); }
.ap-local.is-active { background: var(--verde); border-color: var(--verde); color: var(--grafite-950); }
.ap-local .icon { width: 15px; height: 15px; }

/* Quadro de uma disputa */
.ap-quadro__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.ap-quadro__titulo { font-family: var(--font-head); font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 4px; }
.ap-quadro__status { margin: 0; color: var(--ink-2); font-size: .95rem; }
.ap-quadro__status .icon { vertical-align: -.15em; margin-right: 2px; }
.ap-quadro__status .icon { color: var(--verde-600); }
.ap-quadro__acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.ap-btn { padding: .5em 1em; font-size: .9rem; }

.ap-cands { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ap-cand { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "foto info num" "barra barra barra"; align-items: center; gap: 6px 16px; padding: 16px 18px 14px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ap-cand.is-lider { border-color: var(--grafite); }
.ap-cand__foto { grid-area: foto; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--bg); border: 3px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.ap-cand.is-lider .ap-cand__foto { border-color: var(--grafite); }
.ap-cand__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ap-cand__foto .icon { width: 32px; height: 32px; }
.ap-cand__info { grid-area: info; min-width: 0; }
.ap-cand__nome { margin: 0 0 4px; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.15; overflow-wrap: anywhere; }
.ap-cand__meta { margin: 0; color: var(--ink-2); font-size: .92rem; }
.ap-cand__vice { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.ap-cand__num { grid-area: num; text-align: right; }
.ap-cand__pct { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ap-cand__num small { display: block; margin-top: 4px; color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.ap-cand__barra { grid-area: barra; height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; margin-top: 6px; }
.ap-cand__barra span { display: block; height: 100%; border-radius: 10px; background: #8a8687; transition: width var(--dur-slow) var(--ease-out); }
.ap-cand.is-lider .ap-cand__barra span { background: var(--grafite); }
@media (prefers-reduced-motion: reduce) { .ap-cand__barra span, .ap-progresso__barra span { transition: none; } }
@media (max-width: 480px) {
    .ap-cand { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "foto info" "num num" "barra barra"; gap: 4px 12px; padding: 14px 14px 12px; }
    .ap-cand__foto { width: 56px; height: 56px; }
    .ap-cand__num { display: flex; align-items: baseline; gap: 10px; text-align: left; margin-top: 4px; }
    .ap-cand__num small { margin-top: 0; }
}
.ap-selo { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; padding: 3px 10px; border-radius: 999px; background: var(--grafite); color: #fff; font-family: var(--font-body); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.ap-selo .icon { width: 12px; height: 12px; color: var(--verde); }

.ap-totais { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
@media (min-width: 600px) { .ap-totais { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ap-totais div { background: var(--surface); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.ap-totais dt { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ap-totais dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.ap-nota { margin: 10px 0 0; color: var(--muted); font-size: .84rem; }
.ap-quadro__fonte { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.ap-vazio { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 18px 20px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--ink-2); }
.ap-vazio .icon { flex: none; margin-top: 3px; color: var(--verde-600); }

/* Evolução */
.ap-grafico { margin-top: 20px; padding: 18px 20px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ap-grafico__titulo { margin: 0 0 2px; font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.ap-grafico__sub { margin: 0 0 10px; color: var(--muted); font-size: .86rem; }
.ap-grafico__rolagem { overflow-x: auto; }
.ap-grafico__svg { display: block; width: 100%; min-width: 480px; height: auto; }
.ap-grafico__legenda { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; font-weight: 700; }
.ap-grafico__traco { display: inline-block; width: 22px; border-top: 3px solid; vertical-align: middle; margin-right: 8px; }

/* Presidente em cada estado */
.ap-estados { margin-top: 28px; padding: 18px 20px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ap-estados__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.ap-estados__titulo { font-family: var(--font-head); font-size: 1.25rem; margin: 0; }
.ap-estados__resumo { margin: 0; color: var(--ink-2); font-size: .9rem; }
.ap-estados__grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .ap-estados__grade { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.ap-uf { display: grid; gap: 1px; padding: 10px 10px 9px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); line-height: 1.2; min-width: 0; }
.ap-uf strong { font-weight: 900; font-size: 1rem; }
.ap-uf span { font-size: .78rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-uf b { font-size: .82rem; font-variant-numeric: tabular-nums; }
.ap-uf--1 { background: var(--grafite-900); border-color: var(--grafite-900); color: #fff; }
.ap-uf--1 span { color: #d4d1d2; }
.ap-uf--2 { background: #d9d7d8; border-color: #d9d7d8; }
.ap-uf__vazio { color: var(--muted); }

/* Lateral */
.ap-macaiba { padding: 20px 22px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(circle at 100% 0%, rgb(96 232 63 / .25), transparent 55%), linear-gradient(160deg, var(--grafite), var(--grafite-950)); box-shadow: var(--shadow-lg); }
.ap-macaiba__titulo { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.ap-macaiba__titulo .icon { color: var(--verde); }
.ap-macaiba__sub { margin: 0 0 14px; color: #c5c2c3; font-size: .88rem; }
.ap-macaiba__cargo { margin: 14px 0 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--verde); }
.ap-macaiba__lista { list-style: none; margin: 0; padding: 0; }
.ap-macaiba__lista li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgb(255 255 255 / .12); font-weight: 700; font-size: .98rem; }
.ap-macaiba__lista li:last-child { border-bottom: 0; }
.ap-macaiba__lista small { font-weight: 500; color: #bcb9ba; font-size: .78rem; }
.ap-macaiba__lista strong { font-family: var(--font-head); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ap-macaiba__vazio { margin: 0; color: #bcb9ba; font-size: .9rem; }
.ap-macaiba__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; color: var(--verde); font-weight: 700; font-size: .9rem; text-decoration: none; }
.ap-macaiba__link:hover { color: #fff; }
.ap-sobre { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.ap-sobre__titulo { font-size: .95rem; margin: 0 0 8px; color: var(--ink); }
.ap-sobre ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.ap-levar p { margin: 0 0 12px; }
.ap-levar .btn { background: var(--grafite); color: #fff; border-color: var(--grafite); }
.ap-levar .btn:hover { background: var(--grafite-950); }

/* Modo TV */
.ap-tv { background: var(--grafite-950); color: #fff; min-height: 100vh; }
.ap-tv__head { display: flex; align-items: center; gap: 20px; padding: 14px 28px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.ap-tv__marca img { display: block; height: 44px; width: auto; }
.ap-tv__titulo { display: flex; align-items: center; gap: 10px; flex: 1; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; }
.ap-tv__titulo .live-dot { color: var(--red); width: 10px; height: 10px; }
.ap-tv__titulo small { font-weight: 500; font-size: .8rem; letter-spacing: .04em; color: #bcb9ba; }
.ap-tv__relogio { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--verde); }
.ap-tv__main { padding: 22px 28px 16px; }
.ap-tv__grade { display: grid; gap: 22px; }
@media (min-width: 1000px) { .ap-tv__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ap-tv__quadro { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px; border-radius: 18px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.ap-tv__quadro-head h2 { margin: 0; font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.ap-tv__quadro-head h2 small { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--verde); margin-left: 8px; }
.ap-tv__quadro-head p { margin: 6px 0 0; color: #c5c2c3; font-size: 1rem; }
.ap-tv__progresso { height: 8px; border-radius: 8px; background: rgb(255 255 255 / .15); overflow: hidden; margin-top: 10px; }
.ap-tv__progresso span { display: block; height: 100%; background: var(--verde); border-radius: 8px; transition: width var(--dur-slow) var(--ease-out); }
.ap-tv__cands { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ap-tv__cand { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgb(0 0 0 / .25); border: 2px solid transparent; }
.ap-tv__cand.is-lider { border-color: var(--verde); }
.ap-tv__foto { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: rgb(255 255 255 / .1); display: grid; place-items: center; color: #bcb9ba; border: 3px solid rgb(255 255 255 / .2); }
.ap-tv__cand.is-lider .ap-tv__foto { border-color: var(--verde); }
.ap-tv__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ap-tv__foto .icon { width: 40px; height: 40px; }
.ap-tv__info { min-width: 0; }
.ap-tv__info h3 { margin: 0 0 4px; font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.1; }
.ap-tv__info p { margin: 0 0 8px; color: #c5c2c3; font-size: .95rem; }
.ap-tv__barra { height: 12px; border-radius: 12px; background: rgb(255 255 255 / .15); overflow: hidden; }
.ap-tv__barra span { display: block; height: 100%; border-radius: 12px; background: #8a8687; transition: width var(--dur-slow) var(--ease-out); }
.ap-tv__cand.is-lider .ap-tv__barra span { background: #fff; }
.ap-tv__pct { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ap-tv__cand.is-lider .ap-tv__pct { color: var(--verde); }
.ap-tv__vazio { margin: 0; color: #c5c2c3; }
.ap-tv__macaiba { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .12); color: #c5c2c3; font-size: .95rem; }
.ap-tv__macaiba strong { display: inline-flex; align-items: center; gap: 6px; color: var(--verde); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; }
.ap-tv__macaiba b { color: #fff; }
.ap-tv__macaiba small { margin-left: auto; font-size: .8rem; }
.ap-tv__rodape { margin: 18px 0 0; color: #9e9b9c; font-size: .85rem; text-align: center; }
.ap-tv__rodape strong { color: #e8e5e6; }

/* Logo da igreja no card do guia */
.church-logo { display: grid; place-items: center; flex: none; overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 6px 20px rgb(0 0 0 / .25); }
.church-logo img { width: 100%; height: 100%; object-fit: contain; }
.church-stale { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d38f; color: #6b4a00; font-size: .92rem; }
.church-stale .icon { flex: none; margin-top: 2px; }
.church-stale a { color: #6b4a00; font-weight: 700; }
.church-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
/* Card do guia: logo sobre a foto (ou sobre o fundo da cor da igreja) e chips de recursos. */
.church-card__photo { position: relative; }
.church-card__photo--plain { background: linear-gradient(180deg, rgb(15 14 14 / .2), rgb(15 14 14 / .55)), linear-gradient(135deg, var(--brand, var(--verde-600)), #1b1a1a); }
.church-card__logo { position: absolute; left: 14px; bottom: -22px; width: 64px; height: 64px; padding: 5px; border-radius: 14px; border: 3px solid var(--surface); }
.church-card__photo--plain .church-card__logo { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 76px; height: 76px; border: 0; }
.church-card__photo:not(.church-card__photo--plain):has(.church-card__logo) + .church-card__body { padding-top: 30px; }
.church-card__slogan { margin: 0; font-size: .86rem; color: var(--ink-2); font-style: italic; }
.church-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; }
.church-chips li { padding: 2px 9px; border-radius: 999px; background: var(--verde-100); color: var(--verde-700); font-size: .75rem; font-weight: 700; }

/* Área da igreja (cadastro, entrada e painel do responsável) */
.preview-bar, .owner-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; font-size: .9rem; }
.preview-bar { background: #fff7e6; border: 1px solid #f3d38f; color: #6b4a00; }
.owner-bar { background: var(--verde-100); border: 1px solid var(--verde-200); color: var(--verde-700); }
.owner-bar a { color: var(--verde-700); font-weight: 700; }
.form__section { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 14px; font-family: var(--font-head); font-size: 1.15rem; }
.form__section .muted { font-family: var(--font-body); font-size: .82rem; font-weight: 500; }
.form .check, .church-panel .check, .consent { display: inline-flex; align-items: flex-start; gap: 8px; font-size: .92rem; cursor: pointer; }
.form .check input, .church-panel .check input, .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--grafite); }
.consent { margin: 6px 0 10px; line-height: 1.45; }
.consent.has-error { color: var(--red); }
.steps-list li { margin-bottom: 6px; }
.signup-new { display: grid; gap: 18px; }
.auth-box { max-width: 460px; margin: 40px auto; }
.auth-box__title { font-family: var(--font-head); font-size: 1.7rem; margin: 4px 0 6px; }
.auth-box .form { margin-top: 16px; display: grid; gap: 4px; }
.auth-box__links { margin: 16px 0 0; font-size: .9rem; text-align: center; }
.church-panel__banner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.church-panel__tabs { display: flex; gap: 6px; overflow-x: auto; margin: 18px 0 20px; padding-bottom: 4px; }
.church-panel__tabs a { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: .55em 1em; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.church-panel__tabs a[aria-current="page"] { background: var(--grafite); color: #fff; }
.church-panel { padding-bottom: 40px; }
.church-panel .card-panel + .card-panel { margin-top: 18px; }
.church-panel__narrow { max-width: 680px; }
.church-panel__stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 20px; }
.stat-tile { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.stat-tile strong { font-family: var(--font-head); font-size: 1.8rem; line-height: 1; }
.stat-tile span { color: var(--ink-2); font-size: .88rem; }
.church-panel__cards { margin-bottom: 28px; }
.info-card--link { display: block; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.info-card--link:hover { transform: translateY(-2px); }
.info-card--link h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--font-head); font-size: 1.05rem; }
.info-card--link h2 .icon { color: var(--verde-600); }
.info-card--link p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.church-form { gap: 0; }
.church-form .card-panel { display: grid; gap: 16px; }
.church-form__images { display: grid; gap: 16px; }
@media (min-width: 720px) { .church-form__images { grid-template-columns: 220px 1fr; } }
.church-form__preview { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; margin: 6px 0 8px; background: var(--bg); }
.church-form__preview--logo { width: 140px; height: 140px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.church-form__check { align-self: end; margin-bottom: 14px; }
.church-form__visit { display: grid; gap: 6px; }
@media (min-width: 720px) { .church-form__visit { grid-template-columns: 240px 1fr; align-items: center; } }
.church-form__save { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 12px 16px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--surface); box-shadow: 0 -6px 20px rgb(0 0 0 / .08); }
@media (max-width: 760px) { .church-form__save { bottom: 64px; } }
.services-editor { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.services-editor th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 4px 6px; }
.services-editor td { padding: 4px; }
.services-editor input, .services-editor select, .church-form__visit input, .church-photos + form input[type="file"] { width: 100%; min-width: 90px; padding: .6em .8em; border: 1px solid var(--field-border); border-radius: 10px; background: #fff; font: inherit; }
.church-form textarea { min-height: 90px; }
.church-panel input[type="file"] { max-width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--red); border-color: var(--red); }
.church-photos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.church-photos li { display: grid; gap: 6px; }
.church-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* Fase 3 da igreja: eventos pela igreja, Pix e formulários */
.church-badge { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; margin: 0 0 6px; padding: 3px 8px; border-radius: 4px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--verde-700); background: var(--verde-100); border: 1px solid var(--verde-200); }
.church-badge .icon { width: 13px; height: 13px; }
.event-card__body .church-badge { margin-bottom: 4px; }
.alert--warning { background: #fff7e6; color: #6b4a00; border: 1px solid #f3d38f; }
.church-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.church-panel__head p { margin: 0; max-width: 640px; }
.church-panel__danger { margin-top: 14px; }
.church-panel .church-stale form { margin-left: auto; }
.church-panel .church-stale { flex-wrap: wrap; align-items: center; }
.panel-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.panel-events li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.panel-events__info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.panel-events__info small { color: var(--ink-2); }
.panel-events__actions { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 560px) { .panel-events li { flex-wrap: wrap; } .panel-events__actions { width: 100%; } }
.church-forms { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.info-card--link h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--font-head); font-size: 1.05rem; }
.info-card--link h3 .icon { color: var(--verde-600); }
.church-pix-wrap { display: grid; max-width: 420px; margin: 32px auto 0; }
.church-pix .pix-card__safety a { color: var(--ink-2); font-weight: 700; }
.contact__info .church-pix + form { margin-top: 12px; }
.church-panel .contact > .form { align-self: start; align-content: start; }

/* Cores da igreja na página dela. As variáveis vêm de church_theme(): --brand e --accent são as
   cores escolhidas; --*-ink, --*-text e --accent-line já vêm com o contraste calculado (AA). */
.church--themed .church-hero:not(.church-hero--photo) { color: var(--brand-ink); background: radial-gradient(circle at 100% 0, var(--accent) 0 84px, transparent 85px), radial-gradient(circle at 100% 0, rgb(255 255 255 / .14) 0 128px, transparent 129px), var(--brand); }
/* O texto do topo não passa por cima dos círculos decorativos. */
@media (min-width: 761px) { .church--themed .church-hero:not(.church-hero--photo) .church-hero__inner { padding-right: 110px; } }
@media (max-width: 760px) { .church--themed .church-hero:not(.church-hero--photo) .church-hero__text { padding-right: 0; } .church--themed .church-hero:not(.church-hero--photo) .church-hero__inner { padding-right: 70px; } }
.church--themed .church-hero:not(.church-hero--photo) .church-hero__title { text-shadow: none; }
.church--themed .church-hero:not(.church-hero--photo) :is(.church-hero__slogan, .church-hero__status, .church-hero__badge) { color: inherit; }
.church--themed .church-hero:not(.church-hero--photo) :is(.church-hero__badge, .church-hero__next) .icon { color: inherit; }
.church--themed .church-hero:not(.church-hero--photo) .church-hero__denomination { background: rgb(255 255 255 / .22); border-color: currentColor; }
.church--themed .church-hero::after { height: 6px; background: var(--accent); }
.church--themed .section__head { --cat: var(--accent-line); }
.church--themed .section__title { color: var(--brand-text); }
.church--themed .event-info { --type: var(--brand-text); }
.church--themed :is(.event-info a, .prose a, .visit-grid__link, .past-events a, .section__more, .church-note a, .breadcrumb a) { color: var(--brand-text); }
.church--themed .visit-grid__icon { background: var(--brand); color: var(--brand-ink); }
.church--themed .tag-list li { background: var(--brand-soft); border-color: transparent; color: var(--brand-text); }
.church--themed .schedule tbody th { color: var(--brand-text); }
.church--themed .schedule tr.is-today :is(td, th) { background: var(--brand-soft); }
.church--themed .btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.church--themed .btn--primary:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.church--themed .church-forms .info-card { border-top: 4px solid var(--accent-line); }
.church--themed .church-forms .info-card h3 .icon { color: var(--brand-text); }
.church--themed .pix-card { border-top-color: var(--accent-line); }
.page-banner--church { color: var(--brand-ink); background: radial-gradient(circle at 100% 0, var(--accent) 0 110px, transparent 111px), var(--brand); border-bottom: 6px solid var(--accent); }
.page-banner--church :is(.page-banner__intro, .eyebrow, .eyebrow a) { color: inherit; }
.church-card__photo { border-bottom: 4px solid var(--accent, transparent); }

/* Cores da igreja no formulário: campos, sugestões do logo e prévia */
.church-colors { display: grid; gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.church-colors legend { padding: 0 6px; font-weight: 800; }
.church-colors__hint { margin: 0; font-size: .86rem; color: var(--muted); }
.church-colors__fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.church-colors input[type="color"] { width: 100%; height: 46px; padding: 4px; border: 1px solid var(--field-border); border-radius: 10px; background: #fff; cursor: pointer; }
.church-colors__palette { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.color-swatch { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--swatch); box-shadow: 0 0 0 1px #c9c6c7; cursor: pointer; }
.color-swatch:hover, .color-swatch:focus-visible { box-shadow: 0 0 0 2px var(--ink); outline: none; }
.church-colors__preview { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.church-colors__hero { display: grid; gap: 2px; padding: 18px 16px; color: var(--brand-ink); background: radial-gradient(circle at 100% 0, var(--accent) 0 46px, transparent 47px), var(--brand); border-bottom: 5px solid var(--accent); }
.church-colors__hero strong { font-family: var(--font-head); font-size: 1.15rem; }
.church-colors__hero span { font-size: .85rem; }
.church-colors__body { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; }
.church-colors__title { flex-basis: 100%; font-family: var(--font-head); font-weight: 700; color: var(--brand-text); }
.church-colors__title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 6px; background: var(--accent-line); }
.church-colors__chip { padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); font-size: .82rem; font-weight: 700; }
.church-colors__btn { padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .88rem; font-weight: 800; }
.church-colors__link { color: var(--brand-text); font-size: .88rem; font-weight: 700; text-decoration: underline; }

/* Guia de igrejas: filtros (recursos e dia do culto) e páginas por bairro */
.church-filters { display: grid; gap: 12px; padding: 22px 0 6px; }
.church-filters__row { display: flex; flex-wrap: wrap; gap: 10px; }
.church-filters__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.filter-chip { position: relative; display: inline-flex; cursor: pointer; }
.filter-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .88rem; font-weight: 700; }
.filter-chip span .icon { width: 16px; height: 16px; color: var(--verde-700); }
.filter-chip small { font-weight: 600; color: var(--muted); }
.filter-chip:hover span { border-color: var(--verde-700); color: var(--verde-700); }
.filter-chip input:checked + span { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.filter-chip input:checked + span :is(.icon, small) { color: #fff; }
.filter-chip input:focus-visible + span { outline: 3px solid var(--verde-600); outline-offset: 2px; }
.church-hoods__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.church-hoods__list .chip small { color: var(--muted); font-weight: 600; }
.church-hood-extra { display: grid; gap: 8px 32px; margin-top: 32px; }
@media (min-width: 900px) { .church-hood-extra { grid-template-columns: 1fr 1fr; align-items: start; } }
.church-card__meta a { color: inherit; font-weight: 700; }
.church-hoods { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Planos de leitura da Bíblia e lembrete no celular
   -------------------------------------------------------------------------- */
.plans, .plan, .plan-day { padding-top: 24px; padding-bottom: 32px; }
.plans__current { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--verde-100); font-weight: 600; color: var(--ink); }
.plans__current .icon { color: var(--verde-600); }
.plans__current a { font-weight: 800; }
.plan-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.plan-cards--compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.plan-card__link { display: grid; gap: 6px; height: 100%; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.plan-card__link:hover, .plan-card__link:focus-visible { border-color: var(--verde-700); box-shadow: var(--shadow); color: var(--ink); }
.plan-card.is-active .plan-card__link { border-color: var(--verde-700); box-shadow: inset 0 0 0 1px var(--verde-700); }
.plan-card__days { justify-self: start; padding: .2em .7em; border-radius: 999px; background: var(--grafite); color: #fff; font-size: .78rem; font-weight: 600; }
.plan-card__days strong { color: var(--verde); font-weight: 800; }
.plan-card__title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; line-height: 1.25; color: var(--grafite); }
.plan-card__summary { font-size: .92rem; color: var(--ink-2); }
.plan-card__meta { font-size: .8rem; color: var(--muted); }
.plan-card__progress { display: grid; gap: 4px; margin-top: 4px; }
.plan-card__progress small { font-size: .8rem; font-weight: 600; color: var(--verde-700); }
.plan-meter { display: block; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.plan-meter > span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--verde-600); transition: width var(--dur-slow) var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .plan-meter > span { transition: none; } }

.plan__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .plan__grid { grid-template-columns: 3fr 2fr; align-items: start; } }
.plan-today, .plan-push { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan-today__title, .plan-push__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--font-head); font-size: 1.3rem; color: var(--grafite); }
.plan-push__title .icon { color: var(--verde-600); }
.plan-today p { margin: 0 0 12px; }
.plan-today__day { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--verde-700); }
.plan-today__label { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.plan-today__late { margin-top: 12px !important; padding: 8px 12px; border-radius: var(--radius); background: #fff6db; color: #5c4400; font-size: .9rem; font-weight: 600; }
.plan-progress { margin-top: 16px; }
.plan-progress p { margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-actions__date { flex-basis: 100%; font-size: .9rem; }
.plan-actions__date summary { cursor: pointer; font-weight: 600; color: var(--verde-700); }
.plan-actions__date label { display: inline-flex; gap: 8px; align-items: center; margin: 8px 8px 0 0; }
.plan-actions__date input { padding: .4em .6em; border: 1px solid var(--field-border); border-radius: 8px; font: inherit; }
.plan-push p { margin: 0 0 12px; font-size: .95rem; }
.plan-push__form { display: grid; gap: 12px; }
.plan-push__hour { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 600; }
.plan-push__hour select { padding: .45em .7em; border: 1px solid var(--field-border); border-radius: 8px; background: #fff; font: inherit; }
.plan-push__hour small { font-weight: 500; color: var(--muted); }
.plan-push__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-push__status { margin: 0 !important; font-size: .9rem; font-weight: 600; color: var(--verde-700); }
.plan-push__status:empty { display: none; }
.plan-push__status.is-error { color: var(--red); }
.plan-push__note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0 !important; font-size: .82rem !important; line-height: 1.5; }
.plan-push__note .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--verde-600); }

.plan-block { margin: 0 0 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan-block summary { padding: 12px 16px; cursor: pointer; font-weight: 700; color: var(--grafite); }
.plan-block summary small { font-weight: 600; color: var(--verde-700); }
.plan-list { list-style: none; margin: 0; padding: 0 8px 8px; display: grid; gap: 4px; }
@media (min-width: 700px) { .plan-list { grid-template-columns: 1fr 1fr; } }
.plan-list a { display: grid; grid-template-columns: 4.2em 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.plan-list a:hover { background: var(--bg); }
.plan-list__day { font-size: .8rem; font-weight: 700; color: var(--muted); }
.plan-list__label { font-weight: 600; line-height: 1.3; }
.plan-list__check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); color: transparent; }
.plan-list__check .icon { width: 14px; height: 14px; }
.plan-list .is-read .plan-list__check { background: var(--verde-600); border-color: var(--verde-600); color: #fff; }
.plan-list .is-read .plan-list__label { color: var(--muted); }
.plan-list .is-today a { background: var(--verde-100); box-shadow: inset 3px 0 0 var(--verde-700); }
.plan-list .is-today .plan-list__day { color: var(--verde-700); }

.bible-switch--inline { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0 0 20px; }
.plan-day__title { margin: 0 0 10px; font-family: var(--font-head); font-size: 1.3rem; color: var(--grafite); }
.plan-day__chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.plan-day__chapters a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--grafite); font-weight: 700; text-decoration: none; }
.plan-day__chapters a:hover, .plan-day__chapters a:focus-visible { border-color: var(--verde-700); color: var(--verde-700); }
.plan-day__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grafite); color: var(--verde); font-size: .85rem; font-weight: 800; }
.plan-day__ref { font-size: 1.05rem; }
.plan-day__check { color: transparent; }
.plan-day__chapters a.is-visited .plan-day__check { color: var(--verde-600); }
.plan-day__tip { margin: 10px 0 0; font-size: .88rem; }
.plan-day__done { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.plan-day__done .btn.is-done { background: var(--verde-600); border-color: var(--verde-600); color: #fff; }
.plan-day__status { margin: 0; font-weight: 600; color: var(--verde-700); }

.plan-bar { margin-top: 28px; padding: 14px 16px; border-radius: var(--radius); background: var(--verde-100); border: 1px solid #cdeec1; font-family: var(--font-body); }
.plan-bar__title { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font-size: .92rem; font-weight: 700; color: var(--grafite); }
.plan-bar__title .icon { color: var(--verde-600); flex: none; }
.plan-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-bar__status { margin: 8px 0 0; font-size: .9rem; font-weight: 600; color: var(--verde-700); }
.plan-bar__status:empty { display: none; }
.bible-dark .plan-bar { background: #1f2a1c; border-color: #2f4229; }
.bible-dark .plan-bar__title { color: #e5e2e3; }
.bible-dark .plan-bar__status { color: var(--verde-hover); }
@media print { .plan-bar { display: none !important; } }

/* Página "link na bio" do Instagram */
.links-page { max-width: 640px; padding-top: 28px; padding-bottom: 40px; }
.links-page__head { text-align: center; margin-bottom: 20px; }
.links-page__mark { width: 64px; height: 64px; margin: 0 auto 8px; display: block; }
.links-page__title { margin: 0; font-family: var(--font-head); font-size: 1.6rem; color: var(--grafite); }
.links-page__intro { margin: 4px 0 0; color: var(--muted); }
.links-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.links-list__item { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.links-list__item:hover { border-color: var(--verde-700); color: var(--ink); }
.links-list__thumb .thumb { width: 88px; height: 66px; object-fit: cover; border-radius: 8px; }
.links-list__text small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--verde-700); }
.links-list__text strong { display: block; font-size: .95rem; line-height: 1.3; }
.links-page__more { display: grid; gap: 10px; margin-top: 24px; }

/* Últimos posts do Instagram (miniaturas servidas pelo próprio portal) */
.ig-grid { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig-grid a { display: block; border-radius: 8px; overflow: hidden; background: #1b1a1a; }
.ig-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .2s; }
.ig-grid a:hover img, .ig-grid a:focus-visible img { opacity: .85; }
.links-page .widget--instagram { margin: 24px 0; }

/* ==========================================================================
   Site da igreja (layouts/church.php): cada igreja com cara de site próprio.
   Cores da igreja nas variáveis de church_theme() (--brand, --brand-ink, --brand-text, --brand-soft,
   --accent-line…); letras pelo estilo escolhido (clássico, moderno, acolhedor). O elemento marcante é a
   faixa "Esta semana na igreja", como o quadro de avisos na porta do templo.
   ========================================================================== */
.church-site {
    --cs-paper: #fbfaf7; --cs-ink: #22201f; --cs-muted: #625e5c; --cs-line: #e6e2dc;
    --cs-head: 'Merriweather', Georgia, serif; --cs-body: 'Inter', system-ui, sans-serif; --cs-head-weight: 900; --cs-radius: 10px;
    background: var(--cs-paper); color: var(--cs-ink); font-family: var(--cs-body);
}
.church-site--moderno { --cs-head: 'Inter', system-ui, sans-serif; --cs-head-weight: 900; }
.church-site--acolhedor { --cs-head: 'Nunito', system-ui, sans-serif; --cs-body: 'Nunito', system-ui, sans-serif; --cs-head-weight: 900; --cs-radius: 18px; }
.church-site :is(.cs-prose, .cs-note, .cs-claim, .cs-back, .cs-more-list, .cs-pages, .cs-visit__list, .cs-ig__intro) a, .church-site a.cs-more { color: var(--brand-text, var(--verde-600)); }

/* Faixa fina do Macaíba Gospel */
.mg-bar { background: #1b1a1a; color: #d9d6d4; font-size: .82rem; }
.mg-bar__inner { display: flex; align-items: center; gap: 18px; min-height: 34px; }
.church-site .mg-bar a { color: #fff; text-decoration: none; }
.mg-bar__brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.mg-bar__mark { width: 18px; height: 18px; }
.church-site .mg-bar__link { color: #d9d6d4; }
.church-site .mg-bar a:hover, .church-site .mg-bar a:focus-visible { text-decoration: underline; }
.mg-bar__note { margin-left: auto; color: #b4b0ae; }
@media (max-width: 560px) { .mg-bar__note { display: none; } }

/* Cabeçalho e menu da igreja */
.cs-header { position: sticky; top: 0; z-index: 30; background: rgb(251 250 247 / .96); backdrop-filter: blur(8px); border-bottom: 3px solid var(--brand, var(--verde-600)); }
.cs-header__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.church-site .cs-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cs-ink); text-decoration: none; min-width: 0; }
.cs-brand__logo { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--cs-line); }
.cs-brand__name { font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: 1.05rem; line-height: 1.15; }
.cs-nav { margin-left: auto; min-width: 0; }
.cs-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.cs-nav ul::-webkit-scrollbar { display: none; }
.church-site .cs-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--cs-ink); font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.church-site .cs-nav a:hover, .church-site .cs-nav a:focus-visible { background: var(--brand-soft, #eef6ea); color: var(--brand-text, var(--verde-600)); }
@media (max-width: 860px) {
    .cs-header__inner { flex-wrap: wrap; gap: 0; padding-top: 8px; }
    .cs-brand__name { font-size: .98rem; }
    .cs-nav { margin: 0 calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }
    .cs-nav ul { padding: 4px var(--gutter) 8px; }
    .church-site .cs-nav a { padding: 6px 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--cs-line); }
}
.church-site .preview-bar, .church-site .owner-bar { margin-top: 12px; margin-bottom: 0; }

/* Cabeçalho: logo de reserva (iniciais) e o botão "Planeje sua visita" */
.cs-brand__logo--mono { display: grid; place-items: center; flex: none; background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: 1rem; box-shadow: none; }
.church-site .cs-header__cta { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--cs-radius); background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); font-weight: 700; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.church-site .cs-header__cta:hover { filter: brightness(1.08); }
.church-site .cs-header__cta:focus-visible { outline: 3px solid var(--accent-line, var(--verde-600)); outline-offset: 2px; }
@media (max-width: 860px) { .church-site .cs-header__cta { display: none; } }

/* Topo: a capa da igreja sob um tom da cor dela, ou só a cor com as iniciais grandes ao fundo */
.cs-hero { --foco: #fff; position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(72vh, 640px); padding: 64px 0 104px; color: #fff; background: #141313; overflow: hidden; }
.cs-hero__bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.cs-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--brand, var(--verde-600)); mix-blend-mode: multiply; opacity: .5; }
.cs-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 10 10 / .3) 0%, rgb(10 10 10 / .5) 40%, rgb(10 10 10 / .88) 100%); }
.cs-hero--color { --foco: var(--brand-ink, #fff); min-height: min(62vh, 560px); background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); }
.cs-hero__mono { position: absolute; right: -.06em; bottom: -.22em; z-index: -1; font-family: var(--cs-head); font-weight: 900; font-size: clamp(14rem, 42vw, 34rem); line-height: 1; letter-spacing: -.06em; color: currentColor; opacity: .09; pointer-events: none; user-select: none; }
.cs-hero__inner { width: 100%; }
.cs-seal { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 22px; padding: 10px; border-radius: calc(var(--cs-radius) + 8px); background: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .22); }
.cs-seal img { width: 100%; height: 100%; object-fit: contain; }
.cs-seal--mono { padding: 0; background: var(--brand-ink, #fff); color: var(--brand, var(--verde-600)); font-family: var(--cs-head); font-weight: 900; font-size: 2rem; box-shadow: none; }
.cs-hero--photo .cs-seal--mono { background: #fff; color: var(--cs-ink); }
.cs-hero__denomination { margin: 0 0 10px; font-size: .95rem; font-weight: 700; letter-spacing: .02em; }
.cs-hero__title { margin: 0; max-width: 15ch; font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.cs-hero__slogan { margin: 16px 0 0; max-width: 40ch; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.45; }
.cs-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cs-hero__place { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 22px 0 0; font-size: .95rem; }
.church-site .cs-hero__place a { color: inherit; }
.cs-hero__place > span { display: inline-flex; align-items: center; }
.cs-hero__place > span > .icon { margin-right: 6px; }
.cs-hero__place .icon { width: 18px; height: 18px; }
.cs-hero__badge { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; }
.cs-hero__badge .icon { width: 18px; height: 18px; }
@media (max-width: 560px) {
    .cs-hero { min-height: 0; padding: 48px 0 92px; }
    .cs-seal { width: 76px; height: 76px; margin-bottom: 18px; }
    .cs-hero__actions .cs-btn { flex: 1 1 100%; }
}

/* Botões. Base: contorno sobre fundo escuro ou na cor da igreja (herda a cor do texto). */
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border: 0; border-radius: var(--cs-radius); background: transparent; color: inherit; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 2px currentColor; }
.church-site :where(a).cs-btn { color: inherit; }
.church-site .cs-hero .cs-btn--solid { background: #fff; color: var(--cs-ink); box-shadow: none; }
.church-site .cs-hero--color .cs-btn--solid { background: var(--brand-ink, #fff); color: var(--brand, var(--verde-600)); }
.church-site .cs-btn--primary { background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); box-shadow: none; }
.church-site .cs-btn--ghost { color: var(--cs-ink); box-shadow: inset 0 0 0 1.5px var(--cs-line); background: #fff; }
.church-site .cs-section--dark .cs-btn--solid { background: #fff; color: #1b1a1a; box-shadow: none; }
.cs-btn:hover { filter: brightness(1.08); }
.church-site .cs-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--brand, var(--verde-600)); filter: none; }
.cs-btn:focus-visible, .cs-nav a:focus-visible, .cs-contact__item:focus-visible, .cs-wants__item:focus-visible, .cs-dock a:focus-visible { outline: 3px solid var(--foco, var(--accent-line, var(--verde-600))); outline-offset: 2px; }

/* Cartão do próximo culto, sobre a borda do topo */
.cs-next { position: relative; z-index: 2; display: grid; gap: 18px 32px; margin: -64px 0 0; padding: 22px 24px; border-radius: calc(var(--cs-radius) + 4px); background: #fff; box-shadow: 0 1px 0 var(--cs-line), 0 16px 40px rgb(27 26 26 / .12); border-top: 4px solid var(--brand, var(--verde-600)); }
.cs-next p { margin: 0; }
.cs-next__label { margin-bottom: 4px !important; color: var(--brand-text, var(--verde-600)); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cs-next__time { font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.1; }
.cs-next__time::first-letter { text-transform: uppercase; }
.cs-next__name { margin-top: 4px !important; color: var(--cs-muted); }
.cs-next__address { font-weight: 600; line-height: 1.4; }
.cs-next__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 900px) {
    .cs-next { grid-template-columns: auto 1fr auto; align-items: center; padding: 24px 28px; }
    .cs-next__where { padding-left: 32px; border-left: 1px solid var(--cs-line); }
}
@media (max-width: 560px) { .cs-next__actions .cs-btn { flex: 1 1 auto; } .cs-next { margin-top: -56px; padding: 18px; } }
.church-site .church-stale { margin-top: 24px; }

/* Títulos e seções */
.cs-section { padding: 64px 0; }
.cs-section--soft { background: #fff; border-block: 1px solid var(--cs-line); }
.cs-section--dark { --foco: #fff; background: #1b1a1a; color: #f1efed; }
.cs-section--dark .cs-title { color: #fff; }
.church-site .cs-section--dark a { color: #fff; }
.cs-title { margin: 0 0 22px; font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; color: var(--cs-ink); letter-spacing: -.015em; }
.cs-title--page { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-top: 6px; }
.cs-lead { margin: -10px 0 26px; max-width: 56ch; color: var(--cs-muted); font-size: 1.08rem; }
.cs-subtitle { display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; font-family: var(--cs-body); font-size: 1.08rem; font-weight: 800; }
.cs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cs-head .cs-title { margin-bottom: 0; }
.church-site a.cs-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.cs-note { color: var(--cs-muted); font-size: .92rem; }
.cs-section--dark .cs-note { color: #b9b5b3; }
.cs-prose { font-size: 1.08rem; line-height: 1.75; max-width: 68ch; }
.church-site--classico .cs-prose { line-height: 1.8; }
.cs-narrow { max-width: 760px; }
@media (max-width: 560px) { .cs-section { padding: 48px 0; } }

/* Cultos: um cartão por dia que tem culto; o de hoje na cor da igreja */
.cs-days { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin: 0; padding: 0; list-style: none; }
.cs-days__item { max-width: 560px; padding: 20px 20px 22px; border-radius: var(--cs-radius); background: #fff; box-shadow: inset 0 0 0 1px var(--cs-line); }
.cs-days__item.is-today { background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); box-shadow: none; }
.cs-days__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--cs-line); font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: 1.3rem; }
.cs-days__item.is-today .cs-days__name { border-bottom-color: currentColor; }
.cs-days__today { padding: 2px 10px; border-radius: 999px; background: var(--brand-ink, #fff); color: var(--brand, var(--verde-600)); font-family: var(--cs-body); font-size: .75rem; font-weight: 800; }
.cs-days__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cs-days__list li { display: grid; grid-template-columns: 4.9rem 1fr; gap: 10px; align-items: baseline; line-height: 1.35; }
.cs-days__list time { font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.cs-days__list small { display: block; margin-top: 2px; color: var(--cs-muted); font-size: .84rem; }
.cs-days__item.is-today small { color: inherit; }
.cs-days + .cs-note { margin: 16px 0 0; }

/* Planeje sua visita: etapas numeradas e comodidades */
.cs-steps { display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.cs-steps__item { position: relative; padding-top: 18px; border-top: 2px solid var(--cs-ink); }
.cs-steps__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); font-weight: 800; font-size: 1.05rem; }
.cs-steps__title { margin: 0 0 6px; font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: 1.25rem; }
.cs-steps__item p { margin: 0; color: #3f3b3a; line-height: 1.6; }
.cs-amenities { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.cs-amenities li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--cs-paper); box-shadow: inset 0 0 0 1px var(--cs-line); font-weight: 600; font-size: .92rem; }
.cs-amenities .icon { width: 20px; height: 20px; color: var(--brand-text, var(--verde-600)); }

/* Assista: ao vivo e mensagens do YouTube (o vídeo só carrega no clique) */
.cs-live { display: grid; gap: 14px; justify-items: start; margin-bottom: 36px; }
.cs-live .yt { width: 100%; max-width: 860px; }
.cs-live__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.cs-live__text { margin: 0; color: #d9d6d4; }
.cs-watch { display: grid; gap: 26px; }
@media (min-width: 900px) { .cs-watch:not(.cs-watch--single) { grid-template-columns: 1.7fr 1fr; align-items: start; } .cs-watch--single .cs-watch__lead { max-width: 860px; } }
.cs-watch__title { margin: 14px 0 4px; font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.25; color: #fff; }
.cs-watch__date { color: #b9b5b3; font-size: .86rem; }
.cs-watch__list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.cs-watch__list li { display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: start; }
.cs-watch__badge { margin-top: 14px; }
.church-site .cs-watch .yt { border-radius: var(--cs-radius); box-shadow: none; }
.church-site .yt__play { background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); box-shadow: 0 0 0 3px rgb(255 255 255 / .9); }
.cs-watch__list .yt__play { width: 44px; height: 44px; }
.cs-watch__list .yt__play .icon { width: 18px; height: 18px; margin-left: 2px; }
.cs-watch__badge + .cs-watch__title { margin-top: 6px; }
.cs-watch__head { margin: 0 0 14px; font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #d9d6d4; }
.cs-watch__small { margin: 0 0 4px; font-weight: 700; line-height: 1.35; font-size: .95rem; }
@media (max-width: 560px) { .cs-watch__list li { grid-template-columns: 120px 1fr; } }

/* Agenda: a data num bloco da cor da igreja (eventos da igreja não têm arte enviada) */
.cs-events { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cs-event { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; border-radius: var(--cs-radius); background: #fff; box-shadow: inset 0 0 0 1px var(--cs-line); }
.cs-event:hover { box-shadow: inset 0 0 0 2px var(--brand, var(--verde-600)); }
.cs-event__date { display: grid; place-items: center; align-content: center; height: 72px; border-radius: calc(var(--cs-radius) - 2px); background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); line-height: 1; }
.cs-event__day { font-family: var(--cs-head); font-weight: 900; font-size: 1.9rem; }
.cs-event__month { margin-top: 4px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cs-event__title { margin: 0 0 6px; font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: 1.15rem; line-height: 1.25; }
.church-site .cs-event__title a { color: var(--cs-ink); text-decoration: none; }
.cs-event__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--cs-radius); }
.cs-event__title a:focus-visible { outline: none; }
.cs-event__title a:focus-visible::after { outline: 3px solid var(--accent-line, var(--verde-600)); outline-offset: 2px; }
.cs-event__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; color: var(--cs-muted); font-size: .9rem; }
.cs-event__meta span { display: inline-flex; align-items: center; gap: 5px; }
.cs-event__meta .icon { width: 16px; height: 16px; }
.cs-event__price { font-weight: 700; color: var(--cs-ink); }
.cs-past { margin-top: 22px; }
.cs-past summary, .cs-alert summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--brand-text, var(--verde-600)); }
.cs-alert { margin-top: 10px; }
.cs-alert[open] summary { margin-bottom: 12px; }

/* Mural: avisos só em texto */
.cs-notes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cs-notes__item { padding: 22px; border-radius: var(--cs-radius); background: var(--cs-paper); box-shadow: inset 0 0 0 1px var(--cs-line); border-top: 4px solid var(--accent, var(--brand, var(--verde-600))); }
.cs-notes__ig { margin: 12px 0 0; font-size: .9rem; font-weight: 700; }
.church-site .cs-notes__ig a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-text, var(--verde-600)); }
.cs-mural { display: grid; gap: 22px; }
.cs-mural--list .cs-post { padding-bottom: 22px; border-bottom: 1px solid var(--cs-line); }
.cs-post { display: grid; gap: 12px; align-content: start; }
.cs-post__date { color: var(--cs-muted); font-size: .86rem; }
.cs-post__title { margin: 4px 0 6px; font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: 1.2rem; line-height: 1.25; }
.church-site .cs-post__title a { color: var(--cs-ink); text-decoration: none; }
.church-site .cs-post__title a:hover { text-decoration: underline; text-decoration-color: var(--accent-line, var(--verde-600)); }
.cs-post__excerpt { margin: 0; color: #3f3b3a; line-height: 1.55; }
.cs-back { margin: 0 0 18px; }
.cs-back .icon { transform: rotate(180deg); }
.cs-pages { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; font-weight: 700; }
.cs-more-list { margin: 0 0 18px; padding-left: 18px; line-height: 1.8; }
.cs-more-list time { color: var(--cs-muted); font-size: .85rem; margin-left: 6px; }

/* Quem somos */
.cs-about { display: grid; gap: 8px 48px; }
@media (min-width: 900px) { .cs-about { grid-template-columns: minmax(220px, 1fr) 2.2fr; } }
.cs-pastor { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 1.02rem; }
.cs-pastor .icon { color: var(--brand-text, var(--verde-600)); }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-tags li { padding: 6px 12px; border-radius: 999px; background: var(--brand-soft, #eef6ea); color: var(--cs-ink); font-weight: 600; font-size: .9rem; }

/* Fotos: a vitrine do Instagram ao lado de um texto curto */
.cs-igp { display: grid; gap: 14px 40px; margin-bottom: 30px; }
.cs-igp__intro .cs-subtitle { margin: 0 0 6px; }
.cs-igp__intro .cs-note { margin: 0; font-size: 1rem; }
.church-site .cs-igp__intro a { color: var(--brand-text, var(--verde-600)); }
@media (min-width: 900px) {
    .cs-igp { grid-template-columns: 1fr minmax(0, 560px); grid-template-rows: auto 1fr; grid-template-areas: "intro frame" "more frame"; align-items: start; }
    .cs-igp__intro { grid-area: intro; } .cs-igp__frame { grid-area: frame; } .cs-igp__more { grid-area: more; align-self: start; }
}
/* A vitrine do Instagram tem um topo de ~150 px e uma grade 3 × 2 de quadrados: a altura acompanha a largura. */
.cs-igp__frame { container-type: inline-size; width: 100%; max-width: 560px; border-radius: var(--cs-radius); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--cs-line); }
.cs-igp__frame iframe { display: block; width: 100%; height: 520px; height: calc(150px + 66.7cqw); border: 0; }
.cs-igp__more { margin: 0; }
.cs-ig { margin-bottom: 30px; padding: 22px; border-radius: var(--cs-radius); background: var(--cs-paper); box-shadow: inset 0 0 0 1px var(--cs-line); }
.cs-ig__intro { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cs-ig__intro .cs-subtitle { margin: 0; width: 100%; }
.cs-ig__intro .cs-note { margin: 0; width: 100%; }
.cs-ig__grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.cs-ig__link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--cs-line); font-size: .88rem; font-weight: 600; text-decoration: none; }
.cs-ig.is-loaded .cs-ig__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 326px), 1fr)); gap: 16px; align-items: start; }
.cs-ig .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }

/* "Como podemos caminhar com você?": as ações em primeira pessoa */
.cs-wants { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 0; padding: 0; list-style: none; }
.church-site .cs-wants__item { display: grid; gap: 4px; align-content: start; height: 100%; padding: 22px; border-radius: var(--cs-radius); background: #fff; box-shadow: inset 0 0 0 1px var(--cs-line); color: var(--cs-ink); text-decoration: none; }
.church-site .cs-wants__item:hover { box-shadow: inset 0 0 0 2px var(--brand, var(--verde-600)); }
.cs-wants__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; background: var(--brand-soft, #eef6ea); color: var(--brand-text, var(--verde-600)); }
.cs-wants__item strong { font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: 1.2rem; }
.cs-wants__item > span:last-child { color: var(--cs-muted); font-size: .93rem; }

/* Pix e contato */
.church-site .pix-card { margin: 0 auto; border-top-color: var(--brand, var(--verde)); }
.cs-contact__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.church-site .cs-contact__item { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: var(--cs-radius); background: #fff; box-shadow: inset 0 0 0 1px var(--cs-line); color: var(--cs-ink); text-decoration: none; line-height: 1.4; }
.cs-contact__item > .icon { flex: none; width: 24px; height: 24px; color: var(--brand-text, var(--verde-600)); }
.cs-contact__item strong { display: block; margin-bottom: 2px; }
.cs-contact__item span { color: var(--cs-muted); font-size: .93rem; }
.cs-contact__item span strong { color: var(--cs-ink); font-size: 1rem; }
.church-site .cs-contact__item:hover { box-shadow: inset 0 0 0 2px var(--brand, var(--verde-600)); }
.cs-share { margin-top: 30px; }
.cs-share > p { margin: 0 0 8px; font-weight: 700; }
.cs-claim { margin: 18px 0 0; color: var(--cs-muted); font-size: .92rem; }

/* Barra de ações fixa no celular (some no computador) */
.cs-dock { display: none; }
@media (max-width: 860px) {
    .cs-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--cs-line); box-shadow: 0 -6px 20px rgb(27 26 26 / .08); }
    .church-site .cs-dock a { flex: 1 1 0; display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 4px; border-radius: 10px; color: var(--cs-ink); font-size: .78rem; font-weight: 700; text-decoration: none; }
    .cs-dock .icon { width: 22px; height: 22px; color: var(--brand-text, var(--verde-600)); }
    .church-site .cs-dock a:active { background: var(--brand-soft, #eef6ea); }
    .church-site:has(.cs-dock) .mg-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Rodapés */
.cs-footer { --foco: var(--brand-ink, #fff); padding: 40px 0 28px; background: var(--brand, var(--verde-600)); color: var(--brand-ink, #fff); }
.cs-footer__grid { display: grid; gap: 18px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.cs-footer p { margin: 0 0 6px; line-height: 1.5; }
.church-site .cs-footer a { color: inherit; font-weight: 700; }
.cs-footer__label { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cs-footer__hours { margin: 0; padding: 0; list-style: none; line-height: 1.7; font-variant-numeric: tabular-nums; }
.cs-footer__hours span { display: inline-block; min-width: 3.2em; font-weight: 700; }
.cs-footer__name { font-family: var(--cs-head); font-weight: var(--cs-head-weight); font-size: 1.25rem; }
.mg-footer { padding: 16px 0 22px; background: #1b1a1a; color: #c9c5c3; font-size: .85rem; }
.mg-footer p { margin: 4px 0; }
.church-site .mg-footer a { color: #fff; }
.mg-footer p + p a { margin-right: 14px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.panel-events__actions form { display: inline; }


/* Cobertura ao vivo de desastres: o que a imprensa está noticiando ------- */
.press-news { margin: 28px 0; padding: 18px 20px; border-radius: 12px; background: var(--paper, #faf8f6); box-shadow: inset 0 0 0 1px var(--line); }
.press-news__title { margin: 0 0 4px; font-size: 1.1rem; }
.press-news__note { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.press-news__list { list-style: none; margin: 0; padding: 0; }
.press-news__list li { padding: 10px 0; border-top: 1px solid var(--line); }
.press-news__list li:first-child { border-top: 0; padding-top: 0; }
.press-news__meta { display: block; font-size: .82rem; color: var(--muted); }
.press-news__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.press-news__list a:hover { color: var(--verde-700); text-decoration: underline; }
.press-news__list .icon { width: .85em; height: .85em; vertical-align: -1px; }

/* Área de toque de 44px sem mudar o desenho dos ícones pequenos (WCAG 2.5.5). */
.social-link::before, .sub-toggle::before { content: ""; position: absolute; inset: -7px; }
@media (min-width: 900px) { .sub-toggle::before { inset: -8px; } }

/* Quem pediu menos movimento no aparelho não vê animação nem rolagem suave. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Formulários: aviso de obrigatório e resumo dos erros no topo */
.field__req { font-weight: 500; color: var(--muted); font-size: .9em; }
.error-summary { margin: 0 0 18px; padding: 14px 18px; border: 2px solid var(--red); border-radius: 10px; background: #fff5f5; }
.error-summary:focus { outline: 3px solid var(--red); outline-offset: 2px; }
.error-summary__title { margin: 0 0 6px; font-weight: 700; color: var(--red); }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--red); font-weight: 600; }

.bible-swatch::before { content: ""; position: absolute; inset: -7px; }

/* Janela do portal (confirmar, inserir link/vídeo, descrever imagem) */
.mg-dialog { width: min(460px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line, #e4e3e1); border-radius: 14px; background: #fff; color: var(--ink, #1b1a1a); box-shadow: 0 10px 30px rgb(27 26 26 / .08); }
.mg-dialog::backdrop { background: rgb(15 14 14 / .55); }
.mg-dialog form { display: grid; gap: 14px; padding: 22px 22px 18px; margin: 0; }
.mg-dialog__title { margin: 0; font-size: 1.15rem; }
.mg-dialog__text { margin: 0; line-height: 1.5; }
.mg-dialog__field { margin: 0; }
.mg-dialog__field input { width: 100%; padding: .65em .8em; border: 1px solid #8a8687; border-radius: 8px; font: inherit; }
.mg-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.mg-dialog__actions .btn { min-height: 44px; }
.btn--danger-solid { background: #db0004; border-color: #db0004; color: #fff; }
.btn--danger-solid:hover { background: #a80003; border-color: #a80003; color: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .mg-dialog[open] { animation: mg-dialog-in .16s ease-out; }
    @keyframes mg-dialog-in { from { opacity: 0; transform: translateY(8px); } }
}
/* Dica dos botões de ícone: aparece no mouse e no foco do teclado */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after {
    content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); z-index: 60;
    padding: 5px 9px; border-radius: 6px; background: #1b1a1a; color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.3; white-space: nowrap; pointer-events: none;
}
.bible-marks__undo:not(:empty) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--verde-100); }

/* Painel do versículo entra deslizando de baixo (sem movimento para quem pediu menos) */
@media (prefers-reduced-motion: no-preference) {
    .bible-sheet:not([hidden]) { animation: bible-sheet-in var(--dur) var(--ease-out); }
    @keyframes bible-sheet-in { from { opacity: 0; transform: translateY(16px); } }
}
.widget--verse, .widget--dark { border-color: transparent; }

/* Home: faixa "Na comunidade" (culto hoje, Instagram, infantil) na largura toda */
.home-band { display: grid; gap: 20px; margin-top: 40px; align-items: stretch; }
@media (min-width: 1000px) { .home-band { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; } }
.home-band > .widget { margin: 0; }
