/* ============================================
   IBC MARINGÁ — Awwwards-level Landing
   ============================================ */

:root {
  --bg: #0c0a08;
  --bg-soft: #14110d;
  --bg-light: #f4efe6;
  --bg-cream: #ebe4d4;
  --fg: #f4efe6;
  --fg-soft: #b8b0a0;
  --fg-dim: #6f685c;
  --accent: #c9a961;
  --accent-bright: #e6c989;
  --accent-deep: #8a6f3f;
  --dark: #0c0a08;
  --line: rgba(244, 239, 230, 0.12);
  --line-strong: rgba(244, 239, 230, 0.25);

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 1024px) { body { cursor: auto; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* ============================================
   NOISE OVERLAY
   ============================================ */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   CURSOR
   ============================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out), background 0.3s, border-color 0.3s;
  will-change: transform;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.cursor-ring.hover {
  width: 80px;
  height: 80px;
  border-color: var(--accent-bright);
  background: rgba(201, 169, 97, 0.06);
}
.cursor-dot.hover { opacity: 0; }

@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0s 0.8s;
}
.loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  gap: 8px;
}
.loader-letter {
  opacity: 0;
  transform: translateY(40px);
  display: inline-block;
  animation: loaderLetter 0.8s var(--ease-out) forwards;
}
.loader-letter:nth-child(1) { animation-delay: 0.1s; }
.loader-letter:nth-child(2) { animation-delay: 0.2s; }
.loader-letter:nth-child(3) { animation-delay: 0.3s; color: var(--accent); }

@keyframes loaderLetter {
  to { opacity: 1; transform: translateY(0); }
}

.loader-bar {
  width: min(280px, 60vw);
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.loader-progress {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--accent);
  transition: right 0.1s linear;
}

.loader-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-soft);
  font-weight: 500;
}
.loader-count { color: var(--accent); }

.loader-quote {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--fg-dim);
  text-align: center;
  max-width: 90%;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  transition: padding 0.5s var(--ease-out), background 0.5s;
  mix-blend-mode: difference;
}
.nav.scrolled {
  padding: 16px 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
}
.nav-mark {
  color: var(--accent-bright);
  font-size: 14px;
  animation: spin 12s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.nav-name em { font-style: italic; color: var(--fg-soft); font-weight: 300; }

.nav-links {
  display: flex;
  gap: 36px;
  justify-content: center;
}
.nav-links a {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 0;
}
.nav-links a span {
  display: inline-block;
  transition: transform 0.5s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.nav-cta:hover { background: #fff; color: #000; border-color: #fff; }
.nav-cta svg { transition: transform 0.4s var(--ease-out); }
.nav-cta:hover svg { transform: translate(2px, -2px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  justify-self: end;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.4s, opacity 0.4s;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); opacity: 1; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease-out);
  padding: 80px 40px;
}
.mobile-menu.active { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
}
.mobile-menu a:nth-child(odd) { font-style: italic; color: var(--accent-bright); }
.mobile-menu .mobile-cta {
  margin-top: 24px;
  padding: 14px 32px;
  border: 1px solid var(--accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  color: var(--accent-bright);
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; padding: 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 40px 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transform: scale(1.05);
  transition: transform 6s var(--ease-out);
  animation: heroBgIn 2s var(--ease-out) forwards;
}
@keyframes heroBgIn {
  from { transform: scale(1.15); opacity: 0; }
  to { transform: scale(1.05); opacity: 0.45; }
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(201,169,97,0.18), transparent 60%),
    linear-gradient(180deg, rgba(12,10,8,0.4) 0%, rgba(12,10,8,0.6) 50%, rgba(12,10,8,0.95) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
  z-index: 1;
}
.hero-grid span {
  border-left: 1px solid var(--line);
  height: 100%;
}
.hero-grid span:first-child { border-left: none; }

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-soft);
  font-weight: 500;
  padding-top: 60px;
}
.hero-meta-line { display: flex; align-items: center; gap: 8px; }
.hero-meta-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}
.hero-meta-num { color: var(--accent); }

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 28px;
  font-weight: 500;
  overflow: hidden;
}
.hero-eyebrow span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: lineUp 1s var(--ease-out) 0.6s forwards;
}
@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 60px;
  max-width: 1400px;
}
.hero-line {
  display: block;
  overflow: clip;
  overflow-clip-margin: 0.2em;
}
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: lineUp 1.2s var(--ease-out) forwards;
}
.hero-word:nth-child(1) { animation-delay: 0.8s; }
.hero-word:nth-child(2) { animation-delay: 0.95s; }
.hero-word:nth-child(3) { animation-delay: 1.1s; }
.hero-line:nth-child(1) .hero-word { animation-delay: 0.8s; }
.hero-line:nth-child(2) .hero-word:nth-child(1) { animation-delay: 0.95s; }
.hero-line:nth-child(2) .hero-word:nth-child(2) { animation-delay: 1.1s; }
.hero-line:nth-child(3) .hero-word { animation-delay: 1.25s; }
.hero-line:nth-child(4) .hero-word { animation-delay: 1.4s; }

.hero-word-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-bright);
}
.hero-word-outline {
  -webkit-text-stroke: 1px var(--fg);
  color: transparent;
  font-style: italic;
  font-weight: 200;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 40px;
}

.hero-description {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-soft);
  border-left: 1px solid var(--accent);
  padding-left: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: lineUp 1s var(--ease-out) 1.8s forwards;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 36px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  justify-self: end;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: lineUp 1s var(--ease-out) 1.9s forwards;
  transition: color 0.4s;
}
.hero-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.hero-button:hover::before { transform: translateY(0); }
.hero-button-text, .hero-button-arrow { position: relative; z-index: 1; }
.hero-button-arrow { transition: transform 0.4s; }
.hero-button:hover .hero-button-arrow { transform: rotate(45deg); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--fg-soft);
  z-index: 2;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero { padding: 100px 20px 40px; }
  .hero-meta { padding-top: 40px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-button { justify-self: start; padding: 18px 28px; }
  .hero-scroll { display: none; }
  .hero-grid { display: none; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 300;
  letter-spacing: -0.03em;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-track span { display: inline-block; }
.marquee-italic { font-style: italic; color: var(--accent-bright); }
.marquee-sep { color: var(--accent); font-size: 0.5em; align-self: center; }
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTION LABEL
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 500;
  margin-bottom: 60px;
}
.section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.section-label-num { color: var(--accent); }
.section-label-light { color: var(--fg-soft); }
.section-label-light .section-label-num { color: var(--accent-bright); }

/* ============================================
   SOBRE
   ============================================ */
.sobre {
  background: var(--bg-light);
  color: var(--dark);
  padding: 140px 40px;
  position: relative;
}
.sobre .section-label { color: var(--fg-dim); }
.sobre .section-label-num { color: var(--accent-deep); }

.sobre-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.sobre-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 1300px;
  margin-bottom: 120px;
}
.sobre-title em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 400;
}
.underline-word {
  position: relative;
  display: inline-block;
}
.underline-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  height: 0.1em;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.underline-word.in-view::after { transform: scaleX(1); }

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(12, 10, 8, 0.1);
  border: 1px solid rgba(12, 10, 8, 0.1);
}
.sobre-card {
  padding: 56px 40px;
  background: var(--bg-light);
  transition: background 0.5s, transform 0.6s var(--ease-out);
  position: relative;
}
.sobre-card:hover {
  background: var(--bg-cream);
}
.sobre-card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent-deep);
  margin-bottom: 60px;
}
.sobre-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 280px;
}
.sobre-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(12, 10, 8, 0.7);
}

@media (max-width: 900px) {
  .sobre { padding: 80px 20px; }
  .sobre-title { margin-bottom: 60px; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-card { padding: 40px 24px; }
  .sobre-card-num { margin-bottom: 32px; }
}

/* ============================================
   HISTORIA
   ============================================ */
.historia {
  background: var(--bg);
  padding: 140px 40px;
}

.historia-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 80px;
  max-width: 1500px;
}
.historia-title-line {
  display: block;
  overflow: clip;
  overflow-clip-margin: 0.2em;
}
.historia-title em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 400;
}

.historia-quote {
  max-width: 700px;
  margin-bottom: 120px;
  position: relative;
  padding-left: 80px;
}
.historia-quote-mark {
  position: absolute;
  left: 0;
  top: -20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 120px;
  color: var(--accent);
  line-height: 1;
}
.historia-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  color: var(--fg-soft);
  font-weight: 300;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
}

.timeline-item {
  position: relative;
  padding: 40px 0 40px 60px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease-out);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item:hover { padding-left: 80px; }

.timeline-dot {
  position: absolute;
  left: -45px;
  top: 56px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--fg-dim);
  transition: all 0.4s;
}
.timeline-item:hover .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
}
.timeline-dot-active {
  background: var(--accent);
  border-color: var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(201, 169, 97, 0); }
}

.timeline-year {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 700px;
}
.timeline-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 600px;
}
.timeline-item-future .timeline-content h3 em,
.timeline-item-future .timeline-content h3 {
  color: var(--accent-bright);
}

@media (max-width: 900px) {
  .historia { padding: 80px 20px; }
  .historia-quote { padding-left: 40px; margin-bottom: 60px; }
  .historia-quote-mark { font-size: 60px; }
  .timeline { padding-left: 20px; }
  .timeline-item { padding: 32px 0 32px 36px; }
  .timeline-dot { left: -25px; top: 44px; }
  .timeline-item:hover { padding-left: 36px; }
}

/* ============================================
   TEMPLO
   ============================================ */
.templo {
  background: var(--bg);
  padding: 140px 40px;
  border-top: 1px solid var(--line);
}

.templo-header {
  max-width: 1400px;
  margin: 0 auto 100px;
}

.templo-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 10vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
}
.templo-title .line {
  display: block;
  overflow: clip;
  overflow-clip-margin: 0.2em;
}
.templo-title .line-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-bright);
}

.templo-lead {
  max-width: 700px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--fg-soft);
  margin-left: auto;
}

.templo-showcase {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
}

.templo-image-main {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 4px;
}
.templo-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.templo-image-main:hover img { transform: scale(1.04); }

.templo-image-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.templo-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.templo-stat {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.templo-stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.templo-stat-plus {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3vw, 48px);
  color: var(--accent-bright);
}
.templo-stat-label {
  width: 100%;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--fg-soft);
  margin-top: 4px;
}

.templo-gallery {
  max-width: 1400px;
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: minmax(280px, auto);
  gap: 16px;
}
.templo-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.templo-gallery-item-wide {
  grid-column: span 2;
  grid-row: span 2;
}
.templo-gallery-item-tall {
  grid-row: span 2;
}
.templo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s;
}
.templo-gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}
.templo-gallery-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* CTA Contribuir */
.templo-cta {
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #1a160f 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 80px;
  position: relative;
  overflow: hidden;
}
.templo-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12), transparent 70%);
  pointer-events: none;
}

.templo-cta-inner {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.templo-cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-bright);
  font-weight: 500;
  margin-bottom: 24px;
  display: block;
}

.templo-cta-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.templo-cta-title em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 400;
}

.templo-cta-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin-bottom: 48px;
  max-width: 600px;
}

.templo-cta-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.templo-cta-card {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(244, 239, 230, 0.02);
  transition: border-color 0.4s, background 0.4s;
}
.templo-cta-card:hover {
  border-color: var(--accent);
  background: rgba(201, 169, 97, 0.05);
}
.templo-cta-card-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
}
.templo-cta-card-value {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.templo-cta-card-sub {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

.templo-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s;
}
.templo-cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-bright);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.templo-cta-button:hover::before { transform: translateY(0); }
.templo-cta-button > * { position: relative; z-index: 1; }
.templo-cta-button svg { transition: transform 0.4s; }
.templo-cta-button:hover svg { transform: rotate(45deg); }

@media (max-width: 900px) {
  .templo { padding: 80px 20px; }
  .templo-lead { margin-left: 0; }
  .templo-showcase { grid-template-columns: 1fr; gap: 32px; }
  .templo-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .templo-gallery-item-wide { grid-column: span 2; grid-row: span 1; }
  .templo-gallery-item-tall { grid-row: span 1; }
  .templo-cta { padding: 40px 24px; }
  .templo-cta-info { grid-template-columns: 1fr; }
}

/* ============================================
   CULTOS
   ============================================ */
.cultos {
  background: var(--bg-light);
  color: var(--dark);
}
.cultos .section-label { color: var(--fg-dim); }
.cultos .section-label-num { color: var(--accent-deep); }

.cultos-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.cultos-side {
  padding: 140px 60px;
}
.cultos-side-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cultos-side-right {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.cultos-side-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cultos-image-tag {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #fff;
  font-weight: 500;
}
.cultos-image-tag-dot {
  width: 6px; height: 6px;
  background: #ff4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.cultos-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
}
.cultos .underline-word::after { background: var(--accent-deep); }

.cultos-times {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 60px;
}
.cultos-time {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(12, 10, 8, 0.15);
  transition: padding-left 0.4s var(--ease-out);
}
.cultos-time:last-child { border-bottom: 1px solid rgba(12, 10, 8, 0.15); }
.cultos-time:hover { padding-left: 16px; }
.cultos-time-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 64px);
  letter-spacing: -0.04em;
  color: var(--dark);
  min-width: 180px;
}
.cultos-time-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cultos-time-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
}
.cultos-time-desc {
  font-size: 13px;
  color: rgba(12, 10, 8, 0.6);
}

.cultos-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 32px;
  border-top: 1px solid rgba(12, 10, 8, 0.15);
}
.cultos-address-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--fg-dim);
  font-weight: 500;
}
.cultos-address-value {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 8px;
  letter-spacing: -0.01em;
}
.cultos-address-city {
  font-size: 14px;
  color: rgba(12, 10, 8, 0.6);
}

@media (max-width: 900px) {
  .cultos-split { grid-template-columns: 1fr; }
  .cultos-side { padding: 80px 20px; }
  .cultos-side-right { min-height: 50vh; }
  .cultos-time-num { min-width: auto; font-size: 36px; }
}

/* ============================================
   CELULAS
   ============================================ */
.celulas {
  background: var(--bg);
  padding: 140px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}

.celulas-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}
.celulas-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.celulas-image:hover img { transform: scale(1.05); }

.celulas-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.celulas-title em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 400;
}

.celulas-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-soft);
  margin-bottom: 40px;
  max-width: 540px;
}

.celulas-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}
.celulas-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--fg);
}
.celulas-feature span:first-child { color: var(--accent); font-size: 12px; }

.celulas-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg);
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.celulas-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.celulas-button svg { transition: transform 0.4s; }
.celulas-button:hover svg { transform: rotate(45deg); }

@media (max-width: 900px) {
  .celulas { grid-template-columns: 1fr; padding: 80px 20px; gap: 40px; }
}

/* ============================================
   LIDERANÇA
   ============================================ */
.lideranca {
  background: var(--bg);
  padding: 160px 40px;
  border-top: 1px solid var(--line);
  position: relative;
}

.lideranca-header {
  max-width: 1400px;
  margin: 0 auto 100px;
}

.lideranca-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 130px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
}
.lideranca-title .line {
  display: block;
  overflow: clip;
  overflow-clip-margin: 0.2em;
}
.lideranca-title .line-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-bright);
}

.lideranca-lead {
  max-width: 580px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--fg-soft);
  margin-left: auto;
}

.lideranca-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Layout especial: dois pastores em destaque (mais editorial) */
.lideranca-grid-duo {
  max-width: 1300px;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.lideranca-grid-duo .lideranca-card:nth-child(2) {
  margin-top: 100px;
}

.lideranca-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lideranca-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-soft);
}
.lideranca-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(0.08) contrast(1.05);
  transition: transform 1.4s var(--ease-out), filter 0.6s;
}
.lideranca-card:hover .lideranca-img-wrap img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.1) brightness(1.05);
}

.lideranca-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12,10,8,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.lideranca-img-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.lideranca-img-mark {
  color: var(--accent-bright);
  font-size: 14px;
  animation: spin 12s linear infinite;
  display: inline-block;
}

.lideranca-info {
  padding: 32px 4px 0;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lideranca-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 4px;
}

.lideranca-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.lideranca-name em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-bright);
}

.lideranca-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 500;
  margin-bottom: 12px;
  margin-top: 4px;
}

.lideranca-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 440px;
}

.lideranca-footer {
  max-width: 1400px;
  margin: 80px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}
.lideranca-footer p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--fg-soft);
  max-width: 600px;
  font-weight: 300;
}
.lideranca-footer-mark {
  color: var(--accent);
  margin-right: 8px;
  font-style: normal;
}

@media (max-width: 1100px) {
  .lideranca-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .lideranca-grid-duo { gap: 48px; }
  .lideranca-grid-duo .lideranca-card:nth-child(2) { margin-top: 60px; }
}
@media (max-width: 900px) {
  .lideranca { padding: 80px 20px; }
  .lideranca-header { margin-bottom: 60px; }
  .lideranca-lead { margin-left: 0; }
}
@media (max-width: 720px) {
  .lideranca-grid,
  .lideranca-grid-duo { grid-template-columns: 1fr; gap: 64px; }
  .lideranca-grid-duo .lideranca-card:nth-child(2) { margin-top: 0; }
}

/* ============================================
   VALORES
   ============================================ */
.valores {
  background: var(--bg);
  padding: 140px 40px;
  border-top: 1px solid var(--line);
}

.valores-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 100px;
  max-width: 1200px;
}
.valores-title em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 400;
}

.valores-list {
  list-style: none;
  max-width: 1400px;
  margin: 0 auto;
}
.valores-item {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  transition: padding 0.5s var(--ease-out), background 0.5s;
  position: relative;
}
.valores-item:last-child { border-bottom: 1px solid var(--line); }
.valores-item::after {
  content: "→";
  position: absolute;
  right: 16px;
  font-size: 28px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.valores-item:hover {
  padding-left: 24px;
  padding-right: 64px;
  background: rgba(201, 169, 97, 0.03);
}
.valores-item:hover::after { opacity: 1; transform: translateX(0); }

.valores-item-num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
}
.valores-item-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  transition: font-style 0.3s, color 0.3s;
}
.valores-item:hover .valores-item-name {
  font-style: italic;
  color: var(--accent-bright);
}
.valores-item-desc {
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .valores { padding: 80px 20px; }
  .valores-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .valores-item:hover { padding-left: 0; padding-right: 0; }
  .valores-item::after { display: none; }
}

/* ============================================
   CTA FINAL
   ============================================ */
.ctafinal {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px;
  overflow: hidden;
}
.ctafinal-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ctafinal-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.ctafinal-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(12,10,8,0.7) 80%),
    linear-gradient(to bottom, rgba(12,10,8,0.4), rgba(12,10,8,0.6));
}

.ctafinal-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.ctafinal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-bright);
  font-weight: 500;
  margin-bottom: 32px;
  display: block;
}

.ctafinal-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.ctafinal-title span { display: block; }
.ctafinal-title em { font-style: italic; color: var(--accent-bright); font-weight: 400; }

.ctafinal-text {
  font-size: 18px;
  color: var(--fg-soft);
  margin-bottom: 48px;
}

.ctafinal-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ctafinal-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.ctafinal-button:hover { background: var(--accent-bright); }
.ctafinal-button-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.ctafinal-button-ghost:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.ctafinal-button svg { transition: transform 0.4s; }
.ctafinal-button:hover svg { transform: rotate(45deg); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 100px 40px 40px;
}

.footer-top { margin-bottom: 100px; }
.footer-bigword {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(60px, 14vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
}
.footer-bigword span { display: block; }
.footer-bigword em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 300;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.footer-col-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}
.footer-col p {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
}
.footer-col a {
  position: relative;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}
.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg);
  font-weight: 500;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.footer-top-btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .footer { padding: 60px 20px 32px; }
  .footer-top { margin-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-text {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}
.reveal-text.in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.15s; }
[data-reveal-delay="2"] { transition-delay: 0.3s; }
[data-reveal-delay="3"] { transition-delay: 0.45s; }
