/* ==========================================================================
   ESTILOS PRINCIPAIS - SITE DRA. DURVALINA BEZERRA
   ========================================================================== */

/* ── VARIÁVEIS & DESIGN SYSTEM ── */
:root {
  --navy: #1A2B4E;
  --navy-dark: #101C34;
  --navy-light: #253761;
  --gold: #B8912A;
  --gold-light: #D4AF6A;
  --gold-pale: #F5ECD4;
  --ivory: #FAF7F2;
  --sage: #ECF0EA;
  --white: #FFFFFF;
  --text: #1C1C1C;
  --text-mid: #4A4A4A;
  --text-light: #8A8A8A;
  --border: #E0D8CC;
  --radius: 6px;
  --transition: all 0.28s ease;
  --shadow: 0 4px 24px rgba(26, 43, 78, 0.10);
  --shadow-lg: 0 12px 48px rgba(26, 43, 78, 0.16);
}

/* ── RESET & ESTRUTURA BÁSICA ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--ivory);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── ORNAMENTO (ELEMENTO VISUAL PREMIUM) ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 40px;
  width: fit-content;
}

.ornament::before,
.ornament::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background: var(--gold);
}

.ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ── ROTULOS E TÍTULOS DE SEÇÃO ── */
.section-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
}

/* ── NAVEGAÇÃO GLOBAL ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 43, 78, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 145, 42, 0.25);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.nav-brand {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-brand span {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width 0.28s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-restricted {
  border: 1px solid rgba(184, 145, 42, 0.45) !important;
  color: var(--gold-light) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  transition: var(--transition) !important;
}

.nav-restricted:hover {
  background: rgba(184, 145, 42, 0.15) !important;
  border-color: var(--gold-light) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(184, 145, 42, 0.15);
}

.nav-restricted::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── SEÇÃO HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(184, 145, 42, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184, 145, 42, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 80px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-name {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-name .highlight {
  display: block;
  color: var(--gold-light);
  font-style: italic;
}

.hero-name-container {
  display: block;
}

.hero-mobile-avatar {
  display: none;
}

.hero-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 48px;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 145, 42, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-num {
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.92) contrast(1.04);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-dark) 0%, transparent 30%),
    linear-gradient(to top, var(--navy-dark) 0%, transparent 30%);
}

/* ── SEÇÃO SOBRE (BIOGRAFIA) ── */
#sobre {
  padding: 100px 80px;
  background: var(--ivory);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.sobre-aside {
  position: sticky;
  top: 100px;
}

.sobre-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}

.sobre-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.credential-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.credential-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.credential-text strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.sobre-content .section-label {
  text-align: left;
}

.sobre-content .section-title {
  text-align: left;
  margin-bottom: 32px;
}

.sobre-text p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
  text-align: justify;
}

.sobre-text p:first-child::first-letter {
  font-family: 'Open Sans', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--gold);
  float: left;
  line-height: 0.8;
  padding-right: 12px;
  padding-top: 8px;
}

.sobre-quote {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--navy);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.sobre-quote p {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin: 0;
}

.sobre-quote p::first-letter {
  all: unset;
}

.sobre-quote cite {
  display: block;
  margin-top: 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-style: normal;
}

/* ── SEÇÃO LIVROS ── */
#livros {
  padding: 100px 80px;
  background: var(--navy);
}

#livros .section-label {
  color: var(--gold-light);
}

#livros .section-title {
  color: var(--white);
}

#livros .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.livros-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: center;
}

.livros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.livro-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 145, 42, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.livro-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.livro-cover {
  aspect-ratio: 4 / 5;
  height: auto;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.livro-cover.has-image {
  padding: 0;
}

.livro-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(184, 145, 42, 0.15), transparent 60%);
}

.livro-cover-inner {
  text-align: center;
  z-index: 1;
  width: min(72%, 210px);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
  border-radius: 3px 10px 10px 3px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 16%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(242, 223, 176, 0.92));
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.35);
  position: relative;
}

.livro-cover-inner::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 12px;
  width: 1px;
  background: rgba(191, 149, 40, 0.35);
}

.livro-cover-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.livro-cover-num {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.livro-cover-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-dark);
  margin-top: 14px;
}

.livro-body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.livro-role {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.livro-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 8px;
}

.livro-publisher {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--white) !important;
  margin-bottom: 12px;
  font-weight: 500;
}

.livro-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  flex: 1;
}

.livro-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}

.livro-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.livro-btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.livro-btn-primary:hover {
  background: var(--gold-light);
}

.livro-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.livro-btn-secondary:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ── SEÇÃO BLOG ── */
#blog {
  padding: 100px 80px;
  background: var(--sage);
}

.blog-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.blog-tabs-toggle {
  display: none;
}

.blog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.blog-tab {
  padding: 9px 22px;
  border-radius: 40px;
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  background: var(--white);
}

.blog-tab.active,
.blog-tab:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.blog-tab.gold.active,
.blog-tab.gold:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-card-featured {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 280px 1fr;
}

.blog-card-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(255, 255, 255, 0.25);
  min-height: 200px;
}

.blog-card-body {
  padding: 32px 28px;
}

.blog-card-cat {
  font-family: 'Open Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-card-title a:hover {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-small {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: var(--transition);
}

.blog-card-small:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-small-icon {
  width: 80px;
  height: 80px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.blog-card-small-cat {
  font-family: 'Open Sans', sans-serif;
  font-size: 8.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.blog-card-small-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 6px;
}

.blog-card-small-date {
  font-size: 11px;
  color: var(--text-light);
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.sidebar-widget-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-mid);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cat-list li a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.cat-count {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  background: var(--gold-pale);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 20px;
}

.cat-list li a:hover .cat-count {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--ivory);
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form input::placeholder {
  color: var(--text-light);
}

.newsletter-form .btn-primary {
  font-size: 10px;
  padding: 12px;
  justify-content: center;
}

/* ── SEÇÃO DEVOCIONAIS ── */
#devocionais {
  padding: 100px 80px;
  background: var(--ivory);
}

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

.devocionais-header {
  text-align: center;
  margin-bottom: 60px;
}

.devocional-destaque {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.devocional-aside {
  background: linear-gradient(160deg, var(--navy) 60%, var(--navy-light));
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.devocional-badge {
  display: inline-block;
  background: rgba(184, 145, 42, 0.15);
  border: 1px solid rgba(184, 145, 42, 0.4);
  color: var(--gold-light);
  font-family: 'Open Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.devocional-versiculo {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.devocional-ref {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-top: 16px;
}

.devocional-cal {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.devocional-cal-icon {
  font-size: 22px;
}

.devocional-cal-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
}

.devocional-cal-text strong {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.devocional-main {
  padding: 52px 48px;
}

.devocional-main .section-label {
  text-align: left;
}

.devocional-titulo {
  font-family: 'Open Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 20px;
}

.devocional-texto {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.85;
  text-align: justify;
}

.devocional-texto p {
  margin-bottom: 16px;
}

.devocional-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.devocionais-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.devoc-mini {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.devoc-mini:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.devoc-mini-date {
  font-family: 'Open Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.devoc-mini-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 8px;
}

.devoc-mini-ref {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  margin-top: auto;
}

/* ── SEÇÃO VÍDEOS ── */
#videos {
  padding: 100px 80px;
  background: var(--navy-dark);
}

#videos .section-label {
  color: var(--gold-light);
}

#videos .section-title {
  color: var(--white);
}

#videos .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.videos-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  text-align: center;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 145, 42, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(184, 145, 42, 0.12), transparent 60%);
}

.video-play-btn {
  width: 56px;
  height: 56px;
  background: rgba(184, 145, 42, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--navy-dark);
  transition: var(--transition);
  z-index: 1;
}

.video-card:hover .video-play-btn {
  background: var(--gold);
  transform: scale(1.1);
}

.video-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26, 43, 78, 0.85);
  color: var(--gold-light);
  font-family: 'Open Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  z-index: 2;
}

.video-body {
  padding: 20px 18px;
}

.video-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.video-title:hover {
  color: var(--gold-light);
}

.video-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
}

.videos-cta {
  text-align: center;
  margin-top: 48px;
}

/* ── RODAPÉ (FOOTER) ── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(184, 145, 42, 0.2);
  padding: 60px 80px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-brand-name {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-about {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-col-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

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

.developer-credit {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.42);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(184, 145, 42, 0.1);
}

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(16, 28, 52, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px 40px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(184, 145, 42, 0.2);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

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

/* ── SUPORTE AO MODAL DE LEITURA (READER MODE) ── */
.reader-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(16, 28, 52, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.reader-modal.active {
  opacity: 1;
  pointer-events: all;
}

.reader-container {
  background-color: var(--ivory);
  width: 100%;
  max-width: 800px;
  height: 90vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
}

.reader-modal.active .reader-container {
  transform: translateY(0);
}

.reader-header {
  padding: 1.5rem 2.5rem;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reader-tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.reader-font-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.reader-font-btn:hover {
  color: var(--gold);
}

.reader-close-btn {
  background: rgba(186, 26, 26, 0.08);
  border: 1px solid rgba(186, 26, 26, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  color: #ba1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.reader-close-btn:hover {
  background-color: #ba1a1a;
  color: #ffffff;
  border-color: #ba1a1a;
}

.reader-body {
  padding: 3rem 4rem;
  overflow-y: auto;
  flex-grow: 1;
}

.reader-article {
  max-width: 650px;
  margin: 0 auto;
}

.reader-article.large-font {
  font-size: 1.25rem;
}

.reader-article-meta {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.reader-article-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.reader-article-author {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--text-light);
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}

.reader-article-author .author-name {
  font-weight: 600;
  color: var(--navy);
}

.reader-article-versiculo {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-mid);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.6;
}

.reader-article-content {
  color: var(--text-mid);
  line-height: 1.85;
}

.reader-article-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.reader-article-content h3,
.reader-article-content h4 {
  margin: 2.5rem 0 1rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--navy);
}

/* ── SUPORTE AO MODAL DE COMPRA (MÚLTIPLAS OPÇÕES) ── */
.purchase-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2100;
  background-color: rgba(16, 28, 52, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.purchase-modal.active {
  opacity: 1;
  pointer-events: all;
}

.purchase-container {
  background-color: var(--white);
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
}

.purchase-modal.active .purchase-container {
  transform: translateY(0);
}

.purchase-header {
  padding: 1.2rem 1.8rem;
  background-color: var(--ivory);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.purchase-modal-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.purchase-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--navy);
  transition: color 0.2s;
  padding: 4px;
  line-height: 1;
}

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

.purchase-body {
  padding: 2rem 1.8rem;
}

.purchase-body .livro-btn-primary {
  width: 100%;
  margin-bottom: 10px;
  padding: 14px;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-family: 'Open Sans', sans-serif;
  display: block;
  text-decoration: none;
}

.purchase-body .livro-btn-primary:last-child {
  margin-bottom: 0;
}

/* ── RESPONSIVIDADE MEDIA QUERIES ADICIONAIS ── */
@media (max-width: 1024px) {
  nav {
    padding: 0 28px;
  }

  .nav-links {
    gap: 22px;
  }

  #hero,
  #sobre,
  #livros,
  #blog,
  #devocionais,
  #videos,
  footer {
    padding-left: 40px;
    padding-right: 40px;
  }

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

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

  .blog-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .devocional-destaque {
    grid-template-columns: 1fr;
  }

  .devocional-main {
    padding: 40px 40px;
  }

  .devocionais-archive {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-left {
    padding: 120px 24px 60px;
  }

  .hero-right {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-name-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
  }

  .hero-name {
    margin-bottom: 0;
  }

  .hero-mobile-avatar {
    display: block;
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  .hero-mobile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  #sobre {
    padding: 80px 24px;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sobre-aside {
    position: static;
  }

  .sobre-portrait {
    max-height: 380px;
    width: 260px;
  }

  #livros {
    padding: 80px 24px;
  }

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

  .livro-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  #blog {
    padding: 80px 24px;
  }

  .blog-card-featured {
    grid-template-columns: 1fr;
  }

  .blog-card-img {
    min-height: 160px;
  }

  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  #devocionais {
    padding: 80px 24px;
  }

  .devocional-main {
    padding: 32px 24px;
  }

  .devocionais-archive {
    grid-template-columns: 1fr;
  }

  #videos {
    padding: 80px 24px;
  }

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

  footer {
    padding: 60px 24px 24px;
  }

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

  .reader-header {
    padding: 1.25rem 1.5rem;
  }

  .reader-body {
    padding: 2rem 1.5rem;
  }

  .reader-article-title {
    font-size: calc(1.75rem * var(--reader-font-scale, 1));
  }
}

/* ==========================================================================
   MODERNIZAÇÃO VISUAL - CAMADA DE ACABAMENTO PROFISSIONAL
   ========================================================================== */
:root {
  --ink: #0f172a;
  --navy: #172846;
  --navy-dark: #0b1426;
  --navy-light: #263a61;
  --gold: #bf9528;
  --gold-light: #e2bd63;
  --gold-soft: #f2dfb0;
  --ivory: #fbf8f1;
  --ivory-deep: #f4ead8;
  --sage: #edf1ea;
  --paper: #fffdf8;
  --text: #171717;
  --text-mid: #4b5563;
  --text-light: #8b8f98;
  --border: #ded6c8;
  --border-strong: rgba(191, 149, 40, 0.38);
  --radius: 8px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 220ms var(--ease);
  --shadow: 0 14px 34px rgba(19, 28, 49, 0.08);
  --shadow-lg: 0 26px 70px rgba(12, 20, 38, 0.18);
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.34);
  --container: 1180px;
}

html {
  scroll-padding-top: 84px;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(244, 234, 216, 0.34)),
    var(--ivory);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 40, 70, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 40, 70, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.devoc-mini:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.section-label {
  letter-spacing: 0.22em;
  color: var(--gold);
}

.section-title {
  letter-spacing: 0;
  color: var(--navy);
}

.section-subtitle {
  color: #5d6470;
}

.icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  display: inline-block;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ── Navegação refinada ── */
nav {
  height: 72px;
  padding: 0 clamp(22px, 5vw, 54px);
  background: rgba(16, 28, 52, 0.78);
  border-bottom: 1px solid rgba(226, 189, 99, 0.18);
  box-shadow: none;
}

nav.scrolled {
  height: 64px;
  background: rgba(11, 20, 38, 0.94);
  box-shadow: 0 12px 42px rgba(2, 8, 23, 0.18);
}

.nav-brand {
  font-size: 18px;
  line-height: 1.3;
}

.nav-links {
  gap: clamp(18px, 2.2vw, 34px);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.16em;
}

.nav-cta,
.btn-primary,
.livro-btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  color: #111827 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.nav-cta:hover,
.btn-primary:hover,
.livro-btn-primary:hover {
  background: linear-gradient(135deg, #edcb76, #c99d2f) !important;
}

.nav-restricted {
  border-color: rgba(226, 189, 99, 0.58) !important;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.nav-toggle span {
  width: 20px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  top: 72px;
  background: rgba(11, 20, 38, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

nav.scrolled+.mobile-menu {
  top: 64px;
}

/* ── Hero editorial ── */
#hero {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(11, 20, 38, 0.96), rgba(20, 34, 59, 0.94)),
    var(--navy-dark);
}

#hero::after {
  content: '';
  position: absolute;
  inset: 72px 0 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(226, 189, 99, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.5;
  mask-image: linear-gradient(to right, black 0%, transparent 68%);
}

.hero-bg-pattern {
  background-image:
    radial-gradient(circle at 24% 18%, rgba(226, 189, 99, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%);
}

.hero-left {
  padding: clamp(118px, 14vw, 150px) clamp(32px, 6vw, 86px) 72px;
}

.hero-eyebrow {
  letter-spacing: 0.42em;
  color: var(--gold-light);
}

.hero-name {
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.01em;
}

.hero-name .highlight {
  color: var(--gold-light);
  text-shadow: 0 12px 42px rgba(226, 189, 99, 0.12);
}

.hero-title {
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.2em;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 21px);
  border-left-color: var(--gold-light);
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
}

.hero-actions {
  gap: 14px;
}

.btn-primary,
.btn-outline {
  min-height: 48px;
  border-radius: 7px;
  letter-spacing: 0.16em;
  transform: translateZ(0);
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-3px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
  background: rgba(226, 189, 99, 0.08);
}

.hero-stats {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.hero-stat-num {
  color: var(--gold-light);
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.52);
}

.hero-img-wrap {
  inset: 72px 0 0;
}

.hero-img-wrap img {
  object-position: center 18%;
  filter: saturate(0.92) contrast(1.03) brightness(0.94);
  transform: scale(1.015);
}

.hero-img-overlay {
  background:
    linear-gradient(to right, var(--navy-dark) 0%, rgba(11, 20, 38, 0.58) 18%, transparent 42%),
    linear-gradient(to top, var(--navy-dark) 0%, transparent 34%),
    linear-gradient(to bottom, rgba(11, 20, 38, 0.16), transparent 34%);
}

/* ── Seções e cartões ── */
#sobre,
#blog,
#devocionais {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 42%),
    var(--ivory);
}

#blog {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.68), rgba(237, 241, 234, 0.98)),
    var(--sage);
}

#livros,
#videos {
  position: relative;
  overflow: hidden;
}

#livros::before,
#videos::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(226, 189, 99, 0.06), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.sobre-grid,
.livros-grid,
.livros-header,
.blog-grid,
.blog-header,
.blog-tabs,
.devocionais-inner,
.videos-grid,
.videos-header,
.footer-grid,
.footer-bottom {
  max-width: var(--container);
}

.sobre-portrait {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(191, 149, 40, 0.22);
  box-shadow: 0 30px 70px rgba(23, 40, 70, 0.16);
}

.credential-item,
.blog-card-featured,
.blog-card-small,
.sidebar-widget,
.devocional-destaque,
.devoc-mini {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(222, 214, 200, 0.9);
  box-shadow: var(--shadow);
}

.credential-item,
.blog-card-small,
.sidebar-widget,
.devoc-mini {
  border-radius: var(--radius-lg);
}

.credential-item {
  align-items: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.credential-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(23, 40, 70, 0.1);
}

.credential-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(226, 189, 99, 0.2), rgba(191, 149, 40, 0.08));
  color: var(--gold);
  font-size: 0;
}

.credential-icon .icon {
  width: 18px;
  height: 18px;
}

.sobre-quote {
  background:
    linear-gradient(135deg, rgba(23, 40, 70, 0.98), rgba(11, 20, 38, 0.96));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.livro-card,
.video-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.livro-card {
  background: rgba(255, 255, 255, 0.055);
}

.livro-card:hover,
.video-card:hover {
  transform: translateY(-8px);
}

.livro-cover {
  background:
    radial-gradient(circle at 35% 20%, rgba(226, 189, 99, 0.22), transparent 34%),
    linear-gradient(145deg, #263a61, #0b1426) !important;
}

.livro-cover img {
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.36));
}

.livro-cover.has-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform var(--transition);
}

.livro-card:hover .livro-cover.has-image img {
  transform: scale(1.06);
}

.livro-card:hover .livro-cover:not(.has-image) img {
  transform: translateY(-5px) rotate(-1deg);
}

.livro-title,
.video-title {
  letter-spacing: 0;
}

.livro-btn,
.blog-tab,
.cat-list li a {
  border-radius: 999px;
}

.livro-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.blog-tabs {
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(222, 214, 200, 0.72);
  box-shadow: var(--shadow);
  width: fit-content;
}

.blog-tab {
  border: 0;
  background: transparent;
}

.blog-tab.active,
.blog-tab:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(23, 40, 70, 0.16);
}

.blog-card-featured {
  border-radius: var(--radius-lg);
}

.blog-card-img,
.blog-card-small-icon {
  background:
    radial-gradient(circle at 30% 25%, rgba(226, 189, 99, 0.22), transparent 42%),
    linear-gradient(145deg, var(--navy-light), var(--navy-dark));
  color: rgba(255, 255, 255, 0.62);
}

.blog-card-small-icon {
  color: var(--gold);
  background: linear-gradient(135deg, rgba(242, 223, 176, 0.9), rgba(255, 253, 248, 0.72));
}

.devocional-destaque {
  border-radius: var(--radius-lg);
}

.devocional-aside {
  background:
    radial-gradient(circle at 18% 15%, rgba(226, 189, 99, 0.18), transparent 34%),
    linear-gradient(155deg, var(--navy), var(--navy-dark));
}

.devocional-badge,
.video-cat-badge {
  border-radius: 999px;
}

.devoc-mini {
  min-height: 150px;
}

.video-card {
  background: rgba(255, 255, 255, 0.055);
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 20, 38, 0.5), transparent 55%);
  pointer-events: none;
}

.video-play-btn {
  width: 62px;
  height: 62px;
  border: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

/* ── Modal leitor ── */
.reader-modal {
  background-color: rgba(8, 13, 24, 0.66);
}

.reader-container {
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.reader-header {
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.reader-font-btn {
  min-height: 36px;
  border-radius: 999px;
}

.share-btn {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  border: 1px solid var(--border);
  color: var(--navy);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.share-btn.share-whats:hover {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37, 211, 102, 0.06);
}

.share-btn.share-face:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.06);
}

.share-btn.share-twit:hover {
  border-color: #0c0d14;
  color: #0c0d14;
  background: rgba(12, 13, 20, 0.06);
}

.share-btn.share-copy-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 160, 89, 0.06);
}

/* Botões rápidos de cópia nas listagens */
.share-quick-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-quick-btn:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: rgba(197, 160, 89, 0.06) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.reader-article {
  --reader-font-scale: 1;
}

.reader-article-title {
  font-size: calc(2.2rem * var(--reader-font-scale, 1));
}

.reader-article-versiculo {
  font-size: calc(1.15rem * var(--reader-font-scale, 1));
}

.reader-article-content {
  font-size: calc(17px * var(--reader-font-scale, 1));
}

/* ── Revelação suave ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .blog-tabs {
    width: 100%;
    border-radius: var(--radius-lg);
  }

  .sobre-grid {
    gap: 56px;
  }
}

@media (max-width: 768px) {
  nav {
    height: 68px;
  }

  nav.scrolled {
    height: 62px;
  }

  .mobile-menu {
    top: 68px;
  }

  nav.scrolled+.mobile-menu {
    top: 62px;
  }

  #hero {
    min-height: 100svh;
  }

  #hero::after {
    inset-top: 68px;
    background-size: 64px 64px;
  }

  .hero-left {
    padding: 112px 24px 48px;
  }

  .hero-name-container {
    align-items: center;
  }

  .hero-name {
    font-size: clamp(32px, 10vw, 48px);
  }

  .hero-mobile-avatar {
    width: 80px;
    height: 80px;
    border-color: var(--gold-light);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    justify-content: space-between;
    gap: 16px;
  }

  .hero-stat-num {
    font-size: 30px;
  }

  .hero-stat-label {
    font-size: 10px;
    max-width: 92px;
  }

  .sobre-text p,
  .devocional-texto,
  .reader-article-content p {
    text-align: left;
  }

  .sobre-portrait {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .blog-header {
    align-items: flex-start;
  }

  /* Toggle de Categorias no Mobile */
  .blog-tabs-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 253, 248, 0.95);
    border: 1px solid rgba(222, 214, 200, 0.72);
    border-radius: var(--radius);
    padding: 12px 18px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: var(--navy);
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 12px;
    width: 100%;
  }

  .blog-tabs-toggle .arrow {
    font-size: 12px;
    transition: transform 0.28s ease;
    color: var(--gold);
  }

  .blog-tabs-toggle.active .arrow {
    transform: rotate(180deg);
  }

  .blog-tabs {
    display: none !important;
    /* Collapsed by default on mobile */
    flex-direction: column !important;
    gap: 8px !important;
    padding: 12px !important;
    background: rgba(255, 253, 248, 0.95) !important;
    border: 1px solid rgba(222, 214, 200, 0.72) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
  }

  .blog-tabs.expanded {
    display: flex !important;
    /* Expanded on click */
  }

  .blog-tab {
    width: 100% !important;
    text-align: center !important;
    border-radius: 999px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
    flex: none !important;
  }

  /* Sidebar widget accordion para categorias no celular */
  .blog-sidebar .sidebar-widget-title {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 12px 16px;
    background: rgba(30, 45, 74, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
  }

  .blog-sidebar .sidebar-widget-title::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.28s ease;
    color: var(--gold);
  }

  .blog-sidebar .sidebar-widget.active .sidebar-widget-title::after {
    transform: rotate(180deg);
  }

  .blog-sidebar .sidebar-widget .cat-list {
    display: none;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-top: none;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    background: var(--white);
    margin-top: 0;
  }

  .blog-sidebar .sidebar-widget.active .cat-list {
    display: flex !important;
  }

  .blog-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .blog-card-meta span {
    margin-left: 0 !important;
  }

  .blog-card-small-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }

  .livro-actions {
    flex-direction: column;
  }

  .reader-share-tools {
    border-left: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}

.livro-card .buy-btn-main {
  width: 100%;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 12px 20px !important;
  letter-spacing: 1.5px;
  display: block;
}

/* Estilos de Botões de Ferramentas e Temas em Modo Claro */
.reader-tool-btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: rgba(184, 145, 42, 0.06) !important;
}

.reader-theme-btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* ── MODO ESCURO DO LEITOR (READER DARK THEME) ── */
.reader-container.dark-theme {
  background-color: var(--navy-dark) !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.reader-container.dark-theme .reader-header {
  background-color: #080f1d !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.reader-container.dark-theme .reader-article-title,
.reader-container.dark-theme .reader-article-content h3,
.reader-container.dark-theme .reader-article-content h4 {
  color: #f8fafc !important;
}

.reader-container.dark-theme .reader-article-meta {
  color: var(--gold-light) !important;
}

.reader-container.dark-theme .reader-article-versiculo {
  color: #cbd5e1 !important;
  border-left-color: var(--gold-light) !important;
}

.reader-container.dark-theme .reader-article-author {
  color: #cbd5e1 !important;
}

.reader-container.dark-theme .reader-article-author .author-name {
  color: var(--gold-light) !important;
}

.reader-container.dark-theme .reader-article-content {
  color: #e2e8f0 !important;
}

.reader-container.dark-theme .reader-close-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1 !important;
}

.reader-container.dark-theme .reader-close-btn:hover {
  background-color: #ba1a1a !important;
  color: #ffffff !important;
  border-color: #ba1a1a !important;
}

.reader-container.dark-theme .reader-tool-btn,
.reader-container.dark-theme #fontSizeIndicator {
  color: #cbd5e1 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.reader-container.dark-theme .reader-tool-btn:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--gold-light) !important;
}

.reader-container.dark-theme .reader-theme-btn {
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1 !important;
  background: none !important;
}

.reader-container.dark-theme .reader-theme-btn.active {
  border-color: var(--gold-light) !important;
  color: #ffffff !important;
  background: rgba(212, 175, 106, 0.15) !important;
}

.reader-container.dark-theme .reader-share-tools span {
  color: #94a3b8 !important;
}

.reader-container.dark-theme .share-btn {
  background: #12203c !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

.reader-container.dark-theme .share-btn:hover {
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.06);
}

.reader-container.dark-theme .share-btn.share-whats:hover {
  border-color: #25D366 !important;
  background: rgba(37, 211, 102, 0.12) !important;
  color: #25D366 !important;
}

.reader-container.dark-theme .share-btn.share-face:hover {
  border-color: #1877F2 !important;
  background: rgba(24, 119, 242, 0.12) !important;
  color: #1877F2 !important;
}

.reader-container.dark-theme .share-btn.share-twit:hover {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.reader-container.dark-theme .share-btn.share-copy-btn:hover {
  border-color: var(--gold-light) !important;
  background: rgba(212, 175, 106, 0.12) !important;
  color: var(--gold-light) !important;
}

/* Rodapé de compartilhamento do leitor */
.reader-share-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.reader-container.dark-theme .reader-share-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.livro-card .livro-body .livro-publisher {
  font-size: 13px !important;
  color: #ffffff !important;
}

/* ==========================================================================
   CAMADA PREMIUM — EFEITOS, ANIMAÇÕES & ACABAMENTO REFINADO
   ========================================================================== */

/* ── PRELOADER ELEGANTE ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
  opacity: 1;
  visibility: visible;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-monogram {
  font-family: 'Open Sans', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 8px;
  animation: preloaderPulse 1.2s var(--ease) infinite;
}

.preloader-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
  animation: preloaderLine 1.2s var(--ease) infinite;
}

@keyframes preloaderPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes preloaderLine {

  0%,
  100% {
    width: 40px;
    opacity: 0.3;
  }

  50% {
    width: 80px;
    opacity: 1;
  }
}

/* ── BOTÃO VOLTAR AO TOPO ── */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(184, 145, 42, 0.35);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.3s var(--ease);
}

#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#backToTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(184, 145, 42, 0.5);
}

#backToTop svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy-dark);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── LINHA DECORATIVA ANIMADA SOB TÍTULOS ── */
.section-title {
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  transition: width 0.9s var(--ease);
}

.section-title.title-line-visible::after {
  width: 120px;
}

/* Centraliza a linha nos títulos com text-align: center */
.livros-header .section-title::after,
.devotionais-header .section-title::after,
.videos-header .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.livros-header .section-title.title-line-visible::after,
.devotionais-header .section-title.title-line-visible::after,
.videos-header .section-title.title-line-visible::after {
  width: 100px;
  transform: translateX(-50%);
}

/* ── PARALLAX SUAVE NO HERO ── */
@media (min-width: 769px) {
  .hero-right {
    transition: transform 0.1s linear;
  }

  .hero-bg-pattern {
    transition: transform 0.15s linear;
  }
}

/* ── CONTADOR ANIMADO ── */
.hero-stat-num {
  display: inline-block;
}

/* ── STAGGERED REVEAL ── */
.reveal-on-scroll[data-stagger="1"] {
  transition-delay: 0ms;
}

.reveal-on-scroll[data-stagger="2"] {
  transition-delay: 80ms;
}

.reveal-on-scroll[data-stagger="3"] {
  transition-delay: 160ms;
}

.reveal-on-scroll[data-stagger="4"] {
  transition-delay: 240ms;
}

.reveal-on-scroll[data-stagger="5"] {
  transition-delay: 320ms;
}

.reveal-on-scroll[data-stagger="6"] {
  transition-delay: 400ms;
}

.reveal-on-scroll[data-stagger="7"] {
  transition-delay: 480ms;
}

.reveal-on-scroll[data-stagger="8"] {
  transition-delay: 560ms;
}

.reveal-on-scroll[data-stagger="9"] {
  transition-delay: 640ms;
}

/* ── EFEITO GLOW PULSANTE NO CTA ── */
.btn-primary,
.nav-cta,
.livro-btn-primary {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 0 0 0 rgba(184, 145, 42, 0.4);
  }

  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 0 20px 6px rgba(184, 145, 42, 0.18);
  }
}

/* ── BACKGROUND GRADIENTE ANIMADO (SEÇÕES ESCURAS) ── */
#livros::after,
#videos::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(226, 189, 99, 0.06), transparent 70%);
  animation: bgShift 12s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% {
    background-position: 0% 0%;
    transform: scale(1);
  }

  50% {
    background-position: 100% 50%;
    transform: scale(1.15);
  }

  100% {
    background-position: 0% 100%;
    transform: scale(1);
  }
}

#livros>*,
#videos>* {
  position: relative;
  z-index: 1;
}

/* ── PARTÍCULAS DOURADAS SUTIS (HERO) ── */
.gold-particle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px 2px rgba(226, 189, 99, 0.5);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0);
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.2;
  }

  100% {
    opacity: 0;
    transform: translateY(-400px) translateX(60px) scale(1.5);
  }
}

/* ── INDICADOR DE SEÇÃO ATIVA NA NAV ── */
.nav-links a.active-section {
  color: var(--gold-light) !important;
}

.nav-links a.active-section::after {
  width: 100%;
  background: var(--gold-light);
}

/* ── RIPPLE EFFECT NOS BOTÕES ── */
.btn-primary,
.btn-outline,
.nav-cta,
.livro-btn-primary,
.livro-btn-secondary {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── SPOTLIGHT HOVER NOS CARDS ── */
.livro-card,
.video-card,
.blog-card-featured,
.devotional-destaque {
  position: relative;
  overflow: hidden;
}

.livro-card .spotlight-glow,
.video-card .spotlight-glow,
.blog-card-featured .spotlight-glow,
.devotional-destaque .spotlight-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle 200px at var(--spot-x, 50%) var(--spot-y, 50%), rgba(226, 189, 99, 0.12), transparent 70%);
}

.livro-card:hover .spotlight-glow,
.video-card:hover .spotlight-glow,
.blog-card-featured:hover .spotlight-glow,
.devotional-destaque:hover .spotlight-glow {
  opacity: 1;
}

/* ── TILT 3D NOS CARDS ── */
.livro-card.tilt-enabled,
.video-card.tilt-enabled,
.blog-card-featured.tilt-enabled {
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ── DIVISORES DIAGONAIS ENTRE SEÇÕES ── */
.section-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}

.section-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}

.section-divider.light-to-dark {
  background: var(--ivory);
}

.section-divider.light-to-dark::before {
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
}

/* ── CURSOR CUSTOMIZADO (DESKTOP) ── */
@media (hover: hover) and (pointer: fine) {

  body.custom-cursor,
  body.custom-cursor a,
  body.custom-cursor button,
  body.custom-cursor .btn-primary,
  body.custom-cursor .btn-outline,
  body.custom-cursor .nav-cta,
  body.custom-cursor .livro-btn-primary,
  body.custom-cursor .blog-tab,
  body.custom-cursor .video-thumb,
  body.custom-cursor .devoc-mini,
  body.custom-cursor .livro-card,
  body.custom-cursor .video-card,
  body.custom-cursor .blog-card-featured,
  body.custom-cursor .blog-card-small {
    cursor: none;
  }

  .custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease, background 0.2s ease;
    transform: translate(-50%, -50%);
  }

  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(184, 145, 42, 0.5);
    pointer-events: none;
    z-index: 9997;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    transform: translate(-50%, -50%);
  }

  .custom-cursor-dot.pointer-active {
    transform: translate(-50%, -50%) scale(1.8);
    background: var(--gold-light);
    mix-blend-mode: difference;
  }

  .custom-cursor-ring.pointer-active {
    width: 48px;
    height: 48px;
    border-color: rgba(226, 189, 99, 0.8);
    background: rgba(184, 145, 42, 0.06);
  }
}

/* ── RESPONSIVIDADE PARA MELHORIAS ── */
@media (max-width: 768px) {
  #backToTop {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .section-title::after {
    bottom: -8px;
  }

  .section-title.title-line-visible::after {
    width: 80px;
  }

  .section-divider {
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .btn-primary,
  .nav-cta,
  .livro-btn-primary {
    animation: none;
  }

  .gold-particle {
    display: none;
  }

  #livros::after,
  #videos::after {
    animation: none;
  }
}