/* ============================================
   IGREJA VIDEIRA LIMEIRA
   Institutional Website Styles
   Brand Colors: Teal #4ECDC4 | Blue #58B4D8 | Purple #7B2FA0 | Navy #191D3B
   Font: Montserrat
   ============================================ */

:root {
  /* Brand Colors - Igreja Videira Official (from brand manual) */
  --teal: #4ECDC4;
  --teal-light: #6EDAD3;
  --teal-dark: #3BB8A8;
  --teal-glow: rgba(78, 205, 196, 0.25);
  --blue: #58B4D8;
  --blue-light: #7CC8E6;
  --purple: #7B2FA0;
  --purple-light: #9B5FBF;
  --purple-deep: #5B1D80;
  --purple-glow: rgba(123, 47, 160, 0.2);
  --navy: #191D3B;
  --navy-light: #2A2E50;

  /* Light Theme Neutrals */
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --text: #191D3B;
  --text-muted: #5A5E78;
  --text-dim: #8A8EA5;
  --border: rgba(25, 29, 59, 0.08);
  --border-hover: rgba(25, 29, 59, 0.16);

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);

  /* Type - Montserrat per brand manual */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Brand gradient */
  --gradient-brand: linear-gradient(135deg, #4ECDC4, #6B8DD6, #7B2FA0);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 120px;
  opacity: 0;
  animation: loaderPulse 1.6s var(--ease-out) forwards;
}

.loader-logo img {
  width: 100%;
  height: auto;
}

@keyframes loaderPulse {
  0% { opacity: 0; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-brand) 1;
  box-shadow: 0 2px 20px rgba(25, 29, 59, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease-out);
}

.nav.scrolled .nav-logo-img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  transition: all 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active-link {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.nav.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active-link {
  color: var(--text);
  background: rgba(25, 29, 59, 0.05);
}

.nav-cta {
  background: var(--gradient-brand) !important;
  color: white !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(123, 47, 160, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav.scrolled .nav-toggle span {
  background: var(--navy);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
  pointer-events: none;
}

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

.carousel-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  transition: transform 8s linear;
}

.carousel-slide.active .carousel-bg {
  transform: scale(1.05);
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(25,29,59,0.6) 0%, rgba(25,29,59,0.1) 40%, rgba(25,29,59,0.85) 100%),
    linear-gradient(135deg, rgba(78,205,196,0.15) 0%, rgba(107,141,214,0.1) 50%, rgba(123,47,160,0.2) 100%),
    linear-gradient(90deg, rgba(25,29,59,0.6) 0%, transparent 60%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(32px, 8vw, 120px);
  max-width: 900px;
}

.carousel-tag {
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  background: rgba(78, 205, 196, 0.2);
  border: 1px solid rgba(78, 205, 196, 0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 24px;
}

.carousel-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.carousel-title em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-light), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

/* Reveal animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.carousel-slide.active .reveal-up {
  opacity: 1;
  transform: translateY(0);
}

.carousel-slide.active .reveal-up:nth-child(1) { transition-delay: 0.2s; }
.carousel-slide.active .reveal-up:nth-child(2) { transition-delay: 0.35s; }
.carousel-slide.active .reveal-up:nth-child(3) { transition-delay: 0.5s; }
.carousel-slide.active .reveal-up:nth-child(4) { transition-delay: 0.65s; }

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  bottom: 60px;
  right: clamp(32px, 8vw, 120px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.carousel-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.carousel-dot.active {
  background: var(--teal);
  border-color: var(--teal-light);
  transform: scale(1.2);
  box-shadow: 0 0 16px var(--teal-glow);
}

.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}

.carousel-progress-bar {
  height: 100%;
  background: var(--gradient-brand);
  width: 0%;
  transition: width 0.1s linear;
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
  background-size: 200% 100%;
  background-position: left;
}

.btn-primary:hover {
  background-position: right;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 47, 160, 0.35);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(78,205,196,0.1), rgba(123,47,160,0.08));
  border: 1px solid rgba(78, 205, 196, 0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
}

.section-header .section-title {
  background: linear-gradient(135deg, var(--navy) 40%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-brand);
  margin: 20px auto 0;
  border-radius: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--bg);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78,205,196,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(25, 29, 59, 0.08);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(78,205,196,0.12), rgba(123,47,160,0.08));
  border-radius: 14px;
  margin-bottom: 24px;
  color: var(--teal-dark);
  transition: all 0.4s var(--ease-out);
}

.about-card:hover .about-card-icon {
  background: var(--gradient-brand);
  color: white;
}

.about-card-icon svg {
  width: 26px;
  height: 26px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.75;
}

.about-verse {
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, rgba(78,205,196,0.06), rgba(123,47,160,0.06));
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
}

.about-verse::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 32px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--teal);
  opacity: 0.2;
  line-height: 1;
}

.about-verse p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 16px;
  color: var(--navy);
}

.about-verse cite {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
}

/* ============================================
   PASTORES SECTION
   ============================================ */
.pastores {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.pastores::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123,47,160,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pastores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.pastor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.pastor-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(25, 29, 59, 0.1);
}

.pastor-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(78,205,196,0.15), rgba(123,47,160,0.12));
}

.pastor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}

.pastor-card:hover .pastor-photo img {
  transform: scale(1.04);
}

.pastor-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--blue), var(--purple));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.5rem;
  color: white;
  letter-spacing: 0.05em;
}

.pastor-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pastor-role {
  display: inline-block;
  width: fit-content;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(78,205,196,0.1), rgba(123,47,160,0.08));
  border: 1px solid rgba(78, 205, 196, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.pastor-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.pastor-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pastor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pastor-tags span {
  padding: 4px 12px;
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-dark);
}

@media (max-width: 768px) {
  .pastores-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
  }
}

/* ============================================
   CULTOS SECTION
   ============================================ */
.cultos {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--bg);
}

.cultos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.culto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.culto-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(25, 29, 59, 0.08);
}

.culto-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.4s;
}

.culto-card:hover .culto-accent {
  opacity: 1;
}

.culto-day {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.culto-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.culto-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.culto-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.7;
}

/* Live Badge */
.culto-live-badge {
  display: none;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: #E53935;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  animation: livePulse 2s ease-in-out infinite;
}

.culto-live-badge.active {
  display: flex;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: liveDot 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); }
}

@keyframes liveDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.culto-card-live.is-live {
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.08);
}

.culto-live-links {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.culto-live-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
}

.culto-live-yt {
  background: rgba(229, 57, 53, 0.08);
  border: 1px solid rgba(229, 57, 53, 0.2);
  color: #C62828;
}

.culto-live-fb {
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.2);
  color: #1565C0;
}

.culto-live-yt:hover {
  background: #E53935;
  border-color: #E53935;
  color: white;
  transform: translateY(-1px);
}

.culto-live-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: white;
  transform: translateY(-1px);
}

/* ============================================
   INSTAGRAM SECTION
   ============================================ */
.instagram {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.instagram::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123,47,160,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.instagram-embed-wrapper {
  max-width: 540px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(25, 29, 59, 0.08);
  border: 1px solid var(--border);
}

.instagram-embed-iframe {
  width: 100%;
  min-height: 540px;
  border: none;
  display: block;
}

.instagram-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--border-hover);
  border-radius: 12px;
  color: var(--navy);
  background: transparent;
  transition: all 0.4s var(--ease-out);
}

.btn-instagram:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 47, 160, 0.25);
}

/* ============================================
   PRAYER REQUEST SECTION
   ============================================ */
.oracao {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

.oracao-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.oracao-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0.2;
  animation: particleFloat 8s infinite;
}

.particle.green {
  background: var(--teal);
}

.particle.magenta {
  background: var(--purple);
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.2; }
  90% { opacity: 0.2; }
  50% { transform: translateY(-200px) scale(1.5); }
}

.oracao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.oracao-text {
  position: sticky;
  top: 120px;
}

.oracao-text .section-tag {
  margin-bottom: 16px;
}

.oracao-text .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.oracao-text .section-divider {
  margin: 0 0 24px 0;
}

.oracao-text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 32px;
}

.oracao-verse {
  padding: 28px;
  background: rgba(78, 205, 196, 0.06);
  border-left: 3px solid var(--teal);
  border-radius: 0 16px 16px 0;
}

.oracao-verse blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--navy);
}

.oracao-verse cite {
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
}

/* Form */
.oracao-form-wrapper {
  position: relative;
}

.oracao-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(25, 29, 59, 0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: var(--bg);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238A8EA5' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.form-check input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-hover);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
  position: relative;
}

.form-check input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}

.form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check label {
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  background: var(--gradient-brand);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 20px var(--purple-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-size: 200% 100%;
  background-position: left;
}

.btn-submit:hover {
  background-position: right;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 47, 160, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(25, 29, 59, 0.06);
}

.form-success.show {
  display: block;
  animation: scaleIn 0.5s var(--ease-spring);
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(78, 205, 196, 0.12);
  border-radius: 50%;
  color: var(--teal-dark);
  margin-bottom: 24px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.form-success p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.localizacao {
  padding: var(--section-pad) 0;
  background: var(--bg);
  position: relative;
}

.localizacao-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.localizacao-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.localizacao-address {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
}

.localizacao-address:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 30px rgba(25, 29, 59, 0.06);
}

.localizacao-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(78,205,196,0.12), rgba(123,47,160,0.08));
  border-radius: 14px;
  color: var(--teal-dark);
  flex-shrink: 0;
}

.localizacao-icon svg {
  width: 24px;
  height: 24px;
}

.localizacao-address h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.localizacao-address p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.7;
}

.localizacao-btn {
  width: fit-content;
  margin-top: auto;
}

.localizacao-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(25, 29, 59, 0.08);
  min-height: 360px;
}

.localizacao-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: none;
  display: block;
}

@media (max-width: 1024px) {
  .localizacao-grid {
    grid-template-columns: 1fr;
  }

  .localizacao-map {
    min-height: 300px;
  }

  .localizacao-map iframe {
    min-height: 300px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
  color: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links-col li svg {
  flex-shrink: 0;
  color: var(--teal);
}

.footer-links-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.footer-rede a {
  color: var(--teal);
  transition: color 0.3s;
}

.footer-rede a:hover {
  color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cultos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .oracao-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oracao-text {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    gap: 8px;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 30px rgba(25, 29, 59, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .timeline-line {
    left: 24px;
  }

  .timeline-item .timeline-card,
  .timeline-item-right .timeline-card {
    margin: 0 0 0 80px;
    width: auto;
  }

  .timeline-marker {
    left: 24px;
  }

  .timeline-year {
    width: 52px;
    height: 52px;
    font-size: 0.7rem;
  }

  .carousel-controls {
    right: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .oracao-form {
    padding: 28px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .carousel-content {
    padding: 0 24px;
  }

  .carousel-controls {
    right: 24px;
    bottom: 40px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}
