/* =============================================================
   SOLUTIONS CHURCH · LANDING PAGE
   Estrutura:
   00. Tokens
   01. Reset e base
   02. Utilitários (container, rótulos, botões, mídia)
   03. Revelação por bloco
   04. Nav e menu
   05. Hero (selo, título, objetos das bordas, logos, mosaico)
   06. Resultados (carrossel)
   07. Roda de categorias
   08. App (celulares e módulos)
   09. Financeiro (janela web + celular)
   10. Implantação (seção clara)
   11. Histórias (cartões empilhados)
   12. Planos
   13. FAQ
   14. CTA final
   15. Rodapé
   16. Responsivo
   17. Movimento reduzido / modo estático
   ============================================================= */

/* ---------- 00. Tokens ---------- */
:root {
  --bg: #08090C;
  --surface: #121318;
  --surface-2: #1B1D24;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #EFEFEF;
  --muted: #8A8D96;
  --accent: #F4B23E;
  --on-accent: #140E03;
  --light: #E9E9EB;
  --media-fallback: #15161b;

  --r-card: 20px;
  --r-media: 16px;
  --r-pill: 999px;

  --maxw: 1440px;
  --gutter: 24px;
  --nav-h: 76px;

  --font-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --h1: clamp(44px, 5.6vw, 88px);
  --h2: clamp(40px, 5.8vw, 92px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- 01. Reset e base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Lenis (recomendado pela biblioteca) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.page { overflow-x: clip; }

/* ---------- 02. Utilitários ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: clamp(96px, 12vw, 168px); }

.mono, .label, .btn, .chip {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mono { font-size: 12px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 22px;
}
.label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.lead { color: var(--muted); font-size: 17px; line-height: 1.45; max-width: 44ch; }

.h2 {
  font-size: var(--h2);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.01em;
}

/* Wordmark de sub-marca (Solutions Finanças, Implantação, App) */
.subbrand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  color: var(--text);
}
.subbrand svg { width: 16px; height: 19px; }
.subbrand span { font-weight: 700; }
.subbrand b { font-weight: 400; color: var(--muted); }
.subbrand--dark { color: var(--bg); }
.subbrand--dark b { color: #5d6069; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: 12px;
  white-space: nowrap;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: #f7c15f; }
.btn--secondary { border: 1px solid var(--line-2); color: var(--text); }
.btn--secondary:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.04); }
.btn--sm { height: 38px; padding: 0 18px; }
.nav .btn { height: 44px; padding: 0 20px; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.97); }

.circle-btn {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: background-color .3s, border-color .3s, opacity .3s;
}
.circle-btn svg { width: 20px; height: 20px; }
.circle-btn:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.circle-btn[disabled] { opacity: .35; pointer-events: none; }

.arrow-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  flex: none;
  transition: transform .4s var(--ease-out), background-color .3s;
}
.arrow-btn svg { width: 20px; height: 20px; }
.arrow-btn:hover { transform: rotate(-45deg); background: #f7c15f; }
.arrow-btn--lg { width: 64px; height: 64px; }
.arrow-btn--lg svg { width: 26px; height: 26px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  background: rgba(18, 19, 24, .72);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--muted);
}
.chip b { color: var(--accent); font-weight: 500; }

/* Mídia: sempre com cor de reserva escura */
.media { position: relative; overflow: hidden; background-color: var(--media-fallback); border-radius: var(--r-media); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--circle { border-radius: 50%; }
img.is-missing { visibility: hidden; }

/* Cabeçalho de seção */
.sec-head { margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
}
.sec-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 6px; }
.sec-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .h2 { display: flex; flex-direction: column; align-items: center; }
.sec-head--center .lead { margin: 28px auto 32px; }

/* ---------- 03. Revelação por bloco ---------- */
.rl { position: relative; display: block; width: fit-content; max-width: 100%; }
.rl__text { display: inline-block; }
.rl__block {
  position: absolute;
  inset: .02em -.06em .04em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  visibility: hidden;
}
.motion [data-reveal] .rl__text { opacity: 0; }

/* ---------- 04. Nav e menu ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  pointer-events: none;
}
.nav__inner {
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__inner > * { pointer-events: auto; }
.nav__logo { grid-column: 1; justify-self: start; color: var(--text); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.logo { width: 168px; height: auto; aspect-ratio: 184 / 28; overflow: visible; }
.logo--lg { width: 220px; }
.nav__links {
  display: flex;
  gap: 34px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.nav__links a { color: var(--muted); transition: color .25s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav__demo {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-right: 14px;
  white-space: nowrap;
  transition: opacity .45s var(--ease-out), color .3s var(--ease-out), background-color .4s var(--ease-out), padding .4s var(--ease-out), margin .4s var(--ease-out);
}
.nav__demo:hover { color: var(--accent); }
.nav__menu {
  position: relative;
  width: 0; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  opacity: 0;
  overflow: hidden;
  margin-left: -10px;
  transition: width .5s var(--ease-out), opacity .4s var(--ease-out), margin .5s var(--ease-out);
}
.nav__menu span {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .4s var(--ease-out);
}
.nav__menu span:nth-child(1) { transform: translate(-50%, -4px); }
.nav__menu span:nth-child(2) { transform: translate(-50%, 3px); }
.menu-open .nav__menu span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.menu-open .nav__menu span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

/* Nav compacta depois do primeiro scroll: só "Entrar" + menu */
.nav.is-compact .nav__logo,
.nav.is-compact .nav__links { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.nav__entrar { transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out); border: 1px solid transparent; }
.nav.is-compact .nav__demo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  margin-right: 0;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
}
.nav.is-compact .nav__demo:hover { background: #f7c15f; color: var(--on-accent); }
.nav.is-compact .nav__entrar {
  background: rgba(18, 19, 24, .72);
  color: var(--text);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav.is-compact .nav__entrar:hover { border-color: rgba(255,255,255,.32); }
.nav.is-compact .nav__menu,
.menu-open .nav__menu { width: 44px; opacity: 1; margin-left: 0; }
.menu-open .nav__logo { opacity: 1; transform: none; pointer-events: auto; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(8, 9, 12, .94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility 0s linear .45s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-out), visibility 0s; }
.menu__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.01em;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out), color .25s;
}
.menu__links a span { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); }
.menu__links a:hover { color: var(--accent); }
.menu-open .menu__links a { transform: none; opacity: 1; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .04s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .08s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .12s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .16s; }
.menu__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 05. Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; }
.hero__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}
.hero__stage::after { /* leve vinheta para as bordas */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(8, 9, 12, .55) 100%);
}

/* Centro */
.hero__content {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 100vh;
  height: 100svh;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) var(--gutter) 15vh;
  pointer-events: none;
}
.hero__content a { pointer-events: auto; }
.hero__badge-wrap { margin-bottom: 30px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 16px 0 5px;
  border-radius: var(--r-pill);
  background: rgba(18, 19, 24, .8);
  border: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color .3s;
}
.badge:hover { border-color: rgba(255,255,255,.28); }
.badge__tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text);
}
.badge__sep { color: var(--muted); }
.badge__link { color: var(--accent); font-weight: 500; }

.hero__title {
  font-size: var(--h1);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.hero__title .rl { margin-inline: auto; }
.hl__l, .hl__r { display: inline-block; }
.hero__cta-wrap { margin-top: 26px; display: flex; flex-direction: column; align-items: center; }
.hero__lead {
  max-width: 34em;
  margin-bottom: 30px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
}

/* Objetos das bordas */
.hero__floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float { position: absolute; --o: 1; }
.float__par, .float__drift { width: 100%; height: 100%; }
.float__drift { animation: drift var(--dur, 12s) ease-in-out var(--delay, 0s) infinite; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(var(--dx, 6px), var(--dy, -8px), 0); }
}
.float__body { width: 100%; height: 100%; opacity: var(--o); }

/* Camadas: fundo grande e desfocado; meio nítido; frente menor, nítida e com sombra forte */
.float--back { --o: .44; }
.float--back .float__body { filter: blur(8px); }
.float--mid { --o: .82; }
.float--mid .float__body { box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.float--front { --o: 1; }
.float--front .float__body { box-shadow: 0 34px 70px rgba(0, 0, 0, .65), 0 8px 18px rgba(0, 0, 0, .45); }

.media--photo { aspect-ratio: 4 / 5; height: auto; }
.media--wide { aspect-ratio: 16 / 10; height: auto; }
.media--square { aspect-ratio: 1; height: auto; }
.media--veil::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(8, 9, 12, .2), rgba(8, 9, 12, .55));
  pointer-events: none;
}

/* O bloco central (selo, título, frase, botão) tem meia largura de max(280px, 22vw) e ocupa ~25vh–69vh.
   --in é a borda interna permitida em cada lateral: ~100px de folga em relação ao bloco (115px com margem para deriva). */
.hero__floats { --cw: clamp(210px, 18vw, 250px); --in: calc(50vw - max(280px, 22vw) - 115px); --vis: clamp(130px, 13vw, 190px); }

/* Esquerda (x escalonados) */
.f-comunhao { left: -150px; top: -110px; width: clamp(280px, 26.5vw, 360px); aspect-ratio: 1; }      /* fundo, canto superior, atrás da nav */
.f-visitantes { left: calc(var(--in) - var(--vis) - 4vw); top: 22vh; width: var(--vis); }                             /* meio */
.f-batismo { left: -9vw; top: 47vh; width: clamp(200px, 20vw, 280px); }                                /* fundo */
.f-card-visitante { left: calc(var(--in) - var(--cw) - 2vw); top: 49vh; }                              /* frente */
.f-kids { left: calc(var(--in) - 90px); top: 67vh; width: 90px; aspect-ratio: 1; }                     /* frente, círculo ~90 */
.f-igreja { left: -80px; top: 82vh; width: clamp(200px, 20vw, 270px); aspect-ratio: 1; }              /* meio, canto inferior */

/* Direita (x escalonados) */
.f-jovens { right: -8vw; top: -9vh; width: clamp(240px, 23vw, 320px); }                                /* fundo, topo, atrás da nav */
.f-arrow { left: calc(var(--in) - 64px - 6vw); top: 13vh; width: 64px; height: 64px; }                /* frente (lado esquerdo) */
.f-louvor { right: -3vw; top: 19vh; width: clamp(150px, 15vw, 200px); }                                /* meio */
.f-card-dizimo { right: calc(var(--in) - var(--cw)); top: 40vh; }                                /* meio */
.f-celula { right: calc(var(--in) - 160px - 2vw); top: 57vh; width: clamp(130px, 12.5vw, 160px); aspect-ratio: 1; } /* frente, círculo ~160 */
.f-tesouraria { right: -140px; top: 51vh; width: clamp(200px, 19vw, 260px); }                           /* fundo */
.f-card-retiro { right: calc(var(--in) - var(--cw) - 5.5vw); top: 73vh; }                          /* frente */
.f-culto { right: -80px; top: 87vh; width: clamp(170px, 16vw, 220px); }                                /* meio, base */

/* Base, atrás da faixa de logos */
.f-base { left: 44vw; top: 87vh; width: clamp(280px, 27vw, 380px); }                                   /* fundo */

/* Rotações sutis nos cartões de interface */
.f-card-visitante .uicard { rotate: -3deg; }
.f-card-dizimo .uicard { rotate: 2deg; }
.f-card-retiro .uicard { rotate: -2.5deg; }
.f-card-dizimo .uicard, .f-card-visitante .uicard, .f-card-retiro .uicard { width: var(--cw); }

.arrow-dot {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(27, 29, 36, .72);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
}
.arrow-dot svg { width: 24px; height: 24px; }

/* Cartões de interface em vidro escuro */
.uicard {
  display: flex;
  align-items: center;
  gap: 12px;
  width: clamp(210px, 18vw, 272px);
  height: auto;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-card);
  background: rgba(18, 19, 24, .62);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.uicard__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
}
.uicard__icon svg { width: 20px; height: 20px; }
.uicard__text { display: flex; flex-direction: column; min-width: 0; text-align: left; flex: 1; }
.uicard__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.uicard__title { font-size: 16px; font-weight: 700; line-height: 1.15; }
.uicard__title--accent { color: var(--accent); }
.uicard__sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.uicard__bar { display: block; height: 4px; border-radius: 4px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.uicard__bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }

/* Faixa de logos */
.hero__logos { position: absolute; left: 0; right: 0; bottom: 4.5vh; z-index: 4; padding-inline: var(--gutter); }
.logos { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.logos__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.logos__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px clamp(22px, 3vw, 46px);
  color: #9fa2aa;
  max-width: 980px;
}
.wm { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; line-height: 1; opacity: .85; }
.wm svg { width: 18px; height: 18px; }
.wm--vida { font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.wm--shalom { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 17px; }
.wm--shalom b { font-style: normal; font-weight: 700; margin-left: 4px; }
.wm--batista { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .22em; }
.wm--siao { font-weight: 500; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.wm--siao svg { width: 22px; height: 16px; }
.wm--agape { font-size: 16px; font-weight: 400; letter-spacing: -.02em; }
.wm--agape b { font-weight: 700; }
.wm--esperanca { flex-direction: column; align-items: flex-start; gap: 2px; font-family: Georgia, 'Times New Roman', serif; }
.wm--esperanca span:first-child { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; font-family: var(--font-mono); }
.wm--esperanca span:last-child { font-size: 17px; }

/* Mosaico */
.hero__mosaic { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.mosaic {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  transform-origin: 50% 50%;
}
.tile { position: absolute; }
.tile__media {
  width: 100%; height: 100%;
  border-radius: var(--r-media);
  overflow: hidden;
  background-color: var(--media-fallback);
}
.tile__media img, .tile__video { width: 100%; height: 100%; object-fit: cover; }
.tile__video {
  background: var(--media-fallback) url("../assets/img/culto.jpg") center / cover no-repeat;
}
.motion .tile:not(.tile--center) .tile__media { opacity: 0; }
.motion .tile--center { clip-path: inset(50% 50% 50% 50%); }
.tile--center { transform-origin: 50% 50%; }
/* Esmaecimento da base na saída do mosaico */
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 32vh;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0) 0%, rgba(8, 9, 12, .75) 60%, var(--bg) 100%);
}

/* ---------- 06. Resultados ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.carousel__count { color: var(--muted); margin-right: auto; }
.carousel__count span { color: var(--text); }

.rcard {
  flex: 0 0 clamp(300px, 31vw, 440px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 400px;
}
.rcard__head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.rcard__name { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.rcard__meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.rcard__quote { color: var(--muted); margin: 28px 0 32px; font-size: 16px; max-width: 34ch; }
.rcard__metrics { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  min-height: 132px;
}
.metric__num { font-size: clamp(30px, 2.8vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.metric:first-child .metric__num { color: var(--accent); }
.metric__label { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* ---------- 07. Roda de categorias ---------- */
.cats { position: relative; height: 100vh; height: 100svh; }
.cats__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(12px 12px 12px 12px round 20px);
  background: var(--surface);
}
.cats__bgs, .cats__shade { position: absolute; inset: 0; }
.cats__bg { position: absolute; inset: -4%; border-radius: 0; opacity: 0; transition: none; }
.cats__bg.is-active { opacity: 1; }
.cats__bg img, .cats__bg video { filter: saturate(.85); }
.cats__shade {
  background:
    linear-gradient(90deg, rgba(8, 9, 12, .82) 0%, rgba(8, 9, 12, .45) 45%, rgba(8, 9, 12, .78) 100%),
    linear-gradient(180deg, rgba(8, 9, 12, .35) 0%, transparent 35%, rgba(8, 9, 12, .7) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cats__crop {
  position: absolute;
  left: 42.5%; top: 57%;
  width: clamp(170px, 17vw, 260px);
  aspect-ratio: 4 / 5;
  transform: translate(-50%, -50%);
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--media-fallback);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.cats__cropimg { position: absolute; inset: 0; border-radius: 0; opacity: 0; }
.cats__cropimg.is-active { opacity: 1; }
.cats__content {
  position: absolute;
  inset: 12px;
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  grid-template-rows: auto 1fr auto;
  pointer-events: none;
}
.cats__content a { pointer-events: auto; }
.cats__top { grid-column: 1; grid-row: 1; }
.cats__wheel { grid-column: 2; grid-row: 1 / 4; position: relative; }
.cats__counter { position: absolute; left: 0; top: 0; color: var(--muted); }
.cats__counter span { color: var(--accent); }
.wheel { position: absolute; inset: 0; }
.wheel__item {
  position: absolute;
  left: 0; top: 50%;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
  transform-origin: 0 50%;
  transition: color .35s var(--ease-out);
  will-change: transform, opacity;
}
.wheel__item.is-active { color: var(--text); }
.is-static .wheel__item:not(.is-active) { color: var(--muted); }
.cats__bottom { grid-column: 1; grid-row: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 360px; }
.cats__benefits { display: grid; }
.cats__benefit {
  grid-area: 1 / 1;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text);
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.cats__benefit.is-active { opacity: 1; }
.wheel__name { display: block; }
.wheel__desc { display: none; }
.is-static .cats__benefits { display: none; }
.is-static .wheel__desc { display: block; font-size: 15px; font-weight: 400; line-height: 1.35; color: var(--muted); margin: 6px 0 4px; white-space: normal; max-width: 34ch; letter-spacing: 0; }

/* ---------- 08. App ---------- */
.app .sec-head--center .h2 { margin-top: 4px; }

.app__phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 48px);
  padding-block: 8px 0;
  isolation: isolate;
}
/* Campo de luz quente atrás do grupo */
.app__phones::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: min(1200px, 110vw);
  height: 115%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(236, 224, 205, .13), rgba(236, 224, 205, .05) 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.phone {
  --pw: 272px;
  position: relative;
  flex: none;
  width: var(--pw);
  aspect-ratio: 9 / 19.5;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a2c34 0%, #15161b 40%, #1d1f26 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 50px 100px rgba(0, 0, 0, .5);
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #0c0d11;
  font-size: 12px;
}
.phone__island {
  position: absolute;
  top: 10px; left: 50%;
  width: 88px; height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  z-index: 3;
}
.phone__status {
  position: relative;
  z-index: 2;
  height: 46px;
  padding: 15px 24px 0 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
}
.phone__icons { display: flex; align-items: center; gap: 5px; height: 15px; }
.phone__icons i { display: block; background: var(--text); }
.phone__icons .sig { width: 16px; height: 10px; clip-path: polygon(0 100%, 22% 100%, 22% 70%, 0 70%, 0 100%, 26% 100%, 26% 50%, 48% 50%, 48% 100%, 52% 100%, 52% 28%, 74% 28%, 74% 100%, 78% 100%, 78% 0, 100% 0, 100% 100%); }
.phone__icons .wifi { width: 14px; height: 10px; clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%); }
.phone__icons .bat { width: 23px; height: 11px; border-radius: 3px; background: none; box-shadow: inset 0 0 0 1.2px rgba(239,239,239,.6); position: relative; }
.phone__icons .bat::after { content: ""; position: absolute; inset: 2px 5px 2px 2px; border-radius: 1.5px; background: var(--text); }

.app__col { position: relative; z-index: 1; flex: none; }
.app__col--a { margin-top: 56px; }
.app__col--c { margin-top: 96px; }
/* Base de 272/296px ampliada em 30% (zoom mantém o layout proporcional) */
.app__phone { zoom: 1.3; }
.app__phone--b { --pw: 296px; }
.app__phone {
  background: linear-gradient(160deg, #464852 0%, #1b1c22 38%, #2c2e36 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .2),
    0 0 0 1px rgba(255, 244, 228, .07),
    0 -1px 24px rgba(255, 240, 220, .06),
    0 50px 100px rgba(0, 0, 0, .55);
}

/* Telas */
.scr { position: relative; padding: 6px 16px 16px; height: calc(100% - 46px); display: flex; flex-direction: column; }
.scr__head { display: flex; flex-direction: column; margin: 8px 0 14px; }
.scr__eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.scr__title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.scr__tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.scr__tabs span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .03em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.scr__tabs .is-on { background: var(--text); color: var(--bg); }

.vlist { display: flex; flex-direction: column; }
.vlist li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ava {
  flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text);
}
.vlist__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vlist__txt b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlist__txt small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { flex: none; font-family: var(--font-mono); font-size: 9px; letter-spacing: .03em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.pill--accent { background: rgba(244, 178, 62, .14); color: var(--accent); }
.scr__fab {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.scr__fab svg { width: 16px; height: 16px; }

.profile { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 16px; }
.profile__photo { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 10px; }
.profile__name { font-size: 18px; font-weight: 700; }
.profile__since { color: var(--muted); font-size: 11px; }
.scr__group { margin-bottom: 14px; }
.scr__k { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { font-size: 11.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.rowcard { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface-2); }
.rowcard__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--bg); flex: none; }
.rowcard__ic svg { width: 16px; height: 16px; }
.rowcard > span:last-child { display: flex; flex-direction: column; }
.rowcard b { font-size: 12.5px; font-weight: 500; }
.rowcard small { font-size: 10.5px; color: var(--muted); }
.timeline li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 8px; padding: 5px 0; font-size: 12px; }
.timeline i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.timeline li:first-child i { background: var(--accent); }
.timeline small { color: var(--muted); font-size: 10.5px; }

.scr--event { padding: 0; height: 100%; margin-top: -46px; }
.event__cover { height: 38%; border-radius: 0; flex: none; }
.event__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,17,.3) 0%, transparent 30%, rgba(12,13,17,.9) 100%); }
.event__body { padding: 0 16px 16px; margin-top: -26px; position: relative; display: flex; flex-direction: column; flex: 1; }
.event__title { font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 4px 0 6px; }
.event__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; }
.event__meta svg { width: 14px; height: 14px; }
.event__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 10px; }
.event__stats div { padding: 9px 10px; border-radius: 12px; background: var(--surface-2); display: flex; flex-direction: column; }
.event__stats b { font-size: 17px; font-weight: 700; }
.event__stats div:first-child b { color: var(--accent); }
.event__stats small { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.event__bar { height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.event__bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.event__avatars { display: flex; margin: 12px 0; }
.event__avatars .ava { width: 28px; height: 28px; margin-right: -7px; box-shadow: 0 0 0 2px #0c0d11; font-size: 8.5px; }
.event__btn {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.event__btn svg { width: 16px; height: 16px; }

.chip--float { position: absolute; z-index: 3; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.app__chip { white-space: nowrap; }
.app__chip--1 { left: 50%; top: calc(100% + 14px); transform: translateX(-50%); }
.app__chip--2 { right: 18px; bottom: calc(100% + 14px); }

.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(72px, 7vw, 104px); }
.module {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .3s, background-color .3s;
}
.module:hover { border-color: var(--line-2); background: #15161c; }
.module__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); margin-bottom: auto; }
.module__ic svg { width: 22px; height: 22px; }
.module__title { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin-top: 56px; }
.module__text { color: var(--muted); margin: 10px 0 24px; max-width: 30ch; }
.module .arrow-btn { align-self: flex-start; }

/* ---------- 09. Financeiro ---------- */
.fin__stage { position: relative; perspective: 1800px; padding-bottom: 40px; display: flex; align-items: flex-end; }
.browser {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1200px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px rgba(0, 0, 0, .55);
  overflow: hidden;
  transform-origin: 50% 0%;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #0f1014;
}
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2c34; }
.browser__url {
  flex: 1;
  max-width: 420px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__tag { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(244,178,62,.4); }

.dash { display: grid; grid-template-columns: 64px 1fr; min-height: 560px; }
.dash__side { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; border-right: 1px solid var(--line); }
.dash__side span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--muted); }
.dash__side svg { width: 20px; height: 20px; }
.dash__side .is-on { background: var(--surface-2); color: var(--text); }
.dash__side .dash__logo { color: var(--text); margin-bottom: 10px; }
.dash__side .dash__logo svg { width: 18px; height: 21px; }
.dash__side-end { margin-top: auto; }
.dash__main { padding: 22px 24px 24px; min-width: 0; }
.dash__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dash__head .mono { font-size: 11px; }
.dash__title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.dash__actions { display: flex; gap: 8px; align-items: center; }
.dash__search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12.5px; }
.dash__search svg { width: 14px; height: 14px; }
.dash__btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.kpi { display: flex; flex-direction: column; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); }
.kpi__k { font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.kpi__v { font-size: clamp(22px, 2.3vw, 32px); font-weight: 700; letter-spacing: -.02em; margin: 8px 0 4px; white-space: nowrap; }
.kpi__d { font-size: 12px; color: var(--muted); }
.kpi--hi .kpi__v { color: var(--accent); }

.dash__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; margin-bottom: 10px; }
.panel { padding: 16px 18px; border-radius: 14px; background: var(--surface-2); min-width: 0; }
.panel__head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 150px; align-items: end; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar i { width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px; background: #2c2f38; transform-origin: 50% 100%; }
.bar.is-now i { background: var(--accent); }
.bar span { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); text-transform: uppercase; }
.split { display: flex; gap: 4px; height: 16px; margin: 6px 0 22px; }
.split i { width: var(--w); border-radius: 5px; }
.split .is-a, .legend .is-a { background: var(--accent); }
.split .is-b, .legend .is-b { background: #8A8D96; }
.split .is-c, .legend .is-c { background: #3a3d47; }
.legend li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; }
.legend b { margin-left: auto; font-weight: 700; }

.panel--table { padding-bottom: 6px; }
.ltable td { padding: 11px 8px; border-top: 1px solid var(--line); font-size: 13.5px; white-space: nowrap; }
.ltable td:first-child { padding-left: 0; }
.ltable .num { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.ltable .neg, .mini__list .neg { color: var(--muted); }
.ltable .ok { text-align: right; color: var(--muted); font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.ltable .ok svg { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; color: var(--accent); }
.tag-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }

/* O celular encosta só na margem interna vazia (24px) do painel */
.fin__phone { --pw: 230px; position: relative; flex: none; margin-left: -18px; margin-bottom: -28px; z-index: 2; }
.fin__phone .scr__title { font-size: 20px; }
.mini__saldo { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--accent); margin: -6px 0 10px; }
.mini__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.mini__row span { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); font-family: var(--font-mono); font-size: 8.5px; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.mini__row b { font-family: var(--font-sans); font-size: 13px; color: var(--text); letter-spacing: 0; margin-top: 3px; text-transform: none; }
.mini__bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; padding: 10px; border-radius: 12px; background: var(--surface-2); margin-bottom: 10px; }
.mini__bars i { flex: 1; height: var(--h); border-radius: 4px; background: #343743; }
.mini__bars .is-now { background: var(--accent); }
.mini__list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 11.5px; }
.mini__list li > span { display: flex; flex-direction: column; }
.mini__list small { color: var(--muted); font-size: 10px; }
.mini__list b { font-weight: 500; font-size: 11.5px; }

/* ---------- 10. Implantação (clara) ---------- */
.impl__card {
  position: relative;
  min-height: min(92vh, 860px);
  border-radius: var(--r-card);
  background: var(--light);
  color: var(--bg);
  overflow: hidden;
  display: flex;
}
.impl__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 18%, #000 52%);
  mask-image: linear-gradient(180deg, transparent 18%, #000 52%);
}
.impl__content {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 960px;
}
.impl .h2 { color: var(--bg); }
.impl__text { color: #4a4d56; font-size: 17px; max-width: 46ch; margin: 28px 0 24px; }
.impl__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.impl__steps span { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; background: rgba(8, 9, 12, .06); font-size: 14px; font-weight: 500; }
.impl__steps b { display: grid; place-items: center; height: 26px; padding: 0 9px; border-radius: 999px; background: var(--bg); color: var(--light); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; }

/* ---------- 11. Histórias ---------- */
.stack { position: relative; padding-bottom: 6vh; }
.story {
  position: sticky;
  top: calc(var(--nav-h) + 3vh + var(--i) * 18px);
  height: clamp(440px, 66vh, 640px);
  margin-bottom: 7vh;
}
.story:last-child { margin-bottom: 0; }
.story__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  transform-origin: 50% 0%;
  overflow: hidden;
}
.story__photo { height: 100%; }
.story__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: clamp(20px, 3vw, 44px); }
.story__quote { font-size: clamp(30px, 3.6vw, 56px); font-weight: 700; line-height: 1.02; letter-spacing: -.015em; margin: 24px 0; }
.story__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; border-radius: inherit; }

.story-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 24px 24px 24px 32px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.story-all__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.01em; margin-top: 6px; }

/* ---------- 12. Planos ---------- */
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.plan--hi { background: var(--surface-2); border-color: rgba(244, 178, 62, .45); }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.plan__badge { font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.plan__for { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.plan__price { font-size: clamp(56px, 5.4vw, 80px); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 44px 0 28px; display: flex; align-items: flex-start; }
.plan__cur { font-size: 20px; letter-spacing: 0; margin: 8px 6px 0 0; color: var(--muted); font-weight: 500; }
.plan__per { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); align-self: flex-end; margin: 0 0 8px 8px; font-weight: 500; }
.plan__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan__list li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.plan__list svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.plan--hi .plan__list svg { color: var(--text); }
.plan .btn { margin-top: auto; }

/* ---------- 13. FAQ ---------- */
.faq__card { padding: clamp(40px, 6vw, 96px) clamp(20px, 6vw, 96px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.acc { max-width: 880px; margin-inline: auto; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -.005em;
}
.acc__plus {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 34px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  transition: transform .45s var(--ease-out), background-color .3s;
}
.acc__plus svg { width: 18px; height: 18px; }
.acc__btn:hover .acc__plus { background: #f7c15f; }
.acc__btn[aria-expanded="true"] .acc__plus { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--muted); max-width: 64ch; padding-bottom: 26px; font-size: 16.5px; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }

/* ---------- 14. CTA final ---------- */
.cta { position: relative; padding: 0 var(--gutter) clamp(24px, 4vw, 56px); }
.cta__frame {
  position: relative;
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  margin-inline: auto;
  /* Cabe numa viewport: a composição é vista inteira de uma vez */
  height: calc(100vh - 48px);
  height: calc(100svh - 48px);
  min-height: 560px;
  max-height: 900px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
  isolation: isolate;
}
.cta__collage { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cta__img { position: absolute; }
/* Profundidade por tamanho, opacidade e paralaxe (sem desfoque) */
.cta--back { opacity: .55; }
.cta--mid { opacity: .88; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.cta--front { box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }
.cta__img.media:not(.media--circle) { border-radius: 18px; }
/* Cacho denso: o bloco de texto ocupa ~25%–75% da largura; a borda interna fica a ~40–70px dele */
/* frente (grandes, cortadas pelas bordas) */
.k1 { left: -21%; top: -8%; width: 42%; aspect-ratio: 16 / 10; z-index: 3; }
.k2 { left: -9%; top: 50%; width: 28%; aspect-ratio: 4 / 5; z-index: 3; }
.k3 { right: -21%; top: 46%; width: 42%; aspect-ratio: 16 / 10; z-index: 3; }
/* meio */
.k4 { left: 1%; top: 30%; width: 20%; aspect-ratio: 1; z-index: 2; }
.k5 { left: 14%; top: 78%; width: 26%; aspect-ratio: 4 / 3; z-index: 2; }
.k6 { left: 30%; top: -6%; width: 17%; aspect-ratio: 1; z-index: 2; }
.k7 { right: -6%; top: -10%; width: 20%; aspect-ratio: 4 / 5; z-index: 2; }
.k8 { right: 16%; top: 78%; width: 24%; aspect-ratio: 4 / 3; z-index: 2; }
/* fundo (menores, mais apagadas) */
.k9 { left: 9%; top: 64%; width: 10%; aspect-ratio: 1; z-index: 1; }
.k10 { left: 49%; top: 2%; width: 11%; aspect-ratio: 4 / 5; z-index: 1; }
.k11 { right: 18%; top: 2%; width: 12%; aspect-ratio: 1; z-index: 1; }
.k12 { right: 9%; top: 30%; width: 11%; aspect-ratio: 1; z-index: 1; }
.k13 { left: 42%; top: 86%; width: 16%; aspect-ratio: 16 / 10; z-index: 1; }
.cta__content { position: relative; z-index: 2; max-width: 640px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__content .h2 { display: flex; flex-direction: column; align-items: center; }
.cta__content .lead { margin: 28px auto 34px; text-align: center; }

/* ---------- 15. Rodapé ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 48px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__tagline { color: var(--muted); max-width: 30ch; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-family: var(--font-sans); font-size: 14px; }
.footer__contact a:hover { color: var(--accent); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.footer__cols div { display: flex; flex-direction: column; gap: 12px; }
.footer__cols a { color: var(--muted); transition: color .25s; }
.footer__cols a:hover { color: var(--text); }
.footer__h { color: var(--text); margin-bottom: 6px; font-weight: 500; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }

/* ---------- 16. Responsivo ---------- */
@media (min-width: 1101px) and (max-width: 1279px) {
  .app__phone { zoom: 1.12; }
}

@media (max-width: 1100px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
  .app__phone { zoom: 1; }
  .app__phone--a, .app__phone--c { --pw: 268px; }
  .app__phone--b { --pw: 292px; }
  .fin__phone { --pw: 200px; }
}

@media (max-width: 900px) {
  .sec-head--split { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .plans__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .story__inner { grid-template-columns: 1fr; grid-template-rows: 46% 1fr; }
  .story__quote { margin: 12px 0 16px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; --nav-h: 64px; }
  .nav__links, .nav__demo { display: none; }
  .nav.is-compact .nav__demo { display: inline-flex; padding: 0 14px; }
  .nav.is-compact .nav__entrar { padding: 0 14px; }
  .nav__actions { gap: 8px; }
  .nav__menu { width: 44px; opacity: 1; margin-left: 0; }
  .logo { width: 146px; }

  /* Hero mobile: objetos só no topo e embaixo */
  .hero__content { padding-bottom: 14vh; }
  .hero__badge-wrap { margin-bottom: 22px; }
  .badge { font-size: 11.5px; height: auto; min-height: 32px; padding: 4px 12px 4px 4px; gap: 7px; flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 32px); }
  .badge__text { white-space: normal; text-align: left; }
  .badge__sep { display: none; }
  .hero__cta-wrap { margin-top: 20px; }
  .hero__lead { font-size: 15px; margin-bottom: 22px; max-width: 30em; }
  .hide-sm { display: none; }
  .hero__floats { --cw: 196px; }
  .f-visitantes { left: -7vw; top: 10vh; width: 27vw; }
  .f-kids { left: 26vw; top: 11vh; width: 15vw; }
  .f-louvor { right: -7vw; top: 8vh; width: 28vw; }
  .f-card-dizimo { right: -14vw; top: 19vh; }
  .f-card-dizimo .uicard, .f-card-visitante .uicard { padding: 9px 12px 9px 9px; }
  .f-card-visitante { left: -9vw; top: 72vh; }
  .f-comunhao { left: auto; right: -12vw; top: 69vh; width: 34vw; }
  .uicard__icon { width: 34px; height: 34px; border-radius: 10px; }
  .uicard__title { font-size: 14px; }
  .f-arrow, .f-igreja, .f-card-retiro, .f-batismo, .f-jovens, .f-celula, .f-tesouraria, .f-culto, .f-base { display: none; }
  .f-card-visitante .uicard, .f-card-dizimo .uicard { rotate: 0deg; }
  .f-kids { left: 26vw; top: 11vh; width: 15vw; }
  .hero__logos { bottom: 3vh; }
  .logos { gap: 12px; }
  .logos__list { gap: 10px 18px; max-width: 360px; }
  .wm--vida, .wm--siao { font-size: 13px; }
  .wm--shalom, .wm--esperanca span:last-child { font-size: 14.5px; }
  .wm--agape { font-size: 14px; }
  .wm--batista { font-size: 11px; }
  .wm svg { width: 15px; height: 15px; }

  .lead { font-size: 16px; }
  .rcard { flex-basis: 84vw; min-height: 360px; }
  .metric { min-height: 112px; }

  /* Roda vira lista */
  .cats { height: auto; }
  .cats__card { position: relative; inset: auto; min-height: 100svh; clip-path: inset(8px 8px 8px 8px round 20px); }
  .cats__crop { top: auto; bottom: 30px; left: auto; right: 22px; transform: none; width: 34vw; }
  .cats__content { position: relative; inset: auto; min-height: 100svh; display: flex; flex-direction: column; gap: 32px; padding: 48px 24px; }
  .cats__wheel { position: relative; }
  .cats__counter { position: static; margin-bottom: 12px; }
  .wheel { position: static; display: flex; flex-direction: column; gap: 6px; }
  .wheel__item { position: static; transform: none !important; opacity: 1 !important; font-size: 30px; }
  .wheel__item:not(.is-active) { color: var(--muted); }
  .wheel__item { white-space: normal; }
  .wheel__desc { display: block; font-size: 15px; font-weight: 400; line-height: 1.35; color: var(--muted); margin: 4px 0 6px; letter-spacing: 0; }
  .wheel__item.is-active .wheel__desc { color: var(--text); }
  .cats__benefits { display: none; }
  .cats__bottom { margin-top: auto; max-width: 60%; }
  .cats__bg, .cats__cropimg { transition: opacity .8s var(--ease-out); }

  .app__phones {
    justify-content: flex-start;
    gap: 14px;
    padding: 56px 16px 64px;
    margin-inline: -16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .app__phones::-webkit-scrollbar { display: none; }
  .app__col { scroll-snap-align: center; margin-top: 0; }
  .app__phone { zoom: 1; }
  .app__phone--a, .app__phone--b, .app__phone--c { --pw: min(260px, 72vw); }
  .app__chip { display: none; }
  .modules { grid-template-columns: 1fr; }
  .module { min-height: 240px; }
  .module__title { margin-top: 36px; }

  .dash { grid-template-columns: 1fr; min-height: 0; }
  .dash__side { display: none; }
  .dash__main { padding: 16px 14px; }
  .dash__actions .dash__search { display: none; }
  .dash__title { font-size: 21px; }
  .kpis { grid-template-columns: 1fr; }
  .kpi { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; padding: 12px 14px; }
  .kpi__v { margin: 0; font-size: 22px; }
  .kpi__d { width: 100%; }
  .dash__grid { grid-template-columns: 1fr; }
  .bars { height: 110px; gap: 4px; }
  .bar span { font-size: 8px; }
  .ltable td:nth-child(3), .ltable td:nth-child(5) { display: none; }
  .ltable td { font-size: 12.5px; padding: 10px 4px; }
  .tag-k { font-size: 9.5px; padding: 3px 7px; }
  .browser__url { font-size: 10px; }
  .fin__stage { flex-direction: column; align-items: stretch; }
  .fin__phone { margin: 32px auto 0; --pw: 230px; }

  .impl__card { min-height: 0; }
  .impl__content { padding: 36px 22px 220px; }
  .impl__canvas { -webkit-mask-image: linear-gradient(180deg, transparent 45%, #000 75%); mask-image: linear-gradient(180deg, transparent 45%, #000 75%); }

  .story { height: auto; min-height: 520px; top: calc(var(--nav-h) + 12px + var(--i) * 12px); margin-bottom: 4vh; }
  .story__inner { grid-template-rows: 240px auto; }
  .story__body { padding: 16px 12px 12px; }
  .story-all { padding: 20px; }
  .arrow-btn--lg { width: 52px; height: 52px; }

  .faq__card { padding: 40px 18px; }
  .acc__btn { font-size: 17px; padding: 20px 0; }
  .acc__plus { width: 44px; height: 30px; }

  .cta__frame { height: calc(100svh - 32px); min-height: 600px; padding: 0 16px; }
  .k1 { left: -22%; top: -4%; width: 72%; }
  .k7 { right: -14%; top: -6%; width: 40%; }
  .k6 { left: 44%; top: 9%; width: 24%; }
  .k3 { right: -26%; top: 78%; width: 76%; }
  .k5 { left: -12%; top: 80%; width: 52%; }
  .k9 { left: 30%; top: 74%; width: 20%; }
  .k2, .k4, .k8, .k10, .k11, .k12, .k13 { display: none; }

  .footer__cols { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 10.6vw; }
}

/* ---------- 17. Movimento reduzido / modo estático ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Modo estático (sem GSAP ou com movimento reduzido): hero e mosaico lado a lado na rolagem normal */
.is-static .hero, .is-static .hero__stage { height: auto; }
.is-static .hero__stage { min-height: 200vh; }
.is-static .hero__logos { bottom: auto; top: calc(100vh - 150px); }
.is-static .hero__mosaic { top: 100vh; height: 100vh; bottom: auto; }
.is-static .mosaic { clip-path: none; }
.is-static .tile .tile__media { opacity: 1; }
.is-static .rl__text { opacity: 1 !important; }
.is-static .float__drift { animation: none; }

/* Estados iniciais da intro (somente com movimento ativo) */
.motion .badge,
.motion .hero__cta,
.motion .hero__lead,
.motion .hero__logos .logos { opacity: 0; }

/* Roda em modo estático: lista legível */
.is-static .cats__wheel { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.is-static .cats__counter { position: static; }
.is-static .wheel { position: static; display: flex; flex-direction: column; gap: 10px; }
.is-static .wheel__item { position: static; font-size: clamp(26px, 2.6vw, 40px); }

/* Números de apoio em DM Mono (datas, valores, variações, horários) */
.m {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.kpi__d.m, .profile__since.m, .timeline small.m { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.ltable td.m { font-size: 12px; }
.legend b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; }
.mini__row b.m, .mini__list b.m { font-size: 11px; }
.pill { border-radius: var(--r-pill); }

/* Objetos das bordas já presentes no primeiro quadro, em opacidade baixa */
.motion .float .float__body { opacity: calc(var(--o) * .4); }
.is-static .float .float__body { opacity: var(--o); }
