/* =====================================================================
   ADVND — Assembleia de Deus Vivendo o Novo de Deus
   Design system: identidade VERDE (pomba do logo) + acento DOURADO.
   Abordagem: Mobile-first. Base = mobile; @media (min-width) escala.
   ===================================================================== */

:root {
  /* ---- Marca (verde da pomba do logo) ---- */
  --brand:      #0A7C5D;
  --brand-600:  #0A6C51;
  --brand-700:  #085541;
  --brand-800:  #063D2F;
  --brand-900:  #052A21;
  --brand-50:   rgba(10, 124, 93, 0.14);
  --brand-100:  rgba(10, 124, 93, 0.30);
  --brand-200:  rgba(108, 224, 182, 0.40);

  /* ---- Acento dourado (luz / plenitude) ---- */
  --gold:       #E0A63C;
  --gold-600:   #C9902A;
  --gold-700:   #A9761D;
  --gold-50:    #fbf3e2;

  /* ---- Canvas escuro contínuo (seções conectadas) ---- */
  --canvas:     #04150F;

  /* Verde-menta para textos de marca sobre o fundo escuro */
  --brand-text: #6ce0b6;

  /* ---- Neutros invertidos p/ o tema escuro ---- */
  --ink:        #F1F7F3;
  --ink-700:    #CFE0D7;
  --muted:      #9DB3A8;
  --muted-2:    #75897F;
  --line:       rgba(255, 255, 255, 0.10);
  --line-2:     rgba(255, 255, 255, 0.06);
  --surface:    rgba(255, 255, 255, 0.05);
  --bg:         rgba(255, 255, 255, 0.04);
  --bg-2:       rgba(255, 255, 255, 0.03);

  --white: #ffffff;

  /* ---- Tipografia ---- */
  --font: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;

  /* ---- Raios ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* ---- Sombras (suaves, em camadas, tom verde) ---- */
  --sh-xs: 0 1px 2px rgba(6, 61, 47, 0.06);
  --sh-sm: 0 2px 8px rgba(6, 61, 47, 0.06), 0 1px 2px rgba(6, 61, 47, 0.05);
  --sh-md: 0 10px 30px -12px rgba(6, 61, 47, 0.18), 0 4px 10px -6px rgba(6, 61, 47, 0.10);
  --sh-lg: 0 24px 60px -20px rgba(6, 61, 47, 0.28), 0 8px 20px -12px rgba(6, 61, 47, 0.14);
  --sh-gold: 0 12px 28px -10px rgba(224, 166, 60, 0.55);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.28s var(--ease);

  --header-h: 58px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

/* Canvas único: brilhos verdes/dourados atravessam as seções,
   criando a sensação de continuidade entre elas */
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 700px at 88% 6%,  rgba(224, 166, 60, 0.06), transparent 60%),
    radial-gradient(1100px 800px at 6% 24%,  rgba(10, 124, 93, 0.16),  transparent 60%),
    radial-gradient(1000px 800px at 94% 52%, rgba(10, 124, 93, 0.12),  transparent 60%),
    radial-gradient(1100px 900px at 8% 82%,  rgba(224, 166, 60, 0.05), transparent 60%),
    var(--canvas);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

::selection { background: #6ce0b6; color: var(--brand-900); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Link "pular para o conteúdo" — visível só com foco de teclado */
.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 2000;
  background: var(--brand-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
  transform: translateY(-200%);
  transition: transform var(--t);
}
.skip-link:focus-visible { transform: translateY(0); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  :root { --header-h: 76px; }
  .container { padding: 0 2rem; }
}

/* =====================================================================
   HEADER
   ===================================================================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(4, 21, 15, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

#header.scrolled {
  background: rgba(4, 21, 15, 0.88);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}

/* Barra de progresso de leitura */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background-image: url(../img/logo-advnd-site.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--t);
}
.logo:hover .logo-icon { transform: scale(1.06) rotate(-3deg); }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }

.logo-text strong {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .logo-icon { width: 42px; height: 42px; }
  .logo-text strong { font-size: 1.12rem; }
}

.logo-text span {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Desktop nav — escondida no mobile */
nav { display: none; }

@media (min-width: 1024px) {
  nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  nav a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-700);
    padding: 0.5rem 0.9rem;
    border-radius: var(--r-sm);
    transition: color var(--t), background var(--t);
  }
  nav a::after {
    content: '';
    position: absolute;
    left: 0.9rem; right: 0.9rem;
    bottom: 0.3rem;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
  }
  nav a:hover { color: #fff; }
  nav a:hover::after { transform: scaleX(1); }
  nav a.active { color: #fff; }
  nav a.active::after { transform: scaleX(1); }
  nav .nav-live::after { display: none; }
}

/* ---- Selo AO VIVO ----
   Oculto por padrão; o JS adiciona .is-live ao <body> quando
   a api/youtube.js detecta transmissão ao vivo no canal */
.nav-live {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff7070 !important;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.3);
  padding: 0.4rem 0.75rem !important;
  border-radius: var(--r-pill);
}
.nav-live:hover { background: rgba(255, 0, 0, 0.14); }
body.is-live .nav-live { display: inline-flex; }
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff1a1a;
  box-shadow: 0 0 0 0 rgba(255, 26, 26, 0.7);
  animation: livePulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 26, 26, 0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(255, 26, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 26, 26, 0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.btn-visit {
  display: none;
  background: var(--brand);
  color: #fff !important;
  padding: 0.6rem 1.15rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--sh-sm);
}
.btn-visit:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
@media (min-width: 1024px) { .btn-visit { display: inline-flex; } }

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: none;
  border-radius: var(--r-sm);
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile nav */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: rgba(4, 21, 15, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid transparent;
  padding: 0 1.25rem; /* sem padding vertical fechado — senão sobra faixa abaixo do header */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.3s var(--ease), border-color var(--t);
}
.mobile-nav.open {
  max-height: 600px;
  opacity: 1;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top-color: var(--line);
}
.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-700);
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.mobile-nav a:hover { color: #fff; background: var(--brand-50); }
.mobile-nav .btn-visit {
  display: block;
  background: var(--brand) !important;
  color: #fff !important;
  text-align: center;
  margin-top: 0.6rem;
  padding: 0.95rem 1rem;
  border-radius: var(--r-pill);
  font-weight: 700;
}

/* Links do menu mobile entram em cascata */
.mobile-nav a { opacity: 0; transform: translateY(-8px); }
.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color var(--t), background var(--t);
}
.mobile-nav.open a:nth-child(1) { transition-delay: 0.04s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.08s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.12s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.16s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.20s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.24s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.28s; }
.mobile-nav.open a:nth-child(8) { transition-delay: 0.32s; }

@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* Backdrop atrás do menu mobile */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(5, 42, 33, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) { .nav-backdrop { display: none; } }

/* =====================================================================
   HERO SLIDER
   ===================================================================== */
#hero {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 560px;
  max-height: 880px;
  margin-top: var(--header-h);
  overflow: hidden;
}

/* Pomba do logo em marca d'água sobre o hero */
#hero::after {
  content: '';
  position: absolute;
  right: -4%; bottom: -8%;
  width: min(520px, 60vw);
  aspect-ratio: 1;
  background: url(../img/logo-advnd-site.png) center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s ease;
}
.slide.active .slide-bg { transform: scale(1); }

/* Blobs "aurora" animados — profundidade viva no fundo */
.slide-bg::before,
.slide-bg::after {
  content: '';
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}
.slide-bg::before {
  top: -22%; left: -18%;
  background: radial-gradient(circle, rgba(18, 148, 110, 0.55), transparent 62%);
  animation: auroraA 20s ease-in-out infinite alternate;
}
.slide-bg::after {
  bottom: -26%; right: -18%;
  background: radial-gradient(circle, rgba(224, 166, 60, 0.30), transparent 62%);
  animation: auroraB 26s ease-in-out infinite alternate;
}
@keyframes auroraA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(12%, 9%, 0) scale(1.18); }
}
@keyframes auroraB {
  from { transform: translate3d(0, 0, 0) scale(1.12); }
  to   { transform: translate3d(-10%, -12%, 0) scale(0.94); }
}

/* Vídeos da igreja sob "tinta" verde da marca (duotone) —
   o <video> fica atrás do .slide-bg, que segura só a tinta */
.slide-1 .slide-bg {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(224,166,60,0.25), transparent 60%),
    linear-gradient(150deg, rgba(5,42,33,0.88) 0%, rgba(8,85,65,0.72) 45%, rgba(10,124,93,0.52) 100%);
}
.slide-2 .slide-bg {
  background:
    radial-gradient(1000px 500px at 10% 110%, rgba(224,166,60,0.20), transparent 55%),
    linear-gradient(150deg, rgba(6,61,47,0.88) 0%, rgba(10,108,81,0.70) 50%, rgba(18,148,110,0.50) 100%);
}

.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  background: #063D2F;
}
.slide-3 .slide-bg {
  background:
    radial-gradient(1100px 600px at 70% 0%, rgba(224,166,60,0.28), transparent 60%),
    linear-gradient(150deg, rgba(5,42,33,0.88) 0%, rgba(10,108,81,0.72) 55%, rgba(10,124,93,0.52) 100%);
}

/* Textura sutil de pontos */
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 72%, rgba(4, 21, 15, 0.85) 100%),
    radial-gradient(circle at center, rgba(0,0,0,0.10), rgba(0,0,0,0.42)),
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: cover, cover, 22px 22px;
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1.5rem 1.25rem;
  width: 100%;
  max-width: 780px;
  min-width: 0;
}

/* Reveal escalonado: tag → título → subtítulo → botões */
.slide-content > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.slide.active .slide-content > * { opacity: 1; transform: translateY(0); }
.slide.active .slide-content > *:nth-child(1) { transition-delay: 0.20s; }
.slide.active .slide-content > *:nth-child(2) { transition-delay: 0.34s; }
.slide.active .slide-content > *:nth-child(3) { transition-delay: 0.48s; }
.slide.active .slide-content > *:nth-child(4) { transition-delay: 0.62s; }

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}

/* Tipografia display editorial: caixa alta + palavra-chave vazada */
.slide-title {
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.slide-title .accent { color: #6ce0b6; }
.slide-title .accent-orange { color: var(--gold); }
@supports (-webkit-text-stroke: 2px #fff) {
  .slide-title .accent {
    color: transparent;
    -webkit-text-stroke: 2px #6ce0b6;
    text-shadow: none;
  }
  .slide-title .accent-orange {
    color: transparent;
    -webkit-text-stroke: 2px var(--gold);
    text-shadow: none;
  }
}

.slide-subtitle {
  font-size: clamp(1rem, 3.4vw, 1.28rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 2.2rem;
  max-width: 580px;
}

.slide-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Botões ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #3a2905;
  padding: 0.95rem 1.9rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  box-shadow: var(--sh-gold);
}
.btn-primary:hover {
  background: #eab54f;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(224, 166, 60, 0.65);
}

/* Brilho que desliza no hover */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::before { left: 130%; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.95rem 1.9rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px);
}

/* Dots / arrows */
.slider-nav {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 10;
}
.slider-dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width var(--t), background var(--t);
  border: none;
  padding: 0;
  overflow: hidden;
}
.slider-dot.active { width: 34px; background: rgba(255, 255, 255, 0.3); }

/* Preenchimento sincronizado com o autoplay (5s) */
.slider-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: dotProgress 5s linear forwards;
}
#hero.paused .slider-dot.active::after { animation-play-state: paused; }
@keyframes dotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 0.75rem;
  z-index: 10;
  pointer-events: none;
}
.slider-arrow {
  position: static;
  pointer-events: all;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), transform var(--t);
  padding: 0;
}
.slider-arrow:hover { background: rgba(255, 255, 255, 0.28); transform: scale(1.08); }

/* ---- Indicador de scroll (mouse animado) ---- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 4rem;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.5s var(--ease);
}
.scroll-cue.hidden { opacity: 0; pointer-events: none; }
.scroll-cue-mouse {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  position: relative;
}
.scroll-cue-mouse span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--gold);
  animation: cueWheel 1.8s ease-in-out infinite;
}
@keyframes cueWheel {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@media (max-width: 640px) { .scroll-cue { bottom: 3.4rem; } }

@media (max-width: 640px) {
  .slider-arrows { display: none; }

  /* Texto ancorado no topo — sem o vão da centralização vertical */
  #hero { max-height: 760px; }
  .slide { align-items: flex-start; }
  .slide-content { padding-top: 4rem; }

  /* CTAs em largura total = alvo de toque maior e sem overflow */
  .slide-buttons { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin: 0 auto; }
  .slide-buttons .btn-primary,
  .slide-buttons .btn-secondary { justify-content: center; width: 100%; }
}

/* =====================================================================
   MARQUEE — faixa do slogan (inspiração editorial)
   ===================================================================== */
.marquee {
  overflow: hidden;
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
  user-select: none;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #EAF4EF;
  line-height: 1;
}
.marquee-item.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(108, 224, 182, 0.5);
}
.marquee-star {
  color: var(--gold);
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  line-height: 1;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
}

/* =====================================================================
   SEÇÕES — RITMO GERAL
   ===================================================================== */
section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 6rem 0; } }

#inicio { padding: 0 !important; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 5.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}

/* =====================================================================
   SOBRE
   ===================================================================== */
#sobre { background: transparent; }

/* ---- Cabeçalho da seção ---- */
.sobre-header { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.script-accent {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.sobre-header .section-lead { margin: 0 auto; }

/* ---- História + Missão/Visão ---- */
.sobre-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .sobre-main { grid-template-columns: 1.08fr 0.92fr; gap: 1.75rem; align-items: stretch; }
}

.story-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--brand-800), var(--brand-700) 45%, var(--brand) 100%);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  color: #fff;
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .story-card { padding: 3rem 2.75rem; } }

.story-dove {
  position: absolute;
  right: -28px; top: -18px;
  width: 220px; height: 220px;
  background: url(../img/logo-advnd-site.png) center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.08;
  pointer-events: none;
}
.story-card::after {
  content: '';
  position: absolute;
  bottom: -90px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,166,60,0.3), transparent 70%);
  pointer-events: none;
}

.year-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224, 166, 60, 0.18);
  border: 1px solid rgba(224, 166, 60, 0.42);
  color: #ffe1ad;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.story-slogan {
  font-size: clamp(1.55rem, 4.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.story-slogan span { color: var(--gold); }

.story-card > p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.78;
  position: relative;
  z-index: 1;
  max-width: 46ch;
}

.story-loc {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.85rem;
  position: relative;
  z-index: 1;
}
.story-loc-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.story-loc strong { display: block; font-size: 0.98rem; font-weight: 700; color: #fff; }
.story-loc span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* ---- Missão / Visão ---- */
.sobre-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.mv-item {
  flex: 1;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.mv-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.mv-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand), var(--brand-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-sm);
}
.mv-body h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 0.4rem;
}
.mv-body p { font-size: 0.94rem; color: var(--muted); line-height: 1.65; }

/* =====================================================================
   LIDERANÇA
   ===================================================================== */
#lideranca { background: transparent; }

.lideranca-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.lideranca-header .section-lead { margin: 0 auto; }

.lideranca-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 420px;
  margin: 0 auto;
}
@media (min-width: 560px) { .lideranca-grid { grid-template-columns: 1fr 1fr; max-width: 720px; } }
@media (min-width: 900px) { .lideranca-grid { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 1.75rem; } }

/* Card estilo "cover": a foto ocupa o card inteiro, texto sobreposto na base */
.leader-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: transform var(--t), box-shadow var(--t);
}
.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg), 0 0 0 2px rgba(224, 166, 60, 0.35);
}

.leader-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 75% at 50% 5%, rgba(224, 166, 60, 0.22), transparent 60%),
    linear-gradient(160deg, var(--brand-700) 0%, var(--brand) 55%, var(--brand-600) 100%);
}
/* Sutil textura de pontos no painel */
.leader-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.leader-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
  transition: transform 0.55s var(--ease);
}
.leader-card:hover .leader-photo img { transform: scale(1.05); }

/* Gradiente escuro na base para legibilidade do texto */
.leader-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(5, 42, 33, 0) 45%,
    rgba(5, 42, 33, 0.55) 74%,
    rgba(5, 42, 33, 0.94) 100%);
  pointer-events: none;
}

.leader-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.5rem 1.5rem;
  text-align: left;
}
/* Barrinha dourada que cresce no hover */
.leader-info::before {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin-bottom: 0.8rem;
  transition: width var(--t);
}
.leader-card:hover .leader-info::before { width: 58px; }

.leader-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.leader-info h3 span { color: var(--gold); }

.leader-role {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.leader-role strong { color: #fff; font-weight: 700; }

/* =====================================================================
   PRIMEIRA VEZ
   ===================================================================== */
#primeira-vez { background: transparent; }

.pv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .pv-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; }
  .pv-intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.pv-intro .section-lead { margin-bottom: 1.75rem; }

.pv-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Botão contorno para fundos claros */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--brand-text);
  padding: 0.95rem 1.7rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--brand-200);
  cursor: pointer;
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.btn-ghost:hover {
  background: var(--brand-50);
  border-color: var(--brand-text);
  transform: translateY(-2px);
}

.pv-steps { list-style: none; display: flex; flex-direction: column; gap: 1rem; }

.pv-step {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pv-step:hover {
  transform: translateX(5px);
  box-shadow: var(--sh-sm);
  border-color: var(--brand-200);
}
.pv-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--brand), var(--brand-600));
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-sm);
}
.pv-step-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.pv-step-body p { font-size: 0.93rem; color: var(--muted); line-height: 1.6; }

/* =====================================================================
   CULTOS
   ===================================================================== */
#cultos { background: transparent; }

.cultos-header { text-align: center; margin-bottom: 2.75rem; }
.cultos-header .section-lead { margin: 0 auto; }

.cultos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (min-width: 768px) { .cultos-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.culto-card {
  border-radius: var(--r-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  transition: transform var(--t), box-shadow var(--t);
  cursor: default;
  isolation: isolate;
}
@media (min-width: 768px) { .culto-card { padding: 2.1rem 1.5rem; } }

.culto-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

/* Paleta coesa: tons de verde + dourado + tinta */
.culto-card.blue   { background: linear-gradient(155deg, var(--brand), var(--brand-600)); }
.culto-card.green  { background: linear-gradient(155deg, #12946E, var(--brand)); }
.culto-card.orange { background: linear-gradient(155deg, var(--gold), var(--gold-600)); color: #3a2905; }
.culto-card.dark   { background: linear-gradient(155deg, var(--brand-800), var(--brand-900)); border: 1px solid var(--line); }

.culto-card::before {
  content: '';
  position: absolute;
  top: -35px; right: -35px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
}

/* Ícone do período (lua / sol / bíblia / estrela) */
.culto-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 0.9rem;
  color: currentColor;
}
.culto-card.orange .culto-icon {
  background: rgba(58, 41, 5, 0.12);
  border-color: rgba(58, 41, 5, 0.18);
}

/* Destaque calculado via JS: o próximo culto da semana */
.culto-card.next {
  box-shadow: 0 0 0 3px var(--gold), var(--sh-lg);
  transform: scale(1.02);
  padding-top: 3rem;
}
.culto-card.next:hover { transform: scale(1.02) translateY(-6px); }
.culto-next-badge {
  position: absolute;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--gold);
  color: #3a2905;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 1;
}
.culto-card.orange .culto-next-badge { background: var(--brand-800); color: #fff; }

.culto-day {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.culto-name { font-size: 0.98rem; font-weight: 700; margin-bottom: 1.1rem; }
.culto-time { font-size: 2.05rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.35rem; }
.culto-label { font-size: 0.74rem; opacity: 0.75; font-weight: 500; }

/* =====================================================================
   YOUTUBE
   ===================================================================== */
#youtube {
  background: transparent;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#youtube::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% -10%, rgba(224,166,60,0.16), transparent 70%);
  pointer-events: none;
}

.youtube-header { text-align: center; margin-bottom: 2.5rem; position: relative; }
.youtube-header .section-tag,
.yt-tag {
  background: rgba(255, 0, 0, 0.16) !important;
  border-color: rgba(255, 80, 80, 0.3) !important;
  color: #ff8080 !important;
}
.youtube-header .section-title { color: #fff; }
.youtube-header .section-lead { color: rgba(255, 255, 255, 0.7); margin: 0 auto; }

.youtube-wrapper { max-width: 880px; margin: 0 auto; position: relative; }

.youtube-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: rgba(0, 0, 0, 0.3);
}
.youtube-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.youtube-embed img.thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.4s var(--ease);
}
.youtube-embed img.thumb:hover { transform: scale(1.04); }

.youtube-embed .play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: rgba(224, 166, 60, 0.92);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform var(--t);
}
.youtube-embed:hover .play-button { transform: translate(-50%, -50%) scale(1.1); }

.youtube-embed .live-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #e11;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--r-pill);
  z-index: 3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.youtube-cta { text-align: center; margin-top: 2rem; position: relative; }

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FF0000;
  color: #fff;
  padding: 0.95rem 1.9rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.btn-youtube:hover {
  background: #d40000;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(255, 0, 0, 0.5);
}

/* =====================================================================
   INSTAGRAM
   ===================================================================== */
#instagram { background: transparent; }

.instagram-header { text-align: center; margin-bottom: 2.5rem; }
.instagram-header .section-lead { margin: 0 auto; }

.insta-carousel { position: relative; }

.insta-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  cursor: grab;
  padding: 0.85rem 0 1.25rem;
}
.insta-scroll-wrap::-webkit-scrollbar { display: none; }
.insta-scroll-wrap.dragging { cursor: grabbing; scroll-snap-type: none; }
.insta-scroll-wrap.dragging .insta-card { pointer-events: none; }

.insta-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.insta-card {
  width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
@media (max-width: 560px) { .insta-card { width: 78vw; max-width: 320px; } }
.insta-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand-200); }

.insta-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(140deg, var(--brand-100), var(--bg));
}
.insta-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.insta-card:hover .insta-media img { transform: scale(1.06); }

.insta-glyph {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  z-index: 2;
}
.insta-badge {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  z-index: 2;
}

.insta-body { padding: 0.95rem 1.1rem 1.15rem; }
.insta-cap {
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.insta-date {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-text);
}

/* Cards de marca (fallback quando não há feed) */
.insta-card--brand .insta-media { display: flex; align-items: flex-end; }
.insta-brand-text {
  position: relative;
  padding: 1.25rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  z-index: 1;
}
.insta-media--g1 { background: linear-gradient(150deg, var(--brand), #12946E); }
.insta-media--g2 { background: linear-gradient(150deg, #12946E, var(--brand-700)); }
.insta-media--g3 { background: linear-gradient(150deg, var(--gold), var(--brand)); }
.insta-media--g4 { background: linear-gradient(150deg, var(--brand-800), var(--gold-700)); }

/* Setas do carrossel */
.insta-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(4, 21, 15, 0.85);
  backdrop-filter: blur(6px);
  color: var(--brand-text);
  font-size: 1.7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-md);
  transition: background var(--t), transform var(--t), opacity var(--t), color var(--t);
}
.insta-arrow:hover { background: var(--brand-800); color: #fff; transform: translateY(-50%) scale(1.08); }
.insta-arrow:disabled { opacity: 0; pointer-events: none; }
.insta-prev { left: -8px; }
.insta-next { right: -8px; }
@media (max-width: 700px) { .insta-arrow { display: none !important; } }

.insta-footer-link { text-align: center; margin-top: 2rem; }

.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  padding: 0.95rem 1.9rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
}
.btn-insta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(220, 39, 67, 0.45);
  opacity: 0.95;
}

/* =====================================================================
   DÍZIMOS & OFERTAS
   ===================================================================== */
#dizimos { background: transparent; }

.dizimos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .dizimos-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.dizimos-verse {
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 4.2vw, 2.1rem);
  line-height: 1.3;
  color: var(--brand-text);
  border-left: 3px solid var(--gold);
  padding: 0.15rem 0 0.15rem 1.25rem;
  margin: 0.5rem 0 1.5rem;
}
.dizimos-verse cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.dizimos-intro .section-lead { margin: 0; }

.dizimos-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 768px) { .dizimos-card { padding: 2rem; } }

.pix-qr { text-align: center; margin-bottom: 1.35rem; }
.pix-qr img {
  width: 200px; height: 200px;
  margin: 0 auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: 10px;
  background: #fff;
}
.pix-qr-hint { display: block; margin-top: 0.65rem; font-size: 0.78rem; color: var(--muted-2); }

.pix-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
}
.pix-key-text { display: flex; flex-direction: column; min-width: 0; }
.pix-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-text); }
.pix-key-text strong { font-size: 1rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background var(--t), transform var(--t);
}
.copy-btn:hover { background: var(--brand-700); transform: translateY(-1px); }
.copy-btn.copied { background: var(--gold-600); color: #3a2905; }

/* Troca do ícone copiar → check ao copiar */
.copy-btn .check-icon { display: none; }
.copy-btn.copied .copy-icon { display: none; }
.copy-btn.copied .check-icon { display: inline-block; animation: checkPop 0.35s var(--ease); }
@keyframes checkPop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.pix-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.35rem 0; color: var(--muted-2); font-size: 0.76rem; }
.pix-divider::before, .pix-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.bank-info { display: flex; flex-direction: column; }
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-row span { color: var(--muted); }
.bank-row strong { color: var(--ink); font-weight: 700; }

/* =====================================================================
   LOCALIZAÇÃO
   ===================================================================== */
#localizacao { background: transparent; }
#localizacao .section-lead { margin: 0 auto; }

.loc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .loc-grid { grid-template-columns: 1fr 1.35fr; gap: 3rem; }
}

.loc-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
}
@media (min-width: 768px) { .loc-info { padding: 2rem; } }

.loc-info h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.5rem; }

.loc-address {
  font-style: normal;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.horarios-mini {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.15rem 1.4rem;
  margin-bottom: 1.5rem;
}
.horarios-mini h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 0.85rem;
}
.horario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.horario-row:last-child { border-bottom: none; }
.horario-row .dia { font-weight: 600; color: var(--ink-700); }
.horario-row .hora { font-weight: 700; color: var(--brand-text); }

.social-links { display: flex; gap: 0.6rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), color var(--t), background var(--t);
  border: 1.5px solid var(--line);
  color: var(--ink-700);
  background: var(--surface);
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.social-btn.insta:hover { border-color: #ff6b8a; color: #ff8ba3; background: rgba(220, 39, 67, 0.12); }
.social-btn.fb:hover { border-color: #5c9dff; color: #7fb1ff; background: rgba(24, 119, 242, 0.12); }

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #fff;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  box-shadow: var(--sh-sm);
}
.btn-directions:hover { background: var(--brand-700); transform: translateY(-3px); box-shadow: var(--sh-md); }

.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  height: 340px;
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .map-embed { height: 100%; min-height: 460px; } }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* =====================================================================
   CTA FINAL — VENHA
   ===================================================================== */
#venha { background: transparent; padding-top: 0 !important; }

.venha-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: linear-gradient(155deg, var(--brand-800), var(--brand-700) 45%, var(--brand) 100%);
  border-radius: var(--r-xl);
  padding: 3.25rem 1.5rem;
  box-shadow: var(--sh-lg);
}
@media (min-width: 768px) { .venha-band { padding: 4.5rem 3rem; } }

.venha-band::after {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 166, 60, 0.32), transparent 70%);
  pointer-events: none;
}
.venha-dove {
  position: absolute;
  left: -40px; bottom: -50px;
  width: 260px; height: 260px;
  background: url(../img/logo-advnd-site.png) center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.07;
  pointer-events: none;
}

.venha-script { color: var(--gold); position: relative; z-index: 1; }

.venha-title {
  font-size: clamp(1.9rem, 5.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.venha-title span { color: var(--gold); }

.venha-lead {
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.venha-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .venha-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .venha-actions .btn-primary,
  .venha-actions .btn-secondary { justify-content: center; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer {
  background: transparent;
  border-top: 1px solid var(--line);
  color: #fff;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
}

.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: rgba(255, 255, 255, 0.45); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-width: 42ch;
}

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.35rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), border-color var(--t), transform var(--t);
  color: #fff;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #3a2905;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--t), padding var(--t);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-col .horario-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
}
.footer-col .horario-item .time { color: var(--gold); font-weight: 700; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p, .footer-bottom .love {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* =====================================================================
   WHATSAPP FLOAT
   ===================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--t), box-shadow var(--t);
  color: #fff;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55); }

/* =====================================================================
   ANIMAÇÕES
   ===================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }

/* =====================================================================
   VOLTAR AO TOPO
   ===================================================================== */
.back-to-top {
  position: fixed;
  bottom: 1.4rem; right: 1.4rem;
  z-index: 950;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t), background var(--t), box-shadow var(--t);
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--brand-700); transform: translateY(-3px); box-shadow: var(--sh-lg); }

.icon { display: inline-block; width: 1em; height: 1em; vertical-align: middle; fill: currentColor; }

/* Estados vazios (carregando) */
.youtube-embed:empty::before {
  content: "Carregando vídeo...";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
.insta-track:empty::before {
  content: "Em breve, nosso feed do Instagram aqui.";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3rem;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  color: var(--muted-2);
  font-size: 0.9rem;
}

/* =====================================================================
   ACESSIBILIDADE — respeita quem prefere menos movimento
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .slide-bg { transform: none !important; }
}
