:root {
  --bg: #050509;
  --bg-elevado: #101018;
  --bg-card: rgba(16, 16, 24, 0.72);
  --borda-card: rgba(255, 255, 255, 0.09);
  --accent: #fbbf24;
  --accent-soft: rgba(251, 191, 36, 0.12);
  --texto: #e5e7eb;
  --texto-suave: #9ca3af;
  --texto-fraco: #6b7280;
  --sombra: 0 24px 80px rgba(0, 0, 0, 0.38);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--texto);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.12), transparent 20%),
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.10), transparent 25%),
    linear-gradient(180deg, #06070b 0%, #090b12 35%, #040507 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.03), transparent 20%, transparent 80%, rgba(255,255,255,0.02));
}

.logo,
.logo:link,
.logo:visited,
.logo:hover,
.logo:active,
.logo-texto {
  text-decoration: none !important;
  outline: none !important;
  border: none !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.logo-header {
  height: 26px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: contain;
}

.logo-texto {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.28);
  letter-spacing: 0.03em;
}

.logo:hover .logo-texto {
  color: #ffd868;
  text-shadow: 0 0 14px rgba(255, 216, 104, 0.5);
  transition: 0.2s ease-in-out;
}

.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 7, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.6rem;
}

.menu {
  display: flex;
  flex-wrap: wrap;
}

.menu a {
  color: var(--texto-suave);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.menu a:hover {
  color: var(--texto);
  background-color: rgba(148, 163, 184, 0.14);
}

.menu a.ativo {
  color: #1c1917;
  background: var(--accent);
}

main {
  flex: 1;
  width: 100%;
}

.home-main {
  max-width: 100%;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-shell.compact {
  width: min(1100px, calc(100% - 32px));
}

.hero-home {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0 5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-texto h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 12ch;
  margin-bottom: 1.2rem;
}

.hero-texto p,
.page-hero p,
.sobre p,
.card p,
.video-card p,
.contato-section p,
.hero-card-texto,
.stat-item span,
.cta-box p {
  color: var(--texto-suave);
  line-height: 1.65;
}

.hero-texto p {
  max-width: 41rem;
  font-size: 1.05rem;
}

.hero-botoes {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primario {
  background: var(--accent);
  color: #1c1917;
}

.btn.primario:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn.secundario,
.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--texto);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn.secundario:hover,
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.glass-card,
.card,
.video-card,
.music-card,
.contato-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--borda-card);
  box-shadow: var(--sombra);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-destaque {
  display: flex;
  justify-content: center;
}

.hero-card {
  border-radius: 2rem;
  padding: 1.7rem;
  width: 100%;
  max-width: 390px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -15%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 70%);
}

.hero-card-titulo {
  position: relative;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.hero-card-texto {
  position: relative;
  font-size: 1rem;
  margin-bottom: 1.4rem;
}

.hero-highlights {
  position: relative;
  display: grid;
  gap: 0.85rem;
}

.hero-highlights div,
.stat-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-highlights strong,
.stat-item strong {
  font-size: 0.98rem;
}

.section-band {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 0;
}

.section-band::before,
.section-band::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
}

.section-band::before { top: 0; }
.section-band::after { bottom: 0; }

.alt-band {
  min-height: 68vh;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-heading.centralizado {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
}

.texto-card,
.stats-card,
.feature-card,
.video-card,
.contato-form,
.cta-box {
  border-radius: 1.8rem;
  padding: 1.6rem;
}

.texto-card p {
  font-size: 1.04rem;
}

.stats-card {
  display: grid;
  gap: 0.9rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.3rem;
}

.feature-card {
  min-height: 240px;
}

.feature-card.destaque {
  border-color: rgba(251, 191, 36, 0.2);
  box-shadow: 0 24px 80px rgba(251, 191, 36, 0.08);
}

.card h3,
.video-card h2,
.music-header h2 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.page-hero p {
  max-width: 46rem;
  font-size: 1rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  padding-bottom: 3rem;
}

.video-card {
  padding: 1rem;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: #020617;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cifras-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.8rem 0 3.5rem;
}

.menu-cifras-interno {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.menu-cifras-interno button {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--texto);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.menu-cifras-interno button.ativo {
  background: var(--accent);
  color: #1c1917;
  border-color: transparent;
}

.cifras-busca {
  margin-bottom: 1.4rem;
}

.search-wrapper {
  position: relative;
}

.search-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--texto-fraco);
}

.search-box {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--texto);
}

.search-box::placeholder {
  color: var(--texto-suave);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.music-card {
  border-radius: 1.4rem;
  padding: 1.2rem;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.music-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.18);
}

.music-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.tom {
  color: var(--accent);
  white-space: nowrap;
}

.music-content {
  margin-top: 0.9rem;
}

.btn-pdf {
  display: inline-flex;
  margin-top: 0.9rem;
  text-decoration: none;
  color: #111827;
  background: var(--accent);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}


.liturgia-section {
  padding-bottom: 3.5rem;
}

.liturgia-status,
.liturgia-card {
  border-radius: 1.8rem;
}

.liturgia-status {
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.3rem;
}

.liturgia-status-topo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.status-badge,
.liturgia-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.78rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
}

.liturgia-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.liturgia-card {
  padding: 1.4rem;
}

.liturgia-card-destaque {
  grid-column: 1 / -1;
}

.liturgia-card-header {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.liturgia-card h2 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.liturgia-texto {
  color: var(--texto-suave);
  line-height: 1.75;
  white-space: pre-line;
}

.liturgia-card.is-error,
.liturgia-status.is-error {
  border-color: rgba(248, 113, 113, 0.35);
}

.contato-section {
  padding-bottom: 3rem;
}

.contato-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.contato-form label {
  font-weight: 600;
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--texto);
  padding: 0.9rem 1rem;
}

.contato-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contato-form button {
  margin-top: 0.6rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #1c1917;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.cta-final {
  padding: 0 0 4rem;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: center;
}

.rodape {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.2rem;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.rodape-conteudo {
  max-width: 1100px;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.rodape-copy {
  font-size: 0.84rem;
  color: var(--texto-fraco);
}



/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.hero-home .hero-texto,
.page-hero,
.cta-box {
  isolation: isolate;
}

.section-band,
.page-hero,
.cifras-container,
.contato-section,
.videos-grid,
.cta-final {
  scroll-margin-top: 110px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on-scroll,
  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero-home,
  .hero,
  .split-layout,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-home {
    min-height: auto;
    padding-top: 3rem;
  }

  .videos-grid,
  .grid-3,
  .music-grid,
  .liturgia-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .menu a {
    margin-left: 0;
    margin-right: 0.4rem;
    margin-bottom: 0.35rem;
  }

  .section-shell,
  .section-shell.compact,
  .cifras-container {
    width: min(100% - 24px, 1100px);
  }

  .hero-texto h1,
  .page-hero h1,
  .section-heading h2,
  .cta-box h2 {
    max-width: none;
  }

  .videos-grid,
  .grid-3,
  .music-grid,
  .liturgia-grid {
    grid-template-columns: 1fr;
  }

  .section-band {
    min-height: auto;
    padding: 3.2rem 0;
  }

  .hero-card,
  .texto-card,
  .stats-card,
  .feature-card,
  .contato-form,
  .cta-box {
    border-radius: 1.4rem;
  }
}

#evangelhoTexto,
#primeiraLeituraTexto,
#segundaLeituraTexto,
#salmoTexto {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
}

#evangelhoCard {
  border: 1px solid #6e6c75;
}
