/* Fonte da Vida — landing page styles */

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

/* ── Kicker label (small uppercase eyebrow) ──────────────── */
.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #476b96;
}

/* ── Bullet (small primary dot for feature lists) ────────── */
.bullet {
  display: inline-block;
  margin-top: 2px;
  font-size: 8px;
  color: #476b96;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Reveal-on-scroll ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.show { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ── Phone mockup (hero) ─────────────────────────────────── */
.phone-mockup {
  width: min(320px, 90vw);
  aspect-ratio: 9 / 19;
  background: #0e141d;
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(28, 37, 48, 0.45),
    0 8px 16px -4px rgba(28, 37, 48, 0.18),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  position: relative;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0e141d;
  border-radius: 999px;
  z-index: 5;
}
.phone-screen {
  background: #fbf8f3;
  border-radius: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.phone-screen::before {
  content: 'Mateus 1';
  display: block;
  text-align: center;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  padding: 50px 16px 12px;
  color: #1c2530;
}
.lyrics-demo {
  flex: 1;
  padding: 8px 18px;
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.55;
  color: #1c2530;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lyrics-demo .lyrics-head { display: none; }
.lyrics-row {
  position: relative;
  padding: 6px 4px 6px 10px;
  border-radius: 6px;
  opacity: 0.45;
  transition: all 300ms ease;
}
.lyrics-row.before { opacity: 0.32; }
.lyrics-row.active {
  opacity: 1;
  border-left: 3px solid #476b96;
  color: #476b96;
  font-weight: 500;
  animation: lyrics-pulse 2.4s ease-in-out infinite;
}
@keyframes lyrics-pulse {
  0%, 100% { background: rgba(71,107,150,0.06); }
  50%      { background: rgba(71,107,150,0.12); }
}

.player-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
}
.player-cover {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #476b96;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.player-info { flex: 1; min-width: 0; }
.player-title { font-size: 11px; font-weight: 600; color: #1c2530; }
.player-prog {
  margin-top: 5px;
  height: 3px;
  background: rgba(0,0,0,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.player-prog span {
  display: block;
  width: 35%;
  height: 100%;
  background: #476b96;
  animation: bar-fill 6s ease-in-out infinite;
}
@keyframes bar-fill {
  0%   { width: 25%; }
  50%  { width: 65%; }
  100% { width: 25%; }
}
.player-play {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #476b96;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ── Languages pill ──────────────────────────────────────── */
.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(28,37,48,0.10);
  border-radius: 999px;
  background: #fbf8f3;
  font-size: 13px;
  font-weight: 500;
  color: #1c2530;
  transition: border-color 200ms ease, background 200ms ease;
}
.lang-pill:hover {
  border-color: #476b96;
  background: rgba(71,107,150,0.06);
  color: #476b96;
}

/* ── Sync illustration (right side of sync section) ──────── */
.sync-illustration { display: flex; justify-content: center; }
.sync-stage {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 36px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
  border: 1px solid rgba(28,37,48,0.08);
  box-shadow: 0 20px 50px -20px rgba(28,37,48,0.18);
  font-family: Georgia, serif;
  position: relative;
}
.sync-verse {
  position: relative;
  padding: 8px 4px 8px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #1c2530;
  opacity: 0.45;
}
.sync-verse.before { opacity: 0.30; }
.sync-verse.active {
  opacity: 1;
  color: #476b96;
  font-weight: 500;
  border-left: 4px solid #476b96;
  display: flex; align-items: center; gap: 8px;
}
.sync-bar {
  display: inline-block;
  width: 3px; height: 18px; background: #476b96;
  border-radius: 1px;
  animation: bar-pulse 1.2s ease-in-out infinite;
}
@keyframes bar-pulse {
  0%, 100% { transform: scaleY(0.6); }
  50%      { transform: scaleY(1.05); }
}
.sync-wave {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 24px;
  margin-top: 22px;
  padding: 0 4px;
}
.sync-wave span {
  display: inline-block;
  width: 4px;
  background: #476b96;
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
}
.sync-wave span:nth-child(1) { animation-delay: 0s;   height: 60%; }
.sync-wave span:nth-child(2) { animation-delay: 0.1s; height: 90%; }
.sync-wave span:nth-child(3) { animation-delay: 0.2s; height: 50%; }
.sync-wave span:nth-child(4) { animation-delay: 0.3s; height: 75%; }
.sync-wave span:nth-child(5) { animation-delay: 0.4s; height: 40%; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50%      { transform: scaleY(1); }
}

/* ── Feature card (community + study sections) ───────────── */
.feature-card {
  background: #fbf8f3;
  border: 1px solid rgba(28,37,48,0.08);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(71,107,150,0.30);
  border-color: rgba(71,107,150,0.35);
}
.feature-icon {
  font-size: 28px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(71,107,150,0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1c2530;
}
.feature-desc {
  font-size: 14px;
  color: rgba(28,37,48,0.70);
  line-height: 1.55;
}

/* ── Ezra chat stage ─────────────────────────────────────── */
.ezra-stage {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
  border: 1px solid rgba(28,37,48,0.08);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 50px -20px rgba(28,37,48,0.18);
}
.ezra-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
  position: relative;
}
.ezra-bubble.user {
  align-self: flex-end;
  background: #476b96;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ezra-bubble.bot {
  align-self: flex-start;
  background: #ffffff;
  color: #1c2530;
  border: 1px solid rgba(28,37,48,0.08);
  border-bottom-left-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.bot-spark {
  font-size: 16px;
  flex-shrink: 0;
  animation: spark-spin 6s linear infinite;
}
@keyframes spark-spin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(15deg) scale(1.15); }
}

/* ── Flag chip ──────────────────────────────────────────── */
.flag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(28,37,48,0.08);
  filter: saturate(1.05);
}
