/* =====================================================================
   Igreja Batista Independente de Abelardo Luz
   Design System v2 — base clara, transições suaves, 3 temas de cor
   Troque o tema pelo painel (data-theme="sereno|cedro|ardosia")
   ===================================================================== */

/* ------------------------------------------------------------------ *
   TEMAS (paletas) — todas claras, fugindo do azul+dourado padrão
 * ------------------------------------------------------------------ */
:root, [data-theme="sereno"] {            /* Ardósia & Argila (cinza-ardósia + terracota suave) */
  --ink:#2C3A47; --ink-700:#3B4E5D; --ink-600:#506478; --ink-900:#1E2A34;
  --gold:#B07A57; --gold-soft:#D8A982; --gold-deep:#8C5C3C;     /* "accent" */
  --base:#F7F7F5; --surface-2:#EDEFF1; --paper:#FFFFFF;
  --text:#2B333B; --text-soft:#697480; --text-on-dark:#F2F4F5; --text-on-dark-soft:#BFC8D1;
  --line:#E6E5DF; --line-soft:#EFEEE9;
  --ink-rgb:44,58,71; --accent-rgb:176,122,87;
}
[data-theme="cedro"] {                     /* Cedro & Sândalo (verde profundo + areia) */
  --ink:#2E4034; --ink-700:#3D5444; --ink-600:#4F6A57; --ink-900:#1F2C24;
  --gold:#A6873F; --gold-soft:#CBB070; --gold-deep:#7C6430;
  --base:#F7F8F3; --surface-2:#EBEFE4; --paper:#FFFFFF;
  --text:#2B332C; --text-soft:#65726A; --text-on-dark:#F2F4EE; --text-on-dark-soft:#C2CDBD;
  --line:#E4E6DB; --line-soft:#EDEFE6;
  --ink-rgb:46,64,52; --accent-rgb:166,135,63;
}
[data-theme="ardosia"] {                   /* Cinza-azulado & Aço (sua sugestão) */
  --ink:#31404F; --ink-700:#415466; --ink-600:#54697D; --ink-900:#222E3A;
  --gold:#5E8199; --gold-soft:#8FACC0; --gold-deep:#446076;     /* accent = azul-aço */
  --base:#F6F8FA; --surface-2:#E8EDF2; --paper:#FFFFFF;
  --text:#283039; --text-soft:#637080; --text-on-dark:#EEF3F7; --text-on-dark-soft:#BCC9D5;
  --line:#E2E7EC; --line-soft:#EDF1F4;
  --ink-rgb:49,64,79; --accent-rgb:94,129,153;
}

/* ------------------------------------------------------------------ *
   Tokens fixos
 * ------------------------------------------------------------------ */
:root {
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px; --container-wide: 1340px;
  --radius: 18px; --radius-sm: 12px;
  --media-shape: 6px 78px 6px 78px;    /* forma autoral: cantos opostos arredondados */
  --media-shape-alt: 78px 6px 78px 6px;
  --shadow-sm: 0 2px 14px rgba(var(--ink-rgb), .05);
  --shadow:    0 24px 60px -30px rgba(var(--ink-rgb), .28);
  --shadow-accent: 0 18px 44px -20px rgba(var(--accent-rgb), .5);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------------ *
   Reset / base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--text); background: var(--base);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.07; color: var(--ink); letter-spacing: .2px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
::selection { background: var(--gold); color: #fff; }
.ico { width: 24px; height: 24px; flex: none; }

/* ------------------------------------------------------------------ *
   Layout helpers
 * ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(46px, 6vw, 78px); }

/* Seções com leve tonalidade + transição suave (derrete na base nas bordas) */
.bg-soft, .bg-cream2 {
  background: linear-gradient(180deg, var(--base) 0%, var(--surface-2) 16%, var(--surface-2) 84%, var(--base) 100%);
}
.bg-paper { background: var(--paper); }
.bg-ink   { background: var(--ink); color: var(--text-on-dark); }   /* legado, evite */

.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--text-soft); max-width: 56ch; }

.kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.kicker--center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: .7rem; }
.section-head p { margin-top: 1rem; }

/* ------------------------------------------------------------------ *
   Botões
 * ------------------------------------------------------------------ */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(-1px); }
.btn .ico { width: 19px; height: 19px; }
.btn--gold { --bg: linear-gradient(135deg, var(--gold-soft), var(--gold)); --fg: #fff; }
.btn--gold:hover { box-shadow: var(--shadow-accent); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--gold-deep); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ------------------------------------------------------------------ *
   Header / navegação  (claro, texto escuro)
 * ------------------------------------------------------------------ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 1.1rem; transition: background .35s var(--ease), box-shadow .35s, padding .35s; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--ink); }
.brand__mark { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: linear-gradient(150deg, var(--gold-soft), var(--gold-deep)); color: #fff; box-shadow: var(--shadow-accent); }
.brand__mark .ico { width: 22px; height: 22px; stroke-width: 1.5; }
.brand__name { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.05; }
.brand__name small { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--ink); padding: .55rem .8rem; border-radius: 999px; font-size: .95rem; font-weight: 500; opacity: .85; transition: opacity .2s, background .2s, color .2s; }
.nav a:hover { opacity: 1; background: rgba(var(--ink-rgb), .06); }
.nav a.is-active { opacity: 1; color: var(--gold-deep); }
.nav__cta { margin-left: .5rem; }

.site-header.is-scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(12px); box-shadow: var(--shadow-sm); padding-block: .55rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .2rem; padding: 6rem 1.5rem 2rem; background: var(--paper); box-shadow: -20px 0 60px -30px rgba(var(--ink-rgb), .5); transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; }
  .nav a { padding: .9rem 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .nav__cta { margin: 1rem 0 0; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav-scrim { position: fixed; inset: 0; background: rgba(var(--ink-rgb), .45); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .4s; backdrop-filter: blur(2px); }

/* ------------------------------------------------------------------ *
   Hero — claro, assimétrico, com luz e forma autoral
 * ------------------------------------------------------------------ */
.hero { position: relative; background: linear-gradient(170deg, var(--surface-2) 0%, var(--base) 62%); color: var(--text); padding-top: clamp(8.5rem, 16vh, 12rem); padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -25% -10% auto 30%; height: 120%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .22), transparent 70%); z-index: -1; }
.hero::after { content: ""; position: absolute; left: -120px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(var(--ink-rgb), .08); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero__content { max-width: 38ch; }
.hero h1 { color: var(--ink); margin: 1.1rem 0; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero__sub { color: var(--text-soft); font-size: 1.15rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__verse { margin-top: 2.6rem; padding-left: 1.4rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); }
.hero__verse cite { display: block; font-family: var(--sans); font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-top: .5rem; }

.hero__media { position: relative; }
.hero__imgwrap { aspect-ratio: 4/5; border-radius: var(--media-shape); overflow: hidden; box-shadow: var(--shadow); }
.hero__imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__frame { position: absolute; inset: 20px -20px -20px 20px; border: 1.5px solid var(--gold); border-radius: var(--media-shape); z-index: -1; }
.hero__badge { position: absolute; left: -22px; bottom: 26px; background: var(--paper); color: var(--ink); border-radius: var(--radius-sm); padding: 1rem 1.2rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .85rem; max-width: 260px; border: 1px solid var(--line); }
.hero__badge .ico { color: var(--gold-deep); width: 30px; height: 30px; }
.hero__badge b { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.hero__badge span { font-size: .82rem; color: var(--text-soft); }

.hero__placeholder { width: 100%; aspect-ratio: 4/5; border-radius: var(--media-shape); background: radial-gradient(120% 80% at 30% 10%, rgba(var(--accent-rgb), .4), transparent 55%), linear-gradient(160deg, var(--ink-600), var(--ink-900)); display: grid; place-items: center; box-shadow: var(--shadow); }
.hero__placeholder .ico { width: 90px; height: 90px; color: #fff; opacity: .85; stroke-width: 1; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero__media { max-width: 420px; margin-inline: auto; }
  .hero__content { max-width: none; }
  /* o card de culto sai do "flutuante" e passa a fluir abaixo da imagem */
  .hero__badge { position: static; left: auto; bottom: auto; margin: 1.1rem auto 0; max-width: none; width: 100%; }
  .hero__frame { display: none; }
}

/* ------------------------------------------------------------------ *
   Faixa de cultos
 * ------------------------------------------------------------------ */
.services-strip { background: transparent; }
.services-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.services-strip__grid .service-card:nth-child(2) { transform: translateY(-18px); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.services-strip__grid .service-card:nth-child(2):hover { transform: translateY(-24px); }
.service-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 1rem; }
.service-card__icon i { font-size: 22px; line-height: 1; }
.service-card h3 { font-size: 1.5rem; }
.service-card__when { display: flex; align-items: center; gap: .5rem; color: var(--gold-deep); font-weight: 600; margin: .4rem 0 .6rem; }
.service-card__when .ico { width: 18px; height: 18px; }
.service-card p { font-size: .96rem; color: var(--text-soft); }
.service-card::after { content: ""; position: absolute; right: -34px; top: -34px; width: 96px; height: 96px; border-radius: 50%; background: var(--gold); opacity: .07; }
@media (max-width: 820px) {
  .services-strip__grid { grid-template-columns: 1fr; }
  .services-strip__grid .service-card:nth-child(2) { transform: none; }
  .services-strip__grid .service-card:nth-child(2):hover { transform: translateY(-6px); }
}

/* Grade genérica de cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* ------------------------------------------------------------------ *
   Sobre + linha de destaque
 * ------------------------------------------------------------------ */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.about__stats .stat b { font-family: var(--serif); font-size: 2.4rem; color: var(--gold-deep); display: block; line-height: 1; }
.about__stats .stat span { font-size: .85rem; color: var(--text-soft); }
.values-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.values-list li { display: flex; gap: .9rem; align-items: flex-start; }
.values-list .ico { color: var(--gold-deep); margin-top: 3px; }
.values-list i { color: var(--gold-deep); font-size: 20px; margin-top: 3px; width: 24px; text-align: center; flex: none; }
.values-list b { font-family: var(--serif); font-size: 1.2rem; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__media { max-width: 460px; } }

.img-arch { width: 100%; object-fit: cover; border-radius: var(--media-shape); box-shadow: var(--shadow); }
.adj-frame { overflow: hidden; display: block; }
.adj-frame > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-ph { display: grid; place-items: center; color: #fff; background: radial-gradient(120% 80% at 30% 10%, rgba(var(--accent-rgb), .4), transparent 55%), linear-gradient(160deg, var(--ink-600), var(--ink-900)); }
.media-ph .ico { width: 72px; height: 72px; opacity: .8; stroke-width: 1; }
.media-ph i { font-size: 60px; opacity: .85; line-height: 1; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.feature-row:last-child { border-bottom: 0; }
.feature-row__media .img-arch, .feature-row__media .media-ph { aspect-ratio: 4/3; width: 100%; border-radius: var(--media-shape); }
.feature-row:nth-of-type(even) .feature-row__media { order: 2; }
.feature-row:nth-of-type(even) .feature-row__media .img-arch, .feature-row:nth-of-type(even) .feature-row__media .media-ph { border-radius: var(--media-shape-alt); }
.feature-row__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-of-type(even) .feature-row__media { order: 0; }
}

/* ------------------------------------------------------------------ *
   Ministérios
 * ------------------------------------------------------------------ */
.ministries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ministry-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--text-on-dark); min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease); box-shadow: var(--shadow-sm); }
.ministry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.ministry-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--ink-rgb), .94) 8%, rgba(var(--ink-rgb), .4) 60%, rgba(var(--ink-rgb), .15)); }
.ministry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ministry-card:hover img { transform: scale(1.06); }
.ministry-card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; margin-bottom: auto; }
.ministry-card__icon i { font-size: 23px; line-height: 1; }
.ministry-card__tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.ministry-card h3 { color: #fff; margin: .5rem 0 .4rem; }
.ministry-card p { color: var(--text-on-dark-soft); font-size: .96rem; }
.ministry-card .link-arrow { margin-top: 1rem; color: var(--gold-soft); }
.ministry-card__noimg { background: linear-gradient(160deg, var(--ink-600), var(--ink-900)); }
@media (max-width: 880px) { .ministries__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ministries__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ *
   Eventos / Agenda
 * ------------------------------------------------------------------ */
.events__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.event-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.05); }
.event-card__media .placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--ink-600), var(--ink-900)); }
.event-card__media .placeholder .ico { width: 54px; height: 54px; color: #fff; opacity: .8; }
.date-badge { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--ink); border-radius: 13px; padding: .5rem .7rem; text-align: center; line-height: 1; box-shadow: var(--shadow-sm); min-width: 58px; }
.date-badge b { font-family: var(--serif); font-size: 1.7rem; display: block; }
.date-badge span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.event-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--text-soft); }
.event-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.event-card__meta .ico { width: 15px; height: 15px; color: var(--gold-deep); }
.event-card h3 { font-size: 1.4rem; }
.event-card__actions { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.featured-flag { position: absolute; top: 14px; right: 14px; background: var(--gold); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }

/* ------------------------------------------------------------------ *
   Pastores
 * ------------------------------------------------------------------ */
.pastors__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.pastor-card { text-align: center; }
.pastor-card__photo { aspect-ratio: 1; border-radius: 16px 16px 16px 64px; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.pastor-card__photo--ph { display: grid; place-items: center; background: linear-gradient(160deg, var(--ink-600), var(--ink-900)); }
.pastor-card__photo--ph .ico { width: 64px; height: 64px; color: #fff; opacity: .8; }
.pastor-card h3 { margin-top: 1.1rem; }
.pastor-card__role { color: var(--gold-deep); font-weight: 600; font-size: .9rem; }
.pastor-card p { font-size: .94rem; color: var(--text-soft); margin-top: .6rem; }
.pastor-card__socials { display: flex; gap: .5rem; justify-content: center; margin-top: .9rem; }
.pastor-card__socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); font-size: 16px; transition: transform .2s var(--ease), background .2s, color .2s; }
.pastor-card__socials a:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* ------------------------------------------------------------------ *
   Galeria
 * ------------------------------------------------------------------ */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--ink); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(transparent, rgba(var(--ink-rgb), .85)); color: #fff; font-weight: 600; font-size: .9rem; opacity: 0; transition: opacity .3s; }
.gallery__item:hover .gallery__cap { opacity: 1; }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }

.album-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--ink); box-shadow: var(--shadow-sm); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.album-card:hover img { transform: scale(1.06); }
.album-card .media-ph { width: 100%; height: 100%; }
.album-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; background: linear-gradient(to top, rgba(var(--ink-rgb), .9), transparent 65%); color: #fff; }
.album-card__overlay h3 { color: #fff; font-size: 1.4rem; }
.album-card__overlay span { font-size: .82rem; color: var(--gold-soft); font-weight: 600; }

/* ------------------------------------------------------------------ *
   Oferta (PIX)
 * ------------------------------------------------------------------ */
.offering__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.offering__card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pix-box { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.pix-qr { width: 168px; height: 168px; border-radius: 14px; border: 1px solid var(--line); background: #fff; object-fit: contain; padding: 8px; }
.pix-qr--ph { display: grid; place-items: center; color: var(--text-soft); text-align: center; font-size: .78rem; padding: 1rem; }
.pix-info { flex: 1; min-width: 200px; }
.pix-info small { color: var(--text-soft); letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; font-weight: 700; }
.pix-key { display: flex; align-items: center; gap: .5rem; background: var(--base); border: 1px dashed var(--gold); border-radius: 11px; padding: .6rem .8rem; margin: .4rem 0 1rem; font-weight: 600; word-break: break-all; }
.pix-key code { font-family: var(--sans); }
@media (max-width: 860px) { .offering__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ *
   Posts / avisos
 * ------------------------------------------------------------------ */
.posts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--ink); width: 100%; display: block; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card time { font-size: .8rem; color: var(--gold-deep); font-weight: 600; }

/* ------------------------------------------------------------------ *
   Missão, Visão e Valores
 * ------------------------------------------------------------------ */
.mvv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mvv-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.mvv-panel::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--gold); opacity: .06; }
.mvv-panel__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, var(--gold-soft), var(--gold-deep)); color: #fff; margin-bottom: 1.1rem; box-shadow: var(--shadow-accent); }
.mvv-panel__icon .ico { width: 28px; height: 28px; }
.mvv-panel__icon i { font-size: 26px; line-height: 1; }
.mvv-panel .kicker { display: block; margin-bottom: .5rem; }
.mvv-panel p { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.32; color: var(--ink); font-style: italic; }
@media (max-width: 760px) { .mvv-duo { grid-template-columns: 1fr; } }

.mvv-values-head { display: flex; align-items: center; gap: 1rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.6rem; }
.mvv-values-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); white-space: nowrap; }
.rule-mini { height: 1px; width: 48px; background: var(--gold); flex: none; }
.mvv-values-head::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--gold-deep); margin-bottom: .9rem; }
.value-card__icon .ico { width: 24px; height: 24px; }
.value-card__icon i { font-size: 22px; line-height: 1; }
.value-card h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.value-card p { color: var(--text-soft); font-size: .94rem; margin-top: .35rem; }

/* ------------------------------------------------------------------ *
   CTA final (único bloco escuro — âncora de contraste)
 * ------------------------------------------------------------------ */
.cta-band { background: linear-gradient(135deg, var(--ink-700), var(--ink-900)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -40% 50% auto -10%; height: 150%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .3), transparent 70%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; position: relative; }

/* ------------------------------------------------------------------ *
   Page header (páginas internas) — claro
 * ------------------------------------------------------------------ */
.page-hero { background: linear-gradient(170deg, var(--surface-2), var(--base)); color: var(--text); padding-top: clamp(8.5rem, 16vh, 11rem); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -5% auto 40%; height: 150%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .18), transparent 70%); z-index: 0; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ink); margin: .8rem 0 .6rem; max-width: 20ch; }
.page-hero p { color: var(--text-soft); max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: var(--text-soft); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { opacity: .5; }

/* ------------------------------------------------------------------ *
   Formulários
 * ------------------------------------------------------------------ */
.form { display: grid; gap: 1.1rem; }
.form .field { display: grid; gap: .4rem; }
.form label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form .req { color: var(--gold-deep); }
.input, .textarea, .select { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--text); font: inherit; transition: border .2s, box-shadow .2s; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Flash */
.flash { padding: .9rem 1.2rem; border-radius: 11px; margin-bottom: 1rem; font-weight: 500; border: 1px solid; }
.flash--success { background: #eaf6ee; border-color: #bfe3c9; color: #1e6b3a; }
.flash--error   { background: #fdecec; border-color: #f3c4c4; color: #a11; }
.flash--info    { background: #eef3fb; border-color: #c6d6ef; color: #234a86; }

/* ------------------------------------------------------------------ *
   Footer
 * ------------------------------------------------------------------ */
.site-footer { background: var(--ink-900); color: var(--text-on-dark-soft); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand .brand { color: #fff; margin-bottom: 1rem; }
.footer__brand .brand__name small { color: var(--text-on-dark-soft); }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer a:hover { color: var(--gold-soft); }
.footer ul { display: grid; gap: .6rem; list-style: none; padding: 0; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .ico { width: 18px; height: 18px; color: var(--gold-soft); margin-top: 3px; flex: none; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.socials a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.footer__bottom { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ *
   Utilidades / animação
 * ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s var(--ease); z-index: 90; border: 1px solid var(--gold); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top .ico { transform: rotate(-90deg); }

.empty-state { text-align: center; color: var(--text-soft); padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state .ico { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--gold); opacity: .6; }
.tag-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: rgba(var(--accent-rgb), .14); color: var(--gold-deep); }
.tag-pill .ico { width: 15px; height: 15px; }
.tag-pill i { font-size: 13px; }
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.1rem; }
.prose h2, .prose h3 { margin: 1.8rem 0 .8rem; }

/* Acessibilidade */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 0; top: 0; z-index: 200; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: var(--gold); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.copy-btn.is-copied { background: #1e6b3a !important; color: #fff !important; }

/* Mapa */
.map-embed { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(var(--ink-rgb), .95); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox__fig { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox__fig img { max-width: 92vw; max-height: 80vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox__fig figcaption { color: #fff; margin-top: .9rem; font-size: .95rem; }
.lightbox__close { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; opacity: .85; }
.lightbox__close:hover { opacity: 1; }
.lightbox__nav { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; line-height: 1; flex: none; margin: 0 1vw; transition: background .2s; }
.lightbox__nav:hover { background: var(--gold); }
@media (max-width: 640px) { .lightbox__nav { position: absolute; bottom: 24px; } .lightbox__prev { left: 25%; } .lightbox__next { right: 25%; } }

/* Mostrar/ocultar conforme o tamanho da tela */
.show-on-mobile { display: none; }

/* ------------------------------------------------------------------ *
   Ajuste fino para celular — encurta a página e aperta o ritmo
 * ------------------------------------------------------------------ */
@media (max-width: 680px) {
  .hide-on-mobile { display: none !important; }
  .show-on-mobile { display: block !important; }
  .section { padding-block: 50px; }
  .section--tight { padding-block: 36px; }
  .section-head { margin-bottom: 2rem; }
  .hero { padding-bottom: 2.6rem; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .lead { font-size: 1.08rem; }
  .hero__verse { font-size: 1.15rem; margin-top: 1.6rem; }
  .mvv-values-head { margin: 2rem 0 1.2rem; }
  .services-strip__grid, .ministries__grid, .events__grid, .cards-grid, .posts__grid, .pastors__grid { gap: 1.1rem; }
}
