/* ── Tokens ── */
:root {
  --green:       oklch(0.55 0.18 148);
  --green-light: oklch(0.72 0.14 148);
  --green-dark:  oklch(0.38 0.14 148);
  --blue:        oklch(0.44 0.12 222);
  --blue-dark:   oklch(0.30 0.10 222);
  --ink:         oklch(0.18 0.01 250);
  --ink-muted:   oklch(0.45 0.01 250);
  --rule:        oklch(0.88 0.005 250);
  --bg:          #ffffff;
  --bg-soft:     oklch(0.97 0.003 250);
  --bg-green:    oklch(0.96 0.025 148);
  --ff-title: 'Playfair Display', Georgia, serif;
  --ff-body:  'Source Sans 3', Helvetica, Arial, sans-serif;
  --nav-h: 72px;
  --max-w: 1120px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
::selection { background: oklch(0.55 0.18 148 / 0.25); }
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: var(--bg); border-bottom: 1px solid var(--rule); display: flex; align-items: center; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.nav__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; cursor: pointer; }
.nav__logo { width: 42px; height: 42px; object-fit: contain; }
.nav__name { font-family: var(--ff-title); font-size: 1.05rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.nav__name span { display: block; font-family: var(--ff-body); font-size: 0.7rem; font-weight: 400; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__links a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em; color: var(--ink-muted); padding: 0.4rem 0.65rem; border-radius: 4px; transition: color 0.2s, background 0.2s; white-space: nowrap; cursor: pointer; }
.nav__links a:hover, .nav__links a.active { color: var(--green-dark); background: var(--bg-green); }
/* CTA "Visite-nos" — contorno verde, preenche no hover */
.nav__links a.nav__cta { margin-left: 0.5rem; padding: 0.4rem 1.15rem; background: transparent; color: var(--green-dark); border: 1.5px solid var(--green); border-radius: 999px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.2s, color 0.2s, transform 0.2s; }
.nav__links a.nav__cta:hover, .nav__links a.nav__cta.active { background: var(--green); color: #fff; transform: translateY(-1px); }
.btn { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--ff-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.55rem 1.1rem; border-radius: 4px; cursor: pointer; border: none; transition: opacity 0.2s, background 0.2s; text-transform: uppercase; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--outline { background: transparent; color: var(--green-dark); border: 1.5px solid var(--green); }
.btn--outline:hover { background: var(--bg-green); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn--hero { font-size: 0.88rem; padding: 0.7rem 1.4rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ── HERO ── */
.hero { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(0.45); }
.hero__content { position: relative; z-index: 1; color: #fff; max-width: 640px; }
.hero__eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-light); margin-bottom: 0.75rem; }
.hero__title { font-family: var(--ff-title); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.15; margin-bottom: 1rem; }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300; color: oklch(0.92 0 0); margin-bottom: 2rem; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── PAGE HEADER ── */
.page-header { position: relative; background: var(--bg-soft); border-bottom: 1px solid var(--rule); padding: 4.5rem 0 4rem; overflow: hidden; }
.page-header__eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.page-header__title { font-family: var(--ff-title); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; color: var(--ink); line-height: 1.2; }
.page-header__sub { margin-top: 0.6rem; font-size: 1.05rem; color: var(--ink-muted); max-width: 560px; }
.page-header > .container { position: relative; z-index: 1; }
/* Photo banner variant — image fills background with dark overlay so the title sits over it */
.page-header--photo { padding: 6rem 0 5rem; min-height: 360px; border-bottom: none; display: flex; align-items: flex-end; }
.page-header--photo .page-header__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center var(--banner-pos, 22%); z-index: 0; }
.page-header--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.05) 100%); z-index: 0; }
.page-header--photo .page-header__eyebrow { color: var(--green-light, #9ad9b8); }
.page-header--photo .page-header__title { color: #fff; }
.page-header--photo .page-header__sub { color: rgba(255,255,255,0.85); }
.page-header__placeholder { background: repeating-linear-gradient(135deg, oklch(0.86 0.035 148) 0 14px, oklch(0.79 0.05 148) 14px 28px); }
.page-header__placeholder::before { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.32 0.07 148); padding: 1rem; text-align: center; }

/* ── SECTIONS ── */
.section { padding: 5rem 0; }
.section--soft { background: var(--bg-soft); }
.section--green { background: var(--bg-green); }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.section-title { font-family: var(--ff-title); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; color: var(--ink); line-height: 1.25; }
.section-lead { margin-top: 0.5rem; font-size: 1rem; color: var(--ink-muted); max-width: 560px; }

/* ── CARDS ── */
.card { background: var(--bg); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.card__body { padding: 1.5rem; }
.card__label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.35rem; }
.card__title { font-family: var(--ff-title); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.card__text { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.6; }
.card__link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--green-dark); letter-spacing: 0.03em; cursor: pointer; }
.card__link::after { content: '→'; }
.card__link:hover { color: var(--green); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* ── SCHEDULE ── */
.schedule { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.schedule td { padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.schedule td:first-child { font-weight: 600; color: var(--green-dark); width: 130px; }

/* ── VERSE BANNER ── */
.verse-banner { background: var(--blue-dark); color: #fff; padding: 3rem 0; text-align: center; }
.verse-banner blockquote { font-family: var(--ff-title); font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-style: italic; line-height: 1.5; max-width: 700px; margin-inline: auto; }
.verse-banner cite { display: block; margin-top: 0.75rem; font-family: var(--ff-body); font-style: normal; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-light); }


/* ── MINISTRY CARD ── */
.ministry { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.ministry:nth-child(even) .ministry__media { order: 2; }
.ministry__media { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 12px 32px -16px rgba(15,30,45,0.35); }
.ministry__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ministry__eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.4rem; }
.ministry__title { font-family: var(--ff-title); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.2; margin-bottom: 1rem; color: var(--ink); }
.ministry__body p { color: var(--ink-muted); line-height: 1.85; font-size: 0.98rem; }
.ministry__body p + p { margin-top: 0.75rem; }
.ministry__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }
.ministry__meta-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-muted); }
.ministry__verse { margin-top: 1.75rem; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid; }
.ministry__verse p { font-family: var(--ff-title); font-style: italic; color: var(--ink); line-height: 1.55; font-size: 1.02rem; }
.ministry__verse cite { display: block; margin-top: 0.5rem; font-family: var(--ff-body); font-style: normal; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 820px) {
  .ministry { grid-template-columns: 1fr; gap: 1.75rem; }
  .ministry:nth-child(even) .ministry__media { order: 0; }
}

/* ── COORDINATOR / LEAD CARD ── */
.coordinator {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.4rem 0.55rem 0.6rem;
  margin-top: 1.5rem;
  background: var(--bg, #fff);
  border: 1px solid var(--rule, rgba(0,0,0,0.08));
  border-radius: 6px;
  max-width: 100%;
}
.coordinator__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft, #e5e2dc);
  flex-shrink: 0;
}
.coordinator__info { display: flex; flex-direction: column; justify-content: center; gap: 0.05rem; line-height: 1.2; min-width: 0; }
.coordinator .coordinator__role {
  font-size: 0.62rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green, #1f8a5b);
  margin: 0;
}
.coordinator .coordinator__name {
  font-family: var(--ff-title, "Playfair Display", serif);
  font-size: 1.12rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink, #1a2733);
  margin: 0;
  white-space: pre-line;
}
.coordinator--blue .coordinator__role { color: var(--blue, #2a6fdb); }
.coordinator--green-dark .coordinator__role { color: var(--green-dark, #176b48); }


/* ── PASTORES SECTION ── */
.pastores-section { padding-bottom: 6rem; }
.pastors-intro { max-width: 720px; margin: 0 auto 4rem; text-align: center; }
.pastors-intro .section-title { margin: 0.6rem auto 1rem; }
.pastors-intro .section-lead { margin-inline: auto; }
.pastors-grid { display: flex; flex-direction: column; gap: 5rem; }
.pastor-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.pastor-card--reverse .pastor-card__media { order: 2; }
.pastor-card__media { position: relative; }
.pastor-card__banner { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 40px -22px rgba(15,30,45,0.45); display: block; }
.pastor-card__avatar { position: absolute; right: -1.25rem; bottom: -1.25rem; width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 5px solid var(--bg, #fff); box-shadow: 0 8px 24px -10px rgba(15,30,45,0.4); }
.pastor-card--reverse .pastor-card__avatar { right: auto; left: -1.25rem; }
.pastor-card__role { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.5rem; }
.pastor-card__name { font-family: var(--ff-title); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.15; color: var(--ink); margin-bottom: 1rem; }
.pastor-card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.pastor-card__chip { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.7rem; border: 1px solid; border-radius: 999px; }
.pastor-card__body p { color: var(--ink-muted); line-height: 1.85; font-size: 0.98rem; }
.pastor-card__body p + p { margin-top: 0.85rem; }
.pastors-verse { margin-top: 5rem; padding: 3rem 2.5rem; background: var(--bg-soft); border-radius: 8px; border-left: 4px solid var(--green); text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.pastors-verse__text { font-family: var(--ff-title); font-size: clamp(1.05rem, 2vw, 1.35rem); font-style: italic; color: var(--ink); line-height: 1.55; }
.pastors-verse__cite { margin-top: 1rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-dark); }
@media (max-width: 820px) {
  .pastor-card, .pastor-card--reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .pastor-card--reverse .pastor-card__media { order: 0; }
  .pastor-card__avatar { width: 100px; height: 100px; right: 1rem; bottom: -1rem; }
  .pastor-card--reverse .pastor-card__avatar { left: 1rem; right: auto; }
}

/* ── DETAILS ACCORDION ── */
details { background: var(--bg); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
details summary { padding: 1.25rem 1.5rem; font-family: var(--ff-title); font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; user-select: none; }
details summary::-webkit-details-marker { display: none; }
/* O :not(.fe-card__head) evita um segundo indicador nos cards da Declaração
   de Fé, que já têm chevron próprio (.fe-card__chevron). */
details summary:not(.fe-card__head)::after { content: '+'; color: var(--green); font-size: 1.2rem; font-family: var(--ff-body); font-weight: 400; }
details[open] summary:not(.fe-card__head)::after { content: '−'; }
details .detail-body { padding: 0 1.5rem 1.25rem; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.85; }

/* ── FOOTER ── */
.footer { background: var(--ink); color: oklch(0.75 0.01 250); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer__logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.footer__name { font-family: var(--ff-title); font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.2; }
.footer__name span { display: block; font-family: var(--ff-body); font-size: 0.68rem; font-weight: 400; color: oklch(0.60 0.01 250); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }
.footer__tagline { margin-top: 1rem; font-size: 0.85rem; line-height: 1.6; color: oklch(0.62 0.01 250); max-width: 240px; }
.footer__social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer__social a { width: 34px; height: 34px; border-radius: 4px; background: oklch(0.28 0.01 250); display: flex; align-items: center; justify-content: center; transition: background 0.2s; cursor: pointer; }
.footer__social a:hover { background: var(--green-dark); }
.footer__social svg { width: 16px; height: 16px; fill: #fff; }
.footer__col h4 { font-family: var(--ff-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__col ul li a { font-size: 0.85rem; color: oklch(0.62 0.01 250); transition: color 0.2s; cursor: pointer; }
.footer__col ul li a:hover { color: var(--green-light); }
.footer__col address { font-style: normal; font-size: 0.85rem; color: oklch(0.62 0.01 250); line-height: 1.7; }
.footer__bottom { border-top: 1px solid oklch(0.28 0.01 250); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.78rem; color: oklch(0.45 0.01 250); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 1.5rem; gap: 0.25rem; z-index: 99; }
  /* No menu mobile o CTA vira um botão de largura cheia, separado dos links */
  .nav__links.open .nav__cta { margin: 0.75rem 0 0; text-align: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}


/* ════════════════════════════════════════════════
   CONTATO (página)
   ════════════════════════════════════════════════ */
  /* ── Contato page ── */
  .contato-hero { padding: 4.5rem 0 3.5rem; }
  .contato-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .contato-hero__map { border-radius: 10px; overflow: hidden; border: 1px solid var(--rule); aspect-ratio: 4/3; box-shadow: 0 18px 40px -28px rgba(0,0,0,0.25); }
  .contato-hero__map iframe { width: 100%; height: 100%; border: 0; display: block; }
  .contato-hero__addr { font-family: var(--ff-title); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.25; color: var(--ink); margin: 0.5rem 0 0.4rem; }
  .contato-hero__sub { color: var(--ink-muted); font-size: 1rem; line-height: 1.7; max-width: 460px; }
  .contato-hero__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }

  /* Info cards row */
  .info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
  .info-card { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.3rem 1.4rem; background: var(--bg-soft); border: 1px solid var(--rule); border-radius: 8px; transition: border-color 0.2s, transform 0.2s; }
  .info-card:hover { border-color: oklch(0.78 0.04 148); transform: translateY(-2px); }
  .info-card__icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--bg-green); color: var(--green-dark); }
  .info-card__label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
  .info-card__value { font-family: var(--ff-title); font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.35; word-break: break-word; }
  .info-card a { color: inherit; }
  .info-card a:hover .info-card__value { color: var(--green-dark); }

  /* Social section */
  .social-section { padding: 5rem 0; background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .social-section__head { text-align: center; max-width: 600px; margin: 0 auto 2.75rem; }
  .social-section__head h2 { font-family: var(--ff-title); font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 600; line-height: 1.2; margin: 0.55rem 0 0.6rem; }
  .social-section__head p { color: var(--ink-muted); font-size: 1rem; line-height: 1.65; }

  .social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .social-card { position: relative; display: flex; flex-direction: column; padding: 1.9rem 2rem 1.8rem; border-radius: 10px; color: var(--ink); background: var(--bg); border: 1px solid var(--rule); overflow: hidden; min-height: 220px; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
  .social-card:hover { transform: translateY(-2px); border-color: oklch(0.78 0.04 148); box-shadow: 0 12px 28px -18px rgba(0,0,0,0.18); }
  .social-card__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; margin-bottom: 1.2rem; color: #fff; }
  .social-card--yt .social-card__icon { background: #FF0000; }
  .social-card--ig .social-card__icon { background: linear-gradient(135deg, #515BD4 0%, #DD2A7B 65%, #FEDA77 100%); }
  .social-card__handle { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.35rem; }
  .social-card__name { font-family: var(--ff-title); font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.5rem; color: var(--ink); }
  .social-card__desc { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.6; max-width: 360px; margin-bottom: 1.4rem; }
  .social-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--green-dark); align-self: flex-start; }
  .social-card:hover .social-card__cta { color: var(--green); }

  /* Week section */
  .week-section { padding: 5rem 0; }
  .week-section__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
  .week-list { display: grid; gap: 0.6rem; }
  .week-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 1.25rem; align-items: center; padding: 1.05rem 1.3rem; background: var(--bg); border: 1px solid var(--rule); border-radius: 8px; transition: border-color 0.2s, background 0.2s; }
  .week-item:hover { border-color: oklch(0.78 0.04 148); background: var(--bg-soft); }
  .week-item--today { background: var(--bg-green); border-color: oklch(0.82 0.06 148); }
  .week-item__date { display: flex; flex-direction: column; align-items: center; padding: 0.4rem 0; background: var(--bg-soft); border-radius: 6px; border: 1px solid var(--rule); }
  .week-item--today .week-item__date { background: var(--green); border-color: var(--green); color: #fff; }
  .week-item__day-num { font-family: var(--ff-title); font-size: 1.3rem; font-weight: 700; line-height: 1; }
  .week-item__weekday { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px; opacity: 0.85; }
  .week-item__body { min-width: 0; }
  .week-item__name { font-family: var(--ff-title); font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
  .week-item__meta { margin-top: 0.25rem; font-size: 0.82rem; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; }
  .week-item__meta-row { display: inline-flex; align-items: center; gap: 0.3rem; }
  .week-item__time { font-family: var(--ff-title); font-size: 1rem; font-weight: 600; color: var(--green-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .week-item--today .week-item__time { color: var(--green-dark); }
  .week-state { color: var(--ink-muted); font-size: 0.92rem; padding: 1.4rem 1.3rem; background: var(--bg-soft); border: 1px dashed var(--rule); border-radius: 8px; text-align: center; }
  .week-state--err { color: oklch(0.48 0.15 25); border-style: solid; background: oklch(0.97 0.02 25); }
  .week-state a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
  .week-skel { background: var(--bg-soft); border-radius: 8px; height: 76px; animation: weekShimmer 1.4s ease-in-out infinite; }
  @keyframes weekShimmer { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }

  @media (max-width: 900px) {
    .contato-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contato-hero__map { aspect-ratio: 16/10; }
    .info-row { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr; }
    .week-section__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .week-item { grid-template-columns: 56px 1fr auto; gap: 0.9rem; padding: 0.95rem 1rem; }
    .week-item__time { font-size: 0.9rem; }
  }


/* ════════════════════════════════════════════════
   EVENTOS (página)
   ════════════════════════════════════════════════ */
    #cal-shell {
      display: grid;
      grid-template-columns: 1.25fr 1fr;
      gap: 3rem;
      align-items: flex-start;
    }
    @media (max-width: 900px) {
      #cal-shell { grid-template-columns: 1fr; }
    }
    .cal-month {
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 8px;
      padding: 1.5rem;
    }
    .cal-month__head {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 1.25rem;
    }
    .cal-month__title {
      font-family: var(--ff-title);
      font-size: 1.35rem; font-weight: 600;
      text-transform: capitalize;
      color: var(--ink);
      line-height: 1;
    }
    .cal-nav {
      width: 36px; height: 36px; border: 1px solid var(--rule);
      background: var(--bg); border-radius: 6px; cursor: pointer;
      font-size: 1.2rem; color: var(--ink-muted);
      display: flex; align-items: center; justify-content: center;
      transition: background 0.15s, color 0.15s;
    }
    .cal-nav:hover { background: var(--bg-soft); color: var(--ink); }
    .cal-month__weekdays {
      display: grid; grid-template-columns: repeat(7,1fr); gap: 4px;
      margin-bottom: 6px;
      font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--ink-muted); text-align: center;
    }
    .cal-month__grid {
      display: grid; grid-template-columns: repeat(7,1fr); gap: 4px;
    }
    .cal-day {
      aspect-ratio: 1/1;
      display: flex; align-items: center; justify-content: center;
      border-radius: 6px; font-size: 0.92rem; color: var(--ink);
      position: relative; background: transparent;
      border: 1px solid transparent;
      cursor: pointer;
      transition: background 0.15s;
    }
    .cal-day:hover { background: var(--bg-soft); }
    .cal-day--muted { color: oklch(0.78 0 0); cursor: default; }
    .cal-day--muted:hover { background: transparent; }
    .cal-day--today {
      background: var(--ink); color: #fff; font-weight: 600;
    }
    .cal-day--has {
      background: var(--bg-green);
      color: var(--green-dark);
      font-weight: 600;
      cursor: pointer;
    }
    .cal-day--has:hover { background: oklch(0.92 0.05 148); }
    .cal-day--has.cal-day--today { background: var(--green); color: #fff; }
    .cal-day--selected { outline: 2px solid var(--green); outline-offset: -2px; }
    .cal-day__dot {
      position: absolute; bottom: 5px;
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--green);
    }
    .cal-day--today .cal-day__dot, .cal-day--has.cal-day--today .cal-day__dot { background: #fff; }
    .cal-month__legend {
      display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
      margin-top: 1.5rem;
      padding-top: 1rem;
      border-top: 1px solid var(--rule);
      font-size: 0.78rem; color: var(--ink-muted);
    }
    .cal-legend-item { display: inline-flex; align-items: center; gap: 0.5rem; }
    .cal-legend-swatch { width: 14px; height: 14px; border-radius: 4px; background: var(--bg-green); border: 1px solid oklch(0.85 0.04 148); }
    .cal-legend-swatch--today { background: var(--ink); border-color: var(--ink); }

    .cal-list__head { margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
    .cal-list__head h2 { font-family: var(--ff-title); font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
    .cal-clear { font-size: 0.78rem; color: var(--green-dark); font-weight: 600; background: none; border: none; cursor: pointer; padding: 0; text-decoration: underline; }
    .cal-clear:hover { color: var(--green); }
    .cal-item {
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 1rem;
      padding: 1.1rem 0;
      border-bottom: 1px solid var(--rule);
      align-items: flex-start;
    }
    .cal-item:last-child { border-bottom: none; }
    .cal-item__date {
      background: var(--bg-soft); border: 1px solid var(--rule);
      border-radius: 6px;
      padding: 0.55rem 0;
      text-align: center;
    }
    .cal-item__date--today { background: var(--green); color: #fff; border-color: var(--green); }
    .cal-item__day {
      font-family: var(--ff-title);
      font-size: 1.5rem; font-weight: 700; line-height: 1;
    }
    .cal-item__month {
      font-size: 0.6rem; font-weight: 600;
      letter-spacing: 0.12em; text-transform: uppercase;
      margin-top: 3px; opacity: 0.8;
    }
    .cal-item__weekday {
      font-size: 0.62rem; font-weight: 600;
      letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 4px;
    }
    .cal-item__name {
      font-family: var(--ff-title);
      font-size: 1.05rem; font-weight: 600;
      line-height: 1.3; margin-bottom: 0.25rem;
      color: var(--ink);
    }
    .cal-item__desc { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.55; margin: 0.25rem 0 0.4rem; }
    .cal-item__meta {
      display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
      font-size: 0.8rem; color: var(--ink-muted);
      align-items: center;
    }
    .cal-item__meta-row { display: inline-flex; align-items: center; gap: 0.3rem; }
    .cal-state { color: var(--ink-muted); font-size: 0.9rem; padding: 1.25rem 0; }
    .cal-state--err { color: oklch(0.48 0.15 25); }
    .cal-skeleton { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
    .cal-skeleton__box { background: var(--bg-soft); border-radius: 6px; height: 60px; }
    .cal-skeleton__line { background: var(--bg-soft); border-radius: 3px; height: 14px; margin-bottom: 8px; }
    .cal-skeleton__line--sm { width: 30%; height: 10px; }


/* ════════════════════════════════════════════════
   MISSOES (página)
   ════════════════════════════════════════════════ */
/* ── WORLD MAP / MISSIONARIES ── */
.map-wrap {
  position: relative;
  width: 100%;
  background: transparent;
  overflow: hidden;
  touch-action: pan-y;
}
.map-wrap.is-zoomed { cursor: grab; touch-action: none; }
.map-wrap.is-zoomed.is-panning { cursor: grabbing; }
.map-wrap__stage {
  position: relative;
  width: 100%;
  transform-origin: 0 0;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  /* No will-change/layer promotion here: keeping the map off a cached
     compositor texture lets the browser re-rasterize it at the zoomed
     scale, so it stays as crisp as the source allows instead of being a
     stretched low-res bitmap. */
  image-rendering: auto;
}
.map-wrap__stage.is-dragging { transition: none; }
.map-wrap__img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.map-wrap__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-wrap__legend {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.92);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.map-wrap__legend-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px oklch(0.55 0.18 148 / 0.25);
}

/* Zoom controls */
.map-wrap__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 5;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
}
.map-wrap__zoom button {
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border-radius: 5px;
  padding: 0;
  transition: background 0.12s ease, color 0.12s ease;
}
.map-wrap__zoom button:hover { background: var(--bg-soft); }
.map-wrap__zoom button:disabled { color: oklch(0.7 0.005 250); cursor: not-allowed; background: transparent; }
.map-wrap__zoom button svg { width: 16px; height: 16px; display: block; }
.map-wrap__zoom button + button { border-top: 1px solid var(--rule); border-radius: 0; }
.map-wrap__zoom button:first-child { border-top-left-radius: 5px; border-top-right-radius: 5px; border-top: none; }
.map-wrap__zoom button:last-child { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
.map-wrap__zoom-level {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.62rem;
  color: var(--ink-muted);
  text-align: center;
  padding: 2px 0 0;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Pin marker — teardrop map pin shape, white border */
.pin {
  position: absolute;
  width: 30px; height: 36px;
  margin-left: -15px; margin-top: -36px;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
  /* Pins grow with zoom but sub-linearly (≈√zoom via --pin-scale, set in JS),
     so they clearly respond to zoom without ballooning — clustered pins still
     separate, the tip stays anchored to the location, and the photo stays sharp. */
  transform: scale(var(--pin-scale, 1));
  transform-origin: 50% 100%;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s linear 0.2s;
  backface-visibility: hidden;
}
.pin:hover, .pin:focus-visible { z-index: 50; transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s; }
.pin:hover .pin__head, .pin:focus-visible .pin__head { transform: scale(1.1); }

.pin__head {
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  box-sizing: border-box;
  transition: transform 0.18s ease;
  transform-origin: 50% 100%;
}
.pin__head img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  display: block;
}
/* The pointed V bottom of the pin */
.pin__head::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  margin-left: -8px;
  margin-top: -7px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 13px solid #fff;
  z-index: -1;
}
.pin__stem { display: none; }

.pin__tip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  /* Counter-scale so the balloon keeps a constant, readable on-screen size at
     any zoom (the pin grows √zoom, so cancel it with --pin-scale again). */
  transform: translateX(-50%) scale(var(--pin-scale, 1));
  transform-origin: 50% 100%;
  width: 240px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.85rem 0.95rem 0.8rem;
  box-shadow: 0 10px 32px rgba(15,30,60,0.22);
  text-align: left;
  z-index: 60;
}
.pin:hover .pin__tip, .pin:focus-visible .pin__tip { display: block; }
.pin__tip::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #fff;
}
.pin__tip-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--rule);
}
.pin__tip-flag {
  width: 36px; height: 26px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.pin__tip-name {
  font-family: var(--ff-title);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.pin__tip-loc {
  margin-top: 0.15rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.pin__tip-role {
  font-size: 0.83rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Missionaries list under map */
.missionaries-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.missionaries-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg);
}
.missionaries-list .ml__photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--green);
}
.missionaries-list .ml__body { flex: 1; min-width: 0; }
.missionaries-list .ml__flag {
  width: 28px; height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.missionaries-list .ml__name {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.25;
}
.missionaries-list .ml__loc {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}
@media (max-width: 800px) {
  .missionaries-list { grid-template-columns: repeat(2, 1fr); }
  .pin { width: 24px; height: 29px; margin-left: -12px; margin-top: -29px; }
  .pin__head { width: 24px; height: 24px; padding: 1.5px; }
  .pin__head::after { margin-left: -6px; margin-top: -6px; border-left-width: 6px; border-right-width: 6px; border-top-width: 11px; }
  .pin__tip { width: 200px; }
}
@media (max-width: 520px) {
  .missionaries-list { grid-template-columns: 1fr; }
}

/* Tweak mode */
.map-wrap.is-tweaking { outline: 2px dashed var(--green); outline-offset: 4px; }
.map-wrap.is-tweaking .pin { cursor: grab; }
.map-wrap.is-tweaking .pin:active { cursor: grabbing; }
.map-wrap.is-tweaking .pin .pin__head { border-color: var(--blue); box-shadow: 0 0 0 3px oklch(0.44 0.12 222 / 0.35), 0 3px 8px rgba(0,0,0,0.28); }
.map-wrap.is-tweaking .pin .pin__tip { display: none !important; }

.tweaks-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  padding: 1rem 1.1rem 1.1rem;
  z-index: 1000;
  font-family: var(--ff-body);
  display: none;
}
.tweaks-panel.is-open { display: block; }
.tweaks-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.5rem;
}
.tweaks-panel__title {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.tweaks-panel__close {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; line-height: 1; padding: 4px 8px;
  color: var(--ink-muted); border-radius: 4px;
}
.tweaks-panel__close:hover { background: var(--bg-soft); color: var(--ink); }
.tweaks-panel__hint {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.tweaks-panel__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}
.tweaks-panel__row {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem;
  padding: 0.35rem 0.45rem;
  border-radius: 4px;
}
.tweaks-panel__row:hover { background: var(--bg-soft); }
.tweaks-panel__row img {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid var(--green); flex-shrink: 0;
}
.tweaks-panel__row span { flex: 1; color: var(--ink); }
.tweaks-panel__row code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.72rem;
  color: var(--ink-muted);
  background: var(--bg-soft);
  padding: 2px 5px;
  border-radius: 3px;
}


/* ════════════════════════════════════════════════
   QUEM-SOMOS (página)
   ════════════════════════════════════════════════ */
      .history-intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
      .history-intro .section-label { color: var(--green); }
      .history-intro .section-title { margin-top: 0.5rem; }
      .history-intro__lead { margin-top: 1rem; color: var(--ink-muted); line-height: 1.85; font-size: 1.02rem; }

      .history-board {
        background: transparent;
      }

      .history-track {
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 1.5rem;
        scrollbar-width: thin;
      }
      .history-track::-webkit-scrollbar { height: 8px; }
      .history-track::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }
      .history-track__inner {
        position: relative;
        min-width: 1480px;
        height: 620px;
      }
      .history-bar {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        gap: 4px;
        height: 16px;
      }
      .history-bar span {
        flex: 1;
        background: oklch(0.86 0.005 250);
      }
      .history-bar span:nth-child(odd) {
        background: oklch(0.50 0.01 250);
      }

      .history-step {
        position: absolute;
        width: 200px;
        left: calc(var(--pos) * 1%);
        transform: translateX(-50%);
      }
      .history-step--top { bottom: 50%; padding-bottom: 28px; }
      .history-step--bot { top: 50%; padding-top: 28px; }
      .history-step::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 1.5px;
        background: var(--ink);
        opacity: 0.65;
      }
      .history-step--top::before { bottom: 0; height: 28px; }
      .history-step--bot::before { top: 0; height: 28px; }

      .history-step__year {
        font-family: var(--ff-title);
        font-size: 1.55rem;
        font-weight: 600;
        line-height: 1;
        color: var(--ink);
        letter-spacing: -0.01em;
      }
      .history-step__title {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: var(--green);
        margin-top: 0.5rem;
      }
      .history-step--blue .history-step__title { color: var(--blue); }
      .history-step__desc {
        font-size: 0.82rem;
        line-height: 1.6;
        color: var(--ink-muted);
        margin-top: 0.5rem;
      }
      .history-step__img {
        display: block;
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        margin-top: 0.85rem;
        border-radius: 3px;
        box-shadow: 0 12px 22px -10px rgba(15,30,45,0.45), 0 2px 4px -2px rgba(15,30,45,0.2);
      }

      /* Top milestones: visually flow downward toward bar.
         Image is closest to bar — re-order via flex */
      .history-step--top {
        display: flex;
        flex-direction: column-reverse;
      }
      .history-step--top .history-step__img { margin-top: 0; margin-bottom: 0.85rem; }
      .history-step--top .history-step__desc { margin-top: 0; }
      .history-step--top .history-step__title { margin-top: 0.5rem; }

      @media (max-width: 900px) {
        .history-track {
          overflow: visible;
          padding: 0;
        }
        .history-track__inner {
          min-width: 0;
          height: auto;
          padding: 0.5rem 0;
        }

        /* Central vertical bar */
        .history-bar {
          top: 0;
          bottom: 0;
          left: 50%;
          right: auto;
          transform: translateX(-50%);
          width: 12px;
          height: auto;
          flex-direction: column;
          gap: 4px;
        }
        .history-bar span { flex: 1; }

        /* Each step takes one side of the bar */
        .history-step,
        .history-step--top,
        .history-step--bot {
          position: relative;
          left: auto;
          right: auto;
          top: auto;
          bottom: auto;
          transform: none;
          width: 50%;
          max-width: 50%;
          padding: 0 0 2rem 0;
          display: block;
          box-sizing: border-box;
        }
        /* Odd steps to the LEFT, even to the RIGHT — alternating */
        .history-step--top {
          margin-right: 50%;
          padding-right: 1.5rem;
          padding-left: 0;
          text-align: right;
        }
        .history-step--bot {
          margin-left: 50%;
          padding-left: 1.5rem;
          padding-right: 0;
          text-align: left;
        }
        .history-step:last-child { padding-bottom: 0; }

        /* Short connector stub from each card to the bar */
        .history-step::before {
          content: '';
          position: absolute;
          top: 1rem;
          width: 1rem;
          height: 1.5px;
          background: var(--ink);
          opacity: 0.65;
          transform: none;
        }
        .history-step--top::before {
          right: 0.5rem;
          left: auto;
          bottom: auto;
        }
        .history-step--bot::before {
          left: 0.5rem;
          right: auto;
          top: 1rem;
        }

        /* Restore natural reading order (year → title → desc → image) on both sides */
        .history-step--top {
          display: flex;
          flex-direction: column;
          align-items: flex-end;
        }
        .history-step--bot {
          display: flex;
          flex-direction: column;
          align-items: flex-start;
        }
        .history-step--top .history-step__img,
        .history-step--bot .history-step__img {
          margin-top: 0.85rem;
          margin-bottom: 0;
        }
        .history-step--top .history-step__desc,
        .history-step--bot .history-step__desc { margin-top: 0.5rem; }
        .history-step--top .history-step__title,
        .history-step--bot .history-step__title { margin-top: 0.5rem; }

        .history-step__year { font-size: 1.25rem; }
        .history-step__title { font-size: 0.62rem; letter-spacing: 0.12em; }
        .history-step__desc { font-size: 0.78rem; line-height: 1.55; }
        .history-step__img { width: 100%; max-width: 100%; }
      }

      .fe-intro { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
      .fe-intro .section-label { color: var(--green); }
      .fe-intro .section-title { margin-top: 0.5rem; }
      .fe-intro__lead { margin-top: 1rem; color: var(--ink-muted); line-height: 1.85; font-size: 1.02rem; }
      .fe-verse {
        max-width: 620px;
        margin: 1.75rem auto 0;
        padding: 1.25rem 1.5rem;
        border-left: 3px solid var(--green);
        background: var(--bg);
        border-radius: 0 6px 6px 0;
        text-align: left;
      }
      .fe-verse p { font-family: var(--ff-title); font-style: italic; font-size: 1.05rem; color: var(--ink); line-height: 1.5; }
      .fe-verse cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }

      .fe-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 1080px;
        margin: 0 auto;
        align-items: start;
      }
      .fe-col {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }
      @media (max-width: 760px) {
        .fe-grid { grid-template-columns: 1fr; }
      }

      .fe-card {
        background: var(--bg);
        border: 1px solid var(--rule);
        border-radius: 8px;
        overflow: hidden;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
      }
      .fe-card[open] {
        border-color: color-mix(in oklab, var(--green) 40%, var(--rule));
        box-shadow: 0 18px 40px -26px rgba(15,30,45,0.35);
      }
      .fe-card__head {
        list-style: none;
        cursor: pointer;
        padding: 1.25rem 1.5rem;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        user-select: none;
      }
      .fe-card__head::-webkit-details-marker { display: none; }
      .fe-card__num {
        flex-shrink: 0;
        font-family: var(--ff-title);
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--green);
        line-height: 1.6;
        min-width: 1.75rem;
        letter-spacing: 0.02em;
      }
      .fe-card__title-wrap { flex: 1; }
      .fe-card__title {
        font-family: var(--ff-title);
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.25;
      }
      .fe-card__teaser {
        margin-top: 0.4rem;
        font-size: 0.88rem;
        color: var(--ink-muted);
        line-height: 1.55;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .fe-card[open] .fe-card__teaser {
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
      }
      .fe-card__chevron {
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: var(--bg-green);
        color: var(--green-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.25s ease, background 0.2s ease;
        margin-top: 2px;
      }
      .fe-card[open] .fe-card__chevron {
        transform: rotate(180deg);
        background: var(--green);
        color: #fff;
      }
      .fe-card__body {
        padding: 0 1.5rem 1.5rem 4.25rem;
      }
      .fe-card__body p {
        font-size: 0.92rem;
        color: var(--ink-muted);
        line-height: 1.8;
      }
      .fe-card__body p + p { margin-top: 0.75rem; }
      .fe-sub {
        margin-top: 1rem;
        padding: 1rem 1.1rem;
        background: var(--bg-soft);
        border-radius: 6px;
      }
      .fe-sub__title {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        color: var(--green);
        margin-bottom: 0.5rem;
      }
      .fe-sub p { font-size: 0.88rem; }

/* ════════════════════════════════════════════════════════════
   SPA — single-page navigation between former pages
   ════════════════════════════════════════════════════════════ */
.page { display: none; }
.page.is-active { display: block; }

/* ════════════════════════════════════════════════════════════
   Extracted inline styles (former style="..." attributes)
   ════════════════════════════════════════════════════════════ */
.is-1 { min-height:600px; }
.is-2 { display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1rem;margin-bottom:2.5rem; }
.is-3 { gap:1.25rem; }
.is-4 { border-top:3px solid var(--blue); }
.is-5 { font-size:1.05rem;margin-top:0.35rem; }
.is-6 { margin-top:0.4rem; }
.is-7 { border-top:3px solid var(--green-dark); }
.is-8 { border-top:3px solid var(--green); }
.is-9 { list-style:none;padding:0;margin:0.35rem 0 0;display:flex;flex-direction:column;gap:0.5rem; }
.is-10 { display:flex;align-items:baseline;justify-content:space-between;gap:0.5rem; }
.is-11 { font-family:var(--ff-title);font-weight:600;font-size:0.98rem;color:var(--ink); }
.is-12 { font-size:0.85rem;color:var(--ink-muted);white-space:nowrap; }
.is-13 { display:flex;align-items:baseline;justify-content:space-between;gap:0.5rem;border-top:1px solid var(--rule);padding-top:0.5rem; }
.is-14 { align-items:center;gap:4rem; }
.is-15 { margin-top:1rem;color:var(--ink-muted);line-height:1.8; }
.is-16 { margin-top:0.75rem;color:var(--ink-muted);line-height:1.8; }
.is-17 { display:flex;gap:0.75rem;flex-wrap:wrap;margin-top:1.75rem; }
.is-18 { position:relative; }
.is-19 { width:100%;border-radius:6px;object-fit:cover;height:380px; }
.is-20 { position:absolute;bottom:-1.5rem;left:-1.5rem;background:var(--green);color:#fff;padding:1.25rem 1.5rem;border-radius:6px;font-family:var(--ff-title);font-size:1.6rem;font-weight:700;line-height:1;box-shadow:0 4px 20px rgba(0,0,0,0.15); }
.is-21 { font-family:var(--ff-body);font-size:0.72rem;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;opacity:0.85; }
.is-22 { margin-bottom:2.5rem;display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1rem; }
.is-23 { height:6px;background:var(--green); }
.is-24 { height:6px;background:var(--blue); }
.is-25 { height:6px;background:var(--green-dark); }
.is-26 { margin-bottom:2.5rem;text-align:center; }
.is-27 { margin-inline:auto; }
.is-28 { gap:2rem; }
.is-29 { text-align:center; }
.is-30 { width:100px;height:100px;border-radius:50%;object-fit:cover;border:2px solid var(--rule);margin:0 auto 1rem;display:block; }
.is-31 { font-family:var(--ff-title);font-size:1.15rem;font-weight:600; }
.is-32 { font-size:0.8rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--green);margin-top:0.25rem;font-weight:600; }
.is-33 { text-align:center;margin-top:2.5rem; }
.is-34 { background:var(--blue-dark);color:#fff;padding:4rem 0; }
.is-35 { align-items:center;gap:3rem; }
.is-36 { font-size:0.72rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--green-light);margin-bottom:0.5rem; }
.is-37 { font-family:var(--ff-title);font-size:clamp(1.4rem,3vw,2rem);font-weight:600;line-height:1.25;margin-bottom:1rem; }
.is-38 { color:oklch(0.80 0.01 250);line-height:1.8;max-width:420px; }
.is-39 { margin-top:1.75rem;display:inline-flex; }
.is-40 { display:grid;grid-template-columns:1fr 1fr;gap:1.5rem; }
.is-41 { text-align:center;padding:1.5rem;background:rgba(255,255,255,0.05);border-radius:6px;border:1px solid rgba(255,255,255,0.1); }
.is-42 { font-family:var(--ff-title);font-size:2.2rem;font-weight:700;color:var(--green-light); }
.is-43 { font-size:0.78rem;text-transform:uppercase;letter-spacing:0.1em;color:oklch(0.65 0.01 250);margin-top:0.25rem; }
.is-44 { text-align:center;padding:1.5rem;background:rgba(255,255,255,0.05);border-radius:6px;border:1px solid rgba(255,255,255,0.1);grid-column:span 2; }
.is-45 { font-family:var(--ff-title);font-size:1.3rem;font-weight:700;color:var(--green-light); }
.is-46 { margin-top:0.75rem;color:var(--ink-muted);max-width:480px;margin-inline:auto;line-height:1.8; }
.is-47 { margin-top:2rem;display:flex;gap:0.75rem;justify-content:center;flex-wrap:wrap; }
.is-48 { --banner-pos: 50%; }
.is-49 { gap:4rem;align-items:center; }
.is-50 { margin-top:1rem;color:var(--ink-muted);line-height:1.85; }
.is-51 { margin-top:0.75rem;color:var(--ink-muted);line-height:1.85; }
.is-52 { width:100%;border-radius:6px;height:380px;object-fit:cover; }
.is-53 { --pos: 7; }
.is-54 { --pos: 21; }
.is-55 { --pos: 35; }
.is-56 { --pos: 49; }
.is-57 { --pos: 63; }
.is-58 { --pos: 78; }
.is-59 { --pos: 93; }
.is-60 { --banner-pos: 31%; }
.is-61 { margin: -30px 0px 0px; }
.is-62 { color:var(--green); }
.is-63 { max-width:680px; }
.is-64 { max-width:640px; }
.is-65 { border-color:var(--green);color:var(--green); }
.is-66 { color:var(--blue); }
.is-67 { border-color:var(--blue);color:var(--blue); }
.is-68 { color:var(--green-dark); }
.is-69 { border-color:var(--green-dark);color:var(--green-dark); }
.is-70 { display:flex;flex-direction:column;gap:5rem; }
.is-71 { border-left-color:var(--green); }
.is-72 { border-left-color:var(--blue); }
.is-73 { border-left-color:var(--green-dark); }
.is-74 { --banner-pos: 35%; }
.is-75 { padding-top:3.5rem; padding-bottom:2rem; }
.is-76 { display:grid; grid-template-columns: 1.4fr 1fr; gap:3rem; align-items:flex-end; }
.is-77 { max-width:520px; }
.is-78 { margin-top:1rem; font-size:1.02rem; color:var(--ink-muted); max-width:560px; line-height:1.8; }
.is-79 { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); margin-top:3rem; }
.is-80 { font-family:var(--ff-title); font-size:1.6rem; font-weight:600; color:var(--green); line-height:1; margin-bottom:0.75rem; }
.is-81 { font-family:var(--ff-title); font-size:1.15rem; font-weight:600; margin-bottom:0.5rem; padding-top:1rem; border-top:2px solid var(--ink); }
.is-82 { font-size:0.92rem; color:var(--ink-muted); line-height:1.7; }
.is-83 { padding-top:2rem; }
.is-84 { display:flex; flex-direction:column; gap:5rem; }
.is-85 { width:100%; height:100%; object-fit:cover; }
.is-86 { display:inline-flex; align-items:center; gap:0.4rem; color:var(--blue-dark); font-weight:600; text-decoration:none; border-bottom:1.5px solid var(--blue-dark); }
.is-87 { margin-top:0.5rem; }
.is-88 { font-size:0.72rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-muted); margin-bottom:0.6rem; }
.is-89 { display:flex; flex-wrap:wrap; gap:0.4rem; }
.is-90 { font-size:0.82rem; padding:0.35rem 0.75rem; background:var(--bg-green); color:var(--green-dark); border-radius:4px; font-weight:500; }
.is-91 { margin-top:1.25rem; }
.is-92 { display:inline-flex; align-items:center; gap:0.4rem; color:var(--green-dark); font-weight:600; text-decoration:none; border-bottom:1.5px solid var(--green-dark); }
.is-93 { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:2rem; }
.is-94 { max-width:560px; }
.is-95 { width:100%;height:100%;object-fit:cover; }
.is-96 { aspect-ratio:auto; background:transparent; box-shadow:none; overflow:visible; }
.is-97 { position:relative; display:flex; flex-direction:column; }
.is-98 { position:relative; width:82%; aspect-ratio:4/3; margin:0; align-self:flex-start; border-radius:8px; overflow:hidden; box-shadow:0 16px 40px -18px rgba(15,30,45,0.45); border:6px solid #fff; background:#fff; z-index:1; }
.is-99 { width:100%;height:100%;object-fit:cover;display:block; }
.is-100 { position:absolute; top:10px; left:10px; padding:4px 10px; font-size:0.68rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:#fff; background:var(--green-dark); border-radius:999px; }
.is-101 { position:relative; width:82%; aspect-ratio:4/3; margin:-22% 0 0 auto; align-self:flex-end; border-radius:8px; overflow:hidden; box-shadow:0 18px 44px -16px rgba(15,30,45,0.5); border:6px solid #fff; background:#fff; z-index:2; }
.is-102 { position:absolute; top:10px; left:10px; padding:4px 10px; font-size:0.68rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:#fff; background:var(--blue); border-radius:999px; }
.is-103 { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1.25rem; }
.is-104 { padding:1rem 1.1rem; border:1px solid var(--rule); border-radius:6px; border-left:3px solid var(--blue); }
.is-105 { font-size:0.7rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--blue); margin:0 0 0.35rem; }
.is-106 { font-size:0.92rem; color:var(--ink-muted); line-height:1.55; margin:0; }
.is-107 { padding:1rem 1.1rem; border:1px solid var(--rule); border-radius:6px; border-left:3px solid var(--green-dark); }
.is-108 { font-size:0.7rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--green-dark); margin:0 0 0.35rem; }
.is-109 { border-left-color:var(--green-dark); margin-top:1.5rem; }
.is-110 { width:100%;height:100%;min-height:340px;object-fit:cover;display:block; }
.is-111 { display:inline-flex;align-items:center;gap:0.4rem;color:var(--green-dark);font-weight:600;text-decoration:none;border-bottom:1.5px solid var(--green-dark); }
.is-112 { --banner-pos: 60%; }
.is-113 { text-align:center; max-width:760px; margin:0 auto 2.75rem; }
.is-114 { font-family:var(--ff-title); font-size:clamp(1.4rem, 2.4vw, 1.85rem); font-weight:500; line-height:1.45; color:var(--ink); margin:0.9rem 0 0; text-wrap:balance; }
.is-115 { display:block; margin-top:0.9rem; font-style:normal; font-size:0.78rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--green-dark, var(--green)); }
.is-116 { text-align:center; max-width:680px; margin:1.75rem auto 0; color:var(--ink-muted); line-height:1.8; }
.is-117 { margin-top:3.5rem; padding-top:2.25rem; border-top:1px solid var(--rule); display:flex; flex-direction:column; align-items:center; gap:0.9rem; text-align:center; }
.is-118 { font-size:0.72rem; font-weight:600; letter-spacing:0.15em; text-transform:uppercase; color:var(--ink-muted); margin:0; }
.is-119 { max-width:240px; width:100%; height:auto; display:block; }
.is-120 { margin-top:2.5rem; display:flex; justify-content:center; }
.is-121 { --banner-pos: 55%; }
.is-122 { display:flex; gap:0.4rem; }
.is-123 { width:auto; padding:0 0.9rem; font-size:0.78rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; }
.is-124 { margin-left:auto; font-size:0.72rem; }
.is-125 { display:none; }
.is-126 { width:60%; }
.is-127 { width:80%; }
.is-128 { width:50%; }
.is-129 { width:70%; }
.is-130 { width:55%; }
.is-131 { width:75%; }
.is-132 { font-family:var(--ff-title); font-size:clamp(1.6rem,2.6vw,2rem); font-weight:600; line-height:1.2; margin:0.55rem 0 0.9rem; }
.is-133 { color:var(--ink-muted); line-height:1.7; max-width:380px; }
.is-134 { margin-top:1.4rem; }
.is-135 { margin-bottom:3rem; }
.is-136 { display:flex; align-items:center; gap:1rem; margin-bottom:1.5rem; }
.is-137 { width:4px; height:36px; background:var(--green); border-radius:2px; flex-shrink:0; }
.is-138 { font-family:var(--ff-title); font-size:1.5rem; font-weight:600; }
.is-139 { gap:1rem; }
.is-140 { border-top:3px solid var(--blue); grid-column: span 3 / auto; }
.is-141 { width:4px; height:36px; background:var(--blue); border-radius:2px; flex-shrink:0; }
.is-142 { width:4px; height:36px; background:var(--green-dark); border-radius:2px; flex-shrink:0; }
.is-143 { margin-bottom:4rem; }
.is-144 { display:flex; align-items:center; gap:1rem; margin-bottom:2rem; }
.is-145 { width:4px; height:40px; background:var(--green); border-radius:2px; flex-shrink:0; }
.is-146 { font-size:0.72rem; font-weight:600; letter-spacing:0.15em; text-transform:uppercase; color:var(--green); }
.is-147 { font-family:var(--ff-title); font-size:1.6rem; font-weight:600; line-height:1.2; }
.is-148 { align-items:center; gap:3rem; }
.is-149 { color:var(--ink-muted); line-height:1.85; }
.is-150 { color:var(--ink-muted); line-height:1.85; margin-top:0.75rem; }
.is-151 { margin-top:1.5rem; display:flex; flex-direction:column; gap:0.5rem; }
.is-152 { display:flex; align-items:center; gap:0.75rem; font-size:0.9rem; color:var(--ink-muted); }
.is-153 { background:var(--bg-green); border-radius:6px; padding:2rem; border:1px solid oklch(0.88 0.04 148); }
.is-154 { font-family:var(--ff-title); font-size:1rem; font-style:italic; color:var(--green-dark); line-height:1.6; }
.is-155 { margin-top:0.75rem; font-size:0.8rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--green); }
.is-156 { width:4px; height:40px; background:var(--blue); border-radius:2px; flex-shrink:0; }
.is-157 { font-size:0.72rem; font-weight:600; letter-spacing:0.15em; text-transform:uppercase; color:var(--blue); }
.is-158 { background:oklch(0.96 0.015 222); border-radius:6px; padding:2rem; border:1px solid oklch(0.88 0.03 222); }
.is-159 { font-family:var(--ff-title); font-size:1rem; font-style:italic; color:var(--blue-dark); line-height:1.6; }
.is-160 { margin-top:0.75rem; font-size:0.8rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--blue); }
.is-161 { width:4px; height:40px; background:var(--green-dark); border-radius:2px; flex-shrink:0; }
.is-162 { font-size:0.72rem; font-weight:600; letter-spacing:0.15em; text-transform:uppercase; color:var(--green-dark); }
.is-163 { background:var(--bg-soft); border-radius:6px; padding:2rem; border:1px solid var(--rule); }
.is-164 { font-family:var(--ff-title); font-size:1rem; font-style:italic; color:var(--ink); line-height:1.6; }
.is-165 { margin-top:0.75rem; font-size:0.8rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--green-dark); }
.is-166 { padding-top:3rem; padding-bottom:3rem; }
.is-167 { color:var(--ink-muted); max-width:560px; margin-inline:auto; margin-top:0.75rem; line-height:1.8; }
.is-168 { margin-top:1.5rem; }

/* "Esta semana" — selo "Hoje" (antes era estilo inline na string do JS) */
.week-item__today-badge { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-dark); background: #fff; padding: 2px 7px; border-radius: 999px; margin-left: 0.4rem; vertical-align: middle; }

/* Placeholders para conteúdo novo (ex.: ministério de adolescentes) */
.media-ph { position: relative; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, oklch(0.86 0.035 148) 0 14px, oklch(0.79 0.05 148) 14px 28px); }
.media-ph::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.32 0.07 148); }
.coordinator__photo--ph { display: flex; align-items: center; justify-content: center; font-family: var(--ff-title); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--ink-muted); border: 1px dashed var(--rule); }
.accent-green-dark { color: var(--green-dark); }
.ministry__verse--green-dark { border-left-color: var(--green-dark); }

/* ════════════════════════════════════════════════
   ANIMAÇÕES (antes em animations.css)
   Mantidas no final do arquivo para preservar a ordem da cascata.
   Todo o movimento fica dentro de @media (prefers-reduced-motion:
   no-preference) para respeitar quem pede menos animação.
   ════════════════════════════════════════════════ */
/* Transições de hover que valem sempre (não são "movimento" intrusivo) */
.card {
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease,
              border-color .35s ease;
}
.ministry__media img,
.pastor-card__media img,
.social-card,
.info-card {
  transition: transform .5s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease,
              border-color .35s ease;
}

@media (prefers-reduced-motion: no-preference) {

  /* ── 1. NAVBAR AUTO-HIDE ─────────────────────────────────────
     Desliza para fora ao rolar para baixo e volta ao rolar para
     cima. Slide limpo (ease, sem overshoot). Ganha sombra/fundo
     quando a página não está no topo. */
  .nav {
    transition: transform .34s ease,
                box-shadow .3s ease,
                background .3s ease;
    will-change: transform;
  }
  .nav--scrolled {
    box-shadow: 0 8px 28px -18px rgba(15,30,45,.55);
    background: rgba(255,255,255,0.94);
    backdrop-filter: saturate(1.2) blur(6px);
  }
  .nav--hidden { transform: translateY(-100%); }

  /* Hambúrguer → X (dirigido por aria-expanded, que o script já alterna) */
  .nav__burger span { transform-origin: center; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Menu mobile desce suavemente ao abrir */
  .nav__links.open { animation: navMenuIn .3s cubic-bezier(.22,.61,.36,1) both; }
  @keyframes navMenuIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
  }

  /* ── 2. TRANSIÇÃO ENTRE PÁGINAS (SPA) ────────────────────────
     O roteador troca .is-active; display:none→block reinicia a
     animação a cada navegação (e no primeiro carregamento). */
  .page.is-active { animation: pageFade .42s cubic-bezier(.22,.61,.36,1) both; }
  @keyframes pageFade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ── 3. KEN BURNS no hero da home ────────────────────────────
     Zoom lento e contínuo, bem discreto, na foto de fundo. */
  .hero__bg {
    animation: kenBurns 24s ease-in-out infinite alternate;
    transform-origin: 50% 40%;
  }
  @keyframes kenBurns {
    from { transform: scale(1.001); }
    to   { transform: scale(1.085); }
  }

  /* ── 4. HOVER (elevação + zoom de foto) ──────────────────────
     Cards de cultos/serviços e fotos dos ministérios/pastores. */
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -24px rgba(15,30,45,.45);
    border-color: oklch(0.80 0.045 148);
  }
  .ministry__media:hover img,
  .pastor-card__media:hover img { transform: scale(1.055); }

  /* ── 5. REVELAR AO ROLAR ─────────────────────────────────────
     O JS adiciona [data-reveal] aos blocos da página ativa e troca
     para .is-revealed via IntersectionObserver. O atraso em cascata
     vem de --reveal-delay (definido por elemento no JS). */
  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1),
                transform .7s cubic-bezier(.22,.61,.36,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

/* ── Botão "voltar ao topo" ── */
.to-top {
  position: fixed;
  right: clamp(1.5rem, 5vw, 3rem);
  bottom: clamp(1.5rem, 5vw, 3rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 46px;
  padding: 0 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
}
.to-top svg { flex-shrink: 0; }
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--green-dark); }
@media (prefers-reduced-motion: reduce) {
  .to-top { transform: none; transition: opacity 0.25s, background 0.2s; }
}
