/* =========================================================
   Igreja Batista Central do Barreiro — Design System
   Base: referência Igreja da Cidade (grotesk forte, cards
   cinza arredondados, pills com ícone circular), adaptada
   para azul-marinho + dourado da marca.
   ========================================================= */

:root {
  /* Marca (extraídas dos SVGs em 00 - Branding) */
  --navy-950: #0b141c;
  --navy-900: #14222f;   /* azul principal da logo */
  --navy-700: #233646;
  --navy-600: #354d60;   /* azul secundário da logo */
  --navy-100: #e6ebef;
  --gold-700: #9a7637;   /* dourado escuro da logo */
  --gold-500: #d9ae5c;   /* dourado claro da logo */
  --gold-100: #f7eedc;
  --gold-grad: linear-gradient(135deg, #e3bd72 0%, #d9ae5c 35%, #9a7637 100%);

  /* Neutros */
  --ink: var(--navy-900);
  --ink-soft: #4d5b67;
  --muted: #7b8792;
  --line: #e4e2dd;
  --surface: #ffffff;
  --surface-2: #f4f3f0;  /* cinza quente dos cards */
  --surface-3: #ebe9e4;

  /* Tipografia */
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Raio, sombra, espaços */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(20, 34, 47, .06), 0 8px 24px rgba(20, 34, 47, .06);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(48px, 8.4vw, 124px); letter-spacing: -0.05em; line-height: .95; }
.h1 { font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.045em; }
.h2 { font-size: clamp(34px, 4.8vw, 64px); }
.h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; line-height: 1.1; }
.h4 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.text-gold { color: var(--gold-700); }
.on-dark .text-gold { color: var(--gold-500); }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
.serif-accent { font-style: italic; font-weight: 400; color: var(--gold-700); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--gray { background: var(--surface-2); }
.section--navy { background: var(--navy-900); color: #fff; }
.stack > * + * { margin-top: var(--stack, 24px); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ---------- Faixa de seção (■ Label · (IBCB) · ©2026) ---------- */
.meta-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 5vw, 64px);
}
.meta-row > :nth-child(2) { text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.meta-row > :last-child { justify-self: end; color: var(--muted); }
.on-dark .meta-row { border-color: rgba(255,255,255,.14); }
.on-dark .meta-row > :last-child { color: rgba(255,255,255,.55); }

.label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.label::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--gold-500); flex: none; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  background: var(--gold-100); color: var(--gold-700);
  font-size: 13px; font-weight: 600;
}
.on-dark .tag { background: rgba(217,174,92,.14); color: var(--gold-500); }

/* Conteúdo a confirmar pela igreja */
.todo {
  display: inline-block;
  padding: 2px 10px;
  border: 1px dashed var(--gold-700);
  border-radius: 6px;
  background: #fffaf0;
  color: var(--gold-700);
  font-size: .82em;
  font-weight: 600;
  letter-spacing: .01em;
}
.on-dark .todo { background: rgba(217,174,92,.08); color: var(--gold-500); border-color: var(--gold-500); }

/* ---------- Botões (pill com ícone circular) ---------- */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--ink);
  --ico-bg: var(--navy-900);
  --ico-fg: var(--gold-500);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 22px 6px 6px;
  min-height: 52px;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: 16px; line-height: 1;
  border: 0; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn__ico {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ico-bg); color: var(--ico-fg);
  transition: transform .4s var(--ease);
  flex: none;
}
.btn__ico svg { width: 16px; height: 16px; }
.btn:hover .btn__ico { transform: rotate(-45deg); }
.btn:hover { background: var(--surface-3); }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); --ico-bg: var(--navy-900); --ico-fg: var(--gold-500); }
.btn--gold:hover { background: #e3bd72; }
.btn--navy { --btn-bg: var(--navy-900); --btn-fg: #fff; --ico-bg: var(--gold-500); --ico-fg: var(--navy-900); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost-light { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; --ico-bg: var(--gold-500); --ico-fg: var(--navy-900); }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); }
.btn--sm { min-height: 44px; font-size: 15px; padding-right: 18px; }
.btn--sm .btn__ico { width: 32px; height: 32px; }
.btn--block { width: 100%; justify-content: center; padding: 18px 24px; border-radius: var(--r-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.site-header__logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 10px 12px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--gold-500); border-radius: 2px; margin-top: 3px; }
.menu-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--surface-2); cursor: pointer;
  place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 80px 0 0; z-index: 49;
  background: var(--surface);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-nav ol { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: m; }
.mobile-nav li { counter-increment: m; border-bottom: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.mobile-nav a::before { content: counter(m, decimal-leading-zero) "/"; font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--gold-700); letter-spacing: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__text { margin-top: 28px; }
.hero__actions { margin-top: 36px; }
.hero__aside { display: grid; gap: 16px; }
.hero-media { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.hero-media .ph { aspect-ratio: 4 / 3; }
.hero-media .ph:first-child { aspect-ratio: auto; }
.hero__swoosh {
  position: absolute; right: -10%; top: -20%;
  width: 60vw; max-width: 820px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(217,174,92,.14), transparent 70%);
  pointer-events: none; z-index: -1;
}

/* Hero de página interna */
.page-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero .breadcrumb { margin-bottom: 32px; }
.page-hero .lead { margin-top: 24px; }
.page-hero__actions { margin-top: 32px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Imagem placeholder (substituir por fotos reais) ---------- */
.ph {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(217,174,92,.35), transparent 55%),
    linear-gradient(160deg, var(--navy-600), var(--navy-900) 70%);
  min-height: 180px;
  color: rgba(255,255,255,.75);
}
.ph::before {
  content: ""; position: absolute; right: -8%; bottom: -14%;
  width: 55%; aspect-ratio: 394 / 454;
  background: url("../img/simbolo-branco.svg") center / contain no-repeat;
  opacity: .1;
}
.ph__label {
  position: absolute; left: 16px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: .02em;
}
.ph__label::before { content: ""; width: 14px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; }
.ph--gold { background: radial-gradient(120% 80% at 15% 0%, rgba(255,255,255,.35), transparent 50%), var(--gold-grad); color: rgba(20,34,47,.7); }
.ph--gold::before { background-image: url("../img/simbolo-azul.svg"); opacity: .12; }
.ph--light { background: var(--surface-3); color: var(--muted); }
.ph--light::before { background-image: url("../img/simbolo-azul.svg"); opacity: .06; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), background .3s;
}
.card--white { background: var(--surface); border: 1px solid var(--line); }
.card--navy { background: var(--navy-900); color: #fff; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.card__num { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -.03em; font-feature-settings: "zero" 1, "tnum" 1; }
.card__dots { display: flex; gap: 5px; padding-top: 8px; }
.card__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-3); }
.card__dots i.on { background: var(--gold-500); }
.card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.card__title::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--gold-500); flex: none; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card--navy p { color: rgba(255,255,255,.72); }
.card__media { margin: 4px 0 24px; }
.card__media .ph { aspect-ratio: 4 / 3; min-height: 0; }
.card__foot { margin-top: auto; padding-top: 24px; }
.page-inicio a.card:hover { transform: translateY(-4px); }

/* Fundamentos */
.pillar { min-height: 320px; }
.pillar__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); margin-bottom: auto; }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { margin: 32px 0 6px; }
.pillar .pillar__kicker { font-weight: 600; color: var(--gold-700); font-size: 14px; margin-bottom: 10px; }

/* Card com foto e overlay (estilo Elevation) */
.photo-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; border-radius: var(--r-md); overflow: hidden; color: #fff;
  padding: clamp(22px, 2.4vw, 32px);
  isolation: isolate;
}
.photo-card .ph { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11,20,28,.85)); z-index: -1; }
.photo-card .eyebrow { font-size: 13px; color: var(--gold-500); font-weight: 600; margin-bottom: 8px; }
.photo-card h3 { margin-bottom: 10px; }
.photo-card p { color: rgba(255,255,255,.78); font-size: 15px; max-width: 46ch; }
.photo-card .btn-row { margin-top: 20px; }
.photo-card--tall { min-height: 560px; }

/* Card de ministério com chip (estilo Igreja da Cidade) */
.ministry .ph { aspect-ratio: 16 / 10; min-height: 0; }
.ministry__body { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 6px 4px; }
.ministry__name { font-weight: 600; }
.ministry__sub { font-size: 14px; color: var(--muted); }
.chip { padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface-3); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* ---------- Visão (statement) ---------- */
.statement { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.statement em { font-style: normal; color: var(--gold-500); }
.section:not(.section--navy) .statement em { color: var(--gold-700); }

/* ---------- Info list (horários, endereço) ---------- */
.info-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list dt, .info-list .k { font-size: 14px; color: var(--muted); font-weight: 500; }
.on-dark .info-list, .on-dark .info-list li { border-color: rgba(255,255,255,.14); }
.on-dark .info-list .k { color: rgba(255,255,255,.55); }

/* ---------- Map ---------- */
.map { border-radius: var(--r-md); overflow: hidden; background: var(--surface-3); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%; padding: 16px 18px;
  background: var(--surface-2); border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 16px; transition: border-color .2s, background .2s;
}
.textarea { min-height: 150px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); padding: 6px 0; }
.check input { width: 20px; height: 20px; accent-color: var(--navy-900); flex: none; margin-top: 1px; }
.form-success { display: none; padding: 28px; border-radius: var(--r-md); background: var(--gold-100); }
.form.is-sent { display: none; }
.form.is-sent + .form-success { display: block; }
.form-corner { position: relative; }
.form-corner::before { content: ""; position: absolute; top: -16px; left: -16px; width: 18px; height: 18px; border-top: 2px solid var(--gold-500); border-left: 2px solid var(--gold-500); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); font-family: var(--font-body); font-weight: 400; font-size: 22px; transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold-500); }
.faq details p { padding: 0 60px 24px 0; color: var(--ink-soft); }

/* ---------- Lista de benefícios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.benefits > div { padding: 32px 24px 8px 0; }
.benefits > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.benefits .n { font-size: 13px; font-weight: 600; color: var(--gold-700); margin-bottom: 40px; display: block; }

/* ---------- Eventos / mensagens ---------- */
.event { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.event__date { font-family: var(--font-display); font-weight: 600; line-height: 1; }
.event__date b { display: block; font-size: 48px; letter-spacing: -.04em; }
.event__date span { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.event__meta { font-size: 14px; color: var(--muted); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 16px; }

.video .ph { aspect-ratio: 16 / 9; min-height: 0; display: grid; place-items: center; }
.video .play { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; position: relative; z-index: 1; transition: transform .3s var(--ease); }
.video:hover .play { transform: scale(1.08); }
.video .play svg { width: 22px; height: 22px; margin-left: 3px; }
.video__meta { padding: 16px 4px 0; }
.video__meta .muted { font-size: 14px; margin-top: 4px; }

.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics a { padding: 12px 20px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 500; transition: background .2s, border-color .2s; }
.topics a:hover { border-color: var(--gold-500); background: var(--gold-100); }

/* ---------- Contribua ---------- */
.give-card { padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg); }
.copy-field { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.08); font-family: ui-monospace, Menlo, monospace; font-size: 15px; margin-top: 12px; }
.copy-field button { border: 0; background: var(--gold-500); color: var(--navy-900); padding: 8px 14px; border-radius: var(--r-pill); font-family: var(--font-body); font-weight: 600; font-size: 13px; cursor: pointer; }
.notice { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-md); border: 1px solid var(--gold-500); background: var(--gold-100); }
.notice svg { width: 24px; height: 24px; flex: none; color: var(--gold-700); }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--navy-900); color: #fff;
  padding: clamp(40px, 7vw, 96px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 420px; aspect-ratio: 394 / 454;
  background: url("../img/simbolo-branco.svg") center / contain no-repeat; opacity: .07; z-index: -1;
}
.cta-band p { color: rgba(255,255,255,.72); }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { padding: 0 var(--gutter) var(--gutter); }
.site-footer__box {
  max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto;
  background: var(--navy-950); color: #fff; border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 64px);
}
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); }
.footer-top .kicker { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.035em; color: rgba(255,255,255,.4); line-height: 1.1; }
.footer-top .title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.footer-top .title span { color: var(--gold-500); }
.footer-top p { color: rgba(255,255,255,.6); font-size: 15px; margin-top: 20px; max-width: 42ch; }
.footer-links { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.footer-links li { counter-increment: f; border-top: 1px solid rgba(255,255,255,.12); }
.footer-links li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-links a { display: flex; align-items: center; gap: 8px; padding: 11px 0; font-size: 15px; color: rgba(255,255,255,.85); transition: color .2s, padding .3s var(--ease); }
.footer-links a::before { content: counter(f, decimal-leading-zero) " /"; font-size: 11px; font-weight: 600; color: var(--gold-500); min-width: 30px; }
.footer-links a::after { content: "→"; margin-left: auto; opacity: .5; transition: opacity .2s, transform .3s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-links a:hover::after { opacity: 1; transform: translateX(-4px); color: var(--gold-500); }
.footer-mid { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255,255,255,.12); }
.footer-mid img { height: 120px; width: auto; }
.footer-contact { font-size: 15px; color: rgba(255,255,255,.7); display: grid; gap: 6px; }
.footer-contact strong { color: #fff; font-weight: 600; }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s, color .2s; }
.socials a:hover { background: var(--gold-500); color: var(--navy-900); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold-500); }

/* WhatsApp flutuante */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-500);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 24px; height: 24px; }

/* ---------- Entrada suave (somente na home) ---------- */
.page-inicio .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .5s ease-out; }
.page-inicio .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .page-inicio .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav, .site-header .btn { display: none; }
  .menu-toggle { display: grid; }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero__grid, .split, .split--even, .footer-top, .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefits > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .benefits > div { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .hero-media { grid-template-columns: 1fr 1fr; }
  .hero-media .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .event { grid-template-columns: 80px 1fr; }
  .event > :last-child { grid-column: 2; justify-self: start; }
  .event__date b { font-size: 36px; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .grid-5, .grid-4, .benefits { grid-template-columns: 1fr; }
  .benefits > div, .benefits > div + div { padding-left: 0; border-left: 0; }
  .form .row { grid-template-columns: 1fr; }
  .meta-row { grid-template-columns: 1fr auto; }
  .meta-row > :nth-child(2) { display: none; }
  .site-header__logo img { height: 38px; }
  .photo-card, .photo-card--tall { min-height: 380px; }
  .faq details p { padding-right: 0; }
  .btn { white-space: normal; }
}

/* Acessibilidade */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; padding: 12px 18px; background: var(--navy-900); color: #fff; border-radius: var(--r-sm); }

/* Rótulo do placeholder no topo quando há texto sobre a foto */
.photo-card .ph__label { top: 16px; bottom: auto; }
.video .ph__label { left: 16px; bottom: 14px; }
.photo-card .ph__label { left: auto; right: 16px; }
@media (max-width: 860px) { .form-corner::before { display: none; } }
.give-card .info-list li, .card .info-list li { grid-template-columns: 1fr; gap: 4px; }

/* Fotos reais dentro dos blocos de imagem */
.ph.has-img { background: var(--navy-900); }
.ph.has-img::before { display: none; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img .play { position: relative; z-index: 1; }

/* ---------- Carrossel horizontal ---------- */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--navy-900); color: var(--gold-500); border-color: var(--navy-900); }
.carousel-btn:disabled { opacity: .35; pointer-events: none; }
.carousel {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none; cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging a { pointer-events: none; }
.carousel__track { display: flex; gap: clamp(14px, 1.6vw, 20px); padding-inline: var(--edge); width: max-content; }
.carousel__item { width: clamp(272px, 30vw, 400px); min-height: clamp(400px, 38vw, 520px); flex: none; scroll-snap-align: start; user-select: none; }
.carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 40px; }
.carousel-progress { flex: 1; max-width: 420px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 20%; background: var(--gold-500); border-radius: 2px; transition: transform .3s var(--ease), width .3s; transform-origin: left; }
@media (max-width: 560px) {
  .carousel-head { flex-direction: column; align-items: flex-start; }
  .carousel-nav { display: none; }
  .carousel-foot { flex-direction: column; align-items: stretch; }
  .carousel-progress { max-width: none; }
  .carousel__item { width: 82vw; }
}

/* ---------- Hero da home: foto de fundo + bloquinhos ---------- */
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero-home { padding: 12px var(--gutter) 0; }
.hero-home__frame {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: calc(var(--container) + 2 * var(--gutter) + 160px); margin-inline: auto;
  min-height: min(calc(100svh - 92px), 880px);
  display: flex; flex-direction: column;
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: var(--r-lg); background: var(--navy-950); color: #fff;
}
.hero-home__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 36%;
}
.hero-home__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,20,28,.55) 0%, rgba(11,20,28,.05) 28%, rgba(11,20,28,.3) 55%, rgba(11,20,28,.94) 100%),
    linear-gradient(90deg, rgba(11,20,28,.5), transparent 65%);
}
.hero-home__top { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.hero-home__top .label { color: rgba(255,255,255,.9); }
.hero-home__loc { color: rgba(255,255,255,.6); }
.hero-home__main { margin-top: auto; padding-top: 120px; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero-home__main .display { font-size: clamp(56px, 10.4vw, 156px); }
.hero-home__side p { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.8); margin-bottom: 28px; max-width: 48ch; }
.hero-home__blocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.hero-block {
  display: flex; flex-direction: column;
  min-height: 176px; padding: 18px 20px 20px;
  border-radius: var(--r-md);
  background: rgba(11,20,28,.55); border: 1px solid rgba(255,255,255,.14);
  transition: background .3s, transform .4s var(--ease), border-color .3s;
}
.hero-block:hover { background: rgba(11,20,28,.72); border-color: rgba(217,174,92,.5); transform: translateY(-3px); }
.hero-block__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.hero-block__num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.55); }
.hero-block__go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); transition: background .3s, color .3s, transform .4s var(--ease); }
.hero-block__go svg { width: 14px; height: 14px; }
.hero-block:hover .hero-block__go { background: var(--gold-500); color: var(--navy-900); transform: rotate(45deg); }
.hero-block__kicker { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; font-weight: 600; color: var(--gold-500); }
.hero-block strong { font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin: 6px 0 6px; }
.hero-block__text { font-size: 14px; color: rgba(255,255,255,.65); }
.hero-block .todo { font-size: 12px; }
.hero-block--gold { background: var(--gold-grad); border-color: transparent; color: var(--navy-900); }
.hero-block--gold:hover { background: var(--gold-grad); border-color: transparent; }
.hero-block--gold .hero-block__num, .hero-block--gold .hero-block__text { color: rgba(20,34,47,.7); }
.hero-block--gold .hero-block__kicker { color: var(--navy-900); }
.hero-block--gold .hero-block__go { background: rgba(20,34,47,.12); }
.hero-block--gold:hover .hero-block__go { background: var(--navy-900); color: var(--gold-500); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(217,174,92,.2); }
@media (max-width: 1000px) {
  .hero-home__main { grid-template-columns: 1fr; padding-top: 160px; }
  .hero-home__blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero-home { padding-inline: 10px; }
  .hero-home__loc { display: none; }
  .hero-home__main { padding-top: 200px; }
  .hero-home__bg { object-position: 30% 30%; }
  /* Bloquinhos rolam para o lado no celular */
  .hero-home__blocks {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * clamp(24px, 3.6vw, 44px)); padding-inline: clamp(24px, 3.6vw, 44px);
    scroll-padding-inline: clamp(24px, 3.6vw, 44px);
  }
  .hero-home__blocks::-webkit-scrollbar { display: none; }
  .hero-block { flex: 0 0 72%; scroll-snap-align: start; min-height: 168px; }
}

/* Faixa de fotos embaixo do banner da home */
.hero-home__media {
  max-width: calc(var(--container) + 2 * var(--gutter) + 160px); margin: 12px auto 0;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px;
}
.hero-home__media .ph { min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.hero-home__media .ph:first-child { aspect-ratio: auto; }
@media (max-width: 860px) {
  .hero-home__media { grid-template-columns: 1fr 1fr; }
  .hero-home__media .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* ---------- Programação semanal (cultos) ---------- */
.sched-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sched { border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; display: flex; flex-direction: column; }
.sched__day {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; background: var(--gold-grad); color: var(--navy-900);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.sched__day i { width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 50%; }
.sched ul { list-style: none; margin: 0; padding: 6px 20px 10px; }
.sched li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; }
.sched li + li { border-top: 1px solid var(--line); }
.sched__time { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--gold-700); }
.sched__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.sched__place { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.sched--featured, .sched--month { background: var(--navy-900); color: #fff; }
.sched--featured li + li, .sched--month li + li { border-color: rgba(255,255,255,.12); }
.sched--featured .sched__time, .sched--month .sched__time { color: var(--gold-500); }
.sched--featured .sched__place, .sched--month .sched__place { color: rgba(255,255,255,.55); }
.sched__title { padding: 18px 20px 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.info-list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-500); }
.footer-contact a:hover { color: var(--gold-500); }
@media (max-width: 1000px) { .sched-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .sched-grid { grid-template-columns: 1fr; }
  .sched li { grid-template-columns: 96px 1fr; }
}
.grid-4 .ministry__body { flex-direction: column; align-items: flex-start; gap: 10px; }

/* Mapa carregado só quando a pessoa clica (o iframe do Google é pesado) */
.map-facade { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer;
  background: var(--navy-900) url("../img/mapa.svg") center / cover no-repeat; color: #fff; font: inherit; }
.map-facade span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-pill); background: var(--gold-500); color: var(--navy-900); font-weight: 600; }
.map-facade:hover span { background: #e3bd72; }
.leaders .video__meta { padding-top: 14px; }

/* ---------- Página Ministérios ---------- */
.ministries-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-bottom: 8px; }
.ministries-nav a { padding: 12px 20px; border-radius: var(--r-pill); border: 1px solid var(--line); font-weight: 500; transition: background .2s, border-color .2s; }
.ministries-nav a:hover { background: var(--gold-100); border-color: var(--gold-500); }
.ministries-group { padding-block: clamp(48px, 7vw, 96px); scroll-margin-top: 80px; }
.ministries-group:nth-of-type(even) { background: var(--surface-2); }
.ministries .ministry { scroll-margin-top: 100px; }
.ministries .ministry__body { padding-bottom: 0; }
.ministries .ministry__body > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.ministries .ministry__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.ministries .ministry__body { display: block; }
.ministry__desc { padding: 8px 6px 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Vídeos do YouTube (capa leve; player carrega ao clicar) ---------- */
.yt { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--navy-900); cursor: pointer; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,20,28,.45)); }
.yt .play { position: relative; z-index: 1; }
.yt:hover .play { transform: scale(1.08); }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); background: #000; display: block; }
.video--featured .yt, .video--featured .yt-frame { border-radius: var(--r-lg); }
.video--featured .play { width: 84px; height: 84px; }
.video--featured .play svg { width: 28px; height: 28px; }
.video-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.video-filters button { padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s; }
.video-filters button:hover { border-color: var(--gold-500); }
.video-filters button.is-on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.video-grid .video[hidden] { display: none; }

/* ---------- Ferramentas do header: busca + redes ---------- */
.header-tools { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.header-social { display: flex; gap: 4px; padding-left: 8px; margin-left: 4px; border-left: 1px solid var(--line); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--surface-2); color: var(--gold-700); }
.mobile-social { display: flex; gap: 8px; }
.mobile-social .icon-btn { background: var(--surface-2); width: 52px; height: 52px; }
@media (max-width: 1100px) {
  .header-tools { margin-left: auto; }
  .header-social { display: none; }
  .menu-toggle { margin-left: 4px; }
}

/* ---------- Busca ---------- */
.search { position: fixed; inset: 0; z-index: 80; background: rgba(11,20,28,.55); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.search[hidden] { display: none; }
.search__panel { width: 100%; max-width: 640px; max-height: 80vh; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(11,20,28,.3); overflow: hidden; }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.search__bar > svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search__input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 20px 0; font-size: 18px; background: transparent; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__close { border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; padding: 4px 8px; font-size: 12px; color: var(--muted); cursor: pointer; }
.search__results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search__results a { display: block; padding: 12px 14px; border-radius: var(--r-sm); }
.search__results a:hover, .search__results a.is-active { background: var(--surface-2); }
.search__results .p { font-size: 12px; font-weight: 600; color: var(--gold-700); text-transform: uppercase; letter-spacing: .06em; }
.search__results .t { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.015em; margin: 2px 0; }
.search__results .x { font-size: 14px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search__results mark { background: var(--gold-100); color: inherit; border-radius: 3px; padding: 0 2px; }
.search__hint { margin: 0; padding: 14px 22px 18px; font-size: 14px; color: var(--muted); }
.search-open-body { overflow: hidden; }

/* ---------- Agenda ---------- */
.agenda-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.agenda-intro .lead { max-width: 46ch; }
.sched-grid--week { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sched-grid--week .sched li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
.sched-grid--week .sched__time, .sched-grid--week .sched__name { font-size: 16px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.badge--especial { background: var(--gold-grad); color: var(--navy-900); }
.badge--inscricao { background: #fff; color: #9a3d2b; border: 1.5px solid #c9583f; }
.badge--inscricao::before { content: "✎"; font-size: 11px; }
.badge--livre { background: var(--navy-100); color: var(--navy-700); }
.badge--exemplo { background: #fff; color: var(--muted); border: 1px dashed var(--muted); }
.badge--xs { padding: 2px 7px; font-size: 10.5px; }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.dot--fixo { background: var(--navy-600); }
.dot--especial { background: var(--gold-500); }

.cal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.cal-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; }
.cal-legend li { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend li span:not(.badge) { color: var(--muted); font-weight: 400; }

.cal { background: #fff; border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 28px); box-shadow: var(--shadow); }
.cal__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cal__title { margin: 0; min-width: 200px; text-align: center; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; text-transform: capitalize; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.cal__nav:hover:not(:disabled) { background: var(--navy-900); color: var(--gold-500); border-color: var(--navy-900); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__filters { margin-left: auto; display: flex; gap: 6px; }
.cal__filters button { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.cal__filters button.is-on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__week span { padding: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cal__grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal__day { min-height: 118px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.cal__day.is-out { background: var(--surface-2); }
.cal__day.is-out > * { visibility: hidden; }
.cal__num { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.cal__num small { display: none; }
.cal__day.is-today .cal__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); }
.cal__day.is-past .cal__item { opacity: .45; }
.cal__item { display: flex; gap: 6px; align-items: baseline; font-size: 12px; line-height: 1.3; padding: 3px 6px; border-radius: 6px; background: var(--navy-100); color: var(--navy-900); }
.cal__item b { font-weight: 600; white-space: nowrap; }
.cal__item--especial { background: var(--gold-grad); color: var(--navy-900); font-weight: 600; flex-wrap: wrap; }
a.cal__item--especial:hover { filter: brightness(1.05); }
.cal__item .badge { margin-top: 2px; }
.cal.only-especial .cal__item--fixo { display: none; }

/* Cards de eventos especiais */
.event-list { display: grid; gap: 16px; }
.event-card { display: grid; grid-template-columns: 320px 1fr; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); scroll-margin-top: 100px; }
.event-card:target { box-shadow: 0 0 0 3px var(--gold-500); }
.event-card__media { position: relative; }
.event-card__media .ph { position: absolute; inset: 0; border-radius: 0; min-height: 0; }
.event-card__date { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 12px; padding: 8px 12px; text-align: center; line-height: 1; box-shadow: var(--shadow); }
.event-card__date b { display: block; font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }
.event-card__date span { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--gold-700); }
.event-card__body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.event-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.event-card__body p { color: var(--ink-soft); font-size: 15px; }
.event-card__meta { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--muted); }

@media (max-width: 1000px) { .sched-grid--week { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .sched-grid--week { grid-template-columns: 1fr 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-card__media { aspect-ratio: 16 / 9; }
  /* Calendário vira lista de dias no celular */
  .cal__week { display: none; }
  .cal__grid { display: block; border: 0; }
  .cal__day { min-height: 0; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0 6px; display: grid; grid-template-columns: 64px 1fr; gap: 0 12px; }
  .cal__day .cal__item { margin-bottom: 6px; }
  .cal__day.is-out, .cal__day.is-empty { display: none; }
  .cal__num { grid-row: span 9; font-size: 22px; font-family: var(--font-display); color: var(--ink); line-height: 1; }
  .cal__num small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
  .cal__day.is-today .cal__num { width: auto; height: auto; display: block; background: none; color: var(--gold-700); }
  .cal__item { font-size: 14px; padding: 6px 10px; }
  .cal__filters { margin-left: 0; width: 100%; }
  .cal__title { flex: 1; min-width: 0; }
}
@media (max-width: 560px) { .sched-grid--week { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cal.only-especial .cal__day.no-especial { display: none; } }

/* ---------- Página de links (bio do Instagram) ---------- */
.bio { max-width: 520px; margin: 0 auto; padding: 12px 12px 96px; }
.bio-link small { font-weight: 400; color: var(--muted); }
.bio-live[hidden] { display: none; }
.bio-hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--navy-950); color: #fff;
  padding: 28px 24px 24px; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
}
.bio-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.bio-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,20,28,.6) 0%, rgba(11,20,28,.15) 35%, rgba(11,20,28,.92) 100%); }
.bio-hero__logo { position: absolute; top: 22px; left: 24px; height: 40px; width: auto; }
.bio-hero__title { font-size: clamp(48px, 15vw, 68px); letter-spacing: -.05em; line-height: .95; margin: 0 0 12px; }
.bio-hero__addr { font-size: 14px; color: rgba(255,255,255,.75); margin: 0; }
.bio-social { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; }
.bio-social .icon-btn { width: 40px; height: 40px; background: rgba(11,20,28,.55); color: #fff; }
.bio-social .icon-btn:hover { background: var(--gold-500); color: var(--navy-900); }
.bio-body { display: grid; gap: 12px; margin-top: 12px; }

.bio-live {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--navy-900); color: #fff; transition: background .2s;
}
.bio-live:hover { background: var(--navy-700); }
.bio-live__dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.35); flex: none; }
.bio-live__text { flex: 1; display: grid; gap: 2px; }
.bio-live__text strong { font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; }
.bio-live__text small { font-size: 13px; color: rgba(255,255,255,.7); }
.bio-live.is-live { background: #b3261e; }
.bio-live.is-live:hover { background: #9c2019; }
.bio-live.is-live .bio-live__dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); animation: live-blink 1.4s ease-in-out infinite; }
@keyframes live-blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .bio-live.is-live .bio-live__dot { animation: none; } }

.bio-links { display: grid; gap: 8px; }
.bio-link {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-md);
  background: var(--surface-2); font-weight: 600; transition: background .2s;
}
.bio-link:hover { background: var(--gold-100); }
.bio-link[aria-disabled="true"] { pointer-events: none; }
.bio-link > span:nth-child(2) { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bio-link__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); flex: none; }
.bio-link__icon svg { width: 20px; height: 20px; }
.bio-link__go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,34,47,.08); flex: none; }
.bio-live .bio-link__go { background: rgba(255,255,255,.14); }
.bio-link__go svg { width: 14px; height: 14px; }
.bio-link .todo { font-size: 11px; }

.bio-card { padding: 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.bio-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.bio-card__head h2 { font-size: 20px; letter-spacing: -.025em; }
.bio-card__head a { font-size: 14px; font-weight: 600; color: var(--gold-700); }
.bio-cultos { list-style: none; margin: 0; padding: 0; }
.bio-cultos li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.bio-cultos li > span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-700); padding-top: 2px; }
.bio-cultos p { margin: 0; color: var(--ink-soft); }
.bio-cultos b { color: var(--ink); }
.bio-note { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--gold-100); font-size: 13px; }
.bio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bio-chip { padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface-2); font-size: 14px; font-weight: 500; }
.bio-chip:hover { background: var(--navy-900); color: #fff; }
.bio-contact { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; }
.bio-contact li { padding: 8px 0; border-top: 1px solid var(--line); }
.bio-contact span { display: block; font-size: 12px; color: var(--muted); }
.bio-contact a { text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.bio-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bio-foot { display: grid; gap: 6px; justify-items: center; padding: 12px 0 4px; font-size: 13px; color: var(--muted); }
.bio-foot a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }

/* Ministérios em cards na página de links (rolam para o lado) */
.bio-card--flush { padding: 20px 0 20px 20px; overflow: hidden; }
.bio-card--flush .bio-card__head { padding-right: 20px; }
.bio-ministries { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 20px; scroll-padding-left: 0; }
.bio-ministries::-webkit-scrollbar { display: none; }
.bio-ministries .photo-card { flex: 0 0 78%; min-height: 320px; scroll-snap-align: start; padding: 20px; }
.bio-ministries .photo-card h3 { font-size: 24px; }
.bio-ministries .photo-card p { font-size: 14px; }
.leader__link { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--gold-700); }
.leader__link:hover { text-decoration: underline; }

/* Página de links: ícones, próximos 7 dias e botão do site */
.bio-icons { display: flex; justify-content: center; gap: 12px; padding: 4px 0; }
.bio-icon { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.bio-icon svg { width: 54px; height: 54px; padding: 15px; border-radius: 50%; background: var(--navy-900); color: var(--gold-500); transition: background .2s, color .2s; }
.bio-icon:hover svg { background: var(--gold-500); color: var(--navy-900); }
.bio-next { list-style: none; margin: 0; padding: 0; }
.bio-next__day { padding: 12px 0; border-top: 1px solid var(--line); }
.bio-next__day h3 { margin: 0 0 6px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); }
.bio-next__day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bio-next__day li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 14px; }
.bio-next__day li b { font-weight: 600; }
.bio-next__day li span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-soft); }
.bio-next__day li.is-especial { padding: 8px 10px; margin: 2px -10px; border-radius: var(--r-sm); background: var(--gold-100); }
.bio-next__day li.is-especial span, .bio-next__day li.is-especial a { color: var(--ink); font-weight: 600; }
.bio-next__empty { padding: 12px 0; font-size: 14px; color: var(--muted); }
.bio-next__empty a { text-decoration: underline; }
.bio-site {
  display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 20px; border-radius: var(--r-lg);
  background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 10px 30px rgba(154,118,55,.3);
  transition: transform .2s, box-shadow .2s;
}
.bio-site:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(154,118,55,.4); }
.bio-site > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.bio-site strong { font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.bio-site small { font-size: 13px; color: rgba(20,34,47,.7); }
.bio-site img { width: 34px; height: auto; flex: none; }
.bio-site__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); flex: none; }
.bio-site__go svg { width: 18px; height: 18px; }
.page-links 
/* ---------- Dízimos e ofertas (Contribua e sanfona da página de links) ---------- */
.give-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.give-pix { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; }
.pix__qr { margin: 0; text-align: center; }
.pix__qr img { width: 100%; max-width: 244px; height: auto; display: block; margin: 0 auto; padding: 12px; background: #fff; border-radius: var(--r-md); }
.pix__qr figcaption { margin-top: 8px; font-size: 12px; color: inherit; opacity: .7; }
.pix__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-500); }
.pix__dados { list-style: none; margin: 16px 0 0; padding: 0; font-size: 15px; }
.pix__dados li { padding: 10px 0; border-top: 1px solid var(--line); }
.pix__dados span { display: block; font-size: 12px; color: var(--muted); }
.copy-field span { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .give-grid { grid-template-columns: 1fr 1fr; } .give-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .give-grid { grid-template-columns: 1fr; } .give-pix { grid-template-columns: 1fr; } }

:root { interpolate-size: allow-keywords; }
.bio-give { border-radius: var(--r-md); background: var(--surface-2); }
.bio-give > summary { list-style: none; cursor: pointer; background: transparent; }
.bio-give > summary::-webkit-details-marker { display: none; }
.bio-give__chev svg { transition: transform .35s ease; }
.bio-give[open] .bio-give__chev svg { transform: rotate(180deg); }
.bio-give::details-content { height: 0; overflow: hidden; opacity: 0; transition: height .4s ease, opacity .4s ease, content-visibility .4s allow-discrete; }
.bio-give[open]::details-content { height: auto; opacity: 1; }
.bio-give__body { padding: 4px 16px 18px; }
.pix--compacto { display: grid; gap: 4px; }
.pix--compacto .pix__qr img { max-width: 200px; }
.pix--compacto .pix__qr figcaption { color: var(--muted); opacity: 1; }
.pix--compacto .pix__label { margin-top: 12px; color: var(--gold-700); }
.pix--compacto .copy-field { background: #fff; border: 1px solid var(--line); }
.pix--compacto .pix__dados { margin-top: 8px; font-size: 14px; }
.bio-give__more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }

/* Ver site completo: dourado mais escuro, logo e texto em branco */
.bio-site { background: linear-gradient(135deg, #b58a42 0%, #9a7637 55%, #7d5e28 100%); color: #fff; }
.bio-site small { color: rgba(255,255,255,.85); }
.bio-site img { filter: brightness(0) invert(1); }
/* Menu com 9 itens: sem quebra de linha; vira menu de celular antes de apertar */
.nav a { white-space: nowrap; padding: 10px 9px; }
@media (max-width: 1240px) {
  .nav, .header-social { display: none; }
  .menu-toggle { display: grid; }
  .header-tools { margin-left: auto; }
}
.give-grid { grid-template-columns: 1.7fr 1fr 1fr; }
.give-pix { grid-template-columns: 170px 1fr; }
.copy-field { flex-wrap: wrap; }
.copy-field span { overflow-wrap: normal; white-space: nowrap; }

/* Formulário de oração (WhatsApp) */
.prayer-form__note { margin: 0; font-size: 13px; color: var(--muted); }
.bio-give .prayer-form { padding-top: 6px; }
.bio-give .prayer-form .input, .bio-give .prayer-form .textarea { background: #fff; border-color: var(--line); }
.bio-give .prayer-form .textarea { min-height: 110px; }
.bio-give .prayer-form .btn { justify-content: center; }
.prayer-form__done p { margin-top: 6px; font-size: 15px; }
.fab--gold { background: var(--gold-grad); color: var(--navy-900); }
.page-links .fab.fab--gold { background: var(--gold-grad); color: var(--navy-900); }

/* Assinatura by Touch */
.by-touch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.5); }
.by-touch img { height: 22px; width: auto; opacity: .65; }
.footer-bottom { align-items: center; }
.bio-foot .by-touch { color: var(--muted); margin-top: 6px; }
.bio-foot .by-touch img { filter: brightness(0); opacity: .45; }

/* Voltar ao topo (aparece ao rolar, acima do WhatsApp) */
.to-top {
  position: fixed; right: 26px; bottom: 88px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-500); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-700); }
