:root {
  --ink: #14261f;
  --ink-soft: #2a4238;
  --paper: #f6efdf;
  --paper-deep: #ebe1cb;
  --gold: #c4a35a;
  --gold-deep: #9a7a35;
  --leaf: #1a3a2f;
  --mist: rgba(246, 239, 223, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--leaf);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--leaf);
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
}

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

#root {
  min-height: 100vh;
}

.page {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page--in {
  opacity: 1;
  transform: none;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 6vw;
  position: relative;
  z-index: 2;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--paper);
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  opacity: 1 !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 6vw 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 163, 90, 0.18), transparent 55%),
    linear-gradient(165deg, #1a3a2f 0%, #0f241c 55%, #18352b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='%23f6efdf' fill-opacity='0.03' d='M0 0h160v160H0z'/%3E%3Cpath stroke='%23f6efdf' stroke-opacity='0.05' d='M0 40h160M0 80h160M0 120h160M40 0v160M80 0v160M120 0v160'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  animation: rise 0.9s ease both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--paper);
  font-weight: 700;
}

.lede {
  margin: 1.25rem 0 0;
  color: rgba(246, 239, 223, 0.82);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: #d4b56a;
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(246, 239, 223, 0.35);
}

.hero-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  animation: rise 1.1s ease 0.15s both;
}

.glow {
  position: absolute;
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.35), transparent 65%);
  filter: blur(8px);
  animation: pulse 5s ease-in-out infinite;
}

.open-book {
  position: relative;
  width: min(72vw, 340px);
  height: 210px;
  transform: perspective(800px) rotateX(8deg);
}

.page-left,
.page-right {
  position: absolute;
  top: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(180deg, #f8f1e3, #e8dcc2);
  border-radius: 4px 14px 14px 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.page-left {
  left: 0;
  border-radius: 14px 4px 4px 14px;
  transform: rotateY(-6deg);
  transform-origin: right center;
}

.page-right {
  right: 0;
  transform: rotateY(6deg);
  transform-origin: left center;
}

.spine {
  position: absolute;
  left: 48%;
  top: 4%;
  width: 4%;
  height: 92%;
  background: linear-gradient(90deg, #8b6914, #c4a35a, #8b6914);
  border-radius: 2px;
}

.verse {
  background: var(--paper);
  color: var(--ink);
  padding: 5rem 6vw;
  text-align: center;
}

.section-label {
  margin: 0;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.verse blockquote {
  margin: 1.5rem auto 0;
  max-width: 40rem;
}

.verse blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  line-height: 1.45;
  font-weight: 500;
}

.verse footer {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.features {
  background: var(--paper-deep);
  padding: 5rem 6vw;
}

.features h2,
.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

.section-support {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-grid article {
  padding: 0;
  background: transparent;
}

.feature-grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.feature-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.cta-band {
  background: var(--leaf);
  color: var(--paper);
  padding: 5rem 6vw;
  text-align: center;
}

.cta-band p {
  margin: 0.85rem auto 1.75rem;
  max-width: 32rem;
  color: rgba(246, 239, 223, 0.8);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 6vw 2rem;
  background: #0f241c;
  color: rgba(246, 239, 223, 0.7);
  font-size: 0.9rem;
}

.foot strong {
  color: var(--paper);
  font-family: var(--font-display);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-visual {
    order: -1;
    min-height: 220px;
  }

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

  .nav a:not(.nav-cta) {
    display: none;
  }
}

/* Páginas de conteúdo (Salmos, versículo, sobre) */

.content-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 6vw 4rem;
  color: var(--paper);
}

.content-page.article {
  max-width: 42rem;
}

.content-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0.4rem 0 1rem;
  letter-spacing: -0.02em;
}

.content-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--gold);
}

.content-page p,
.content-page li {
  line-height: 1.7;
  color: rgba(246, 239, 223, 0.92);
}

.crumbs {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 1.25rem;
}

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

.lede-inline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.article-head .meta {
  opacity: 0.7;
  font-size: 0.9rem;
}

.hero-img {
  margin: 1.5rem 0 2rem;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.hero-img img {
  width: 100%;
  height: auto;
}

.bible-text .verse-line {
  margin: 0.35rem 0;
  font-size: 1.08rem;
}

.bible-text sup {
  color: var(--gold);
  font-size: 0.75rem;
  margin-right: 0.35rem;
  font-weight: 600;
}

.credit-inline,
.credit {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 1.5rem;
}

.meditate {
  padding-left: 1.2rem;
}

.meditate li {
  margin: 0.6rem 0;
}

.key-verse blockquote,
.feature-quote {
  margin: 1rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(246, 239, 223, 0.06);
}

.key-verse blockquote p,
.feature-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

/* Coluna ao lado do artigo + sticky (flutua no scroll, sem ficar em cima do texto) */
.article-shell {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 44rem);
  gap: 1.1rem;
  justify-content: center;
  align-items: start;
  padding: 0 4vw 3rem;
  max-width: 52rem;
  margin: 0 auto;
}

.article-shell .content-page {
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.share-rail {
  position: sticky;
  top: 38vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  z-index: 5;
}

.share-float-btn {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 36, 28, 0.92);
  border: 1px solid rgba(246, 239, 223, 0.22);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.share-float-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.share-float-btn.share-wa:hover {
  color: #25d366;
  border-color: #25d366;
}

.share-float-tip {
  position: absolute;
  left: calc(100% + 0.55rem);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
  font-size: 0.78rem;
  background: rgba(15, 36, 28, 0.95);
  border: 1px solid rgba(196, 163, 90, 0.45);
  color: var(--gold);
  border-radius: 4px;
}

.reflection a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reflection a:hover {
  color: var(--paper);
}

@media (max-width: 720px) {
  .article-shell {
    grid-template-columns: 1fr;
    padding: 0 5vw 4.5rem;
  }

  .share-rail {
    position: fixed;
    left: 0.7rem;
    top: auto;
    bottom: 1rem;
    z-index: 40;
  }

  .share-float-tip {
    left: 0;
    top: auto;
    bottom: calc(100% + 0.4rem);
    transform: none;
  }
}

.related {
  margin: 2.5rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 239, 223, 0.12);
}

.related-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

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

.related li {
  margin: 0.4rem 0;
}

.related a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 239, 223, 0.12);
  font-weight: 600;
}

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

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

.psalm-list li a {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(246, 239, 223, 0.1);
}

.psalm-list .num {
  color: var(--gold);
  font-weight: 600;
  min-width: 5.5rem;
}

.psalm-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.psalm-grid li a,
.psalm-grid li.soon {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(246, 239, 223, 0.06);
  border-radius: 4px;
  min-height: 4.5rem;
}

.psalm-grid li.soon {
  opacity: 0.45;
}

.psalm-grid strong {
  color: var(--gold);
  font-size: 1.1rem;
}

.psalm-grid span {
  font-size: 0.8rem;
  line-height: 1.3;
  opacity: 0.85;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 6vw;
  border-top: 1px solid rgba(246, 239, 223, 0.1);
  color: rgba(246, 239, 223, 0.75);
  font-size: 0.9rem;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-visual {
    order: -1;
    min-height: 180px;
  }

  .nav {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .nav-cta {
    display: none;
  }
}
