/* =========================================================
   Ministério Pentecostal Jesus Eterno — estilo do site
   Cores do emblema: azul-marinho #28407E · azul-celeste #6B9DCE
   ========================================================= */
:root {
  --navy: #28407E;
  --sky: #6B9DCE;
  --navy-900: #121f45;
  --navy-800: #1a2c5c;
  --sky-50: #f3f7fc;
  --sky-100: #e6eff9;
  --sky-200: #cfe0f2;
  --ink: #14203d;
  --muted: #5a6683;
  --line: #dfe6f1;
  --bg: #fbfcfe;
  --white: #fff;
  --ok: #1f8a5b;
  --err: #c0392b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(18,31,69,.06), 0 12px 32px -12px rgba(18,31,69,.18);
  --shadow-lg: 0 30px 60px -24px rgba(18,31,69,.35);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { flex: none; vertical-align: -0.2em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px var(--navy); }
.btn-navy:hover { background: var(--navy-800); }
.btn-sky { background: var(--sky); color: #fff; box-shadow: 0 10px 24px -10px var(--sky); }
.btn-sky:hover { background: #5a8ec4; }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-danger { background: #fff; color: var(--err); border-color: #f0c9c4; }
.btn-row, .btn-col { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-col { flex-direction: column; }
.link-arrow { display: inline-flex; gap: .4em; align-items: center; font-weight: 700; text-decoration: none; }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow .ico { transition: transform .2s; }

/* ---------- Cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s; }
.site-header.scrolled, .site-header.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(18,31,69,.4); --header-h: 68px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 52px; height: auto; padding: 4px; background: #fff; border-radius: 14px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); transition: width .3s; }
.scrolled .brand img { width: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.brand-text strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.scrolled .brand, .solid .brand { color: var(--navy); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .5em .7em; border-radius: 8px; transition: color .2s, background .2s; }
.nav > a:hover { color: #fff; background: rgba(255,255,255,.1); }
.scrolled .nav > a, .solid .nav > a { color: var(--muted); }
.scrolled .nav > a:hover, .solid .nav > a:hover { color: var(--navy); background: var(--sky-50); }
.nav-cta { display: flex; gap: 8px; margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.scrolled .nav-toggle, .solid .nav-toggle { color: var(--navy); }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white); flex-direction: column; align-items: stretch; padding: 90px 24px 30px; gap: 2px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); overflow-y: auto; }
  .nav.open { transform: none; }
  .nav > a, .scrolled .nav > a { color: var(--ink); font-size: 1.05rem; padding: .8em .6em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { flex-direction: column; margin: 18px 0 0; }
  .nav-toggle[aria-expanded="true"] { position: fixed; right: 18px; top: 18px; z-index: 60; color: var(--navy); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(18,31,69,.45); z-index: 40; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: calc(var(--header-h) + 70px) 0 60px; background: radial-gradient(1200px 600px at 80% 20%, #34529b 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 75%); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img, none) center/cover; opacity: .22; z-index: -2; mix-blend-mode: luminosity; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, rgba(18,31,69,.4)); z-index: -1; }
.hero-glow { position: absolute; width: 700px; height: 700px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(107,157,206,.35), transparent 60%); filter: blur(10px); z-index: -1; animation: float 12s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-30px, 30px) scale(1.05); } }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1::after { content: ""; display: block; width: 80px; height: 3px; background: var(--sky); margin-top: 22px; border-radius: 3px; }
.hero-sub { font-size: 1.18rem; color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 38px; }
.hero-verse { margin: 0; padding-left: 18px; border-left: 2px solid rgba(107,157,206,.7); max-width: 520px; }
.hero-verse p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin: 0 0 4px; color: rgba(255,255,255,.92); }
.hero-verse cite { font-style: normal; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); font-weight: 700; }
.hero-emblem { position: relative; display: grid; place-items: center; }
.hero-emblem img { position: relative; width: min(400px, 80%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: rise 1.2s cubic-bezier(.2,.8,.2,1) both; }
.emblem-ring { position: absolute; width: min(470px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0 56%, rgba(255,255,255,.9) 62%, rgba(255,255,255,.0) 71%); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 0 0 26px rgba(255,255,255,.04), 0 0 0 54px rgba(255,255,255,.025); }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: var(--sky); margin-bottom: 12px; display: inline-flex; gap: .5em; align-items: center; }
.eyebrow.light { color: #a9c8ea; }
.next-service { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 18px 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); backdrop-filter: blur(10px); font-size: .95rem; color: rgba(255,255,255,.85); }
.next-service strong { font-family: var(--serif); font-size: 1.25rem; color: #fff; font-weight: 600; }
.next-service span { display: inline-flex; gap: .45em; align-items: center; }
.ns-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--sky) !important; }
.ns-place { margin-left: auto; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* ---------- Seções ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--sky-50), var(--bg)); }
.section-navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: rgba(255,255,255,.85); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head.split { display: flex; text-align: left; max-width: none; justify-content: space-between; align-items: end; gap: 20px; }
.section-head.split h2 { margin: 0; }
.lead { font-size: 1.12rem; color: var(--muted); }
.empty { color: var(--muted); padding: 30px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty.light { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }

/* Cultos */
.cultos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.culto-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.culto-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--navy), var(--sky)); }
.culto-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.culto-day { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--sky); }
.culto-time { font-family: var(--serif); font-size: 2.6rem; color: var(--navy); line-height: 1.1; margin: 4px 0 10px; }
.culto-card h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.culto-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Sobre */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-frame { background: #fff; border-radius: 28px; padding: 50px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.about-frame::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--sky-200); border-radius: 32px; z-index: -1; }
.about-frame img { margin: auto; }
.about-badge { position: absolute; right: -14px; bottom: 30px; background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.about-badge strong { font-family: var(--serif); font-size: 1.2rem; }
.about-badge span { font-size: .8rem; color: #bcd3ee; }
.prose { font-size: 1.05rem; }
.prose p { color: #35405e; }
.prose img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose blockquote { border-left: 3px solid var(--sky); margin: 1.4em 0; padding: .2em 0 .2em 1.2em; font-family: var(--serif); font-style: italic; font-size: 1.15em; color: var(--navy); }
.prose a { font-weight: 600; }
.prose iframe { max-width: 100%; border-radius: var(--radius-sm); }
.pillars { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillars li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .88rem; color: var(--muted); }
.pillars .ico { color: var(--sky); margin-top: 2px; }
.pillars strong { display: block; color: var(--ink); font-size: .98rem; }

/* Notícias */
.news-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.news-feature, .news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.news-feature:hover, .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-img { aspect-ratio: 16/9; overflow: hidden; background: var(--sky-100); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-feature:hover .news-img img, .news-card:hover .news-img img { transform: scale(1.04); }
.news-img.placeholder { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--sky-100), var(--sky-200)); }
.news-img .ph-logo { width: 34%; height: auto; object-fit: contain; opacity: .9; }
.news-feature .news-img { aspect-ratio: 16/10; }
.news-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.4rem; margin: 10px 0; }
.news-card .news-body h3 { font-size: 1.2rem; }
.news-body p { color: var(--muted); font-size: .96rem; }
.news-body time, .news-item time { font-size: .82rem; color: var(--muted); margin-top: auto; font-weight: 600; }
.tag { display: inline-block; align-self: flex-start; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--navy); background: var(--sky-100); padding: .35em .8em; border-radius: 999px; }
.tag.light { background: rgba(255,255,255,.14); color: #d6e5f6; }
.tag-sm { font-size: .66rem; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.news-item:hover { border-color: var(--sky); transform: translateX(4px); }
.news-item h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin: 6px 0 4px; line-height: 1.35; }
.news-thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--sky-100); color: var(--navy); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.members-teaser { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-sm); background: linear-gradient(120deg, var(--navy), #3b5aa4); color: #fff; text-decoration: none; font-size: .88rem; }
.members-teaser span { color: #c8daf0; flex: 1; }
.members-teaser strong { display: block; color: #fff; font-size: 1rem; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* Agenda + rádio */
.agenda-radio { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: start; }
.event-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.event { display: flex; gap: 20px; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .2s; }
.event:hover { background: rgba(255,255,255,.09); }
.event-date { flex: none; width: 70px; height: 76px; border-radius: 14px; background: #fff; color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event-date strong { font-family: var(--serif); font-size: 2rem; }
.event-date span { font-size: .72rem; letter-spacing: .14em; font-weight: 800; color: var(--sky); margin-top: 4px; }
.event-info h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin: 0 0 6px; }
.event-info p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.72); }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 6px !important; color: #a9c8ea !important; font-size: .85rem !important; font-weight: 600; }
.event-meta span { display: inline-flex; gap: .35em; align-items: center; }
.radio-card { position: sticky; top: 100px; padding: 34px; border-radius: 24px; background: linear-gradient(145deg, rgba(107,157,206,.25), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); overflow: hidden; }
.radio-card h2 { font-size: 2rem; }
.radio-waves { position: absolute; right: 24px; top: 26px; display: flex; gap: 4px; align-items: flex-end; height: 34px; opacity: .6; }
.radio-waves i { width: 4px; background: var(--sky); border-radius: 3px; height: 30%; animation: wave 1.2s ease-in-out infinite; }
.radio-waves i:nth-child(2) { animation-delay: -.2s } .radio-waves i:nth-child(3) { animation-delay: -.5s } .radio-waves i:nth-child(4) { animation-delay: -.8s } .radio-waves i:nth-child(5) { animation-delay: -.3s } .radio-waves i:nth-child(6) { animation-delay: -.65s } .radio-waves i:nth-child(7) { animation-delay: -.1s }
@keyframes wave { 50% { height: 100%; } }
.radio-card:not(.playing) .radio-waves i { animation-play-state: paused; }
.radio-player { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 14px; background: rgba(0,0,0,.18); border-radius: 999px; }
.radio-player > div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.radio-status { color: #fff; font-size: .95rem; }
.live { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: #a9c8ea; display: inline-flex; gap: .5em; align-items: center; }
.radio-play { width: 58px; height: 58px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .2s; }
.radio-play:hover { transform: scale(1.06); }
.radio-play .i-pause, .playing .radio-play .i-play { display: none; }
.playing .radio-play .i-pause { display: block; }
.radio-vol { width: 90px; accent-color: var(--sky); }
.radio-soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-weight: 700; font-size: .92rem; }
.radio-soon .pulse { background: #fbbf24; animation: none; }

/* Diretoria */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.team-card { text-align: center; padding: 34px 22px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s; }
.team-card:hover { transform: translateY(-6px); }
.team-photo { width: 124px; height: 124px; margin: 0 auto 18px; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, var(--sky), var(--navy), var(--sky)); }
.team-photo img, .team-photo span { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; object-fit: cover; }
.team-photo span { display: grid; place-items: center; background: var(--sky-100); color: var(--navy); font-family: var(--serif); font-size: 2.2rem; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-role { color: var(--sky); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; margin: 0; }
.team-bio { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }

/* Contribua */
.give { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.give-verse { margin: 26px 0 0; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-family: var(--serif); font-style: italic; color: var(--navy); font-size: 1.08rem; position: relative; }
.give-verse::before { content: "“"; position: absolute; top: -26px; left: 18px; font-size: 4.5rem; color: var(--sky); line-height: 1; }
.give-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.give-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.give-card header { display: flex; align-items: center; gap: 12px; }
.give-card h3 { margin: 0; font-family: var(--sans); font-weight: 800; font-size: 1.1rem; }
.give-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--navy); }
.give-card.pix { border-color: var(--sky-200); background: linear-gradient(180deg, #fff, var(--sky-50)); }
.pix-qr:empty { display: none; }
.pix-qr { align-self: center; padding: 12px; background: #fff; border-radius: 14px; border: 1px solid var(--line); min-height: 60px; }
.pix-qr img, .pix-qr canvas { width: 170px; height: 170px; }
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .92rem; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 700; word-break: break-word; }
.soon-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 10px; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); }
.soon-box p { margin: 0; font-size: .95rem; }
.soon-box .ico { color: var(--sky); }

/* Mapa */
.map-wrap { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--sky-100); }
.map { display: block; width: 100%; height: 480px; border: 0; filter: saturate(.85); }
.map-card { position: absolute; left: 28px; top: 28px; width: 300px; background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.map-card h3 { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.3rem; }
.map-card p { color: var(--muted); font-size: .95rem; }

/* Contato */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { color: var(--sky); margin-top: 3px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

/* Formulários */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.form input:not([type=checkbox]):not([type=radio]):not([type=range]), .form select, .form textarea { width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 500; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(107,157,206,.2); }
.form textarea { resize: vertical; }
.form .hint { font-weight: 500; color: var(--muted); font-size: .82rem; }
.form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
.form .check input { width: 18px; height: 18px; accent-color: var(--navy); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: .95rem; border: 1px solid; }
.alert-ok { background: #eaf7f0; color: var(--ok); border-color: #bfe6d1; }
.alert-erro { background: #fdf0ee; color: var(--err); border-color: #f2c9c3; }
.alert-info { background: var(--sky-50); color: var(--navy); border-color: var(--sky-200); }

/* Páginas internas */
.page-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; background: radial-gradient(900px 400px at 85% 0%, #34529b, transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-900)); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img, none) center/cover; opacity: .2; z-index: -1; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.article-hero time { color: #a9c8ea; font-weight: 600; font-size: .92rem; }
.article-hero h1 { margin: 14px 0 12px; }
.back { display: inline-block; color: #a9c8ea; text-decoration: none; font-weight: 700; font-size: .9rem; margin-bottom: 20px; }
.article-section { padding-top: 50px; }
.article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow-lg); }
.article-lead { font-size: 1.25rem; font-family: var(--serif); color: var(--navy); }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.share a, .share button { padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff; cursor: pointer; font-weight: 700; color: var(--navy); }
.related { margin-top: 20px; }
.related h2 { font-size: 1.5rem; }
.related a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.related time { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { padding: .45em 1.1em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--muted); background: #fff; }
.chip.on, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; background: #fff; }
.pager a.on { background: var(--navy); color: #fff; }

/* Rodapé */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 80px 0 0; font-size: .94rem; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; margin-bottom: 18px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.site-footer p { display: block; }
.site-footer .ico { color: var(--sky); margin-right: 4px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; }
.footer-brand img { width: 88px; padding: 6px; background: #fff; border-radius: 18px; margin-bottom: 16px; }
.footer-name { font-family: var(--serif); color: #fff; font-size: 1.3rem; }
.footer-brand .muted { color: rgba(255,255,255,.6); font-style: italic; font-family: var(--serif); }
.footer-brand .muted span { font-style: normal; font-family: var(--sans); font-size: .8rem; color: var(--sky); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.social a .ico { margin: 0; color: #fff; }
.social a:hover { background: var(--sky); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; margin-top: 60px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.admin-link { color: rgba(255,255,255,.45) !important; display: inline-flex; gap: .4em; align-items: center; }
.admin-link .ico { color: inherit; }
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.8); z-index: 30; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem; opacity: 0; transition: .3s; z-index: 90; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Responsivo */
@media (max-width: 980px) {
  .hero-inner, .about, .agenda-radio, .give, .contact, .news-layout { grid-template-columns: 1fr; }
  .hero-emblem { order: -1; }
  .hero-emblem img { width: min(260px, 70%); }
  .emblem-ring { width: min(300px, 86%); }
  .about { gap: 50px; }
  .about-frame { max-width: 420px; margin: auto; padding: 36px; }
  .radio-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ns-place { margin-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .brand-text strong { font-size: 1.2rem; }
  .give-cards, .grid-2, .grid-3, .pillars { grid-template-columns: 1fr; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .map { height: 360px; }
  .map-card { position: static; width: auto; border-radius: 0; box-shadow: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .next-service { padding: 16px 18px; gap: 8px 18px; }
  .event { padding: 16px; gap: 14px; }
  .card { padding: 22px; }
  .radio-vol { display: none; }
  .about-badge { right: 8px; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* ---------- Galeria ---------- */
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gm-item { position: relative; overflow: hidden; border-radius: 14px; display: block; background: var(--sky-100); }
.gm-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gm-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gm-item span { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(18,31,69,.8)); color: #fff; font-weight: 700; font-size: .88rem; opacity: 0; transition: opacity .3s; }
.gm-item:hover img { transform: scale(1.06); }
.gm-item:hover span { opacity: 1; }
.gallery-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 50px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.gallery-empty .ico { color: var(--sky); }
.gallery-empty p { margin: 0; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.album-card { text-decoration: none; color: inherit; display: block; }
.album-cover { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--sky-100); box-shadow: var(--shadow); }
.album-cover::before, .album-cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.album-cover::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.album-cover.placeholder { display: grid; place-items: center; color: var(--sky); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-count, .album-lock { position: absolute; display: inline-flex; gap: 5px; align-items: center; background: rgba(18,31,69,.75); color: #fff; font-size: .78rem; font-weight: 800; padding: .35em .75em; border-radius: 999px; backdrop-filter: blur(6px); }
.album-count { right: 12px; bottom: 12px; }
.album-lock { left: 12px; top: 12px; }
.album-info { padding: 14px 4px 0; }
.album-info h3 { font-size: 1.2rem; margin: 0 0 2px; }
.album-info time { color: var(--muted); font-size: .85rem; font-weight: 600; }
.page-hero-sub { color: #a9c8ea; margin: 10px 0 0; font-weight: 600; }
.album-desc { max-width: 760px; margin-bottom: 30px; }
.masonry { columns: 4 240px; column-gap: 12px; }
.m-item { display: block; position: relative; margin-bottom: 12px; break-inside: avoid; border-radius: 12px; overflow: hidden; background: var(--sky-100); }
.m-item img { width: 100%; transition: transform .5s, filter .3s; }
.m-item:hover img { transform: scale(1.03); filter: brightness(.92); }
.m-item span { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(18,31,69,.75)); color: #fff; font-size: .82rem; font-weight: 600; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8,14,32,.95); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; touch-action: pan-y; }
.lb.open { opacity: 1; }
.lb img { max-width: 92vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); user-select: none; }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #dbe6f5; font-weight: 600; padding: 0 70px; }
.lb button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; }
.lb button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; color: #a9c8ea; font-weight: 700; font-size: .9rem; }
@media (max-width: 760px) {
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gm-item span { opacity: 1; font-size: .78rem; padding: 20px 10px 8px; }
  .masonry { columns: 2 140px; column-gap: 8px; }
  .m-item { margin-bottom: 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-cap { bottom: 80px; padding: 0 16px; }
}

/* ---------- Área de membros ---------- */
.member-hero .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.member-hero .avatar-lg { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; object-fit: cover; border: 3px solid rgba(255,255,255,.5); flex: none; }
.member-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.member-hero .role { display: inline-flex; gap: 6px; align-items: center; color: #a9c8ea; font-weight: 700; font-size: .9rem; margin-top: 6px; }
.member-hero .mh-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.member-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 2px; margin-bottom: 30px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.member-tabs a { padding: 12px 16px; text-decoration: none; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.member-tabs a.on { color: var(--navy); border-color: var(--sky); }
.member-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel h2 .ico { color: var(--sky); }
.notice { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.notice:last-child { border-bottom: 0; padding-bottom: 0; }
.notice h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin: 6px 0 4px; }
.notice p { margin: 0; color: var(--muted); font-size: .93rem; }
.notice time { font-size: .8rem; color: var(--muted); font-weight: 600; }
.notice:hover h3 { color: var(--navy); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.link-list li:last-child a { border-bottom: 0; }
.bday { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.bday strong { display: block; font-size: .95rem; }
.bday small { color: var(--muted); }
.mural { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.mural-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; text-align: center; box-shadow: var(--shadow); }
.mural-card .ph { width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; background: var(--sky-100); display: grid; place-items: center; color: var(--navy); font-family: var(--serif); font-size: 1.8rem; border: 3px solid var(--sky-200); }
.mural-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.mural-card strong { display: block; font-size: .98rem; line-height: 1.3; }
.mural-card small { color: var(--sky); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.mural-search { max-width: 360px; margin-bottom: 22px; }
.mural-search input { width: 100%; padding: .75em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 16px 60px; background: radial-gradient(900px 500px at 80% 0%, #34529b, transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-900)); }
.auth-card { width: min(480px, 100%); background: #fff; border-radius: 24px; padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-lg); }
.auth-card .ac-logo { width: 76px; margin: -78px auto 10px; background: #fff; border-radius: 50%; padding: 10px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.9rem; text-align: center; margin-bottom: 6px; }
.auth-card > p { text-align: center; color: var(--muted); }
.auth-card .form { margin-top: 20px; }
.auth-card .alt { text-align: center; margin: 20px 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) {
  .member-grid { grid-template-columns: 1fr; }
  .member-hero .mh-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) { .mural { grid-template-columns: 1fr 1fr; gap: 10px; } .mural-card { padding: 16px 8px; } .mural-card .ph { width: 70px; height: 70px; } }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sky-100); color: var(--navy); display: inline-grid; place-items: center; font-weight: 800; font-size: .82rem; flex: none; object-fit: cover; }
.small { font-size: .9rem; }

/* ---------- Estados de carregamento e modo demonstração ---------- */
body.carregando main::before { content: ""; display: block; width: 42px; height: 42px; margin: 40vh auto; border-radius: 50%; border: 3px solid var(--sky-200); border-top-color: var(--navy); animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.demo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #14203d; color: #e6eff9; font-size: 13px; font-weight: 600; line-height: 1.4; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); text-align: center; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.5); }
.demo-bar strong { color: #a9c8ea; }
body.com-demo .wa-float { bottom: 76px; }
body.com-demo .site-footer, body.com-demo.admin .adm-content { padding-bottom: 70px; }
.toast-erro { background: var(--err); }
.boot-erro { max-width: 520px; margin: 20vh auto; padding: 0 20px; text-align: center; }
.demo-hint { background: var(--sky-50); border: 1px dashed var(--sky-200); border-radius: 12px; padding: 12px 14px; font-size: .9rem; color: var(--navy); }
.demo-hint code { background: #fff; padding: 1px 6px; border-radius: 6px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.brand-text small, .brand-text strong { white-space: nowrap; }
@media (min-width: 1121px) and (max-width: 1400px) { .nav > a { padding: .5em .5em; font-size: .88rem; } .nav-cta { margin-left: 6px; } .nav-cta .btn { padding: .55em .9em; } }
.perfil-form { max-width: 720px; }
.perfil-foto { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.avatar-xl { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--sky-100); color: var(--navy); display: inline-grid; place-items: center; font-family: var(--serif); font-size: 1.8rem; flex: none; }
.form details summary { cursor: pointer; font-weight: 700; color: var(--navy); }
[hidden] { display: none !important; }
