﻿/*--------------------------------------------------------------
  Sabbati — Diretório Cristão e Ferramenta de Estudos
  Design System: Parchment (light) + Leather (dark) theme
  Fonts: Cormorant Garamond + Source Sans Pro
--------------------------------------------------------------*/

/* ===== CSS VARIABLES ===== */
:root {
  /* Parchment (light) palette */
  --parchment: #f5f0e8;
  --parchment-alt: #eee8dc;
  --parchment-dark: #e8e0d0;
  --ink: #2c2416;
  --ink-light: #5a4d3a;
  --accent-nt: #8b2232;
  --accent-nt-bg: #fdf5f6;
  --accent-dc: #1a4a6e;
  --accent-dc-bg: #f4f8fb;
  --gold: #d4af37;
  --gold-light: #e2c04b;
  --divider: #c4b89a;

  /* Leather (dark) palette */
  --bg-dark: #1a1714;
  --bg-card: #242019;
  --text-light: #e8e0d0;
  --text-muted: #9a8e7a;
  --border-dark: #3a3228;

  /* Fonts */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', Roboto, sans-serif;

  /* Type scale (10 sizes) */
  --fs-xs: 0.75rem;       /* badges, meta labels */
  --fs-sm: 0.85rem;       /* chips, small buttons */
  --fs-base: 1rem;        /* body text */
  --fs-md: 1.1rem;        /* subtitles, citations */
  --fs-lg: 1.5rem;        /* card titles */
  --fs-xl: 1.6rem;        /* section titles */
  --fs-2xl: 2rem;         /* large headings */
  --fs-3xl: 3rem;         /* display */

  /* Common spacing */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 12px 40px rgba(44, 36, 22, 0.1);

  /* Transitions */
  --transition: 0.3s ease;

  /* ===== EDITORIAL (parchment landing) tokens ===== */
  --paper: #f5f0e8;
  --paper-2: #efe7da;
  --ink-soft: #4a3f2a;
  --ink-mute: #786950;
  --rule: #c4b89a;
  --ff-display: 'Newsreader', 'EB Garamond', Georgia, serif;
  --ff-body-editorial: 'Newsreader', Georgia, serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  scroll-behavior: smooth;
}

[data-theme="dark"] {
  --paper: #1a1714;
  --paper-2: #242019;
  --ink: #e8e0d0;
  --ink-soft: #c4b89a;
  --ink-mute: #9a8e7a;
  --rule: #3a3228;
}

/* ===== SCROLLBAR GLOBAL ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,.25); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,.45); }
* { scrollbar-width: thin; scrollbar-color: rgba(212,175,55,.25) transparent; }

[data-theme="light"] ::-webkit-scrollbar-track { background: #e8e0d0; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(120,90,20,.22); }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(120,90,20,.40); }
[data-theme="light"] * { scrollbar-color: rgba(120,90,20,.22) transparent; }

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-light);
  background-color: var(--bg-dark);
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

p {
  font-weight: 300;
  margin-bottom: 1rem;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--gold);
  color: #fff;
}

/* ===== HEADER / NAVBAR ===== */
.sabbati-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 23, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 0;
  transition: all var(--transition);
}

.sabbati-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.sabbati-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.sabbati-header .logo-icon {
  font-size: var(--fs-xl);
  color: var(--gold);
}

.sabbati-header .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.sabbati-header .logo-text span {
  color: var(--gold);
}

.sabbati-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile nav fica oculto em desktop, desktop nav fica oculto em mobile */
.sabbati-nav--mobile {
  display: none;
}

.sabbati-nav li a {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-base);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.sabbati-nav li a:hover,
.sabbati-nav li a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.sabbati-nav .nav-btn {
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: var(--bg-dark) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.sabbati-nav .nav-btn:hover {
  background: var(--gold-light);
  color: var(--bg-dark) !important;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  display: none;
  font-size: var(--fs-lg);
  color: var(--text-light);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

/* Dropdown */
.sabbati-nav .dropdown {
  position: relative;
}

.sabbati-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 0.35rem 0;
  min-width: 180px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

@media (min-width: 992px) {
  .sabbati-nav .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.sabbati-nav .dropdown-menu li a {
  display: block;
  padding: 0.3rem 1rem;
  color: var(--text-muted);
  text-transform: none;
  font-size: var(--fs-sm);
  border-radius: 0;
  white-space: nowrap;
}

.sabbati-nav .dropdown-menu li a:hover {
  background: rgba(184, 150, 62, 0.1);
  color: var(--gold);
}

.dropdown-indicator {
  font-size: var(--fs-xs);
  margin-left: 0.25rem;
}

/* Services mega-dropdown (legacy single-column — kept for mobile) */
.sabbati-nav .dropdown-services {
  min-width: 320px;
  max-height: 85vh;
  overflow-y: auto;
  right: auto;
  left: 0;
  columns: 1;
}

/* ========== MEGA-MENU (desktop only) ========== */
.sabbati-header .header-inner {
  position: relative; /* anchor for mega-menu */
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  z-index: 1001;
  gap: 1.5rem;
}

/* Invisible bridge so mouse can travel from "Recursos" to the panel */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
}

@media (min-width: 992px) {
  .sabbati-nav .dropdown.dropdown-mega {
    position: static;
  }
  .mega-menu {
    display: none;
    grid-template-columns: repeat(4, 1fr);
  }
  .sabbati-nav .dropdown-mega:hover .mega-menu {
    display: grid;
  }
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mega-section-label {
  padding: 0 0 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold);
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 0.4rem;
}

.sabbati-nav .mega-menu .mega-col a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.sabbati-nav .mega-menu .mega-col a:hover {
  color: var(--gold);
  background: rgba(184, 150, 62, 0.1);
}

.sabbati-nav .mega-menu .mega-col a i {
  width: 1.2rem;
  text-align: center;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

.sabbati-nav .mega-menu .mega-col a.soon {
  color: var(--text-muted);
  opacity: 0.5;
  pointer-events: none;
}

.sabbati-nav .mega-menu .mega-col a.soon .badge-soon {
  margin-left: auto;
}

/* Light theme overrides */
[data-theme="light"] .mega-menu {
  background: #fff;
  border-color: var(--border-light);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .sabbati-nav .mega-menu .mega-col a {
  color: var(--text-main);
}

[data-theme="light"] .sabbati-nav .mega-menu .mega-col a:hover {
  color: var(--gold);
  background: rgba(184, 150, 62, 0.08);
}

[data-theme="light"] .mega-section-label {
  border-bottom-color: var(--border-light);
}

.sabbati-nav .dropdown-section-label {
  padding: 0.35rem 1rem 0.1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  pointer-events: none;
}

.sabbati-nav .dropdown-divider {
  height: 1px;
  margin: 0.25rem 0.75rem;
  background: var(--border-dark);
  pointer-events: none;
}

.sabbati-nav .dropdown-menu li a i {
  width: 1.2rem;
  text-align: center;
  margin-right: 0.4rem;
  font-size: var(--fs-sm);
}

.sabbati-nav .dropdown-menu li a.soon {
  color: var(--text-muted);
  opacity: 0.5;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-soon {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  margin-left: auto;
  white-space: nowrap;
}

/* ===== HERO ===== */
.sabbati-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

.sabbati-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 150, 62, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(26, 23, 20, 0.9) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle cross watermark */
.sabbati-hero::after {
  content: '\271E';
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(15rem, 25vw, 30rem);
  color: rgba(184, 150, 62, 0.04);
  font-family: var(--font-heading);
  pointer-events: none;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero-label {
  background: rgba(184, 150, 62, 0.1);
  border: 1px solid rgba(184, 150, 62, 0.2);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--text-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.hero-title .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.hero-verse {
  max-width: 600px;
  margin: 0 auto 3rem;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  text-align: center;
}

.hero-verse p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-verse cite {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--gold);
}

.hero-verse-reflection {
  font-style: normal !important;
  font-size: var(--fs-sm) !important;
  color: var(--text-muted) !important;
  margin-top: .8rem !important;
  line-height: 1.6;
  opacity: .85;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-gold,
.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(160deg, #e8d06a 0%, #d4af37 25%, #b8972e 50%, #d4af37 75%, #e8d06a 100%);
  color: var(--bg-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #c9a227;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 2px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-gold::after,
.auth-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 55%
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-gold:hover::after,
.auth-btn:hover::after {
  left: 120%;
}

.btn-gold:hover,
.auth-btn:hover {
  background: linear-gradient(160deg, #f0dc78 0%, #e2c04b 25%, #c9a832 50%, #e2c04b 75%, #f0dc78 100%);
  border-color: #d4af37;
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(212, 175, 55, 0.35);
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
.sabbati-section {
  padding: 5rem 1.5rem;
}

.sabbati-section.dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.sabbati-section.dark h2,
.sabbati-section.dark h3 {
  color: var(--text-light);
}

.sabbati-section.dark p {
  color: var(--text-muted);
}

.sabbati-section.parchment {
  background: var(--parchment);
}

.sabbati-section.parchment-alt {
  background: var(--parchment-alt);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label,
.hero-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label {
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-desc {
  font-size: var(--fs-md);
  max-width: 640px;
  line-height: 1.7;
}

.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* gold ornamental divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.ornament::before,
.ornament::after {
  content: '';
  height: 1px;
  width: 60px;
  background: var(--divider);
}

.ornament span {
  color: var(--gold);
  font-size: var(--fs-md);
}

.dark .ornament::before,
.dark .ornament::after {
  background: var(--border-dark);
}

/* ===== FEATURES / PILLARS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(184, 150, 62, 0.1);
  color: var(--gold);
  font-size: var(--fs-lg);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--ink-light);
  font-size: var(--fs-base);
  margin: 0;
}

/* ===== FEATURE BADGE (exclusive/rare) ===== */
.feature-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-nt);
  background: var(--accent-nt-bg);
  border: 1px solid rgba(139, 34, 50, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ===== VERSE HIGHLIGHT ===== */
.verse-highlight {
  text-align: center;
  padding: 5rem 1.5rem;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.verse-highlight::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 15rem;
  color: rgba(212, 175, 55, 0.06);
  line-height: 1;
  pointer-events: none;
}

.verse-highlight .verse-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.verse-highlight .verse-ref {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--gold);
  position: relative;
  z-index: 2;
}

/* ===== HARMONY SHOWCASE ===== */
.harmony-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.harmony-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.harmony-features-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.harmony-features-list > .btn-gold {
  width: fit-content;
  align-self: flex-start;
}

.harmony-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.harmony-feature-item > i {
  flex-shrink: 0;
  font-size: var(--fs-md);
  color: var(--gold);
  margin-top: 0.2rem;
}

.harmony-feature-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.harmony-feature-item span {
  font-size: var(--fs-base);
  color: var(--ink-light);
}

/* Harmony preview card (visual mockup) */
.harmony-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--divider);
}

.preview-event {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink);
}

.preview-location {
  font-size: var(--fs-sm);
  color: var(--gold);
}

.preview-location i {
  margin-right: 0.25rem;
}

.preview-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.preview-col {
  text-align: center;
}

.preview-col .col-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.preview-col .col-line {
  height: 8px;
  border-radius: 4px;
  background: var(--divider);
  margin-bottom: 0.4rem;
  opacity: 0.4;
}

.preview-col .col-line.highlight {
  background: var(--accent-nt);
  opacity: 0.8;
}

.preview-col .col-line.exclusive {
  background: var(--accent-dc);
  opacity: 0.8;
}

.preview-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--divider);
}

.preview-legend span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  color: var(--ink-light);
}

/* ===== TOOLS SHOWCASE ===== */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.tool-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tool-card .tool-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(184, 150, 62, 0.12);
  color: var(--gold);
  font-size: var(--fs-md);
}

.tool-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.tool-card p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* 3-column variant */
.tools-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Classic tools bar */
.classic-tools-bar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  text-align: center;
}

.classic-tools-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.classic-tools-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.classic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 50px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-family: var(--font-body);
}

.classic-chip i {
  color: var(--gold);
  font-size: var(--fs-xs);
}

/* ===== BIBLE VERSIONS / COMPARISON ===== */
.versions-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.version-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: all var(--transition);
}

.version-badge:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(44, 36, 22, 0.08);
}

.version-badge .badge-abbr {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--gold);
  min-width: 48px;
}

.version-badge .badge-name {
  font-size: var(--fs-sm);
  color: var(--ink-light);
}

/* Version badge — link variant (version available) */
a.version-badge--link {
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto !important;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  background: #fff;
  border-color: var(--divider);
  box-shadow: 0 2px 8px rgba(44,36,22,.06);
}
a.version-badge--link:hover {
  border-color: var(--gold);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,150,62,.15);
}
a.version-badge--link .badge-abbr {
  font-size: var(--fs-md);
}
.version-badge .badge-available {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
  margin-top: .1rem;
}
a.version-badge--link:hover .badge-available {
  opacity: 1;
}

/* ===== VERSION FILTER BAR ===== */
.ver-filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: .45rem;
  overflow-x: auto;
  padding-bottom: .6rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(184,150,62,.3) transparent;
  -webkit-overflow-scrolling: touch;
}
.ver-filter-bar::-webkit-scrollbar { height: 3px; }
.ver-filter-bar::-webkit-scrollbar-track { background: transparent; }
.ver-filter-bar::-webkit-scrollbar-thumb {
  background: rgba(184,150,62,.3);
  border-radius: 2px;
}
.ver-filter-btn {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(184,150,62,.28);
  background: transparent;
  color: var(--ink-light);
  border-radius: 4px;
  padding: .38rem .8rem;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.ver-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.ver-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0e0d0b;
}
@keyframes verFadeIn {
  from { opacity: 0; transform: translateY(5px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);   }
}
.version-badge.ver-hidden  { display: none; }
.version-badge.ver-visible { animation: verFadeIn .25s ease forwards; }

/* ===== STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--gold);
  display: block;
  line-height: 1.1;
}

.stat-item .stat-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-base);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  display: block;
}

/* ===== ABOUT / MISSION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual .visual-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-visual .visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06), transparent 70%);
  pointer-events: none;
}

.about-visual .big-icon {
  font-size: 5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
  z-index: 1;
}

.about-visual .visual-verse {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--ink-light);
  position: relative;
  z-index: 1;
}

.about-visual .visual-verse cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
  margin-top: 0.75rem;
  font-size: var(--fs-md);
}

.about-text h2 {
  color: var(--ink);
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--ink-light);
  font-size: var(--fs-base);
}

.mission-list li i {
  color: var(--gold);
  font-size: var(--fs-md);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ===== AI SHOWCASE ===== */
.ai-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-chat-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-chat-bubble {
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  max-width: 90%;
}

.ai-chat-bubble.user {
  background: rgba(184, 150, 62, 0.12);
  border: 1px solid rgba(184, 150, 62, 0.2);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-chat-bubble.user p {
  color: var(--ink);
  font-size: var(--fs-base);
  margin: 0;
  font-weight: 400;
}

.ai-chat-bubble.assistant {
  background: #fff;
  border: 1px solid var(--divider);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.ai-chat-bubble.assistant p {
  color: var(--ink-light);
  font-size: var(--fs-sm);
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.ai-chat-bubble.assistant p:last-child {
  margin-bottom: 0;
}

.ai-chat-bubble.assistant strong {
  color: var(--ink);
  font-weight: 600;
}

.ai-chat-bubble.sources {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.15);
}

.ai-chat-bubble.sources p {
  font-size: var(--fs-xs);
  color: var(--gold);
  margin: 0;
}

.ai-chat-bubble.sources i {
  margin-right: 0.35rem;
}

/* .ai-text .mission-list — consolidated into shared .mission-list above */

/* ===== COMMUNITY ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.community-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.community-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(184, 150, 62, 0.12);
  color: var(--gold);
  font-size: var(--fs-lg);
  margin-bottom: 1.25rem;
}

.community-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.community-card p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: flex-start;
}

.faq-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.faq-item {
  border-bottom: 1px solid var(--divider);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-toggle {
  flex-shrink: 0;
  font-size: var(--fs-md);
  color: var(--gold);
  transition: transform var(--transition);
}

.faq-item.active .faq-question .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--ink-light);
  font-size: var(--fs-base);
  margin: 0;
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 5rem 1.5rem;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(184, 150, 62, 0.1), transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-light);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-section .hero-actions {
  position: relative;
  z-index: 1;
}

/* Beta badge */
.badge-beta {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(212,175,55,.18);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
}

/* CTA App Badges */
.cta-app-badges {
  position: relative;
  z-index: 1;
  margin-top: 4.5rem;
}
.cta-app-soon {
  font-size: .85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .4rem;
}
.cta-app-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-app-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 12px;
  padding: .6rem 1.2rem;
  transition: border-color .2s, background .2s;
}
.cta-app-badge:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,.15);
}
.cta-app-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.sabbati-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 3rem 1.5rem 1.5rem;
  color: var(--text-muted);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand .logo-text span {
  color: var(--gold);
}

.footer-brand p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--text-muted);
  font-size: var(--fs-base);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-sm);
}

.footer-bottom a {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(184, 150, 62, 0.1);
  color: var(--gold);
  font-size: var(--fs-base);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ===== ANIMATIONS ===== */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-in"] {
  opacity: 0;
  transition: opacity 0.8s ease;
}

[data-aos="fade-in"].aos-animate {
  opacity: 1;
}

/* stagger delay utility */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

#preloader::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

#preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .tools-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  /* Esconde nav desktop dentro do header */
  .sabbati-nav--desktop {
    display: none !important;
  }

  /* Nav mobile (fora do header, sem conflito com backdrop-filter) */
  .sabbati-nav--mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 90vw;
    max-width: 360px;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 4.5rem 1.5rem 2rem;
    padding-left: 1.5rem !important; /* sobrescreve bootstrap ul padding-left:2rem */
    gap: 0;
    z-index: 1002;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  }

  .sabbati-nav--mobile.active {
    display: flex;
  }

  .sabbati-nav--mobile li a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-dark);
    white-space: normal;
  }

  .sabbati-nav--mobile .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 !important;
    padding-left: 0.5rem !important;
    background: transparent;
  }

  .sabbati-nav--mobile .dropdown.open > .dropdown-menu {
    display: block;
  }

  .sabbati-nav--mobile .dropdown-menu li a {
    padding: 0.25rem 0;
    font-size: var(--fs-sm);
  }

  .sabbati-nav--mobile .dropdown-section-label {
    padding: 0.5rem 0 0.1rem;
  }

  .sabbati-nav--mobile .dropdown-services {
    min-width: unset;
    max-height: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }

  .mobile-nav-overlay.active {
    display: block;
  }

  .tools-grid,
  .tools-grid-3 {
    grid-template-columns: 1fr;
  }

  .harmony-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .harmony-visual {
    order: -1;
  }

  .ai-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ai-visual {
    order: -1;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    order: -1;
  }

  .about-visual .visual-card {
    padding: 1.5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .sabbati-hero {
    padding: 5rem 1rem 3rem;
  }

  .hero-verse {
    padding: 1rem 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .versions-row {
    grid-template-columns: 1fr;
  }

  .preview-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .preview-legend {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  cursor: pointer;
  z-index: 999;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.35rem;
  border: none;
  background: none;
  margin-left: 0.5rem;
}

.theme-toggle .toggle-track {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border-dark);
  border-radius: 14px;
  transition: background var(--transition);
}

.theme-toggle .toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .toggle-thumb i {
  font-size: var(--fs-sm);
  color: var(--bg-dark);
  transition: color var(--transition);
  line-height: 1;
}

/* ── Language Selector ── */
.lang-selector {
  position: relative;
  margin-left: .25rem;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--text-muted);
  border-radius: 14px;
  height: 28px;
  padding: 0 .45rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang-btn:hover,
.lang-btn:focus,
.lang-btn:active {
  border-color: var(--text-muted);
  background: rgba(255,255,255,.15);
  outline: none;
}
.lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}
.lang-chevron {
  font-size: .5rem;
  color: var(--text-muted);
  transition: transform .2s;
}
.lang-selector.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: .4rem;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.lang-selector.open .lang-dropdown { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .6rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-muted);
  transition: background .15s;
}
.lang-option:hover { background: rgba(212,175,55,.1); color: var(--gold); }
.lang-option.active { color: var(--gold); font-weight: 600; }
.lang-option .lang-flag { width: 18px; height: 18px; }

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --bg-dark: #f5f0e8;
  --bg-card: #fff;
  --text-light: #2c2416;
  --text-muted: #5a4d3a;
  --border-dark: #c4b89a;
  /* Ouro original mantido para fundos/botões (contraste ok com texto escuro) */
  --gold: #d4af37;
  --gold-light: #e2c04b;
  --gold-dim: #b8962a;
  /* Ouro escuro apenas para texto sobre fundo claro */
  --gold-text: #7a5e10;
}

[data-theme="light"] .sabbati-header {
  background: rgba(245, 240, 232, 0.95);
  border-bottom-color: var(--border-dark);
}

[data-theme="light"] .sabbati-nav .dropdown-menu {
  background: #fff;
  border-color: #c4b89a;
  box-shadow: 0 12px 40px rgba(44, 36, 22, 0.12);
}

[data-theme="light"] .sabbati-nav .dropdown-menu li a {
  color: #5a4d3a;
}

[data-theme="light"] .sabbati-nav .dropdown-section-label {
  color: #8a6d1b;
}

[data-theme="light"] .sabbati-nav .dropdown-divider {
  background: #d4c9a8;
}

[data-theme="light"] .badge-soon {
  background: rgba(138, 109, 27, 0.12);
  color: #8a6d1b;
}

/* Hero light — parchment background */
[data-theme="light"] .sabbati-hero {
  background: #f5f0e8;
}

[data-theme="light"] .sabbati-hero::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 150, 62, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(245, 240, 232, 0.6) 0%, transparent 60%);
}

[data-theme="light"] .sabbati-hero::after {
  color: rgba(184, 150, 62, 0.07);
}

[data-theme="light"] .sabbati-hero .hero-label {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

/* Hero text colors handled by CSS variable overrides above */

[data-theme="light"] .sabbati-hero .btn-outline {
  color: #2c2416;
  border-color: rgba(44, 36, 22, 0.3);
}

[data-theme="light"] .sabbati-hero .btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

/* Dark sections become parchment-dark in light mode */
/* Dark sections in light mode */
[data-theme="light"] .sabbati-section.dark {
  background: var(--parchment-dark);
}

/* About visual card */
[data-theme="light"] .about-visual .visual-card {
  background: #fff;
  border-color: #c4b89a;
}

[data-theme="light"] .about-visual .visual-card::before {
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08), transparent 70%);
}

[data-theme="light"] .about-visual .visual-verse {
  color: #5a4d3a;
}

/* Cards, community, tools, harmony — handled by CSS variable overrides */

/* AI showcase light — specific overrides */
[data-theme="light"] .ai-chat-bubble.user {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(184, 150, 62, 0.25);
}

[data-theme="light"] .classic-chip {
  background: rgba(184, 150, 62, 0.1);
  border-color: rgba(184, 150, 62, 0.2);
  color: #5a4d3a;
}

/* Feature badge light */
[data-theme="light"] .feature-badge {
  background: var(--accent-nt-bg);
  color: var(--accent-nt);
}

/* Verse highlight & CTA — dark backgrounds become parchment-dark */
[data-theme="light"] .verse-highlight,
[data-theme="light"] .cta-section {
  background: var(--parchment-dark);
}

[data-theme="light"] .cta-section .btn-outline {
  color: var(--text-light);
  border-color: rgba(44, 36, 22, 0.3);
}

[data-theme="light"] .cta-section .btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Footer, social links, preloader — handled by variable overrides */
[data-theme="light"] .social-links a {
  background: rgba(212, 175, 55, 0.15);
}

/* Toggle thumb slides right for light */
[data-theme="light"] .theme-toggle .toggle-track {
  background: #c4b89a;
}

[data-theme="light"] .theme-toggle .toggle-thumb {
  transform: translateX(24px);
}

[data-theme="light"] .theme-toggle .toggle-thumb i {
  color: #2c2416;
}

[data-theme="light"] .lang-btn {
  background: rgba(0,0,0,.05);
  border-color: var(--text-muted);
}
[data-theme="light"] .lang-btn:hover {
  background: rgba(0,0,0,.5);
  border-color: var(--text-muted);
}

/* Mobile nav light */
@media (max-width: 991px) {
  [data-theme="light"] .sabbati-nav--mobile {
    background: #f5f0e8;
    border-left-color: #c4b89a;
    box-shadow: -8px 0 32px rgba(44, 36, 22, 0.15);
  }

  [data-theme="light"] .sabbati-nav--mobile li a {
    border-bottom-color: #c4b89a;
  }
}


/* ===== TOR / EVANGELHO SEM FRONTEIRAS ===== */
.tor-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tor-text .section-title {
  color: var(--text-light);
}

.tor-text p {
  color: var(--text-muted);
  font-size: var(--fs-md);
  line-height: 1.8;
}

.tor-verse {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 0 6px 6px 0;
}

.tor-verse p {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.tor-verse cite {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--gold);
  font-style: normal;
}

.tor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tor-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid var(--border-dark);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--gold);
}

.tor-card-header i {
  font-size: var(--fs-md);
}

.tor-card-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.tor-globe {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

.tor-globe > i {
  font-size: var(--fs-3xl);
  color: var(--gold);
  z-index: 2;
}

.tor-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: torPulse 3s ease-out infinite;
}

.tor-pulse-2 {
  animation-delay: 1.5s;
}

@keyframes torPulse {
  0% {
    transform: scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.tor-onion-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.tor-desc {
  color: var(--text-muted);
  font-size: var(--fs-base);
  margin-bottom: 0;
}

.tor-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border-dark);
}

.tor-country {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(139, 34, 50, 0.15);
  border: 1px solid rgba(139, 34, 50, 0.3);
  border-radius: 20px;
  font-size: var(--fs-sm);
  color: #e8a0a0;
  font-weight: 400;
}

.tor-country i {
  font-size: var(--fs-xs);
  color: var(--accent-nt);
}

.tor-precedents {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
}

.tor-precedents-label {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tor-precedent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tor-precedent-list span {
  padding: 0.3rem 0.7rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Tor light — only non-variable overrides */
[data-theme="light"] .tor-country {
  background: rgba(139, 34, 50, 0.07);
  border-color: rgba(139, 34, 50, 0.2);
  color: var(--accent-nt);
}

/* Tor section responsive */
@media (max-width: 768px) {
  .tor-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* =============================================================
   AUTH PAGES — Login, Register, Profile, Password Reset
   ============================================================= */

/* Shared auth section — dark bg + animated spotlights (same as AI chat / Audio) */
.auth-section {
  padding: 7rem 0 4rem;
  min-height: 80vh;
  position: relative;
  background: #1a1714 !important;
  overflow: hidden;
}

/* Spotlight green */
.auth-section::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  background: rgba(5, 150, 105, .20);
  top: 30%;
  left: -10%;
  animation: auth-spot-green 52s ease-in-out infinite;
}

/* Spotlight violet */
.auth-section::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  background: rgba(124, 58, 237, .15);
  bottom: 10%;
  right: -10%;
  animation: auth-spot-violet 58s ease-in-out infinite;
}

/* Spotlight gold (via extra element in templates) */
.auth-spot-gold {
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: rgba(212, 175, 55, .12);
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  top: 60%;
  left: 40%;
  animation: auth-spot-gold 46s ease-in-out infinite;
}

@keyframes auth-spot-green {
  0%   { top: 30%; left: -10%; opacity: .6; }
  25%  { top: 10%; left: 30%;  opacity: .9; }
  50%  { top: 50%; left: 50%;  opacity: .5; }
  75%  { top: 60%; left: 10%;  opacity: .8; }
  100% { top: 30%; left: -10%; opacity: .6; }
}

@keyframes auth-spot-violet {
  0%   { bottom: 10%; right: -10%; opacity: .5; }
  25%  { bottom: 40%; right: 30%;  opacity: .9; }
  50%  { bottom: 20%; right: 60%;  opacity: .4; }
  75%  { bottom: 50%; right: 5%;   opacity: .7; }
  100% { bottom: 10%; right: -10%; opacity: .5; }
}

@keyframes auth-spot-gold {
  0%   { top: 60%; left: 40%; opacity: .4; }
  25%  { top: 20%; left: 60%; opacity: .8; }
  50%  { top: 40%; left: 20%; opacity: .3; }
  75%  { top: 70%; left: 50%; opacity: .7; }
  100% { top: 60%; left: 40%; opacity: .4; }
}

.auth-section > .container {
  position: relative;
  z-index: 1;
}

.auth-section .section-title {
  color: var(--text-light);
}

.auth-section .section-desc {
  color: var(--text-muted);
}

.auth-section .section-label {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.25);
  color: var(--gold);
}

/* Light theme — less intense spotlights */
[data-theme="light"] .auth-section {
  background: #f5f0e8 !important;
}

[data-theme="light"] .auth-section::before {
  background: rgba(5, 150, 105, .10);
}

[data-theme="light"] .auth-section::after {
  background: rgba(124, 58, 237, .08);
}

[data-theme="light"] .auth-spot-gold {
  background: rgba(212, 175, 55, .06);
}

/* Auth form card */
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
}

.auth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.3);
}

.auth-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.auth-card .auth-icon {
  font-size: var(--fs-2xl);
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Auth form inputs */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: border-color var(--transition);
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.auth-form input::placeholder {
  color: var(--text-muted);
}

.auth-form .message {
  color: var(--text-muted);
  font-size: var(--fs-base);
  margin-top: 0.5rem;
}

.auth-form .message a {
  color: var(--gold);
  font-weight: 500;
}

/* Auth button — gold metallic (reuses .btn-gold concept) */
/* Auth-specific override: full width + centered */
.auth-card .auth-btn {
  justify-content: center;
  width: 100%;
}

/* Auth info card (the right-side feature list) */
.auth-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  transition: all var(--transition);
}

.auth-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.3);
}

.auth-info-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.auth-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-info-card ul li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: var(--fs-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-info-card ul li i.bi-check,
.auth-info-card ul li i.bi-check-circle-fill {
  color: var(--gold);
  font-size: var(--fs-base);
  flex-shrink: 0;
}

.auth-info-card ul li.na {
  color: var(--text-muted);
  opacity: 0.5;
}

.auth-info-card ul li.na i {
  color: var(--text-muted);
}

[data-theme="light"] .auth-info-card:hover {
  box-shadow: 0 12px 40px rgba(44, 36, 22, 0.12);
}

[data-theme="light"] .auth-info-card ul li i.bi-check-circle-fill {
  color: #8a6d1b;
}

/* Alert overrides for auth pages */
.auth-form .alert {
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  padding: 0.75rem 1rem;
}

.auth-form .alert-danger {
  background: rgba(139, 34, 50, 0.15);
  border-color: rgba(139, 34, 50, 0.3);
  color: #e8a0a0;
}

.auth-form .alert-dark {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.25);
  color: var(--gold);
}

/* Honeypot */
.checkbox-terms {
  position: absolute;
  left: -9999px;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* =============================================================
   PROFILE PAGE
   ============================================================= */

.profile-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1610 50%, var(--bg-dark) 100%);
  padding: 100px 0 40px;
  text-align: center;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
}

.profile-hero h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.profile-subtitle {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.badge-status {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: 8px;
}

.badge-active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.badge-inactive {
  background: rgba(255, 107, 107, 0.12);
  color: #ff6b6b;
}

.profile-content {
  background: var(--bg-dark);
  padding: 40px 0 60px;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
}

.profile-card h5 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dark);
}

.profile-card h5 i {
  margin-right: 6px;
  color: var(--gold);
}

/* Action buttons */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.action-btn:hover {
  transform: translateY(-1px);
}

.action-btn.gold {
  background: var(--gold);
  color: var(--bg-dark);
}

.action-btn.gold:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
}

.action-btn.gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.action-btn.gold-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  border-color: var(--gold);
}

.action-btn.outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-dark);
}

.action-btn.outline:hover {
  color: var(--text-light);
  border-color: var(--text-muted);
}

.action-btn.danger {
  background: transparent;
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.25);
}

.action-btn.danger:hover {
  background: rgba(255, 107, 107, 0.08);
  color: #ff6b6b;
}

.action-btn.full {
  grid-column: 1 / -1;
}

/* Info rows */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-row:last-of-type {
  border-bottom: none;
}

.info-row .label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.info-row .value {
  font-size: var(--fs-sm);
  color: var(--text-light);
  font-weight: 600;
}

.profile-input {
  background: var(--bg-dark) !important;
  border: 1px solid var(--border-dark) !important;
  color: var(--text-light) !important;
  font-size: var(--fs-sm) !important;
}

.profile-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15) !important;
}

.profile-input-btn {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--bg-dark) !important;
}

/* Study stats */
.study-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.study-stat {
  text-align: center;
  padding: 12px 8px;
  background: rgba(212, 175, 55, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.08);
}

.study-stat-value {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-heading);
}

.study-stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.study-section-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
  margin-top: 14px;
}

.favorite-versions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.version-chip {
  font-size: var(--fs-xs);
  padding: 3px 10px;
  border-radius: var(--radius-lg);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  font-weight: 600;
}

.last-reading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-light);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.last-reading i {
  color: var(--gold);
}

.reading-plan-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.reading-plan-progress {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.3s;
}

.reading-plan-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.empty-state-sm {
  text-align: center;
  padding: 12px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.avatar-option {
  border-radius: 10px;
  max-width: 100%;
  transition: transform 0.2s;
  border: 2px solid transparent;
}

.avatar-option:hover {
  transform: scale(1.05);
  border-color: var(--gold);
}

/* Admin stats */
.admin-stats-row {
  margin-top: 28px;
}

.admin-section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
}

.admin-section-title i {
  color: var(--gold);
  margin-right: 6px;
}

.admin-badge {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  text-align: center;
  height: 100%;
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  margin-bottom: 12px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.stat-card .stat-value {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
  font-family: var(--font-heading);
}

.stat-card .stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-dark);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-table td {
  font-size: var(--fs-sm);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-light);
}

.admin-chart-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

/* ── Admin chart window toggle (30d / all-time) ──
   Subtle inline pill-group; active and inactive states share the same
   shape and footprint, differing only by a light fill + gold text so the
   click target reads as one continuous control instead of two buttons. */
.admin-window-toggle {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 3px;
  background: var(--bg-card);
  margin: .5rem 0 1.25rem;
  font-size: var(--fs-sm);
}
.admin-window-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.admin-window-btn:hover {
  color: var(--text-light);
  text-decoration: none;
  background: rgba(212, 175, 55, .06);
}
.admin-window-btn.is-active {
  background: rgba(212, 175, 55, .14);
  color: var(--gold);
}
.admin-window-btn i { font-size: .9em; }

.admin-table tfoot td {
  border-top: 1px solid var(--border-dark);
  border-bottom: none;
  background: rgba(255, 255, 255, 0.02);
}

.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.text-gold { color: var(--gold); }

/* Modal (avatar picker) */
.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
}

.modal-header {
  border-bottom-color: var(--border-dark);
}

.modal-header .modal-title {
  font-family: var(--font-heading);
  color: var(--text-light);
}

.modal-footer {
  border-top-color: var(--border-dark);
}


/* =============================================================
   PLANS & SUBSCRIPTION PAGES
   ============================================================= */

/* Plans section */
.plans-section {
  background: var(--bg-dark);
  padding: 7rem 0 4rem;
}

.plans-section .section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.plans-section .section-head h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.plans-section .section-head p {
  font-size: var(--fs-base);
  color: var(--text-muted);
}

/* Plan cards */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.3);
}

.plan-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: #fff;
  margin-bottom: 1rem;
}

.plan-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.plan-price {
  margin-bottom: 1rem;
}

.plan-price .amount {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-light);
}

.plan-price .amount sup {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-muted);
}

.plan-price .period {
  font-size: var(--fs-base);
  color: var(--text-muted);
  font-weight: 500;
}

.plan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.plan-badges span {
  font-size: var(--fs-xs);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 500;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.plan-card ul li {
  font-size: var(--fs-base);
  color: var(--text-muted);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-card ul li i.bi-check-circle-fill {
  color: var(--gold);
  font-size: var(--fs-base);
}

.plan-card ul li i.bi-x-circle {
  color: var(--border-dark);
  font-size: var(--fs-base);
}

.plan-card ul li.na {
  opacity: 0.5;
}

/* Plan card auth-btn override for width */
.plan-card .auth-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}


/* =============================================================
   CHECKOUT PAGE
   ============================================================= */

.checkout-section {
  background: var(--bg-dark);
  padding: 7rem 0 4rem;
  min-height: 80vh;
}

.checkout-section .section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.checkout-section .section-head h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.checkout-section .section-head p {
  font-size: var(--fs-base);
  color: var(--text-muted);
}

/* Checkout form card */
.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 3px solid var(--gold);
}

.checkout-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.checkout-card .order-code {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.checkout-card .price-info {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: var(--fs-base);
  color: var(--text-light);
}

.checkout-card .price-info small {
  color: var(--text-muted);
}

.checkout-card .accordion-item {
  border: 1px solid var(--border-dark);
  border-radius: 8px !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--bg-card);
}

.checkout-card .accordion-button {
  background: var(--bg-dark);
  font-size: var(--fs-base);
  padding: 0.75rem 1rem;
  color: var(--text-light);
}

.checkout-card .accordion-button:not(.collapsed) {
  background: rgba(212, 175, 55, 0.06);
  color: var(--text-light);
  box-shadow: none;
}

.checkout-card .accordion-button::after {
  filter: invert(0.7);
}

.checkout-card .accordion-body {
  font-size: var(--fs-base);
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  background: var(--bg-card);
}

.checkout-card .accordion-body .list-group-item {
  border: none;
  padding: 0.4rem 0;
  font-size: var(--fs-base);
  color: var(--text-muted);
  background: transparent;
}

.checkout-card .terms-container {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.checkout-card .terms-container a {
  color: var(--gold);
}

.checkout-card .terms-container input[type="checkbox"] {
  accent-color: var(--gold);
}

/* Checkout error */
.checkout-error {
  background: rgba(139, 34, 50, 0.15);
  border: 1px solid rgba(139, 34, 50, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  color: #e8a0a0;
  font-size: var(--fs-base);
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
}


/* =============================================================
   SUBSCRIPTION BANNER
   ============================================================= */

.subscription-banner {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  max-width: 600px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
}

.subscription-banner .banner-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.subscription-banner .banner-text i {
  color: var(--gold);
  font-size: var(--fs-md);
}

.subscription-banner .banner-text span {
  color: var(--text-light);
  font-size: var(--fs-base);
  font-weight: 500;
}

.subscription-banner .banner-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: var(--gold);
  color: var(--bg-dark);
  transition: all var(--transition);
}

.subscription-banner .banner-btn:hover {
  background: var(--gold-light);
}

[data-theme="light"] .subscription-banner {
  background: rgba(138, 109, 27, 0.08);
  border-color: rgba(138, 109, 27, 0.2);
}

[data-theme="light"] .subscription-banner .banner-text span {
  color: var(--ink);
}


/* =============================================================
   VERSICULO DO DIA WIDGET
   ============================================================= */

#versiculo-widget {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  width: 420px;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.33);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

#versiculo-widget.vw-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem 0.55rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.vw-label {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.vw-close {
  background: none;
  border: none;
  color: rgba(212, 175, 55, 0.6);
  font-size: var(--fs-md);
  line-height: 1;
  cursor: pointer;
  padding: 0 0.1rem;
  transition: color 0.2s;
}

.vw-close:hover {
  color: var(--gold);
}

.vw-body {
  margin: 0;
  padding: 1rem 1rem 1.1rem;
}

.vw-texto {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 0.6rem;
}

.vw-ref {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* Widget footer — Copiar + Compartilhar */
.vw-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.6rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.vw-share-wrap {
  position: relative;
}

.vw-btn {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: rgba(212, 175, 55, 0.65);
  border-radius: 4px;
  padding: 0.28rem 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.18s;
}
.vw-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.vw-btn.copiado {
  border-color: #5a9e6f;
  color: #5a9e6f;
}

.vw-share-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  z-index: 10001;
}
.vw-share-menu.vw-menu-aberto { display: block; }

.vw-share-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.9rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background 0.15s;
  text-align: left;
}
.vw-share-item:last-child { border-bottom: none; }
.vw-share-item:hover {
  background: rgba(212, 175, 55, 0.07);
  color: var(--gold);
}

@media (max-width: 480px) {
  #versiculo-widget {
    width: calc(100vw - 1.5rem);
    left: .75rem;
    right: .75rem;
    bottom: 1rem;
  }
}

/* =============================================================
   UTILITY / SIMPLE PAGES (error, success)
   ============================================================= */

.utility-section {
  padding: 8rem 0 5rem;
  min-height: 60vh;
  text-align: center;
}

.utility-section h1,
.utility-section h2 {
  font-family: var(--font-heading);
  color: var(--text-light);
}

.utility-section p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 1rem auto;
}

.utility-section .utility-icon {
  font-size: var(--fs-3xl);
  color: var(--gold);
  margin-bottom: 1rem;
}


/* =============================================================
   LIGHT THEME — Auth, Plans, Checkout, Subscription
   ============================================================= */

/* Auth & Plans — most handled by variable overrides. Specific overrides only: */
[data-theme="light"] .auth-card {
  box-shadow: 0 8px 32px rgba(44, 36, 22, 0.08);
}

[data-theme="light"] .auth-form .alert-danger {
  background: rgba(139, 34, 50, 0.08);
  border-color: rgba(139, 34, 50, 0.2);
  color: var(--accent-nt);
}

[data-theme="light"] .plan-badges span {
  background: rgba(212, 175, 55, 0.1) !important;
  color: #8a6d1b !important;
}

[data-theme="light"] .plan-card ul li i.bi-check-circle-fill {
  color: #8a6d1b;
}

/* Profile — light theme (specific overrides only) */
[data-theme="light"] .profile-hero {
  background: linear-gradient(135deg, var(--parchment) 0%, var(--parchment-dark) 50%, var(--parchment) 100%);
}

[data-theme="light"] .badge-active {
  background: rgba(138, 109, 27, 0.1);
  color: #8a6d1b;
}

[data-theme="light"] .study-stat {
  background: rgba(138, 109, 27, 0.05);
  border-color: rgba(138, 109, 27, 0.1);
}

[data-theme="light"] .study-stat-value,
[data-theme="light"] .version-chip,
[data-theme="light"] .stat-card .stat-icon,
[data-theme="light"] .profile-card h5 i,
[data-theme="light"] .text-gold {
  color: #8a6d1b;
}

[data-theme="light"] .version-chip,
[data-theme="light"] .stat-card .stat-icon {
  background: rgba(138, 109, 27, 0.08);
}

[data-theme="light"] .admin-table th {
  background: #faf7f0;
}

/* Checkout — light theme */
[data-theme="light"] .checkout-card {
  border-top-color: var(--gold);
}

[data-theme="light"] .checkout-card .price-info {
  background: rgba(212, 175, 55, 0.06);
}

[data-theme="light"] .checkout-card .accordion-button {
  background: var(--parchment);
  color: var(--ink);
}

[data-theme="light"] .checkout-card .accordion-body {
  background: #fff;
  color: var(--ink-light);
}

[data-theme="light"] .checkout-error {
  background: rgba(139, 34, 50, 0.06);
  border-color: rgba(139, 34, 50, 0.15);
  color: var(--accent-nt);
}

[data-theme="light"] .profile-section .card {
  background: #fff;
  border-color: var(--divider);
}

[data-theme="light"] .profile-section .form-control {
  background: var(--parchment);
  border-color: var(--divider);
  color: var(--ink);
}

[data-theme="light"] .profile-section .form-control:disabled,
[data-theme="light"] .profile-section .form-control[readonly] {
  background: #f8f5ef;
  color: var(--ink-light);
}

[data-theme="light"] .profile-section h6 {
  color: var(--ink-light);
}

[data-theme="light"] .profile-section .section-header h2 {
  color: var(--ink);
}

[data-theme="light"] .modal-content {
  background: #fff;
  border-color: var(--divider);
  color: var(--ink);
}

[data-theme="light"] .modal-header {
  border-bottom-color: var(--divider);
}

[data-theme="light"] .modal-footer {
  border-top-color: var(--divider);
}

[data-theme="light"] .utility-section h1,
[data-theme="light"] .utility-section h2 {
  color: var(--ink);
}

[data-theme="light"] .utility-section p {
  color: var(--ink-light);
}

[data-theme="light"] #versiculo-widget {
  background: #fff;
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 32px rgba(44, 36, 22, 0.15);
}

[data-theme="light"] .vw-texto {
  color: var(--ink);
}

[data-theme="light"] .vw-header {
  border-bottom-color: rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .vw-footer {
  border-top-color: rgba(212, 175, 55, 0.12);
}
[data-theme="light"] .vw-share-menu {
  box-shadow: 0 8px 28px rgba(44, 36, 22, 0.2);
}
[data-theme="light"] .vw-share-item {
  color: var(--ink);
  border-bottom-color: rgba(180, 162, 118, 0.2);
}
[data-theme="light"] .vw-share-item:hover {
  background: rgba(168, 125, 32, 0.07);
  color: #8a6010;
}

/* ===== DARK THEME: PARCHMENT SECTIONS ===== */
[data-theme="dark"] .sabbati-section.parchment {
  background: #1e1b16;
  color: var(--text-light);
}
[data-theme="dark"] .sabbati-section.parchment-alt {
  background: #232019;
  color: var(--text-light);
}
[data-theme="dark"] .sabbati-section.parchment h2,
[data-theme="dark"] .sabbati-section.parchment h3,
[data-theme="dark"] .sabbati-section.parchment-alt h2,
[data-theme="dark"] .sabbati-section.parchment-alt h3 {
  color: var(--text-light);
}
[data-theme="dark"] .sabbati-section.parchment p,
[data-theme="dark"] .sabbati-section.parchment-alt p,
[data-theme="dark"] .sabbati-section.parchment .section-desc,
[data-theme="dark"] .sabbati-section.parchment-alt .section-desc {
  color: var(--text-muted);
}
/* Feature cards */
[data-theme="dark"] .sabbati-section.parchment .feature-card,
[data-theme="dark"] .sabbati-section.parchment-alt .feature-card {
  background: var(--bg-card);
  border-color: var(--border-dark);
}
[data-theme="dark"] .sabbati-section.parchment .feature-card h3,
[data-theme="dark"] .sabbati-section.parchment-alt .feature-card h3 {
  color: var(--text-light);
}
[data-theme="dark"] .sabbati-section.parchment .feature-card p,
[data-theme="dark"] .sabbati-section.parchment-alt .feature-card p {
  color: var(--text-muted);
}
/* Harmony */
[data-theme="dark"] .sabbati-section.parchment .harmony-feature-item strong,
[data-theme="dark"] .sabbati-section.parchment-alt .harmony-feature-item strong {
  color: var(--text-light);
}
[data-theme="dark"] .sabbati-section.parchment .harmony-feature-item span,
[data-theme="dark"] .sabbati-section.parchment-alt .harmony-feature-item span {
  color: var(--text-muted);
}
/* Version badges */
[data-theme="dark"] .sabbati-section.parchment .version-badge,
[data-theme="dark"] .sabbati-section.parchment-alt .version-badge,
[data-theme="dark"] .sabbati-section.parchment a.version-badge--link,
[data-theme="dark"] .sabbati-section.parchment-alt a.version-badge--link {
  background: var(--bg-card);
  border-color: var(--border-dark);
}
[data-theme="dark"] .sabbati-section.parchment a.version-badge--link:hover,
[data-theme="dark"] .sabbati-section.parchment-alt a.version-badge--link:hover {
  background: var(--bg-card);
}
[data-theme="dark"] .sabbati-section.parchment .version-badge .badge-name,
[data-theme="dark"] .sabbati-section.parchment-alt .version-badge .badge-name {
  color: var(--text-muted);
}
/* Mission list */
[data-theme="dark"] .sabbati-section.parchment .mission-list li,
[data-theme="dark"] .sabbati-section.parchment-alt .mission-list li {
  color: var(--text-muted);
}
/* FAQ */
[data-theme="dark"] .sabbati-section.parchment-alt .faq-question {
  color: var(--text-light);
}
[data-theme="dark"] .sabbati-section.parchment-alt .faq-answer p {
  color: var(--text-muted);
}
[data-theme="dark"] .sabbati-section.parchment-alt .faq-item {
  border-color: var(--border-dark);
}
/* About / Mission */
[data-theme="dark"] .sabbati-section.parchment .about-visual .visual-card {
  background: var(--bg-card);
  border-color: var(--border-dark);
}
[data-theme="dark"] .sabbati-section.parchment .about-visual .visual-verse {
  color: var(--text-muted);
}
[data-theme="dark"] .sabbati-section.parchment .about-text h2 {
  color: var(--text-light);
}
/* AI chat bubbles */
[data-theme="dark"] .sabbati-section.parchment .ai-chat-bubble.user p {
  color: var(--text-light);
}
[data-theme="dark"] .sabbati-section.parchment .ai-chat-bubble.assistant {
  background: var(--bg-card);
  border-color: var(--border-dark);
}
[data-theme="dark"] .sabbati-section.parchment .ai-chat-bubble.assistant p {
  color: var(--text-muted);
}
[data-theme="dark"] .sabbati-section.parchment .ai-chat-bubble.assistant strong {
  color: var(--text-light);
}

/* Force lang-btn border */
.lang-btn,
.lang-btn:hover,
.lang-btn:focus,
.lang-btn:active,
.lang-btn:focus-visible {
  border-color: var(--border-dark) !important;
  outline: none !important;
  box-shadow: none !important;
}
[data-theme="light"] .lang-btn,
[data-theme="light"] .lang-btn:hover,
[data-theme="light"] .lang-btn:focus,
[data-theme="light"] .lang-btn:active,
[data-theme="light"] .lang-btn:focus-visible {
  border-color: var(--border-dark) !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* Notification Bell                                          */
/* ═══════════════════════════════════════════════════════════ */
.notif-bell-wrap { position: relative; }
.notif-trigger {
  position: relative; display: inline-flex; align-items: center;
  color: var(--text-primary) !important; font-size: 1.15rem; padding: 0 .5rem;
}
.notif-trigger:hover { color: var(--gold) !important; }
.notif-badge {
  position: absolute; top: -4px; right: 0;
  background: #dc3545; color: #fff; font-size: .65rem; font-weight: 700;
  min-width: 16px; height: 16px; line-height: 16px; text-align: center;
  border-radius: 50%; padding: 0 4px;
}
.notif-dropdown {
  display: none; position: absolute; right: 0; top: 100%;
  width: 320px; max-height: 400px; overflow-y: auto;
  background: var(--bg-card, #1e1b18); border: 1px solid var(--border-dark, #333);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 9999;
  margin-top: .5rem;
}
.notif-dropdown.open { display: block; }
.notif-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: .75rem 1rem; border-bottom: 1px solid var(--border-dark, #333);
  font-size: .85rem;
}
.notif-header strong { color: var(--text-primary); }
.notif-header a { color: var(--gold); font-size: .75rem; text-decoration: none; }
.notif-header a:hover { text-decoration: underline; }
.notif-item {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .65rem 1rem; border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .82rem; color: var(--text-muted);
}
.notif-item:last-child { border-bottom: none; }
.notif-item i { font-size: 1.1rem; color: var(--text-muted); margin-top: 2px; flex-shrink: 0; }
.notif-unread { background: rgba(212,175,55,.06); }
.notif-unread i { color: var(--gold); }
.notif-unread strong { color: var(--text-primary); }
.notif-empty { padding: 1.5rem; text-align: center; color: var(--text-muted); font-size: .85rem; }

/* ── Share Verse Button ── */
.btn-share-verse {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  padding: .45rem 1.2rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 2rem;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .04em;
}
.btn-share-verse:hover {
  background: rgba(212,175,55,.1);
  border-color: var(--gold);
}
.btn-share-verse i { font-size: .9rem; }

/*--------------------------------------------------------------
  EDITORIAL LANDING — parchment / monastic / sharp-edge style
  Scoped to body.landing-editorial
--------------------------------------------------------------*/
body.landing-editorial {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body-editorial);
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.landing-editorial::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.50 0 0 0 0 0.42 0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body.landing-editorial[data-theme="dark"]::before { opacity: .25; }

/* Container */
.editorial-section {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 5.5vw, 88px) 0;
  border-top: 1px solid var(--rule);
}
.editorial-section.alt { background: var(--paper-2); }
.editorial-section .container {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: clamp(16px, 2.5vw, 36px);
  padding-right: clamp(16px, 2.5vw, 36px);
}

/* Numeral mark — compact inline like the original proposal */
.numeral-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.numeral-mark .dash { display: inline-block; width: 36px; height: 1px; background: var(--ink); flex-shrink: 0; }
.numeral-mark .roman {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .02em;
  text-transform: none;
}
.numeral-mark .lbl { font-weight: 500; color: var(--ink); }

/* Centered header (title + subtitle) inside an editorial section */
.editorial-section .section-header-center {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 920px;
}
.editorial-section .section-header-center h2 {
  margin: 0 auto 18px;
  max-width: 18ch;
}
.editorial-section .section-header-center p {
  margin: 0 auto;
  max-width: 60ch;
  font-size: 21px;
}


/* Headings editoriais */
.editorial-section h2 {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.02;
  margin: 0 0 20px;
}
.editorial-section h2 .it { font-style: italic; color: var(--gold); font-weight: 500; }
.editorial-section h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
}
.editorial-section p {
  font-family: var(--ff-body-editorial);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Botões editoriais — arestas afiadas */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--ff-body-editorial);
  font-size: 15px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn-editorial:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn-editorial.primary { background: var(--ink); color: var(--paper); }
.btn-editorial.primary:hover { background: var(--gold); border-color: var(--gold); color: #1a1714; }
.btn-editorial.gold { border-color: var(--gold); color: var(--gold); }
.btn-editorial.gold:hover { background: var(--gold); color: #1a1714; }

/* Tipografia helpers */
.editorial-section .mono { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-mute); }
.editorial-section .small-caps { font-variant-caps: all-small-caps; letter-spacing: .08em; }

/* ===== II. READER SECTION ===== */
.reader-intro { max-width: 60ch; margin-bottom: 36px; }
.reader-intro h2 { margin-bottom: 16px; }
.reader-intro p { font-size: 20px; }

.reader-mock {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 370px;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 0;
  margin: 12px 0 28px;
  box-shadow:
    0 1px 0 var(--paper),
    0 50px 90px -30px rgba(44,36,22,.32),
    0 24px 50px -20px rgba(44,36,22,.22);
  min-height: 580px;
}
.reader-side, .reader-main, .reader-right {
  background: var(--paper);
  padding: 28px 26px;
}
.reader-passage { font-size: 18px; line-height: 1.75; }
.reader-side-label {
  display: block;
  margin-bottom: 14px;
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: .12em;
}
.reader-books { list-style: none; padding: 0; margin: 0 0 24px; }
.reader-books li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-family: var(--ff-display);
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px dotted transparent;
}
.reader-books li.active { color: var(--ink); border-bottom-color: var(--rule); font-weight: 500; }
.reader-books li .dim { color: var(--ink-mute); font-size: 11px; }
.reader-plan {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.reader-plan-name { font-family: var(--ff-display); font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.reader-plan-bar { height: 3px; background: var(--rule); position: relative; margin-bottom: 8px; }
.reader-plan-bar span { display: block; height: 100%; background: var(--gold); }
.reader-plan-pct { color: var(--ink-mute); font-size: 11px; }

.reader-main-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.reader-main-head h3 { font-size: 26px; margin: 0; }
.reader-main-meta { color: var(--ink-mute); font-size: 11px; letter-spacing: .1em; }
.reader-passage {
  font-family: var(--ff-display);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  text-align: justify;
  hyphens: auto;
}
.reader-passage .vn {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--gold);
  vertical-align: super;
  margin: 0 4px 0 2px;
  font-weight: 500;
}
.reader-passage .strongs { color: var(--ink); border-bottom: 1px dotted var(--gold); cursor: help; }
.reader-passage .strongs sup { font-family: var(--ff-mono); font-size: 8px; color: var(--gold); margin-left: 1px; }
.reader-passage mark.active { background: rgba(212,175,55,.18); color: var(--ink); padding: 0 2px; }

.reader-xrefs { list-style: none; padding: 0; margin: 0 0 24px; }
.reader-xrefs li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 13px;
}
.reader-xrefs li .ref { color: var(--gold); font-size: 11px; }
.reader-xrefs li span:last-child { color: var(--ink-soft); font-style: italic; font-family: var(--ff-display); }

.reader-note {
  background: var(--paper-2);
  border: 1px dashed var(--rule);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.reader-note p { font-family: var(--ff-display); font-size: 14px; line-height: 1.5; color: var(--ink); margin: 0 0 8px; font-style: italic; }
.reader-note-meta { color: var(--ink-mute); font-size: 10px; }

.reader-strongs {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.reader-strongs p { font-family: var(--ff-body-editorial); font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.reader-strongs p b { color: var(--gold); font-style: italic; font-weight: 500; }

/* ===== Reader right column tabs (visual only) ===== */
.reader-right { padding: 0 !important; display: flex; flex-direction: column; }
.side-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  flex-shrink: 0;
}
.side-tabs button {
  background: transparent;
  border: none;
  border-right: 1px solid var(--rule);
  padding: 14px 6px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: default;
  transition: color .15s, background .15s;
}
.side-tabs button:last-child { border-right: none; }
.side-tabs button.active {
  background: var(--paper);
  color: var(--gold);
  box-shadow: inset 0 -1px 0 var(--paper), inset 0 2px 0 var(--gold);
}
.side-pane { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }

.ai-denom-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
}
.ai-denom-row .lens-label { font-size: 10px; letter-spacing: .15em; color: var(--ink-mute); }
.ai-denom-row .denom-select {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 5px 8px;
  color: var(--ink);
  background: var(--paper);
  display: inline-flex; align-items: center; gap: 6px;
}
.ai-denom-row .denom-select i { font-size: 10px; color: var(--ink-mute); }

.ai-thread { display: flex; flex-direction: column; gap: 14px; }
.ai-msg { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.ai-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.ai-msg.user .ai-avatar { background: var(--ink); color: var(--paper); }
.ai-msg.ai .ai-avatar { color: var(--gold); border: 1px solid var(--gold); }
.ai-bubble {
  font-family: var(--ff-body-editorial);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}
.ai-msg.user .ai-bubble { color: var(--ink-soft); font-style: italic; }
.ai-bubble .strongs-ref {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: .04em;
  padding: 0 2px;
}
.ai-cite {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  background: rgba(212,175,55,.06);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink);
}
.ai-cite .cite-ref {
  display: block;
  font-style: normal;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}
.ai-bubble .ref-chip {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 6px;
  margin: 0 2px;
}

.ai-suggest { display: flex; flex-direction: column; gap: 6px; }
.ai-suggest .suggestion {
  font-family: var(--ff-body-editorial);
  font-style: italic;
  font-size: 12px;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  background: var(--paper-2);
}

.ai-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-top: auto;
}
.ai-input input {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 8px 10px;
  font-family: var(--ff-body-editorial);
  font-size: 13px;
  color: var(--ink);
  outline: none;
}
.ai-input input::placeholder { color: var(--ink-mute); font-style: italic; }
.ai-input button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 0 14px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: default;
}

[data-theme="dark"] .side-tabs { background: #1a1714; }
[data-theme="dark"] .ai-cite { background: rgba(212,175,55,.1); }
[data-theme="dark"] .ai-suggest .suggestion { background: rgba(212,175,55,.04); }

.reader-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; justify-content: center; }

@media (max-width: 900px) {
  .reader-mock {
    grid-template-columns: 1fr;
  }
}

/* ===== III. KERIGMA SECTION ===== */
.kerigma-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.kerigma-copy h2 { margin-bottom: 20px; }
.kerigma-copy > p { font-size: 19px; line-height: 1.55; max-width: 48ch; margin: 0 0 28px; color: var(--ink-soft); }
.kerigma-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin: 0 0 28px;
}
.kerigma-quote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.kerigma-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }

.kerigma-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 28px 26px;
  box-shadow: 0 30px 60px -30px rgba(44,36,22,.18);
}
.kerigma-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.kerigma-card-head .label { color: var(--gold); font-size: 11px; letter-spacing: .12em; }
.kerigma-card-head .meta { color: var(--ink-mute); font-size: 11px; }
.kerigma-card-title { font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
.kerigma-card-meta { font-size: 11px; color: var(--ink-mute); letter-spacing: .08em; padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }

.kerigma-outline { list-style: none; padding: 0; margin: 0 0 22px; }
.kerigma-outline li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  font-family: var(--ff-display);
  font-size: 15px;
  color: var(--ink-soft);
}
.kerigma-outline li.done { color: var(--ink); }
.kerigma-outline li .check {
  display: inline-block; width: 16px; flex-shrink: 0;
  font-family: var(--ff-mono); color: var(--ink-mute);
  font-size: 13px;
}
.kerigma-outline li.done .check { color: var(--gold); }

.kerigma-progress { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); }
.kerigma-progress .bar { flex: 1; height: 3px; background: var(--rule); position: relative; }
.kerigma-progress .bar span { display: block; height: 100%; background: var(--gold); }
.kerigma-progress .pct { color: var(--ink-mute); font-size: 11px; flex-shrink: 0; }

@media (max-width: 900px) {
  .kerigma-grid { grid-template-columns: 1fr; }
}

/* ===== IV. TOOLS SECTION ===== */
.tools-intro { max-width: 60ch; margin-bottom: 40px; }
.tools-intro h2 { margin-bottom: 16px; }
.tools-intro p { font-size: 18px; }

.tools-grid-editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .tools-grid-editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tools-grid-editorial { grid-template-columns: 1fr; }
}
.tool-card-ed {
  background: var(--paper);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .2s, transform .15s;
  position: relative;
  border-radius: 0;
}
.tool-card-ed:hover { background: var(--paper-2); text-decoration: none; color: inherit; }
.tool-card-ed:hover .hint { color: var(--gold); }
.tool-card-ed .num { color: var(--gold); font-size: 11px; }
.tool-card-ed h4 { font-family: var(--ff-display); font-weight: 500; font-size: 22px; line-height: 1.15; color: var(--ink); margin: 4px 0 6px; letter-spacing: -.01em; }
.tool-card-ed p { font-family: var(--ff-body-editorial); font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 12px; }
.tool-card-ed .hint {
  margin-top: auto;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .08em;
  transition: color .15s;
}

/* ===== IV. MULTI-DENOMINATIONAL AI ===== */
.multi-question {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.multi-question .who {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
}
.multi-question p {
  margin: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}

.multi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 28px;
}
.multi-card-ed {
  background: var(--paper);
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 4px solid var(--rule);
}
.multi-card-ed header { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.multi-card-ed header .ico {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.multi-card-ed header h3 {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.multi-card-ed p {
  font-family: var(--ff-body-editorial);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.multi-card-ed .cite {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink-mute);
  text-transform: uppercase;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
}
.multi-card-ed.denom-catolica   { border-top-color: #a855f7; }
.multi-card-ed.denom-catolica   header .ico { color: #a855f7; }
.multi-card-ed.denom-protestante { border-top-color: #3b82f6; }
.multi-card-ed.denom-protestante header .ico { color: #3b82f6; }
.multi-card-ed.denom-adventista  { border-top-color: #22c55e; }
.multi-card-ed.denom-adventista  header .ico { color: #22c55e; }
.multi-card-ed.denom-pentecostal { border-top-color: #ef4444; }
.multi-card-ed.denom-pentecostal header .ico { color: #ef4444; }
.multi-card-ed.denom-ortodoxa    { border-top-color: #eab308; }
.multi-card-ed.denom-ortodoxa    header .ico { color: #eab308; }

@media (max-width: 1100px) {
  .multi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .multi-grid { grid-template-columns: 1fr; }
}

/* ===== V. GOSPEL HARMONY ===== */
.harmony-mock {
  border: 1px solid var(--rule);
  background: var(--paper);
  margin-bottom: 28px;
  box-shadow:
    0 1px 0 var(--paper),
    0 40px 80px -40px rgba(44,36,22,.28);
}
.harmony-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
  gap: 8px;
}
.harmony-head .harmony-event { color: var(--gold); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.harmony-head .harmony-loc { color: var(--ink-mute); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.harmony-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
}
.hcol {
  background: var(--paper);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hcol-label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--rule);
}
.hcol p {
  font-family: var(--ff-display);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.hcol .vn {
  font-family: var(--ff-mono);
  font-size: 9px;
  vertical-align: super;
  color: var(--gold);
  margin-right: 2px;
}
.hcol mark { padding: 0 2px; background: transparent; color: inherit; }
.hcol mark.hl-shared { background: rgba(212,175,55,.15); }
.hcol mark.hl-diff   { background: rgba(59,130,246,.18); color: var(--ink); }
.hcol mark.hl-excl   { background: rgba(239,68,68,.18); color: var(--ink); }

.harmony-legend {
  display: flex;
  gap: 24px;
  padding: 12px 22px;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.harmony-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.harmony-legend .dot-shared { background: rgba(212,175,55,.55); }
.harmony-legend .dot-diff   { background: rgba(59,130,246,.7); }
.harmony-legend .dot-excl   { background: rgba(239,68,68,.7); }

@media (max-width: 900px) {
  .harmony-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .harmony-cols { grid-template-columns: 1fr; }
}

/* ===== LANDING EDITORIAL — strict alternation A/B per section + separator line ===== */
body.landing-editorial main > section { border-top: 1px solid var(--rule); }
body.landing-editorial main > section:first-of-type { border-top: none; }
body.landing-editorial main > section:nth-of-type(odd) { background: var(--paper) !important; }
body.landing-editorial main > section:nth-of-type(even) { background: var(--paper-2) !important; }
body.landing-editorial[data-theme="dark"] main > section:nth-of-type(odd) { background: var(--paper-2) !important; }
body.landing-editorial[data-theme="dark"] main > section:nth-of-type(even) { background: var(--paper) !important; }

/* ===== Unified container width: 1480 with 16-36px gutter (was landing-only) ===== */
.sabbati-header .header-inner,
.sabbati-footer .footer-inner,
body.landing-editorial .section-inner,
.profile-hero > .container,
.profile-content > .container {
  max-width: 1480px;
  padding-left: clamp(16px, 2.5vw, 36px);
  padding-right: clamp(16px, 2.5vw, 36px);
}
/* Zero the footer parent horizontal padding so the inner gutter alone defines width */
.sabbati-footer { padding-left: 0; padding-right: 0; }
/* mega-menu spans full container width too */
.mega-menu {
  max-width: 1480px;
  margin: 0 auto;
  left: clamp(16px, 2.5vw, 36px);
  right: clamp(16px, 2.5vw, 36px);
}

/* ===== LANDING EDITORIAL — coerce existing lower sections to parchment ===== */
body.landing-editorial .sabbati-section { position: relative; z-index: 1; }
body.landing-editorial .sabbati-section.dark {
  background: var(--paper-2);
  color: var(--ink);
}
body.landing-editorial .sabbati-section.parchment { background: var(--paper); }
body.landing-editorial .sabbati-section.parchment-alt { background: var(--paper-2); }

body.landing-editorial .sabbati-section.dark h2,
body.landing-editorial .sabbati-section.dark h3,
body.landing-editorial .sabbati-section.dark .section-title { color: var(--ink); }
body.landing-editorial .sabbati-section.dark p,
body.landing-editorial .sabbati-section.dark .section-desc { color: var(--ink-soft); }

/* Section labels — switch to gold accent + mono for editorial coherence, centered */
body.landing-editorial .sabbati-section .section-header-center { text-align: center; margin: 0 auto 3rem; max-width: 920px; }
body.landing-editorial .sabbati-section .section-label {
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 14px;
}
body.landing-editorial .sabbati-section .section-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 auto 18px;
  max-width: 22ch;
}
body.landing-editorial .sabbati-section .section-desc {
  font-family: var(--ff-body-editorial);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 60ch;
}

/* ===== UNIFIED TYPE SCALE FOR THE LANDING =====
 *  Tier MEDIUM (descriptions) — 22px / 1.45 / Newsreader / --ink-soft
 *  Tier SMALL  (lists, cards, footer)        — 17px / 1.55 / Newsreader / --ink-soft
 *  FAQ questions stay bold-ink at the medium size.
 */

/* ---- MEDIUM: every standalone description paragraph ---- */
body.landing-editorial .editorial-section p,
body.landing-editorial .editorial-section .section-header-center p,
body.landing-editorial .reader-intro p,
body.landing-editorial .tools-intro p,
body.landing-editorial .kerigma-copy > p,
body.landing-editorial .cta-section p,
body.landing-editorial .cta-section .cta-subtitle,
body.landing-editorial .sabbati-section .ai-text > p,
body.landing-editorial .sabbati-section .about-text > p,
body.landing-editorial .sabbati-section .tor-text > p,
body.landing-editorial .sabbati-section .faq-intro > p,
body.landing-editorial .sabbati-section .about-visual .visual-verse {
  font-family: var(--ff-body-editorial);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---- SMALL: lists + card internals + footer + FAQ items ---- */
body.landing-editorial .sabbati-section .mission-list li,
body.landing-editorial .sabbati-section .feature-card p,
body.landing-editorial .sabbati-section .tool-card p,
body.landing-editorial .sabbati-section .stat-card p,
body.landing-editorial .sabbati-section .canon-card p,
body.landing-editorial .sabbati-section .community-card p,
body.landing-editorial .sabbati-section .plan-card p,
body.landing-editorial .sabbati-section .plan-card li,
body.landing-editorial .editorial-section .multi-card-ed p,
body.landing-editorial .editorial-section .tool-card-ed p,
body.landing-editorial .editorial-section .harmony-mock .hcol p,
body.landing-editorial .editorial-section .reader-mock .reader-passage,
body.landing-editorial .faq-answer,
body.landing-editorial .faq-item p,
body.landing-editorial .sabbati-footer .footer-brand p,
body.landing-editorial .sabbati-footer .footer-links ul li a {
  font-family: var(--ff-body-editorial);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* FAQ questions: bold ink at the small list size, since FAQ is a list of items */
body.landing-editorial .faq-question,
body.landing-editorial .faq-item h3 {
  font-family: var(--ff-body-editorial);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
}

/* Reader passage keeps full ink color for Bible-text legibility */
body.landing-editorial .editorial-section .reader-mock .reader-passage { color: var(--ink); }

/* Card / list headings: tighter than before, hierarchy still above the body */
body.landing-editorial .sabbati-section .feature-card h3,
body.landing-editorial .sabbati-section .tool-card h3,
body.landing-editorial .sabbati-section .stat-card h3,
body.landing-editorial .sabbati-section .canon-card h3,
body.landing-editorial .sabbati-section .community-card h3,
body.landing-editorial .sabbati-section .plan-card h3,
body.landing-editorial .editorial-section .tool-card-ed h4,
body.landing-editorial .editorial-section .multi-card-ed header h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

/* Mission-list bullet checkmarks scale to the small text */
body.landing-editorial .mission-list li i { font-size: 14px; vertical-align: -1px; }

/* Footer column headings: same small size as the rest of the footer, just bold */
body.landing-editorial .sabbati-footer .footer-links h4 {
  font-family: var(--ff-body-editorial);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}
body.landing-editorial .sabbati-footer .footer-bottom { font-size: 14px; }

/* Cards inside dark sections need light bg + sharp edges */
body.landing-editorial .sabbati-section.dark .stat-card,
body.landing-editorial .sabbati-section.dark .canon-card,
body.landing-editorial .sabbati-section.dark .community-card,
body.landing-editorial .sabbati-section.dark .tor-card,
body.landing-editorial .sabbati-section.dark .feature-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  border-radius: 0;
}
body.landing-editorial .sabbati-section.dark .stat-card *,
body.landing-editorial .sabbati-section.dark .canon-card *,
body.landing-editorial .sabbati-section.dark .community-card *,
body.landing-editorial .sabbati-section.dark .tor-card * {
  color: inherit;
}
body.landing-editorial .sabbati-section.dark .stat-number,
body.landing-editorial .sabbati-section.dark .canon-number,
body.landing-editorial .sabbati-section.dark .canon-card h3,
body.landing-editorial .sabbati-section.dark .community-card h3 { color: var(--ink); }
body.landing-editorial .sabbati-section.dark .stat-label,
body.landing-editorial .sabbati-section.dark .canon-card p,
body.landing-editorial .sabbati-section.dark .community-card p { color: var(--ink-soft); }

/* Sharp edges and parchment cards on landing (skipping FAQ + plans which keep their original rounded look) */
body.landing-editorial .sabbati-section .feature-card,
body.landing-editorial .sabbati-section .tool-card,
body.landing-editorial .sabbati-section .stat-card,
body.landing-editorial .sabbati-section .canon-card,
body.landing-editorial .sabbati-section .community-card,
body.landing-editorial .sabbati-section .tor-card {
  border-radius: 0;
}
body.landing-editorial .sabbati-section .feature-card,
body.landing-editorial .sabbati-section .tool-card {
  background: var(--paper);
  border: 1px solid var(--rule);
}

/* Version badges (Bible Versions section) — parchment style */
body.landing-editorial .version-badge {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
}
body.landing-editorial .version-badge:hover { border-color: var(--gold); background: var(--paper-2); }
body.landing-editorial .version-badge .badge-abbr { color: var(--gold); }
body.landing-editorial .version-badge .badge-name { color: var(--ink-soft); }
body.landing-editorial .version-badge .badge-available { color: var(--ink-mute); }

/* Filter chips */
body.landing-editorial .ver-filter-chip {
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 0;
}
body.landing-editorial .ver-filter-chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
body.landing-editorial .ver-filter-chip:hover {
  border-color: var(--gold);
  color: var(--ink);
}

/* Verse highlight (centered scripture between sections) */
body.landing-editorial .verse-highlight {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
body.landing-editorial .verse-highlight .verse-text {
  font-family: var(--ff-display);
  color: var(--ink);
  font-style: italic;
}
body.landing-editorial .verse-highlight .verse-ref {
  font-family: var(--ff-mono);
  color: var(--gold);
  letter-spacing: .08em;
}

/* FAQ — keep original rounded styling, just adjust colors for parchment */
body.landing-editorial .faq-item h3,
body.landing-editorial .faq-question { color: var(--ink); }
body.landing-editorial .faq-item p,
body.landing-editorial .faq-answer { color: var(--ink-soft); }

/* Plans cards — keep original rounded styling, just adjust text color in light mode */
body.landing-editorial .plan-card h3,
body.landing-editorial .plan-card .plan-price { color: var(--ink); }
body.landing-editorial .plan-card .plan-desc,
body.landing-editorial .plan-card li { color: var(--ink-soft); }

/* Ornament colors */
body.landing-editorial .ornament span { color: var(--gold); }

/* Dark theme: when user toggles to dark on landing, lower sections recover dark look */
body.landing-editorial[data-theme="dark"] .sabbati-section.dark { background: #1a1714; color: #e8e0d0; }
body.landing-editorial[data-theme="dark"] .sabbati-section.parchment,
body.landing-editorial[data-theme="dark"] .sabbati-section.parchment-alt { background: #242019; color: #e8e0d0; }
body.landing-editorial[data-theme="dark"] .sabbati-section h2,
body.landing-editorial[data-theme="dark"] .sabbati-section h3,
body.landing-editorial[data-theme="dark"] .sabbati-section .section-title { color: #e8e0d0; }
body.landing-editorial[data-theme="dark"] .sabbati-section p,
body.landing-editorial[data-theme="dark"] .sabbati-section .section-desc { color: #c4b89a; }
body.landing-editorial[data-theme="dark"] .feature-card,
body.landing-editorial[data-theme="dark"] .tool-card,
body.landing-editorial[data-theme="dark"] .stat-card,
body.landing-editorial[data-theme="dark"] .canon-card,
body.landing-editorial[data-theme="dark"] .community-card,
body.landing-editorial[data-theme="dark"] .plan-card,
body.landing-editorial[data-theme="dark"] .faq-item,
body.landing-editorial[data-theme="dark"] .version-badge {
  background: #242019;
  border-color: #3a3228;
  color: #e8e0d0;
}
body.landing-editorial[data-theme="dark"] .verse-highlight { background: #1a1714; color: #e8e0d0; border-color: #3a3228; }
body.landing-editorial[data-theme="dark"] .verse-highlight .verse-text { color: #e8e0d0; }

/* ─────────────────────────────────────────────────────────────────
   Animated spotlights — shared by Study Tools pages (Lexicon,
   Cross-references, etc.). Wrap a section in .spotlights-app and
   include one .spotlights-dot child to get all three coloured glows
   (green via ::before, violet via ::after, gold via the dot). The
   children of .spotlights-app are auto-elevated to z-index 1 so
   their backgrounds need to be transparent to let the glows show.
   ───────────────────────────────────────────────────────────────── */
.spotlights-app {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.spotlights-app::before,
.spotlights-app::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}
.spotlights-app::before {
  background: rgba(5,150,105,.20);
  top: 20%;
  left: -10%;
  animation: spotlights-green 52s ease-in-out infinite;
}
.spotlights-app::after {
  background: rgba(124,58,237,.18);
  bottom: 10%;
  right: -10%;
  animation: spotlights-violet 58s ease-in-out infinite;
}
.spotlights-dot {
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: rgba(212,175,55,.10);
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  top: 60%;
  left: 40%;
  animation: spotlights-gold 46s ease-in-out infinite;
}
.spotlights-app > *:not(.spotlights-dot) { position: relative; z-index: 1; }
@keyframes spotlights-green {
  0%   { top: 20%; left: -10%; opacity: .6; }
  25%  { top: 5%;  left: 30%;  opacity: .9; }
  50%  { top: 45%; left: 50%;  opacity: .5; }
  75%  { top: 55%; left: 10%;  opacity: .8; }
  100% { top: 20%; left: -10%; opacity: .6; }
}
@keyframes spotlights-violet {
  0%   { bottom: 10%; right: -10%; opacity: .55; }
  25%  { bottom: 40%; right: 30%;  opacity: .9; }
  50%  { bottom: 20%; right: 60%;  opacity: .45; }
  75%  { bottom: 50%; right: 5%;   opacity: .75; }
  100% { bottom: 10%; right: -10%; opacity: .55; }
}
@keyframes spotlights-gold {
  0%   { top: 60%; left: 40%; opacity: .45; }
  25%  { top: 20%; left: 60%; opacity: .8; }
  50%  { top: 40%; left: 20%; opacity: .35; }
  75%  { top: 70%; left: 50%; opacity: .7; }
  100% { top: 60%; left: 40%; opacity: .45; }
}
[data-theme="light"] .spotlights-app::before { background: rgba(5,150,105,.12); }
[data-theme="light"] .spotlights-app::after  { background: rgba(124,58,237,.10); }
[data-theme="light"] .spotlights-dot         { background: rgba(212,175,55,.07); }

/* ── Quiz: "Back to Games" link (used on all quiz/*_start.html) ── */
.quiz-back-link {
  display: block;
  max-width: 1480px;
  margin: 0 auto 24px;
  padding: 6px clamp(16px, 2.5vw, 36px);
  box-sizing: border-box;
  color: var(--ink-mute, var(--text-muted));
  font-family: var(--ff-mono, var(--font-body));
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s ease;
}
.quiz-back-link:hover { color: var(--gold); }
.quiz-back-link i { font-size: 14px; margin-right: 6px; vertical-align: middle; }

/* ── Quiz: center-align all hero blocks (start + lobby) for consistency
   with the centered jogar/resultado blocks. Avoids the mixed left/center
   axes that Tales' original CSS produced. ── */
.qlob-hero, .qvf-hero, .qpo-hero, .qgeo-hero, .qnu-hero {
  text-align: center;
}
.qlob-hero .qlob-subtitulo,
.qvf-hero .qvf-subtitulo,
.qpo-hero .qpo-subtitulo,
.qgeo-hero .qgeo-subtitulo,
.qnu-hero .qnu-subtitulo {
  margin-left: auto;
  margin-right: auto;
}
.qvf-escolha, .qpo-escolha, .qgeo-escolha, .qnu-escolha {
  margin-left: auto;
  margin-right: auto;
}
/* numeral-mark (dash + label) is display:flex with left-justify by default.
   Center its content within the centered quiz heros. */
.qlob-hero .numeral-mark,
.qvf-hero .numeral-mark,
.qpo-hero .numeral-mark,
.qgeo-hero .numeral-mark,
.qnu-hero .numeral-mark {
  justify-content: center;
}
/* "Escolha a dificuldade" label and the result block — both had no horizontal
   alignment set and sat at the left edge. */
.qvf-escolha-label, .qpo-escolha-label, .qgeo-escolha-label, .qnu-escolha-label {
  text-align: center;
}
.qvf-resultado, .qpo-resultado, .qgeo-resultado, .qnu-resultado {
  margin-left: auto;
  margin-right: auto;
}

/* Hide the global site footer on mobile in the quiz section — keeps the focus
   on the current game and reduces friction post-result on small screens. */
@media (max-width: 768px) {
  body:has(.qlob-page, .qvf-lobby, .qvf-page, .qpo-lobby, .qpo-page,
          .qnu-lobby, .qnu-page, .qgeo-lobby, .qgeo-page) .sabbati-footer {
    display: none;
  }
}
