/* Bíblia Strong — site styles
 * Paleta espelha o app: roxo profundo + dourado discreto.
 * Tipografia: Cormorant para títulos, Inter para corpo.
 */

:root {
  --bg: #1A0E2E;
  --bg-elev: #251638;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #FFFFFF;
  --text-muted: #c9b8e8;
  --text-subtle: #8b7eaa;
  --primary: #7C5BCC;
  --primary-strong: #9B7AE6;
  --gold: #C9A55E;
  --danger: #E85A5A;
  --max: 64rem;
}

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

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-strong);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--gold); }

/* ─── Header ─────────────────────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(26, 14, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.brand-mark {
  width: 28px; height: 28px;
  background: var(--text);
  mask: url("/assets/icon.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/icon.svg") center / contain no-repeat;
}
.nav { display: flex; gap: 1.5rem; align-items: center; font-size: 0.875rem; }
.nav a { color: var(--text-muted); }

@media (max-width: 600px) {
  .nav { display: none; }
}

/* ─── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  padding: 2.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer-col h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.625rem;
  color: var(--text);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.375rem; }
.footer-col a { color: var(--text-muted); }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-align: center;
}

/* ─── Layout helpers ─────────────────────────────────────────────────── */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 120%;
  background: radial-gradient(ellipse at top, rgba(124, 91, 204, 0.18), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.hero .tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: 400;
}
.hero p.lead {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}
.hero-note {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--gold);
  margin-top: 1.5rem;
}

.cta-row {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.625rem;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-strong);
  color: white;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── Sections ───────────────────────────────────────────────────────── */

section.block {
  padding: 4rem 0;
}
section.block h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
section.block .section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
}

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.feature .feature-icon {
  width: 36px; height: 36px;
  border-radius: 0.5rem;
  background: rgba(124, 91, 204, 0.18);
  color: var(--primary-strong);
  display: grid;
  place-items: center;
  margin-bottom: 0.875rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}
.feature h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.feature p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.plans {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.plan.highlight {
  border-color: var(--primary);
  border-width: 2px;
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -0.625rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.plan h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.plan .price {
  font-size: 2rem;
  font-weight: 500;
  font-family: 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 0.125rem;
}
.plan .period {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.plan ul {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}
.plan li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-strong);
  font-weight: 600;
}

/* ─── Legal pages (privacidade / termos / moderacao / suporte) ────────── */

.legal {
  padding: 3rem 0 4rem;
}
.legal h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.legal .updated {
  color: var(--text-subtle);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}
.legal h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.625rem;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.legal h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}
.legal ul,
.legal ol {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal li { margin-bottom: 0.375rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .placeholder {
  background: rgba(201, 165, 94, 0.12);
  border: 1px dashed var(--gold);
  border-radius: 0.375rem;
  padding: 0.125rem 0.375rem;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.875em;
}

/* ─── FAQ (suporte) ──────────────────────────────────────────────────── */

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1.125rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-subtle);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  content: '−';
  color: var(--gold);
}
.faq details[open] summary { color: var(--gold); }
.faq details p {
  margin-top: 0.875rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.support-contact {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  text-align: center;
}
.support-contact h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* ─── Misc ───────────────────────────────────────────────────────────── */

::selection { background: var(--primary); color: white; }
