/* ==========================================================================
   pwE (Pray With Me) — Landing Page Sacred Design System
   Harmonizado com a espiritualidade católica e estética contemplativa
   ========================================================================== */

:root {
  --bg-parchment: #FAF7F0;
  --bg-parchment-deep: #F3ECE0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FDFBF7;
  --border-sacred: rgba(197, 160, 89, 0.35);
  --border-card: rgba(197, 160, 89, 0.25);
  --gold-accent: #C5A059;
  --gold-dark: #A68037;
  --gold-light: #E5CCA0;
  --gold-glow: rgba(197, 160, 89, 0.22);
  --sacred-red: #8B1E1E;
  --liturgical-green: #2E5A36;
  --liturgical-purple: #4A2E6D;
  --text-primary: #2C2621;
  --text-secondary: #6B5E54;
  --text-muted: #8F8277;
  --shadow-sacred: 0 10px 30px -10px rgba(70, 50, 20, 0.08);
  --shadow-hover: 0 16px 40px -10px rgba(197, 160, 89, 0.25);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-parchment: #12100E;
    --bg-parchment-deep: #1A1613;
    --bg-card: #1D1A17;
    --bg-card-hover: #26221E;
    --border-sacred: rgba(197, 160, 89, 0.3);
    --border-card: rgba(197, 160, 89, 0.18);
    --gold-accent: #D6B370;
    --gold-dark: #B89248;
    --text-primary: #F5EFEB;
    --text-secondary: #B8ACA0;
    --text-muted: #7E746A;
    --shadow-sacred: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-parchment);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Tipografia Sacra */
h1, h2, h3, h4, .font-cinzel {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.font-lora, .quote, .step-question {
  font-family: 'Lora', serif;
  font-style: italic;
}

.cross-glyph {
  color: var(--gold-accent);
  display: inline-block;
  margin: 0 6px;
  font-weight: normal;
}

/* Divisor Sacro */
.sacred-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto;
  max-width: 240px;
  color: var(--gold-accent);
}
.sacred-divider::before,
.sacred-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-sacred), transparent);
}
.sacred-divider span {
  padding: 0 14px;
  font-size: 1.1rem;
}

/* Container */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 247, 240, 0.88);
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition);
}
@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(18, 16, 14, 0.88);
  }
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-accent);
  box-shadow: 0 0 10px var(--gold-glow);
}
.brand-name {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--gold-accent);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.desktop-nav {
  display: flex;
}
.btn-nav {
  padding: 10px 20px;
  background: var(--gold-accent);
  color: #FFFFFF !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 4px 14px var(--gold-glow);
}
.btn-nav:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-sacred);
  background: rgba(197, 160, 89, 0.08);
  color: var(--text-primary) !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.lang-switch:hover {
  background: var(--gold-accent);
  color: #12100E !important;
  border-color: var(--gold-accent);
  box-shadow: 0 2px 10px var(--gold-glow);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-sacred);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.16;
  margin-bottom: 20px;
  color: var(--text-primary);
  word-wrap: break-word;
}
.hero-subtitle {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.store-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  max-width: 480px;
}
/* ==========================================================================
   Botões de Acesso às Plataformas (Google Play, App Store, Versão Web)
   Design System Sacro Unificado: mesma altura, alinhamento, tipografia e nobreza
   ========================================================================== */
.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 12px 20px;
  min-height: 64px;
  background: #12100E;
  color: #FFFFFF;
  border: 1.5px solid rgba(197, 160, 89, 0.3);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.btn-store:hover {
  transform: translateY(-2px);
  border-color: var(--gold-accent);
  background: #1C1712;
  box-shadow: 0 6px 22px rgba(197, 160, 89, 0.28);
}

.btn-store svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.btn-store .btn-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.btn-store .btn-text small {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  font-weight: 600;
  color: #A0A0A0;
}

.btn-store .btn-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: #FFFFFF;
}

/* 1. Google Play */
.btn-googleplay {
  background: #12100E;
  border-color: rgba(197, 160, 89, 0.3);
}
.btn-googleplay .btn-text small.tag-testing,
.btn-googleplay .btn-text small.tag-android {
  color: var(--gold-accent);
  font-weight: 600;
}

/* 2. Apple App Store */
.btn-apple {
  background: #12100E;
  border-color: rgba(197, 160, 89, 0.3);
}
.btn-apple svg {
  fill: #FFFFFF;
}
.btn-apple.disabled,
.btn-store.disabled {
  opacity: 0.78;
  cursor: default;
  border: 1.5px dashed rgba(197, 160, 89, 0.35);
  background: #0E0C0A;
  box-shadow: none;
}
.btn-apple.disabled:hover,
.btn-store.disabled:hover {
  transform: none;
  border-color: rgba(197, 160, 89, 0.5);
  background: #14110E;
  box-shadow: none;
}
.btn-apple .btn-text small.tag-soon,
.btn-apple .btn-text small.tag-apple {
  color: var(--gold-accent);
  font-weight: 600;
}
.btn-apple .btn-text strong {
  color: #E2DFD8;
}

/* 3. Versão Web (Acesso Imediato) */
.btn-web {
  background: linear-gradient(135deg, #1A150F 0%, #241A10 100%);
  border: 1.5px solid var(--gold-accent);
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.2);
}
.btn-web:hover {
  background: linear-gradient(135deg, #261C12 0%, #352516 100%);
  border-color: #E6CE96;
  box-shadow: 0 6px 24px rgba(197, 160, 89, 0.38);
  transform: translateY(-2px);
}
.btn-web svg,
.btn-web svg * {
  fill: none !important;
  stroke: var(--gold-accent) !important;
}
.btn-web .btn-text small.tag-web,
.btn-web .btn-text small.tag-instant {
  color: var(--gold-accent);
  font-weight: 700;
}
.btn-web .btn-text strong {
  color: #FFF9ED;
}
.hero-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Mockup Altar Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.sacred-frame, .altarpiece-frame {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  border: 2px solid var(--gold-accent);
  background: linear-gradient(145deg, #1C1713, #100C09);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 24px rgba(197, 160, 89, 0.22);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  transition: var(--transition);
}
.sacred-frame:hover, .altarpiece-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 32px rgba(197, 160, 89, 0.35);
}
.sacred-frame img, .altarpiece-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.sacred-frame-badge, .altarpiece-caption {
  text-align: center;
  padding: 10px 16px;
  background: rgba(18, 14, 11, 0.95);
  border-top: 1px solid var(--border-sacred);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

/* Seções Gerais */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  color: var(--gold-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 2.1rem;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Citação de Bento XVI */
.quote-banner {
  background: var(--bg-parchment-deep);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 44px 0;
  text-align: center;
}
.quote-text {
  font-size: 1.25rem;
  color: var(--text-primary);
  max-width: 840px;
  margin: 0 auto 12px;
}
.quote-author {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold-accent);
  letter-spacing: 0.08em;
}

/* Grid dos 4 Degraus */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sacred);
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-hover);
}
.step-number {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.step-title {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.step-question {
  font-size: 0.95rem;
  color: var(--gold-dark);
  margin-bottom: 14px;
  display: block;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Pilares / Diferenciais */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sacred);
  transition: var(--transition);
}
.pillar-card:hover {
  border-color: var(--gold-accent);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-sacred);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.pillar-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Benfeitores Section */
.benefactor-box {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-parchment-deep));
  border: 1.5px solid var(--border-sacred);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sacred);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.benefactor-title {
  font-size: 2rem;
  margin-bottom: 16px;
}
.benefactor-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.benefactor-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefactor-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.benefactor-perks li span.cross {
  color: var(--gold-accent);
}
.benefactor-card-action {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sacred);
}
.benefactor-price {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold-accent);
  margin-bottom: 8px;
}
.benefactor-price small {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.benefactor-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}
.faq-question span.arrow {
  color: var(--gold-accent);
  transition: transform 0.3s ease;
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-question span.arrow {
  transform: rotate(180deg);
}

/* CTA Footer */
.cta-section {
  text-align: center;
  padding: 90px 0;
  background: radial-gradient(circle at center, var(--bg-parchment-deep), var(--bg-parchment));
  border-top: 1px solid var(--border-card);
}
.cta-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Footer Institucional e Legal */
.footer {
  background: var(--bg-parchment-deep);
  border-top: 1px solid var(--border-sacred);
  padding: 48px 0 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold-accent);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  font-size: 0.82rem;
}

/* Estilos de Páginas Legais (terms.html & privacy.html) */
.legal-page {
  padding: 60px 0 80px;
}
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sacred);
  max-width: 900px;
  margin: 0 auto;
}
.legal-card h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  text-align: center;
}
.legal-date {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: block;
}
.legal-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--gold-accent);
}
.legal-content p {
  margin-bottom: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.legal-content ul {
  margin: 0 0 20px 24px;
  color: var(--text-secondary);
}
.legal-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Responsividade Mobile */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .store-buttons {
    margin: 0 auto 24px;
  }
  .hero-guarantees {
    justify-content: center;
  }
  .benefactor-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
}
@media (max-width: 600px) {
  .navbar .container {
    padding: 0 16px;
    height: 60px;
  }
  .brand {
    gap: 8px;
  }
  .brand-logo {
    width: 30px;
    height: 30px;
  }
  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.03em;
  }
  .desktop-nav {
    display: none;
  }
  .lang-switch {
    padding: 4px 8px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .hero {
    padding: 36px 0 36px;
  }
  .hero-content {
    gap: 20px;
  }
  .hero-title {
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
    margin-bottom: 24px;
  }
  .hero-badge {
    margin: 0 auto 16px;
    font-size: 0.78rem;
  }
  .store-buttons {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }
  .btn-store {
    padding: 10px 16px;
  }
  .sacred-frame, .altarpiece-frame {
    max-width: 260px;
  }
}
