/* ==========================================================
   IEQ Jardim Nova Europa — tokens
   ========================================================== */
:root {
  --ink: #16183A;
  --ink-2: #22255A;
  --paper: #F1F2F5;
  --white: #FFFFFF;
  --text: #1A1C33;
  --muted: #5C5F7A;

  --carmim: #D7202A;
  --ouro: #F5BE0B;
  --azul: #0A78BE; /* 4,7:1 com branco (WCAG AA); o símbolo oficial usa as próprias cores */
  --purpura: #7A2A8C;

  --display: "Archivo", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  --barra-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.02em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* só para leitores de tela */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* destinos dos atalhos e da navegação recebem foco sem moldura gigante */
main:focus, section:focus, footer:focus { outline: none; }

/* ==========================================================
   Barra de acessibilidade (gov.br / eMAG)
   ========================================================== */
.barra {
  position: absolute; inset: 0 0 auto 0; z-index: 110; height: var(--barra-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); background: var(--ink); color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.12);
  font: 600 13px/1 var(--display); font-stretch: 105%;
}
.barra ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 18px; }
.barra a, .barra button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 2px;
  color: inherit; font: inherit; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.barra a:hover, .barra button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.barra__tecla {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 3px; background: rgba(255,255,255,.14); color: #fff; font-size: 11px;
}
.barra__contraste {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.barra button[aria-pressed="true"] { color: var(--ouro); }
@media (max-width: 760px) {
  /* no celular os atalhos de teclado ficam só para quem navega por Tab */
  .barra__atalhos li { position: absolute; left: -10000px; }
  .barra__atalhos li:focus-within { position: static; }
  .barra__atalhos:focus-within + .barra__opcoes { display: none; }
}

.h2 {
  font-size: clamp(44px, 7vw, 108px);
  font-stretch: 118%;
  letter-spacing: -.035em;
}

/* line masks for headline reveals */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; will-change: transform; }

/* ==========================================================
   Emblem (gerado em JS)
   ========================================================== */
.emblem { width: 100%; height: auto; overflow: visible; }
.emblem .q rect { transform-box: fill-box; }
.emblem .q-ic { fill: #fff; stroke: #fff; stroke-width: 0; stroke-linejoin: miter; }
.emblem .o-ic { stroke-linejoin: miter; }
.veil__emblem .q-ic { fill-opacity: 0; stroke-width: .9; }
.no-anime .veil__emblem .q-ic { fill-opacity: 1; }
.o-ic { stroke: none; } .o-ic--cruz { fill: #E31E24; } .o-ic--pomba { fill: #FFCB05; } .o-ic--calice { fill: #0288CF; } .o-ic--coroa { fill: #7B2A8E; }
.emblem .q--cruz rect { fill: var(--carmim); }
.emblem .q--pomba rect { fill: var(--ouro); }
.emblem .q--calice rect { fill: var(--azul); }
.emblem .q--coroa rect { fill: var(--purpura); }
.emblem--mono .q rect { fill: var(--ink); }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border: 2px solid var(--bd); border-radius: 4px;
  background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--display); font-stretch: 110%; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ouro);
  transform: scale(0, 0); transform-origin: 0 0;
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scale(1, 1); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--ouro); }
.btn--solid { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--dark { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn--ghost { --fg: inherit; }

/* ==========================================================
   Veil — loader & transitions
   ========================================================== */
.veil { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.veil.is-active { pointer-events: all; }
.veil__bg { position: absolute; inset: 0; background: var(--ink); }
.veil__q {
  position: absolute; width: 50%; height: 50%;
  transform-origin: 0 0; visibility: hidden;
  box-shadow: inset 0 0 0 5px var(--ink);
}
.veil__q--tl { left: 0; top: 0; background: var(--carmim); }
.veil__q--tr { left: 50%; top: 0; background: var(--ouro); }
.veil__q--bl { left: 0; top: 50%; background: var(--azul); }
.veil__q--br { left: 50%; top: 50%; background: var(--purpura); }

.veil__center {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 28px;
}
.veil__emblem { width: clamp(140px, 22vmin, 220px); }
.veil__word {
  display: grid; justify-items: center; gap: 6px; color: #fff; text-align: center;
  font-family: var(--display);
}
.veil__word span { font-size: 22px; font-weight: 800; font-stretch: 125%; letter-spacing: -.01em; }
.veil__word small { font-family: var(--serif); font-style: italic; font-size: 16px; opacity: .7; }

.veil__flash {
  position: absolute; inset: 0; margin: auto;
  width: clamp(120px, 18vmin, 180px); height: clamp(120px, 18vmin, 180px);
  visibility: hidden;
  box-shadow: 0 30px 80px -20px rgba(22, 24, 58, .55);
}

/* ==========================================================
   Header
   ========================================================== */
.top {
  /* abaixo da barra de acessibilidade; ao rolar ele sobe para o topo */
  position: fixed; inset: var(--barra-h) 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  color: #fff;
  transition: background-color .4s var(--ease), backdrop-filter .4s, height .4s var(--ease), top .4s var(--ease);
}
.top.is-scrolled { top: 0; background: rgba(22, 24, 58, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); --header-h: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 38px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: scale(1.08); }
.brand__text { display: grid; line-height: 1.05; }
.brand__text b { font: 800 17px/1 var(--display); font-stretch: 125%; letter-spacing: -.01em; }
.brand__text small { font: italic 14px/1.3 var(--serif); opacity: .75; }

.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; text-decoration: none;
  font: 600 15px/1 var(--display); font-stretch: 105%;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--ouro); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.top__ig { min-height: 42px; padding: 0 16px; font-size: 14px; }
.top__membro {
  flex: none; padding: 10px 4px; text-decoration: none; white-space: nowrap;
  font: 600 14px/1 var(--display); font-stretch: 105%; opacity: .78;
  transition: opacity .3s var(--ease);
}
.top__membro:hover, .top__membro:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.menu-btn {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 0; background: transparent; color: #fff; cursor: pointer;
  position: relative; z-index: 2;
}
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .45s var(--ease); }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 27px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template: 1fr 1fr auto / 1fr 1fr; gap: 5px; background: var(--ink);
  padding: calc(var(--menu-top, 0px) + 5px) 5px 5px;
}
.menu__mais {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 14px 13px 18px;
}
.menu__mais a {
  padding: 8px 0; color: #fff; text-decoration: none;
  font: 700 17px/1 var(--display); font-stretch: 108%;
  border-bottom: 2px solid transparent;
}
.menu__mais a:hover, .menu__mais a:focus-visible { border-bottom-color: var(--ouro); }
.menu[hidden] { display: none; }
/* o botão flutuante do VLibras fica por cima de tudo; some enquanto o menu está aberto */
body.menu-aberto #vlibras-access-wrapper { display: none; }
.menu__q {
  display: flex; align-items: flex-end; padding: 20px 18px; text-decoration: none; color: #fff;
  font: 800 clamp(22px, 6vw, 34px)/1 var(--display); font-stretch: 112%; letter-spacing: -.02em;
}
.menu__q--1 { background: var(--carmim); }
.menu__q--2 { background: var(--ouro); color: var(--ink); }
.menu__q--3 { background: var(--azul); }
.menu__q--4 { background: var(--purpura); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: var(--ink); color: #fff;
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--barra-h) + var(--header-h) + 32px) 0 0;
  overflow: hidden;
}
.hero::before {
  /* uma única luz, como de uma porta aberta */
  content: ""; position: absolute; inset: auto -20% -40% 30%; height: 90%;
  background: radial-gradient(closest-side, rgba(245, 190, 11, .14), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr);
  align-items: center; gap: clamp(24px, 4vw, 72px);
}
.hero__title {
  font-size: clamp(42px, min(6vw, 10.5vh), 112px);
  font-stretch: 118%;
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: .9;
}
.hero__title .line:nth-child(3) > span,
.hero__title .line:nth-child(4) > span { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.92); }
.hero__lead { margin-top: clamp(20px, 3.5vh, 32px); max-width: 34ch; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.55; color: rgba(255,255,255,.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.5vh, 32px); }

.hero__art { position: relative; aspect-ratio: 1; perspective: 900px; width: 100%; max-width: min(100%, 62vh); justify-self: center; }
.hero__emblem { width: 100%; }
.hero__emblem .q { transform-box: fill-box; transform-origin: center; }

.next {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max); margin: clamp(24px, 4vh, 48px) auto 0; padding: 18px var(--gutter) 22px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.16);
  font-family: var(--display);
}
.next__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 0 0 rgba(245,190,11,.6); animation: pulse 2.2s infinite; }
.next__when { font-weight: 700; font-size: 17px; font-stretch: 110%; }
.next__in { color: rgba(255,255,255,.7); font-family: var(--serif); font-style: italic; font-size: 17px; }
.next.is-live .next__dot { background: var(--carmim); }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(245,190,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,190,11,0); } }

/* ==========================================================
   Cultos
   ========================================================== */
.cultos { padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.cultos__head { display: grid; grid-template-columns: auto minmax(0, 36ch); justify-content: space-between; align-items: end; gap: 32px; }
.cultos__lead { color: var(--muted); font-size: clamp(18px, 1.4vw, 21px); }

.week {
  list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px;
}
.dia {
  position: relative; aspect-ratio: 3 / 4.2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px; border-radius: 4px;
  background: #E4E6EC; color: #5C5F7A; /* 5:1, WCAG AA */
  font-family: var(--display);
}
.dia__nome { font-size: clamp(15px, 1.3vw, 19px); font-weight: 700; font-stretch: 110%; }
.dia.is-culto { color: #fff; }
.dia.is-culto.q-ouro { color: var(--ink); }
.dia__hora { font-size: clamp(26px, 2.6vw, 46px); font-weight: 850; font-stretch: 120%; letter-spacing: -.04em; line-height: .9; }
.is-multi { justify-content: flex-start; gap: 0; }
.is-multi .dia__nome { margin-bottom: auto; }
.is-multi .dia__hora + .dia__hora { margin-top: 6px; }
.dia.is-today::after {
  content: "hoje"; position: absolute; top: 14px; right: 14px;
  font: italic 500 14px/1 var(--serif);
}
.dia:not(.is-culto).is-today { outline: 2px solid var(--ink); outline-offset: -2px; color: var(--ink); }

.q-carmim { background: var(--carmim); }
.q-ouro { background: var(--ouro); }
.q-azul { background: var(--azul); }
.q-purpura { background: var(--purpura); }

.cultos__note { margin-top: 28px; color: var(--muted); font-size: 16px; }
.cultos__note a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ==========================================================
   Versículo
   ========================================================== */
.verso { background: var(--ink); color: #fff; padding: clamp(120px, 18vw, 240px) 0; }
.verso blockquote { margin: 0; }
.verso__text {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(44px, 7.2vw, 124px); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; text-wrap: balance;
}
.verso__text .w { display: inline-block; }
.verso cite { display: block; margin-top: 36px; font: 700 17px/1 var(--display); font-style: normal; font-stretch: 115%; color: var(--ouro); }

/* ==========================================================
   O que cremos (horizontal)
   ========================================================== */
.cremos { background: var(--paper); }
.cremos__pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.cremos__intro {
  flex: none; width: min(560px, 42vw); padding: 0 var(--gutter);
}
.cremos__intro p { margin-top: 24px; color: var(--muted); font-size: clamp(18px, 1.4vw, 21px); max-width: 30ch; }
.cremos__track { display: flex; gap: 16px; padding-right: var(--gutter); will-change: transform; }
.face {
  flex: none; width: min(68vh, 540px); aspect-ratio: 1; margin-top: 32px;
  display: grid; grid-template-rows: 1fr auto; padding: clamp(24px, 3vw, 40px);
  color: #fff; border-radius: 6px;
}
.face.q-ouro { color: var(--ink); }
.face__icon { width: 42%; aspect-ratio: 1; align-self: start; }
.face__icon svg { width: 100%; height: 100%; }
.face__icon path { fill: currentColor; stroke: currentColor; stroke-width: 0; stroke-linejoin: miter; }
.face h3 { font-size: clamp(30px, 3.3vw, 50px); font-stretch: 115%; letter-spacing: -.03em; max-width: 12ch; }
.face p { margin-top: 14px; max-width: 34ch; font-size: clamp(16px, 1.15vw, 19px); opacity: .9; }
.face cite { display: block; margin-top: 18px; font: 700 14px/1 var(--display); font-style: normal; font-stretch: 110%; opacity: .8; }

/* ==========================================================
   Pastores
   ========================================================== */
.pastores { padding: clamp(96px, 14vw, 180px) 0; background: #fff; }
.pastores__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pastores__copy .h2 { font-size: clamp(38px, 5vw, 76px); }
.pastores__copy p { margin: 28px 0 32px; max-width: 42ch; color: var(--muted); font-size: clamp(18px, 1.3vw, 20px); line-height: 1.65; }

/* ==========================================================
   Visite
   ========================================================== */
.visite { background: var(--purpura); color: #fff; padding: clamp(96px, 14vw, 180px) 0; overflow: hidden; }
.visite__title { font-size: clamp(56px, 11vw, 190px); font-stretch: 125%; letter-spacing: -.05em; line-height: .88; }
.visite__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: clamp(56px, 8vw, 104px); }
.info { padding: 28px; background: rgba(255,255,255,.08); border-radius: 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.info h3 { font-size: 22px; font-stretch: 115%; letter-spacing: -.01em; }
.info p { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.85); flex: 1; }

/* ==========================================================
   Footer
   ========================================================== */
.foot { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0; font-size: 15px; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; justify-content: space-between; }
.foot .brand { color: #fff; }
.foot__copy { color: rgba(255,255,255,.62); }
.foot address { font-style: normal; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { color: #fff; font: 600 15px/1.4 var(--display); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.info__end { font-style: normal; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.85); flex: 1; }
.dia__vis { display: contents; }
.foot__membro { color: #fff; font: 600 15px/1 var(--display); text-underline-offset: 4px; text-decoration-thickness: 1px; opacity: .8; }
.foot__membro:hover, .foot__membro:focus-visible { opacity: 1; }

/* ==========================================================
   Responsive
   ========================================================== */
/* menu completo só cabe com folga; abaixo disso vira o menu de quadrantes */
@media (max-width: 1400px) {
  .top { gap: 20px; }
  .nav a { padding: 10px 9px; font-size: 14.5px; }
  .nav a::after { left: 9px; right: 9px; }
}
@media (max-width: 1180px) {
  .nav, .top__ig, .top__membro { display: none; }
  .menu-btn { display: block; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; width: min(52vw, 240px); max-width: none; justify-self: center; margin: 8px 0 32px; }
  .cultos__head { grid-template-columns: 1fr; }
  .pastores__grid { grid-template-columns: 1fr; }
  .pastores__fotos { max-width: 620px; }
  .visite__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .week { grid-template-columns: 1fr; gap: 6px; }
  .dia { aspect-ratio: auto; flex-direction: row; align-items: center; padding: 14px 16px; min-height: 56px; }
  .dia:not(.is-culto) { min-height: 44px; }
  .dia__hora { font-size: 30px; }
  .is-multi { justify-content: flex-start; gap: 14px; }
  .is-multi .dia__nome { margin-bottom: 0; margin-right: auto; }
  .is-multi .dia__hora + .dia__hora { margin-top: 0; }
  .dia.is-today::after { position: static; margin-left: 10px; order: 1; }
  .dia.is-culto .dia__nome { margin-right: auto; }

  /* O que cremos vira pilha vertical */
  .cremos { padding: 96px 0 72px; }
  .cremos__pin { height: auto; display: block; overflow: visible; }
  .cremos__intro { width: auto; margin-bottom: 40px; }
  .cremos__track { flex-direction: column; padding: 0 var(--gutter); gap: 10px; }
  .face { width: 100%; aspect-ratio: auto; min-height: 340px; gap: 40px; }
  .face__icon { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.dia__hora sup { font-size: .42em; vertical-align: top; position: relative; top: .12em; margin-left: .04em; letter-spacing: -.02em; }
.veil__emblem .q rect { transform-origin: center; transform-box: fill-box; opacity: 0; }
.veil__word > * { opacity: 0; }
.no-anime .veil__emblem .q rect, .no-anime .veil__word > * { opacity: 1; }

@media (min-width: 961px) { .hero__title .line > span { white-space: nowrap; } }
.foot .brand__mark { width: 52px; }

/* ==========================================================
   A vida na igreja
   ========================================================== */
.vida { padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 12vw, 160px); overflow: hidden; }
.vida__head { display: grid; grid-template-columns: auto minmax(0, 36ch); justify-content: space-between; align-items: end; gap: 32px; }
.vida__head p { color: var(--muted); font-size: clamp(18px, 1.4vw, 21px); }
.mosaico {
  list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0;
  columns: 4 240px; column-gap: 14px;
}
.foto { break-inside: avoid; margin: 0 0 22px; }
.foto__btn {
  display: block; width: 100%; padding: 0; border: 0; background: #dfe1e8; cursor: zoom-in;
  border-radius: 4px; overflow: hidden; position: relative;
}
.foto__btn img { display: block; width: 100%; height: auto; transition: transform .9s var(--ease); }
.foto__btn::after {
  content: ""; position: absolute; inset: 0; border: 0 solid var(--ouro); transition: border-width .35s var(--ease);
}
.foto__btn:hover img { transform: scale(1.035); }
.foto__btn:hover::after, .foto__btn:focus-visible::after { border-width: 6px; }
.foto__cap { display: block; margin-top: 8px; font: italic 16px/1.3 var(--serif); color: var(--muted); }
.vida__more { margin-top: clamp(40px, 5vw, 64px); }


@media (max-width: 960px) {
  .vida__head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mosaico { columns: 2; column-gap: 10px; }
  .foto { margin-bottom: 16px; }
  .foto__cap { font-size: 14px; }
}

/* Preview */
.lightbox {
  position: fixed; inset: 0; z-index: 250;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 8px;
  padding: 64px 16px 24px; background: rgba(22, 24, 58, .94);
}
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 14px; min-height: 0; }
.lightbox__img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 150px);
  object-fit: contain; border-radius: 4px; background: #000;
}
.lightbox__cap { color: #fff; font: italic 18px/1.3 var(--serif); text-align: center; }
.lightbox__nav, .lightbox__close {
  border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; border-radius: 4px;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s;
}
.lightbox__nav { width: 56px; height: 56px; display: grid; place-items: center; }
.lightbox__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { position: absolute; top: 14px; right: 16px; padding: 10px 16px; font: 700 15px/1 var(--display); }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--ouro); border-color: var(--ouro); color: var(--ink); }
@media (max-width: 760px) {
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 64px 12px 16px; }
  .lightbox__fig { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav { grid-row: 2; justify-self: center; }
  .lightbox__img { max-height: calc(100dvh - 210px); }
}

/* Pastores: dois retratos */
.pastores__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.retrato { margin: 0; }
.retrato--baixo { margin-top: 56px; }
.retrato img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: #dfe1e8; }
.retrato figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; margin-top: 14px; }
.retrato__cor { grid-row: 1 / 3; width: 12px; height: 100%; min-height: 36px; border-radius: 2px; }
.retrato b { font: 800 clamp(18px, 1.6vw, 22px)/1.1 var(--display); font-stretch: 112%; letter-spacing: -.01em; }
.retrato small { font: italic 15px/1.3 var(--serif); color: var(--muted); }

/* ==========================================================
   Primeira vez aqui?
   ========================================================== */
.primeira { padding: clamp(96px, 12vw, 160px) 0; background: #fff; }
.primeira__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.primeira__head .h2 { font-size: clamp(40px, 5.2vw, 84px); }
.primeira__lead { margin: 24px 0 32px; max-width: 36ch; color: var(--muted); font-size: clamp(18px, 1.4vw, 21px); }
.primeira__hint { margin-top: 14px; max-width: 36ch; font: italic 16px/1.45 var(--serif); color: var(--muted); }

.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid #D9DBE3; --q: var(--carmim); --q-fg: #fff; }
.faq__item:nth-child(4n+2) { --q: var(--ouro); --q-fg: var(--ink); }
.faq__item:nth-child(4n+3) { --q: var(--azul); }
.faq__item:nth-child(4n+4) { --q: var(--purpura); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; color: var(--ink);
  font: 700 clamp(19px, 1.6vw, 24px)/1.2 var(--display); font-stretch: 108%; letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.faq__ico {
  flex: none; position: relative; width: 30px; height: 30px; border-radius: 3px;
  background: var(--paper); color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
/* "+" vira "−": a barra vertical encolhe (sem giro) */
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; }
.faq__ico::before { width: 12px; height: 2px; margin: -1px 0 0 -6px; }
.faq__ico::after { width: 2px; height: 12px; margin: -6px 0 0 -1px; transition: transform .35s var(--ease); }
.faq__item[open] .faq__ico { background: var(--q); color: var(--q-fg); }
.faq__item[open] .faq__ico::after { transform: scaleY(0); }
.faq__a { padding: 0 50px 26px 0; max-width: 60ch; color: var(--muted); font-size: clamp(17px, 1.2vw, 19px); }
.faq__a p + p { margin-top: 12px; }
.faq__item[open] .faq__a { animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================
   Agenda
   ========================================================== */
.agenda { background: var(--ink); color: #fff; padding: clamp(96px, 12vw, 160px) 0; }
.agenda__head { display: grid; grid-template-columns: auto minmax(0, 36ch); justify-content: space-between; align-items: end; gap: 32px; }
.agenda__head p { color: rgba(255,255,255,.75); font-size: clamp(18px, 1.4vw, 21px); }
.eventos { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; gap: 8px; }
.evento {
  --min: var(--ouro);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 26px 28px 26px 0; border-radius: 4px; background: rgba(255,255,255,.06);
}
.evento::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--min); }
.evento__data { display: grid; justify-items: start; padding-left: 34px; font-family: var(--display); }
.evento__dia { font-size: clamp(44px, 4vw, 64px); font-weight: 850; font-stretch: 120%; letter-spacing: -.04em; line-height: .9; }
.evento__mes { margin-top: 6px; font-weight: 700; font-size: 16px; font-stretch: 110%; }
.evento__sem { font: italic 15px/1.3 var(--serif); opacity: .7; }
.evento__min {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.evento__cor { width: 10px; height: 10px; border-radius: 2px; background: var(--min); }
.evento__titulo { font-size: clamp(24px, 2.3vw, 34px); font-stretch: 112%; letter-spacing: -.02em; line-height: 1.05; overflow-wrap: anywhere; }
.evento__info { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 20px; font: 600 16px/1.4 var(--display); color: rgba(255,255,255,.88); }
.evento__onde { color: rgba(255,255,255,.7); font-weight: 500; }
.evento__desc { margin-top: 10px; max-width: 62ch; color: rgba(255,255,255,.7); font-size: 17px; overflow-wrap: anywhere; }
.evento__ics { white-space: nowrap; }
.agenda__status { margin-top: 40px; max-width: 46ch; font: italic clamp(19px, 1.5vw, 23px)/1.5 var(--serif); color: rgba(255,255,255,.82); }
.agenda__status a { color: #fff; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.eventos:not([hidden]) + .agenda__status:empty { display: none; }
.agenda__foot { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.agenda__foot small { max-width: 40ch; color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.45; }
.agenda + .vida { padding-top: clamp(96px, 12vw, 160px); }

/* ==========================================================
   Pedido de oração
   ========================================================== */
.oracao { padding: clamp(96px, 14vw, 180px) 0; background: var(--paper); }
.oracao__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.oracao__head .h2 { font-size: clamp(40px, 5.2vw, 84px); }
.oracao__lead { margin-top: 24px; max-width: 36ch; color: var(--muted); font-size: clamp(18px, 1.4vw, 21px); }
.oracao__sigilo { margin-top: 28px; max-width: 40ch; padding: 16px 18px; border-left: 4px solid var(--azul); background: #fff; border-radius: 0 4px 4px 0; font-size: 17px; line-height: 1.5; }

.prece, .prece__alt { position: relative; background: #fff; border-radius: 6px; padding: clamp(22px, 3vw, 40px); }
.prece { display: grid; gap: 22px; }
.campo { display: grid; gap: 8px; min-width: 0; }
.campo label { font: 700 16px/1.2 var(--display); font-stretch: 105%; color: var(--ink); }
.campo label span { font: italic 400 15px/1 var(--serif); color: var(--muted); }
.campo input, .campo textarea {
  width: 100%; min-width: 0; margin: 0; padding: 12px 14px;
  font: 18px/1.5 var(--serif); color: var(--text);
  background: var(--paper); border: 2px solid transparent; border-radius: 4px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.campo textarea { resize: vertical; min-height: 168px; }
.campo input:focus, .campo textarea:focus { border-color: var(--ink); background: #fff; }
.campo [aria-invalid="true"] { border-color: var(--carmim); }
.campo small { font-size: 15px; line-height: 1.4; color: var(--muted); }
.campo__rodape { display: flex; justify-content: space-between; gap: 12px; }
.campo__cont { font-variant-numeric: tabular-nums; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.prece__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.prece__msg { padding: 14px 16px; border-left: 4px solid var(--azul); background: rgba(10,124,196,.08); border-radius: 0 4px 4px 0; font: 600 16px/1.45 var(--display); color: var(--ink); }
.prece__msg:empty { display: none; }
.prece__msg.is-erro { border-left-color: var(--carmim); background: rgba(215,32,42,.07); }
.prece__msg a { color: inherit; text-underline-offset: 3px; }
.prece__alt { display: grid; justify-items: start; gap: 20px; font-size: clamp(18px, 1.4vw, 21px); }

@media (max-width: 960px) {
  .primeira__grid, .oracao__grid, .agenda__head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .faq__a { padding-right: 0; }
  .evento { grid-template-columns: auto minmax(0, 1fr); gap: 18px 18px; padding: 22px 18px 22px 0; align-items: start; }
  .evento__data { padding-left: 24px; }
  .evento__dia { font-size: 44px; }
  .evento__ics { grid-column: 1 / -1; margin-left: 24px; justify-self: start; white-space: normal; text-align: center; }
}

/* ==========================================================
   Alto contraste (botão da barra de acessibilidade)
   Fundo preto, texto branco, links e botões em amarelo sublinhado.
   O véu de abertura e os desenhos do símbolo mantêm as cores oficiais.
   ========================================================== */
html.contraste { background: #000; }
/* :where() zera a especificidade, para as regras de links e botões abaixo valerem */
html.contraste body :where(*:not(svg, svg *, img, .veil, .veil *)) {
  background-color: #000 !important; background-image: none !important;
  color: #fff !important; border-color: #fff !important;
  text-shadow: none !important; box-shadow: none !important; opacity: 1 !important;
  -webkit-text-stroke: 0 !important; backdrop-filter: none !important;
}
html.contraste body { background: #000 !important; color: #fff !important; }
html.contraste a, html.contraste a *, html.contraste button, html.contraste button *, html.contraste summary, html.contraste summary * {
  color: #ff0 !important;
}
html.contraste a { text-decoration: underline !important; }
html.contraste .btn, html.contraste .lightbox__nav, html.contraste .lightbox__close,
html.contraste .barra button, html.contraste .faq__ico, html.contraste .menu__q,
html.contraste .dia, html.contraste .face, html.contraste .info, html.contraste .evento,
html.contraste .campo input, html.contraste .campo textarea, html.contraste .prece__msg, html.contraste .oracao__sigilo {
  border: 2px solid #fff !important;
}
html.contraste .btn, html.contraste .lightbox__nav, html.contraste .lightbox__close, html.contraste .faq__ico { border-color: #ff0 !important; }
html.contraste .btn::before, html.contraste .hero::before, html.contraste .nav a::after, html.contraste .foto__btn::after { display: none !important; }
html.contraste .btn:hover, html.contraste .btn:focus-visible { background-color: #ff0 !important; }
html.contraste .btn:hover, html.contraste .btn:hover *, html.contraste .btn:focus-visible, html.contraste .btn:focus-visible * { color: #000 !important; }
html.contraste .nav a.is-current { outline: 2px solid #ff0; outline-offset: -2px; }
html.contraste .menu-btn span, html.contraste .faq__ico::before, html.contraste .faq__ico::after { background: #ff0 !important; }
html.contraste .evento::before, html.contraste .evento__cor, html.contraste .retrato__cor, html.contraste .next__dot { background: #fff !important; }
html.contraste .barra__tecla { border: 1px solid #fff; }
html.contraste .barra__contraste { background: linear-gradient(90deg, #ff0 50%, transparent 50%) !important; }
html.contraste .campo [aria-invalid="true"] { border: 3px dashed #ff0 !important; }
html.contraste .emblem .q rect { stroke: #fff; stroke-width: 2; }
html.contraste .face__icon path { fill: #fff; stroke: #fff; }
html.contraste .lightbox { background: #000 !important; }
html.contraste :focus-visible { outline: 3px solid #ff0 !important; outline-offset: 3px; }

/* ==========================================================
   Páginas de texto (Acessibilidade)
   ========================================================== */
.pagina-texto { background: #fff; }
.top--texto { position: relative; inset: auto; margin-top: var(--barra-h); background: var(--ink); }
.nav--texto { display: flex !important; }
.texto { max-width: 76ch; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 10vw, 120px); }
.texto h1 { font-size: clamp(44px, 6vw, 84px); font-stretch: 118%; letter-spacing: -.035em; margin: 18px 0 24px; }
.texto h2 { font-size: clamp(26px, 2.6vw, 36px); font-stretch: 112%; letter-spacing: -.02em; line-height: 1.1; margin: 56px 0 16px; color: var(--ink); }
.texto p, .texto ul { margin: 0 0 16px; }
.texto ul { padding-left: 1.2em; }
.texto li + li { margin-top: 6px; }
.texto a:not(.btn) { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.texto__lead { font-size: clamp(19px, 1.5vw, 22px); color: var(--text); }
.texto .nota { font-size: 16px; color: var(--muted); }
.trilha ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font: 600 15px/1.4 var(--display); color: var(--muted); }
.trilha li + li::before { content: "›"; margin-right: 8px; }
.trilha a[aria-current] { text-decoration: none; color: var(--muted); }
.tabela { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 16px; }
.tabela th, .tabela td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #D9DBE3; vertical-align: top; }
.tabela thead th { font: 700 14px/1.3 var(--display); color: var(--muted); border-bottom: 2px solid var(--ink); }
.tabela tbody th { font: 700 16px/1.3 var(--display); color: var(--ink); }
kbd {
  display: inline-block; min-width: 1.6em; padding: 1px 6px; border: 1px solid #C5C8D3; border-bottom-width: 2px;
  border-radius: 4px; background: var(--paper); font: 600 .85em/1.4 var(--display); text-align: center; white-space: nowrap;
}
@media (max-width: 1180px) { .nav--texto { margin-left: auto; } .nav--texto a { padding: 10px 8px; } }
@media (max-width: 560px) {
  .nav--texto { display: none !important; }
  .tabela thead { display: none; }
  .tabela tr { display: grid; padding: 10px 0; border-bottom: 1px solid #D9DBE3; }
  .tabela th, .tabela td { border: 0; padding: 4px 0; }
}
