/* =========================================================
   Rocha Church — Home
   Fontes: Unbounded (display), Manrope (texto),
   Instrument Serif (itálico), Anton / Syne / Big Shoulders (bento)
   Easing padrão: expo-out cubic-bezier(0.16, 1, 0.3, 1)
   ========================================================= */

/* ---------- Fontes (hospedadas localmente) ---------- */
@font-face { font-family: "Unbounded"; src: url("../fonts/Unbounded-VF.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-VF.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Syne"; src: url("../fonts/Syne-VF.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/BigShouldersDisplay-VF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0a0a0a;
  --white: #ffffff;
  --paper: #f5f5f3;
  --tile: #1a1a1a;
  --line: rgba(10, 10, 10, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --border: #e9e9e6;
  --orange: #f26a21;
  --violet: #6e5bd8;
  --red: #ff3b30;
  --grad: linear-gradient(90deg, var(--orange), var(--violet));

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(20px, 2.8vw, 40px);
  --maxw: 1360px;
  --sec-y: clamp(56px, 6.5vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote, address { margin: 0; font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; font-weight: 700;
  transition: top .3s var(--ease);
}
.skip:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- Tipografia base ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: .96;
}
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.body { font-size: clamp(15px, 1.12vw, 16px); line-height: 1.65; color: rgba(10,10,10,.62); }
.eyebrow {
  font-weight: 800; font-size: clamp(11px, .9vw, 13px);
  letter-spacing: .14em; text-transform: uppercase; opacity: .55;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 20px; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn__icon { flex: none; width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .btn__icon { transform: translate(2px, -2px); }
.btn:active { scale: .98; }
[data-magnet], .btn, .social a, .live { translate: var(--tx, 0) var(--ty, 0); transition-property: background-color, color, border-color, transform, translate; }

.btn--black { background: var(--ink); color: var(--white); }
.btn--black:hover { background: #2a2a2a; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }

/* Setas circulares */
.arrow {
  flex: none; display: grid; place-items: center;
  width: clamp(42px, 3.6vw, 52px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(10,10,10,.25); color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.arrow svg { width: 40%; height: 40%; transition: transform .5s var(--ease); }
.arrow--lg { width: clamp(42px, 5vw, 72px); }

/* ---------- Meta (linha com rótulos) ---------- */
.meta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: clamp(12px, 1.3vw, 18px);
  border-bottom: 1px solid var(--line);
  font-weight: 800; font-size: clamp(11px, .9vw, 13px); letter-spacing: .06em;
  margin-bottom: clamp(22px, 3.9vw, 56px);
}
.meta__mid, .meta__dim { font-weight: 600; opacity: .55; }
.meta--dark { border-color: var(--line-dark); color: var(--white); }

/* Cabeçalho dividido (título à esquerda, texto à direita) */
.split-head {
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  margin-bottom: clamp(22px, 3.9vw, 56px);
}
.split-head--end { align-items: flex-end; }
.split-head__text { width: min(380px, 100%); display: grid; gap: 20px; justify-items: start; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 28px var(--gut) 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 1080px; height: 68px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 28px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--border); border-radius: 999px;
  box-shadow: 0 8px 32px rgba(10,10,10,.06);
  transition: transform .6s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled .nav { box-shadow: 0 12px 40px rgba(10,10,10,.12); height: 60px; }
.site-header.is-hidden .nav { transform: translateY(-140%); }
.nav__logo img { width: 150px; height: auto; }
.nav__links { display: flex; gap: 32px; font-weight: 600; font-size: 14px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--grad); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.live {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.live:hover { background: var(--ink); color: var(--white); }
.live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.live__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

/* =========================================================
   01 · HERO
   ========================================================= */
.hero { position: relative; padding-top: 148px; padding-bottom: 52px; overflow: hidden; }
.hero__arcs {
  position: absolute; z-index: 0; pointer-events: none;
  width: 1100px; left: calc(81.25% - 550px); top: 136px;
  fill: none; stroke: var(--ink); stroke-width: 1.5;
}
.hero__top {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr minmax(300px, 400px);
  grid-template-areas: "eyebrow eyebrow" "title aside";
  column-gap: 40px; align-items: center;
  will-change: transform;
}
.hero__eyebrow { grid-area: eyebrow; margin-bottom: 20px; padding-left: 23px; }
.hero__title {
  grid-area: title;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(46px, 8.9vw, 128px); line-height: .94; letter-spacing: -0.04em;
}
.hero__aside { grid-area: aside; display: grid; gap: 20px; align-content: start; padding-top: 12px; }
.hero__serif { font-size: clamp(32px, 3.33vw, 48px); line-height: 1; }
.hero__lead { max-width: 400px; }
.hero__info {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: clamp(11px, .9vw, 13px); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(10,10,10,.6);
}
.hero__info img { width: 28px; height: 28px; }

/* Máscara do título (motion 02) */
.line { display: block; overflow: hidden; padding: .14em 0 .08em; margin: -.14em 0 -.08em; }
.hero__title .line { white-space: nowrap; }
.line > span { display: block; }
.js [data-mask] .line > span { transform: translateY(110%); }
.js [data-mask].is-in .line > span { transform: none; transition: transform 1.1s var(--ease); }
.js [data-mask].is-in .line:nth-child(2) > span { transition-delay: .09s; }
.js [data-mask].is-in .line:nth-child(3) > span { transition-delay: .18s; }
.js [data-wipe] { clip-path: inset(0 100% 0 0); }
.js [data-wipe].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease) .35s; }
.js .hero__eyebrow, .js .hero__lead, .js .hero__info { opacity: 0; transform: translateY(12px); }
.js .is-loaded .hero__eyebrow, .js .is-loaded .hero__lead, .js .is-loaded .hero__info {
  opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .is-loaded .hero__eyebrow { opacity: .55; }
.js .is-loaded .hero__lead { transition-delay: .45s; }
.js .is-loaded .hero__info { transition-delay: .55s; }

/* Vídeo + laterais (motion 01, 03, 04) */
.hero__media {
  position: relative; z-index: 2;
  display: flex; justify-content: center;
  margin-top: 60px;
}
.player {
  --w: min(1240px, 100vw - 2 * var(--gut) - 70px);
  --r: 32px;
  position: relative; width: var(--w); aspect-ratio: 1240 / 680;
  border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--white);
  isolation: isolate;
}
.player { container-type: size; }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.player__yt {
  position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.player.is-playing .player__yt { opacity: 1; }
/* iframe 16:9 cobrindo a caixa toda (como object-fit: cover), um pouco ampliado para esconder bordas do YouTube */
.player__yt iframe {
  position: absolute; left: 50%; top: 50%; border: 0;
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%) scale(1.08);
}
.player__dim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.7) 100%), rgba(0,0,0,.25);
}
.chip {
  position: absolute; left: 28px; top: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font-weight: 700; font-size: 13px;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.player__cta { position: absolute; right: 28px; top: 28px; width: max-content; }

.player__play {
  position: absolute; left: 50%; top: 50%;
  width: 104px; height: 104px; margin: -52px 0 0 -52px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--ink);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.player__play svg { width: 34px; height: 34px; margin-left: 4px; }
.player__play::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8); opacity: 0;
}
.player__play:hover { transform: scale(1.08); }
.player__play:hover::before { animation: ring 1.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.player.is-watching .player__play { opacity: 0; transform: scale(.8); pointer-events: none; }

.player__controls {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  display: flex; align-items: center; gap: 16px; height: 40px;
  font-weight: 700; font-size: 13px;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.player.is-idle .player__controls { opacity: 0; transform: translateY(8px); pointer-events: none; }
.ctrl { width: 22px; height: 22px; flex: none; color: var(--white); opacity: .95; transition: opacity .2s; }
.ctrl:hover { opacity: 1; }
.ctrl svg { width: 100%; height: 100%; }
.player__time { font-variant-numeric: tabular-nums; min-width: 34px; }
.player__time--dim { opacity: .7; }
.player__bar {
  position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); cursor: pointer;
}
.player__bar::before { content: ""; position: absolute; inset: -10px 0; }
.player__bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--grad); }

/* Textos laterais verticais (motion 03) */
.vmarquee {
  position: absolute; top: 50%; height: 457px; width: 15px; margin-top: -228px;
  overflow: hidden; z-index: -1;
  font-weight: 800; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  transition: opacity .3s linear;
}
.vmarquee--left { left: var(--gut); }
.vmarquee--right { right: var(--gut); }
.vmarquee__track { display: flex; flex-direction: column; writing-mode: vertical-rl; animation: vloop 25s linear infinite; }
.vmarquee--left .vmarquee__track { transform: rotate(180deg); animation-name: vloop-rev; }
@keyframes vloop { from { translate: 0 0; } to { translate: 0 -50%; } }
@keyframes vloop-rev { from { translate: 0 -50%; } to { translate: 0 0; } }

.hmarquee { display: none; }

/* =========================================================
   02 · ROCHA FAMÍLIA
   ========================================================= */
.familia { padding: 40px 0 80px; }
.familia__head { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 56px; }
.familia__title { font-size: clamp(56px, 10.4vw, 150px); line-height: .9; letter-spacing: -0.06em; }
.ast {
  display: inline-block; margin-left: .02em; cursor: default;
  transform: rotate(var(--spin, 0deg)); transform-origin: 50% 42%;
  transition: color .4s var(--ease);
}
.familia__title:hover .ast { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.familia__serif { transition: opacity .4s var(--ease); }
.familia__text { width: min(440px, 100%); display: grid; gap: 24px; justify-items: start; }
.familia__serif { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; }
.familia__text .body { line-height: 1.7; max-width: 420px; }
.gallery__track { display: flex; gap: 20px; height: clamp(260px, 26.4vw, 380px); }
.photo {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 24px;
  transition: flex-grow .9s var(--ease);
  isolation: isolate;
}
.photo img {
  position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1.02);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}
.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.6));
  opacity: 0; transition: opacity .6s var(--ease);
}
.photo__cap {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: var(--white);
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.photo__n { font-weight: 800; font-size: 12px; letter-spacing: .08em; opacity: .7; grid-row: span 2; }
.photo__t { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; }
.photo__d { font-family: var(--f-serif); font-style: italic; font-size: clamp(17px, 1.4vw, 20px); opacity: .9; }
.photo.is-active { flex-grow: 1.9; }
.photo.is-active::after { opacity: 1; }
.photo.is-active .photo__cap { opacity: 1; transform: none; transition-delay: .15s; }
.gallery__dots { display: none; }

/* entrada das fotos: abre de baixo para cima */
.js [data-gallery] .photo { clip-path: inset(100% 0 0 0 round 24px); }
.js [data-gallery].is-in .photo { clip-path: inset(0 0 0 0 round 24px); transition: clip-path 1.2s var(--ease) calc(var(--i, 0) * 110ms), flex-grow .9s var(--ease); }

/* =========================================================
   04 · PROGRAMAÇÃO
   ========================================================= */
.programacao { background: var(--paper); padding: 60px 0; }
.programacao__title { font-size: clamp(32px, 5.56vw, 80px); }

.rows li, .links li { position: relative; }
.rows li::before, .links li::before, .rows li:last-child::after, .links li:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line);
  transform-origin: left;
}
.rows li:last-child::after, .links li:last-child::after { top: auto; bottom: 0; }
.js [data-lines] li::before, .js [data-lines] li:last-child::after { transform: scaleX(0); }
.js [data-lines].is-in li::before, .js [data-lines].is-in li:last-child::after { transform: scaleX(1); transition: transform 1.4s var(--ease) calc(var(--i, 0) * 90ms); }
.js [data-lines] li > a { opacity: 0; transform: translateY(18px); }
.js [data-lines].is-in li > a { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(var(--i, 0) * 90ms + .1s), transform 1s var(--ease) calc(var(--i, 0) * 90ms + .1s); }
.row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px;
  padding: 32px 8px; min-height: 120px;
}
.row__title {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(19px, 3.06vw, 44px); letter-spacing: -0.02em; line-height: 1.1;
  transition: letter-spacing .6s var(--ease);
}
.row__meta { font-weight: 700; font-size: clamp(12px, 1.04vw, 15px); letter-spacing: .04em; color: rgba(10,10,10,.6); white-space: nowrap; }

/* Estado ativo (destaque) = hover */
.row.is-featured .row__title, .link.is-featured .link__title { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.row.is-featured .arrow, .link.is-featured .arrow { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (hover: hover) {
  .rows:hover .row.is-featured:not(:hover) .row__title,
  .links:hover .link.is-featured:not(:hover) .link__title { background: none; color: var(--ink); }
  .rows:hover .row.is-featured:not(:hover) .arrow,
  .links:hover .link.is-featured:not(:hover) .arrow { background: transparent; border-color: rgba(10,10,10,.25); color: var(--ink); }
  .row:hover .row__title, .link:hover .link__title { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .row:hover .arrow, .link:hover .arrow { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .row:hover .arrow svg, .link:hover .arrow svg { transform: translate(2px, -2px); }
}

/* Prévia de foto que segue o cursor */
.cursor-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 260px; height: 180px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 48px rgba(10,10,10,.22);
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85) rotate(-5deg);
  transition: opacity .35s var(--ease);
  will-change: transform;
}
.cursor-preview.is-on { opacity: 1; }
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   05 · MINISTÉRIOS (BENTO)
   ========================================================= */
.ministerios { background: var(--ink); color: var(--white); padding: 80px 0; }
.ministerios__title { font-size: clamp(28px, 4.44vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.ministerios__lead, .envolver__lead { color: rgba(255,255,255,.6); text-align: right; max-width: 340px; }
.envolver__lead { color: rgba(10,10,10,.6); max-width: 320px; }

.bento { display: grid; gap: 16px; }
.bento__row { display: grid; grid-template-columns: 440fr 904fr; gap: 16px; height: 200px; }
.bento__row--tall { grid-template-columns: 440fr 444fr 444fr; height: 320px; }
.bento__row--short { grid-template-columns: 560fr 392fr 376fr; height: 170px; }

.tile {
  position: relative; overflow: hidden;
  display: grid; place-items: center; padding: 20px;
  background: var(--tile); border: 1px solid rgba(255,255,255,.06); border-radius: 24px;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.tile__name {
  text-align: center; line-height: .95; color: var(--white);
  transition: letter-spacing .6s var(--ease), transform .6s var(--ease);
  margin-top: -14px;
}
.tile__label {
  position: absolute; left: 20px; bottom: 20px;
  font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45);
}
.tile__arrow {
  position: absolute; right: 20px; top: 20px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.tile__arrow svg { width: 16px; height: 16px; }
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(242,106,33,.16), rgba(110,91,216,.10) 40%, transparent 70%);
  transition: opacity .5s var(--ease);
}
.tile:hover::before { opacity: 1; }
.tile:hover { background: #262626; border-color: rgba(255,255,255,.12); }
.tile:hover .tile__arrow { background: var(--white); color: var(--ink); }

.tile--kids .tile__name { font-family: var(--f-display); font-weight: 900; font-size: clamp(22px, 3.06vw, 44px); letter-spacing: -0.03em; text-transform: uppercase; }
.tile--jovens .tile__name { font-family: "Anton", Impact, sans-serif; font-size: clamp(64px, 8.33vw, 120px); letter-spacing: .02em; text-transform: uppercase; }
.tile--mulheres .tile__name { font-family: var(--f-serif); font-style: italic; font-size: clamp(38px, 5.83vw, 84px); }
.tile--homens .tile__name { font-family: var(--f-display); font-weight: 900; font-size: clamp(22px, 3.75vw, 54px); letter-spacing: -0.03em; text-transform: uppercase; }
.tile--casais .tile__name { font-family: "Syne", var(--f-display); font-weight: 800; font-size: clamp(25px, 3.89vw, 56px); }
.tile--louvor .tile__name { font-family: "Big Shoulders Display", Impact, sans-serif; font-weight: 900; font-size: clamp(64px, 5.56vw, 80px); letter-spacing: .06em; text-transform: uppercase; }
.tile--celulas .tile__name { font-family: var(--f-serif); font-style: italic; font-size: clamp(38px, 4.17vw, 60px); }
.tile--intercessao .tile__name { font-family: "Big Shoulders Display", Impact, sans-serif; font-weight: 900; font-size: clamp(25px, 3.61vw, 52px); letter-spacing: .04em; text-transform: uppercase; }

/* Hover: tipografia ganha um leve tracking */
.tile:hover .tile__name { letter-spacing: calc(var(--ls, 0em) + .04em); }
.tile--kids, .tile--homens { --ls: -0.03em; }
.tile--jovens { --ls: .02em; }
.tile--louvor { --ls: .06em; }
.tile--intercessao { --ls: .04em; }

/* Entrada em cascata (motion 07) */
.js [data-bento] .tile { opacity: 0; transform: scale(.96); }
.js [data-bento].is-in .tile {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease) calc(var(--i) * 60ms), transform .9s var(--ease) calc(var(--i) * 60ms),
              background-color .5s var(--ease), border-color .5s var(--ease);
}

/* =========================================================
   06 · PASTORES
   ========================================================= */
.pastores { padding: 80px 0; }
.pastores__grid { display: grid; grid-template-columns: 560px 1fr; gap: 96px; align-items: center; padding-left: 40px; }
.pastores__media { position: relative; height: 640px; }
.pastores__block {
  position: absolute; left: -40px; top: 200px; width: 470px; height: 440px;
  border-radius: 56px 56px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--violet));
}
.pastores__photo {
  position: absolute; right: 0; top: 0; width: 500px; height: 620px;
  object-fit: cover; object-position: 40% center; border-radius: 40px;
}
.pastores__text { display: grid; gap: 22px; justify-items: start; }
.pastores__title { font-size: clamp(44px, 5.28vw, 76px); }
.pastores__names { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; }
.pastores__text .body { font-size: clamp(15px, 1.18vw, 17px); line-height: 1.7; max-width: 560px; }

/* motion 08 */
.js [data-pastores] .pastores__block { opacity: 0; transform: translateX(-60px); }
.js [data-pastores] .pastores__photo { opacity: 0; transform: translateY(40px); }
.js [data-pastores].is-in .pastores__block { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-pastores].is-in .pastores__photo { opacity: 1; transform: none; transition: opacity 1s var(--ease) .2s, transform 1.2s var(--ease) .2s; }

/* =========================================================
   08 · COMO SE ENVOLVER
   ========================================================= */
.envolver { padding: 60px 0; }
.envolver__kicker { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 12px; display: inline-block; }
.envolver__title { font-size: clamp(28px, 4.44vw, 64px); letter-spacing: -0.03em; line-height: 1.05; }
.link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: clamp(14px, 1.8vw, 26px) 0; min-height: clamp(70px, 9.2vw, 132px);
}
.link__n { font-weight: 800; font-size: clamp(11px, 1vw, 14px); letter-spacing: .08em; color: rgba(10,10,10,.4); }
.link__title {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 4.44vw, 64px); letter-spacing: -0.04em; line-height: 1.1; color: rgba(10,10,10,.92);
  transition: letter-spacing .6s var(--ease);
}

/* =========================================================
   07 · ÚLTIMA MENSAGEM
   ========================================================= */
.mensagem { background: var(--paper); padding: 100px 0; }
.mensagem__grid { display: grid; grid-template-columns: 820fr 484fr; gap: 56px; align-items: center; }
.yt { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.yt__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.yt:hover .yt__thumb { transform: scale(1.03); }
.yt__btn { position: absolute; inset: 0; width: 100%; cursor: pointer; }
.yt__hint {
  position: absolute; left: 50%; top: calc(50% + 70px); transform: translate(-50%, 8px);
  padding: 8px 14px; border-radius: 999px; background: rgba(10,10,10,.7); color: var(--white);
  font-weight: 700; font-size: 13px; white-space: nowrap; opacity: 0;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.yt:hover .yt__hint, .yt__btn:focus-visible .yt__hint { opacity: 1; transform: translate(-50%, 0); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-loaded .yt__btn, .yt.is-loaded .yt__thumb { display: none; }
.yt__play {
  position: absolute; pointer-events: none; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center;
  transition: transform .5s var(--ease);
}
.yt__play svg { width: 30px; height: 30px; margin-left: 4px; }
.yt:hover .yt__play { transform: scale(1.08); }
.yt__play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); opacity: 0; }
.yt:hover .yt__play::before { animation: ring 1.4s var(--ease) infinite; }
.mensagem__text { display: grid; gap: 22px; justify-items: start; }
.mensagem__title { font-size: clamp(32px, 2.78vw, 40px); line-height: 1.05; letter-spacing: -0.02em; }
.mensagem__sub { font-weight: 800; font-size: clamp(11px, .9vw, 13px); letter-spacing: .08em; text-transform: uppercase; }
.prev {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 12px; background: var(--white); border-radius: 20px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.prev:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,10,10,.08); }
.prev img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex: none; }
.prev > span { display: grid; gap: 4px; }
.prev__date { font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .5; }
.prev__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(15px, 1.25vw, 18px); text-transform: uppercase; letter-spacing: -0.01em; }

/* =========================================================
   09 · GENEROSIDADE
   ========================================================= */
.generosidade { background: var(--ink); color: var(--white); padding: 120px 0; }
.generosidade__grid { display: grid; grid-template-columns: 780fr 500fr; gap: 80px; align-items: center; }
.generosidade__title { font-size: clamp(28px, 4.17vw, 60px); line-height: .98; letter-spacing: -0.03em; }
@media (min-width: 1181px) { .generosidade__title { white-space: nowrap; } }
.generosidade__verse { font-size: clamp(22px, 2.08vw, 30px); line-height: 1.25; margin-top: 28px; max-width: 640px; }
.js [data-words] .w { opacity: var(--o, .22); transition: opacity .25s linear; }
.generosidade__ref { margin-top: 28px; font-weight: 800; font-size: clamp(11px, .9vw, 13px); letter-spacing: .14em; text-transform: uppercase; }

.pix { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); background: var(--white); color: var(--ink); border-radius: 32px; padding: 40px; display: grid; gap: 24px; }
.pix__top { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; }
.pix__qr {
  aspect-ratio: 1; border-radius: 16px; background: #e9e9e6; color: rgba(10,10,10,.4);
  display: grid; place-content: center; justify-items: center; gap: 10px;
  font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.pix__qr svg { width: 28px; height: 28px; }
.pix__label { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 2.78vw, 40px); letter-spacing: -0.02em; line-height: 1.2; }
.pix__key { font-weight: 800; font-size: 16px; margin-top: 8px; word-break: break-all; }
.pix__hint { font-size: 14px; line-height: 1.5; color: rgba(10,10,10,.55); margin-top: 8px; }
.pix__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   07 · LOCALIZAÇÃO
   ========================================================= */
.local { padding: 60px 0; }
.local__title { font-size: clamp(30px, 5.56vw, 80px); }
.local .split-head__text { width: min(350px, 100%); }
.local__addr { font-size: clamp(15px, 1.18vw, 17px); line-height: 1.7; color: rgba(10,10,10,.65); }
.local__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.local__photo { max-width: 1200px; margin: 0 auto; border-radius: 32px; overflow: hidden; height: clamp(300px, 33.3vw, 480px); }
.local__photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* =========================================================
   08 · CONTATO
   ========================================================= */
.contato { padding: 40px var(--gut) 60px; text-align: center; }
.contato__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.78vw, 40px); letter-spacing: -0.01em; line-height: 1.2; }
.social { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }
.social a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.social a:hover { transform: translateY(-4px); background: #2a2a2a; }
.social a svg { transition: transform .5s var(--ease); }
.social a:hover svg { transform: scale(1.12) rotate(-6deg); }
.social svg { width: 24px; height: 24px; }
.social--dark { justify-content: flex-start; gap: 10px; margin-top: 24px; }
.social--dark a { width: 48px; height: 48px; background: rgba(255,255,255,.1); }
.social--dark a:hover { background: rgba(255,255,255,.2); }
.social--dark svg { width: 20px; height: 20px; }

/* =========================================================
   09 · FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--white); padding: 100px 0 36px; }
.footer__cols { display: grid; grid-template-columns: 580fr 220fr 220fr 220fr; gap: 40px; }
.footer__brand img { width: 260px; height: auto; }
.footer__brand .serif { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.25; color: rgba(255,255,255,.8); margin-top: 24px; max-width: 430px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; font-weight: 500; font-size: 15px; }
.footer__col a, .footer__col span { color: rgba(255,255,255,.85); }
.footer__col a { transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer__head { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 0; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 72px; padding-top: 25px; border-top: 1px solid var(--line-dark);
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer__bottom a:hover { color: var(--white); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--white);
  font-weight: 700; font-size: 14px;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* Botões "magnéticos" (desktop): JS define --tx/--ty */
html.js .btn, html.js .social a, html.js .live, html.js [data-magnet] {
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease),
              transform .5s var(--ease), translate .6s var(--ease), scale .2s var(--ease);
}

/* =========================================================
   RESPONSIVO — tablet
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .pastores__grid { grid-template-columns: 1fr 1fr; gap: 56px; padding-left: 0; }
  .pastores__media { height: auto; aspect-ratio: 560 / 640; }
  .pastores__block { left: 0; top: 31%; width: 84%; height: 72%; }
  .pastores__photo { width: 89%; height: 97%; }
  .generosidade__grid { grid-template-columns: 1fr; gap: 48px; }
  .pix { max-width: 560px; }
  .hero__top { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "aside"; }
  .hero__aside { padding-top: 24px; max-width: 560px; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero__top { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "aside"; }
  .hero__aside { padding-top: 24px; }
  .mensagem__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .bento__row, .bento__row--tall, .bento__row--short { height: auto; }
  .tile { min-height: 170px; }
}

/* =========================================================
   RESPONSIVO — mobile (referência 390px)
   ========================================================= */
@media (max-width: 720px) {
  :root { --sec-y: 56px; }
  html { scroll-padding-top: 84px; }

  .site-header { padding-top: 14px; }
  .nav { height: 54px; padding: 0 6px 0 18px; }
  .site-header.is-scrolled .nav { height: 54px; }
  .nav__logo img { width: 110px; }
  .live { padding: 10px 14px; gap: 6px; font-size: 11px; }
  .live__dot { width: 7px; height: 7px; }

  .split-head, .familia__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .split-head__text, .familia__text { width: 100%; gap: 16px; }
  .ministerios__lead, .envolver__lead { text-align: left; max-width: none; }

  /* Hero */
  .hero { padding-top: 96px; padding-bottom: 32px; }
  .hero__arcs { width: 660px; left: calc(82% - 330px); top: 169px; }
  .hero__eyebrow { padding-left: 0; margin-bottom: 14px; }
  .hero__aside { gap: 14px; padding-top: 14px; }
  .hero__lead { line-height: 1.65; }
  .hero__info img { width: 26px; height: 26px; }
  .hero__media { margin-top: 28px; }
  .player { --w: calc(100vw - 40px); --r: 24px; aspect-ratio: 350 / 440; }
  .chip { left: 16px; top: 16px; }
  .player__play { width: 75px; height: 75px; margin: -48px 0 0 -37.5px; }
  .player__play svg { width: 26px; height: 26px; }
  .player__cta { right: auto; top: auto; left: 50%; bottom: 70px; transform: translateX(-50%); }
  .player__controls { left: 16px; right: 16px; bottom: 16px; gap: 14px; }
  .ctrl--vol { display: none; }
  .vmarquee { display: none; }
  .hmarquee {
    display: block; overflow: hidden; margin: 24px var(--gut) 0;
    font-weight: 800; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  }
  .hmarquee__track { display: flex; width: max-content; animation: hloop 25s linear infinite; }
  @keyframes hloop { to { transform: translateX(-50%); } }

  /* Família */
  .familia { padding: 40px 0 56px; }
  .familia__head { margin-bottom: 22px; }
  .gallery { margin-inline: calc(-1 * var(--gut)); }
  .gallery__track {
    height: auto; gap: 10px; padding-inline: var(--gut);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .gallery__track::-webkit-scrollbar { display: none; }
  .photo { flex: 0 0 82%; height: 380px; scroll-snap-align: center; border-radius: 24px; }
  .photo.is-active { flex-grow: 0; }
  .photo::after { opacity: 1; }
  .photo__cap { opacity: 1; transform: none; left: 18px; right: 18px; bottom: 18px; }
  .gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .gallery__dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(10,10,10,.2); transition: width .5s var(--ease), background-color .3s; }
  .gallery__dots button[aria-selected="true"] { width: 26px; background: var(--ink); }
  .js [data-gallery] .photo { clip-path: none; opacity: 0; transform: translateX(30px); }
  .js [data-gallery].is-in .photo { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(var(--i, 0) * 110ms), transform 1s var(--ease) calc(var(--i, 0) * 110ms); }

  /* Programação */
  .programacao { padding: 56px 0; }
  .row { grid-template-columns: 1fr auto; grid-template-areas: "t a" "m a"; gap: 4px 10px; padding: 20px 0; min-height: 0; }
  .row__title { grid-area: t; }
  .row__meta { grid-area: m; white-space: normal; }
  .row .arrow { grid-area: a; width: 40px; }

  /* Ministérios */
  .ministerios { padding: 56px 0; }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bento__row { display: contents; }
  .tile { min-height: 110px; padding: 14px; border-radius: 24px; }
  .tile--jovens, .tile--louvor { grid-column: 1 / -1; min-height: 120px; }
  .tile--jovens { order: 1; } .tile--kids { order: 2; min-height: 130px; } .tile--mulheres { order: 3; min-height: 130px; }
  .tile--homens { order: 4; } .tile--casais { order: 5; } .tile--louvor { order: 6; }
  .tile--celulas { order: 7; } .tile--intercessao { order: 8; }
  .tile__label { left: 14px; bottom: 14px; font-size: 10px; letter-spacing: .08em; }
  .tile__arrow { right: 12px; top: 12px; width: 30px; height: 30px; }
  .tile__arrow svg { width: 14px; height: 14px; }
  .tile__name { margin-top: -12px; }

  /* Pastores */
  .pastores { padding: 56px 0; }
  .pastores__grid { grid-template-columns: 1fr; gap: 22px; }
  .pastores__media { aspect-ratio: auto; height: 450px; overflow: hidden; }
  .pastores__block { left: 0; top: 150px; width: 290px; height: 310px; border-radius: 56px 56px 0 0; }
  .pastores__photo { width: calc(100% - 50px); max-width: 320px; height: 430px; border-radius: 40px; }

  /* Envolver */
  .envolver { padding: 56px 0; }
  .link { grid-template-columns: auto 1fr auto; gap: 12px; }
  .link .arrow--lg { width: 42px; }

  /* Mensagem */
  .mensagem { padding: 56px 0; }
  .yt { border-radius: 18px; }
  .yt__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .yt__play svg { width: 20px; height: 20px; }
  .yt__hint { display: none; }
  .prev img { width: 120px; }

  /* Generosidade */
  .generosidade { padding: 56px 0; }
  .generosidade__verse { margin-top: 22px; }
  .generosidade__ref { margin-top: 18px; }
  .pix { padding: 20px; border-radius: 24px; }
  .pix__top { grid-template-columns: 120px 1fr; gap: 16px; }
  .pix__label { font-size: 28px; }
  .pix__key { font-size: 14px; }
  .pix__hint { font-size: 13px; }
  .pix__actions { flex-direction: column; }
  .pix__actions .btn { justify-content: space-between; }

  /* Localização */
  .local { padding: 56px 0; }
  .local__photo { border-radius: 24px; height: 300px; }

  /* Contato */
  .contato { padding: 56px var(--gut); }
  .social { gap: 10px; margin-top: 24px; }
  .social a { width: 52px; height: 52px; }
  .social svg { width: 22px; height: 22px; }

  /* Footer */
  .footer { padding: 64px 0 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__cols > .footer__col:last-child { grid-column: 1 / -1; }
  .footer__brand img { width: 240px; }
  .footer__bottom { flex-direction: column; gap: 6px; margin-top: 40px; }

  .cursor-preview { display: none; }
}

@media (max-width: 380px) {
  .live { padding: 9px 12px; }
  .pix__top { grid-template-columns: 96px 1fr; }
}

/* =========================================================
   Movimento reduzido: tudo desliga
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__title .line > span, .js [data-wipe], .js .hero__eyebrow, .js .hero__lead, .js .hero__info,
  .js [data-bento] .tile, .js [data-pastores] .pastores__block, .js [data-pastores] .pastores__photo,
  .js [data-mask] .line > span, .js [data-gallery] .photo, .js [data-lines] li > a, .js [data-lines] li::before, .js [data-lines] li:last-child::after, .js [data-words] .w {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .js .hero__eyebrow { opacity: .55 !important; }
  .js [data-gallery] .photo { clip-path: none !important; }
  .js [data-lines] li::before, .js [data-lines] li:last-child::after { transform: none !important; }
  .cursor-preview { display: none; }
}
