﻿:root {
  --bg-0: #090a0f;
  --bg-1: #0f1118;
  --text: #f4efe8;
  --text-soft: rgba(244, 239, 232, 0.74);
  --gold: #c7a76a;
  --gold-soft: rgba(199, 167, 106, 0.22);
  --cyan: #59e3ff;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(12, 14, 20, 0.78);
  --radius: 22px;
  --section-pad: clamp(60px, 10vw, 120px);
  --container-max: 1240px;
  --progress: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 0%, #1b1f2d 0%, var(--bg-0) 40%),
    radial-gradient(circle at 80% 10%, rgba(89, 227, 255, 0.1), transparent 35%),
    linear-gradient(160deg, var(--bg-1), var(--bg-0));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(89, 227, 255, 0.12), transparent 42%),
    radial-gradient(circle at 18% 88%, rgba(199, 167, 106, 0.1), transparent 42%),
    rgba(8, 10, 14, 0.98);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 18px;
}

.intro-logo {
  width: clamp(56px, 9vw, 84px);
  filter: drop-shadow(0 0 18px rgba(199, 167, 106, 0.32));
}

.intro-title {
  font-size: clamp(1.06rem, 2.3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.intro-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.intro-bar {
  width: min(220px, 66vw);
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.intro-bar span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  animation: introLoad 1.1s ease forwards;
}

@keyframes introLoad {
  to {
    transform: scaleX(1);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid rgba(89, 227, 255, 0.9);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 14px;
  z-index: 60;
  padding: 8px 12px;
  border-radius: 8px;
  background: #0f141f;
  color: #fff;
  border: 1px solid var(--line);
}

.skip-link:focus-visible {
  top: 8px;
}

.ambient {
  position: fixed;
  inset: -30vh -30vw;
  background:
    radial-gradient(circle at 20% 30%, rgba(199, 167, 106, 0.18), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(89, 227, 255, 0.14), transparent 34%),
    radial-gradient(circle at 50% 75%, rgba(199, 167, 106, 0.08), transparent 38%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.09'/></svg>");
  mix-blend-mode: soft-light;
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 50;
}

.scroll-progress span {
  display: block;
  width: calc(var(--progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 24px rgba(89, 227, 255, 0.65);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: rgba(9, 10, 14, 0.8);
  backdrop-filter: blur(14px);
}

.nav-row {
  width: min(1120px, 94vw);
  margin: 0 auto;
  padding-top: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 42px;
  border-radius: 10px;
}

.brand small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.menu {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.menu a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.menu a:hover {
  opacity: 1;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.52);
}

.menu a.is-active {
  border-color: var(--gold);
  color: var(--gold);
  opacity: 1;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  display: block;
  position: relative;
  transition: 0.25s ease;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.site-header.menu-open .menu {
  max-height: 260px;
  opacity: 1;
}

.site-header.menu-open .menu-toggle span {
  background: transparent;
}

.site-header.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.top-marquee {
  grid-column: 1 / -1;
  width: auto;
  margin: 0 -20px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 14, 0.72);
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 9px 14px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--text-soft);
}

.marquee-track span::after {
  content: "•";
  margin-left: 24px;
  color: var(--gold);
}

main {
  width: min(var(--container-max), 94vw);
  margin: 10px auto 0;
  flex: 1 0 auto;
}

.hero {
  position: relative;
  min-height: 78vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: clip;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.15), rgba(8, 9, 12, 0.78) 86%),
    radial-gradient(circle at 30% 15%, rgba(89, 227, 255, 0.2), transparent 45%);
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 14px;
}

.hero-chips {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1240px) / 2 + 24px));
  right: max(24px, calc((100vw - 1240px) / 2 + 24px));
  bottom: 20px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chip,
.panel,
.video-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(11, 13, 18, 0.82), rgba(13, 15, 24, 0.58));
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.35);
}

.chip {
  padding: 16px;
}

.chip h3 {
  margin-bottom: 8px;
  color: var(--gold);
}

.chip p {
  font-size: 14px;
  color: var(--text-soft);
}

section {
  padding: var(--section-pad) 0 0;
}

.manifesto {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.manifesto-carousel {
  position: relative;
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: #0c0f16;
  height: clamp(420px, 62vh, 680px);
  padding: clamp(24px, 4.8vw, 44px);
}

.manifesto-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  overflow: hidden;
  --mf-py: 0px;
  --mf-bg-size: 100%;
  --mf-bg-pos: 50%;
  opacity: 0;
  pointer-events: none;
  padding: clamp(24px, 4.8vw, 44px);
  transition: opacity 0.45s ease;
}

.manifesto-slide:nth-child(1) {
  --mf-img: url("../publics/nossa_igreja/11.jpg");
  --mf-bg-pos: 50%;
  --mf-bg-size: 80%;
}

.manifesto-slide:nth-child(2) {
  --mf-img: url("../publics/nossa_igreja/3.jpg");
  --mf-bg-pos: 50%;
  --mf-bg-size: 100%;
}

.manifesto-slide:nth-child(3) {
  --mf-img: url("../publics/nossa_igreja/9.jpg");
  --mf-bg-pos: 50%;
  --mf-bg-size: 100%;
}

.manifesto-slide::before {
  content: "";
  position: absolute;
  inset: -12% 0;
  background-image: var(--mf-img);
  background-position: center var(--mf-bg-pos);
  background-size: var(--mf-bg-size);
  background-repeat: no-repeat;
  transform: translate3d(0, var(--mf-py), 0) scale(1.12);
  will-change: transform;
}

.manifesto-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 10, 16, 0.82), rgba(8, 10, 16, 0.72));
}

.manifesto-slide > * {
  position: relative;
  z-index: 1;
}

.manifesto-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.manifesto-slide h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  max-width: 28ch;
  text-wrap: balance;
}

.manifesto-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.manifesto-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.34);
  transition: width 0.25s ease, background 0.25s ease;
}

.manifesto-dot.is-active {
  width: 22px;
  background: var(--gold);
}

.section-head {
  margin-bottom: 22px;
}

.section-head p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  text-wrap: balance;
}

.video-layout {
  display: block;
}

.video-frame {
  min-height: 520px;
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cultos-grid,
.contato-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-container {
  display: block;
}

.contact-unified {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.contact-item {
  position: relative;
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 1px;
  height: calc(100% - 40px);
  background: var(--line);
}

.contact-item h3 {
  margin: 0;
  color: var(--gold);
}

.contact-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.btn-whatsapp {
  background: linear-gradient(120deg, #25d366, #20ba5a);
  border-color: transparent;
  color: #fff;
  gap: 8px;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.38);
}

.panel {
  padding: 22px;
}

.panel h3 {
  margin-bottom: 10px;
  color: var(--gold);
}

.panel p {
  color: var(--text-soft);
  line-height: 1.55;
}

.time {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 700;
}

.gallery {
  overflow: hidden;
  padding-bottom: 10px;
}

.gallery-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  will-change: transform;
}

.gallery img {
  flex: 0 0 auto;
  width: clamp(220px, 25vw, 360px);
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.25s ease;
  cursor: zoom-in;
}

.gallery img:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--gold);
}

.photos-stack {
  display: grid;
  gap: 22px;
}

.photo-group {
  display: grid;
  gap: 12px;
}

.photo-group h3 {
  color: var(--gold);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.02em;
}

.links-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 11px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0b0b0b;
  background: linear-gradient(110deg, #d6b77f, var(--gold));
}

.btn-ghost {
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.dizimo-page {
  padding-top: clamp(70px, 10vw, 120px);
}

.dizimo-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

.pix-label {
  margin-bottom: 10px;
}

.pix-key {
  word-break: break-word;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
}

.dizimo-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gc-page {
  padding-top: clamp(70px, 10vw, 120px);
}

.gc-filters-shell {
  margin-bottom: 14px;
}

.gc-filters-toggle {
  display: none;
}

.gc-map-block {
  margin-bottom: 14px;
  padding: 12px;
}

.gc-map-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.gc-map-head p {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.gc-map-head small {
  color: var(--text-soft);
  font-size: 11px;
}

.gc-map {
  width: 100%;
  height: clamp(240px, 38vh, 380px);
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gc-map .leaflet-popup-content-wrapper,
.gc-map .leaflet-popup-tip {
  background: #10131b;
  color: var(--text);
}

.gc-map .leaflet-popup-content {
  color: var(--text-soft);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.gc-map .leaflet-popup-content a {
  color: var(--gold);
}

.church-pin-wrap {
  background: transparent;
  border: 0;
}

.church-pin-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ff6a3d;
  border: 2px solid #fff;
  box-shadow: 0 0 0 5px rgba(255, 106, 61, 0.28), 0 0 22px rgba(255, 106, 61, 0.68);
}

.gc-church-label {
  background: rgba(255, 106, 61, 0.95);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.gc-church-label::before {
  display: none;
}

.gc-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 14px;
  position: sticky;
  top: 72px;
  z-index: 25;
}

.gc-filter {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.gc-filter span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.gc-filter input,
.gc-filter select {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 12, 18, 0.75);
  color: var(--text);
}

.gc-filter input::placeholder {
  color: rgba(244, 239, 232, 0.5);
}

.gc-clear {
  align-self: end;
  height: 40px;
  border-radius: 10px;
  letter-spacing: 0.07em;
  width: 100%;
}

.gc-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.gc-card {
  padding: 0;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  min-height: 136px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 167, 106, 0.65);
}

.gc-media {
  min-height: 100%;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.gc-photo {
  width: 100%;
  height: 100%;
  min-height: 136px;
  object-fit: cover;
}

.gc-avatar {
  width: 100%;
  height: 100%;
  min-height: 136px;
  display: grid;
  place-items: center;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background:
    radial-gradient(circle at 35% 25%, rgba(199, 167, 106, 0.24), transparent 48%),
    radial-gradient(circle at 75% 78%, rgba(89, 227, 255, 0.2), transparent 42%),
    linear-gradient(140deg, rgba(10, 12, 18, 0.98), rgba(13, 17, 25, 0.9));
}

.gc-content {
  min-width: 0;
  padding: 10px 12px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.gc-content h3 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(0.92rem, 1.5vw, 1.08rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.gc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gc-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
}

.gc-meta {
  display: grid;
  gap: 4px;
}

.gc-meta p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(0.79rem, 1.2vw, 0.92rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gc-map-btn {
  margin-top: 2px;
  justify-self: start;
  padding: 7px 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.gc-map-btn-modal {
  margin-top: 8px;
}

.gc-empty {
  margin-top: 14px;
  color: var(--text-soft);
}

.gc-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.gc-modal[hidden] {
  display: none !important;
}

.gc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(4px);
}

.gc-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 38%) minmax(0, 1fr);
}

.gc-modal-media {
  min-height: 100%;
  border-right: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(6, 8, 12, 0.82);
}

.gc-modal-media .gc-photo,
.gc-modal-media .gc-avatar {
  height: 280px;
  min-height: 280px;
  max-height: 280px;
}

.gc-modal-media .gc-photo {
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.gc-modal-content {
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.gc-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 10, 16, 0.75);
  font-size: 24px;
  line-height: 1;
}

body.is-modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 18px;
}

.gallery-modal[hidden] {
  display: none !important;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(4px);
}

.gallery-modal-card {
  position: relative;
  z-index: 1;
  width: min(980px, 96vw);
  max-height: 90vh;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(10, 12, 18, 0.92), rgba(12, 14, 22, 0.88));
  display: grid;
  gap: 10px;
}

.gallery-modal-image {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-modal-caption {
  margin: 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 10, 16, 0.75);
  font-size: 22px;
  line-height: 1;
}

.site-footer {
  width: 100vw;
  margin: 76px 0 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 26px max(24px, calc((100vw - var(--container-max)) / 2 + 24px)) 30px;
  border-top: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  background: rgba(12, 14, 20, 0.62);
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 14px;
}

.site-footer > div:first-child {
  display: grid;
  gap: 8px;
}

.site-footer img {
  width: 46px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(199, 167, 106, 0.12);
  color: var(--text);
}

.footer-socials {
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(199, 167, 106, 0.12);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.site-footer p {
  color: var(--text-soft);
  font-size: 12px;
}

.site-footer > p {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  filter: blur(7px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

body.mobile-scroll-fx-ready [data-mobile-fx] {
  transform: translate3d(0, var(--mfy, 0px), 0) scale(var(--mfs, 1));
  opacity: var(--mfo, 1);
  will-change: transform, opacity;
}

@media (min-width: 920px) {
  .nav-row {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 28px;
    row-gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 2;
  }

  .menu {
    grid-column: 2;
    grid-row: 2;
    max-height: 120px;
    opacity: 1;
    overflow: visible;
    width: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    border-top: 0;
    padding-top: 0;
    margin-left: auto;
  }

  .menu a {
    padding: 4px 0 6px;
    white-space: nowrap;
  }

  .menu-toggle {
    display: none;
  }

  .manifesto-slide h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.56rem);
    max-width: 30ch;
  }
}

@media (min-width: 980px) {
  .site-footer {
    grid-template-columns: max-content max-content max-content;
    justify-content: center;
    align-items: center;
    column-gap: 22px;
    row-gap: 12px;
  }

  .site-footer nav {
    flex-wrap: nowrap;
  }

  .site-footer > div:first-child,
  .footer-links {
    padding-right: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 960px) {
  .cultos-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: clamp(340px, 62vh, 560px);
    padding-top: 0;
    overflow: clip;
  }

  .hero-bg,
  .hero-shade {
    inset: 0;
    height: 100%;
  }

  .hero-bg {
    transform: scale(1.06);
    object-fit: cover;
    object-position: center 26%;
  }

  .menu {
    gap: 10px;
  }

  .menu a {
    font-size: 12px;
    padding: 10px 0;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  .chip,
  .panel,
  .manifesto-carousel,
  .video-frame {
    min-height: 0;
    height: auto;
  }

  .manifesto-carousel {
    height: clamp(420px, 60vh, 660px);
  }

  .manifesto-slide:nth-child(1) {
    --mf-bg-pos: 30%;
    --mf-bg-size: 150%;
  }

  .manifesto-slide:nth-child(2) {
    --mf-bg-pos: 30%;
    --mf-bg-size: 150%;
  }

  .manifesto-slide:nth-child(3) {
    --mf-bg-pos: 30%;
    --mf-bg-size: 160%;
  }

  .manifesto-dots {
    bottom: 12px;
  }

  .hero-chips {
    display: none;
  }

  .video-frame {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .gallery img {
    height: clamp(220px, 58vw, 300px);
  }

  .section-head h2 {
    font-size: clamp(1.35rem, 6vw, 1.9rem);
  }

  .gc-card {
    grid-template-columns: 94px minmax(0, 1fr);
    min-height: 124px;
  }

  .contact-unified {
    grid-template-columns: 1fr;
  }

  .contact-item {
    padding: 18px;
  }

  .contact-item:not(:last-child)::after {
    top: auto;
    right: 18px;
    left: 18px;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .gc-photo,
  .gc-avatar {
    min-height: 124px;
  }

  .gc-content {
    padding: 10px;
  }

  .gc-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    top: 64px;
  }

  .gc-grid {
    grid-template-columns: 1fr;
  }

  .gc-modal-card {
    grid-template-columns: 1fr;
  }

  .gc-modal-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gc-modal-media .gc-photo,
  .gc-modal-media .gc-avatar {
    height: 190px;
    min-height: 190px;
    max-height: 190px;
  }
}

@media (max-width: 700px) {
  .gc-filters-shell {
    position: sticky;
    top: calc(var(--gc-mobile-sticky-top, 104px) + env(safe-area-inset-top, 0px));
    z-index: 30;
    padding-bottom: 0;
    background: transparent;
    display: grid;
    justify-items: end;
  }

  .gc-filters-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(10, 12, 18, 0.8);
    color: var(--text);
    font-size: 0;
    margin-bottom: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }

  .gc-filters-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
  }

  .gc-filters-shell:not(.is-open) .gc-filters {
    display: none;
  }

  .gc-filters-shell.is-open .gc-filters-toggle {
    margin-bottom: 10px;
  }

  .gc-map-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gc-filters {
    grid-template-columns: 1fr;
    position: static;
    top: auto;
    width: 100%;
    justify-self: stretch;
  }

  .gc-filter input,
  .gc-filter select,
  .gc-clear {
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .hero-bg,
  [data-parallax] {
    transform: none !important;
  }

  body.mobile-scroll-fx-ready [data-mobile-fx] {
    transform: none !important;
    opacity: 1 !important;
  }
}
