﻿*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  /* Nova paleta Litfy */
  --lavender: #D3D6FF;
  --peach: #FEDB9E;
  --sky: #ABCFFC;
  --lilac: #DEC0F6;
  --coral: #FFB6A8;

  /* Tons derivados */
  --lavender-d: #9DA3F5;
  --peach-d: #E8B96A;
  --lilac-d: #B87EE8;

  /* Fundo e texto */
  --bg: #0F0D1A;
  --surface: #1A1728;
  --surface-2: #241F38;
  --ink: #0F0D1A;
  --text: #F0EEF8;
  --text-muted: rgba(240, 238, 248, .55);

  /* Compat aliases */
  --brown: #1A1728;
  --brown-mid: #3D3560;
  --gold: #FEDB9E;
  --gold-l: #FFE8BA;
  --gold-d: #E8B96A;
  --cream: #F0EEF8;
  --cream-d: #E2DEFF;
  --parch: #C8C4EE;
  --blue: #ABCFFC;
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== SPLASH ===== */
#splash {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #D5D0E6 0%, #ECE9E2 48%, #F2CEBC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .8s ease, visibility .8s ease;
  padding: 64px 36px;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.sp-wrap {
  max-width: 420px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10vh 0 6vh;
}

.sp-logo {
  font-family: "Poppins", sans-serif;
  font-size: clamp(64px, 18vw, 100px);
  font-weight: 600;
  font-style: italic;
  color: #2C1F10;
  letter-spacing: -.01em;
  line-height: 1;
  opacity: 0;
  animation: fadeUp .9s ease .2s forwards;
}

.sp-tagline {
  font-family: "Poppins", sans-serif;
  font-size: clamp(20px, 4.5vw, 26px);
  color: rgba(44, 31, 16, .55);
  line-height: 1.55;
  text-align: center;
  opacity: 0;
  animation: fadeUp .9s ease .4s forwards;
}

.s-btn {
  align-self: center;
  background: linear-gradient(to right, #1a0e52, #c01f6e);
  border: none;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: filter .25s;
  opacity: 0;
  animation: fadeUp .9s ease .8s forwards;
  box-shadow: 0 4px 20px rgba(192, 31, 110, .35);
}

.s-btn:hover {
  filter: brightness(1.12);
}

.s-btn-icon {
  font-size: 15px;
  line-height: 1;
}

/* ===== ONBOARDING ===== */
#onboarding {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #D5D0E6 0%, #ECE9E2 48%, #F2CEBC 100%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 64px 36px;
}

#onboarding.visible {
  display: flex;
}

.ob-wrap {
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.ob-logo {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}

.ob-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ob-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
}

.ob-sub {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: rgba(28, 20, 9, .55);
  text-align: center;
}

.field-error {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #c0392b;
  display: none;
  padding-left: 4px;
}

.field-error.visible {
  display: block;
}

.ob-input.error,
.pf-input.error {
  border-color: #c0392b !important;
  background: rgba(192, 57, 43, .04) !important;
}

.ob-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(28, 20, 9, .06);
  border: .5px solid rgba(28, 20, 9, .15);
  border-radius: 6px;
  padding: 12px 14px;
  width: 100%;
}

.ob-notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: rgba(28, 20, 9, .5);
}

.ob-notice p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(28, 20, 9, .65);
}

.ob-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ob-label {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(28, 20, 9, .5);
}

.ob-input {
  width: 100%;
  background: rgba(255, 255, 255, .6);
  border: .5px solid rgba(28, 20, 9, .2);
  border-radius: 50px;
  padding: 14px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
  margin-top: 8px;
}

.ob-input::placeholder {
  color: rgba(28, 20, 9, .3);
}

.ob-input:focus {
  border-color: rgba(28, 20, 9, .45);
  background: rgba(255, 255, 255, .8);
}

.ob-btn {
  align-self: center;
  background: linear-gradient(to right, #1a0e52, #c01f6e);
  border: none;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: filter .25s;
  box-shadow: 0 4px 20px rgba(192, 31, 110, .3);
  margin-top: 8px;
}

.ob-btn:hover:not(:disabled) {
  filter: brightness(1.12);
}

.ob-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  filter: none;
}

/* ===== TELA DO LIVRO ===== */
#bookScreen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #D5D0E6 0%, #ECE9E2 48%, #F2CEBC 100%);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10001;
}

#bookScreen.visible {
  display: flex;
}

/* ── LEITOR DIGITAL ── */
.bk-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  flex-shrink: 0;
}

.bk-back {
  background: none;
  border: none;
  font-size: 20px;
  color: rgba(28, 20, 9, .6);
  cursor: pointer;
  padding: 4px 8px 4px 0;
  line-height: 1;
}

.bk-header-lbl {
  font-size: 17px;
  font-style: italic;
  color: rgba(28, 20, 9, .5);
}

.bk-page-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(28, 20, 9, .4);
  z-index: 3;
  pointer-events: none;
  text-transform: lowercase;
}

.bk-reader {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  overflow: hidden;
  perspective: 1800px;
}

/* Página do livro */
.bk-page-card {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 540px;
  background: #fafaf8;
  border-radius: 2px 10px 10px 2px;
  box-shadow:
    -5px 0 12px rgba(0, 0, 0, .18),
    0 8px 32px rgba(0, 0, 0, .12),
    inset 6px 0 14px rgba(0, 0, 0, .06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: right bottom;
  backface-visibility: hidden;
  will-change: transform, box-shadow, filter;
}

.bk-page-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .18) 42%,
      rgba(0, 0, 0, .08) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.bk-page-card--turn-next {
  animation: bkPageTurnNext .58s cubic-bezier(.2, .72, .18, 1);
}

.bk-page-card--turn-prev {
  transform-origin: left bottom;
  animation: bkPageTurnPrev .58s cubic-bezier(.2, .72, .18, 1);
}

.bk-page-card--turn-next::after,
.bk-page-card--turn-prev::after {
  animation: bkPageShade .58s ease-in-out;
}

@keyframes bkPageTurnNext {
  0% {
    transform: perspective(1800px) rotateX(0deg) rotateY(0deg) skewY(0deg) translateX(0) translateY(0);
    box-shadow:
      -5px 0 12px rgba(0, 0, 0, .18),
      0 8px 32px rgba(0, 0, 0, .12),
      inset 6px 0 14px rgba(0, 0, 0, .06);
  }

  25% {
    transform: perspective(1800px) rotateX(10deg) rotateY(-5deg) skewY(-.8deg) translateX(2px) translateY(-7px) scale(.999);
  }

  45% {
    transform: perspective(1800px) rotateX(18deg) rotateY(-15deg) skewY(-1.6deg) translateX(8px) translateY(-11px) scale(.994);
    box-shadow:
      -14px 11px 26px rgba(0, 0, 0, .2),
      0 20px 38px rgba(0, 0, 0, .18),
      inset 10px 0 20px rgba(0, 0, 0, .09);
  }

  72% {
    transform: perspective(1800px) rotateX(6deg) rotateY(-6deg) skewY(-.6deg) translateX(3px) translateY(-4px) scale(.998);
  }

  100% {
    transform: perspective(1800px) rotateX(0deg) rotateY(0deg) skewY(0deg) translateX(0) translateY(0);
  }
}

@keyframes bkPageTurnPrev {
  0% {
    transform: perspective(1800px) rotateX(0deg) rotateY(0deg) skewY(0deg) translateX(0) translateY(0);
    box-shadow:
      -5px 0 12px rgba(0, 0, 0, .18),
      0 8px 32px rgba(0, 0, 0, .12),
      inset 6px 0 14px rgba(0, 0, 0, .06);
  }

  25% {
    transform: perspective(1800px) rotateX(10deg) rotateY(5deg) skewY(.8deg) translateX(-2px) translateY(-7px) scale(.999);
  }

  45% {
    transform: perspective(1800px) rotateX(18deg) rotateY(15deg) skewY(1.6deg) translateX(-8px) translateY(-11px) scale(.994);
    box-shadow:
      10px 11px 24px rgba(0, 0, 0, .17),
      0 20px 38px rgba(0, 0, 0, .18),
      inset -10px 0 20px rgba(0, 0, 0, .08);
  }

  72% {
    transform: perspective(1800px) rotateX(6deg) rotateY(6deg) skewY(.6deg) translateX(-3px) translateY(-4px) scale(.998);
  }

  100% {
    transform: perspective(1800px) rotateX(0deg) rotateY(0deg) skewY(0deg) translateX(0) translateY(0);
  }
}

@keyframes bkPageShade {
  0% {
    opacity: 0;
  }

  35% {
    opacity: .9;
  }

  100% {
    opacity: 0;
  }
}

/* Lombada */
.bk-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to right, rgba(0, 0, 0, .15), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Capa ebook principal */
.bk-ebook-cover {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 28px 52px;
  gap: 10px;
  background: #fff;
}

.bk-ebook-cover.visible {
  display: flex;
}

.bk-ec-heart {
  font-size: 32px;
  color: #c0315a;
  line-height: 1;
  margin-bottom: 2px;
}

.bk-ec-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #c0315a;
}

.bk-ec-title {
  font-size: clamp(24px, 7vw, 38px);
  font-weight: 800;
  color: #12123a;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 6px 0 4px;
}

.bk-ec-sub {
  font-size: clamp(12px, 2.8vw, 14px);
  color: #2c2c4a;
  line-height: 1.55;
}

.bk-ec-basis {
  font-size: 10px;
  color: rgba(44, 44, 74, .4);
  line-height: 1.6;
  margin-top: 4px;
}

/* Conteúdo bônus dentro da página */
.bk-info {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 28px 52px;
  text-align: center;
}

.bk-info.visible {
  display: flex;
}

.bk-tag {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(28, 20, 9, .4);
}

.bk-title {
  font-size: clamp(22px, 6vw, 32px);
  font-weight: 700;
  font-style: italic;
  color: #12123a;
  line-height: 1.15;
}

.bk-desc {
  font-size: 14px;
  color: rgba(28, 20, 9, .55);
  line-height: 1.6;
}

.bk-soon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(28, 20, 9, .05);
  border: .5px solid rgba(28, 20, 9, .12);
  border-radius: 10px;
  padding: 16px 18px;
  text-align: left;
  width: 100%;
}

.bk-soon svg {
  width: 18px;
  height: 18px;
  stroke: rgba(28, 20, 9, .4);
  flex-shrink: 0;
  margin-top: 2px;
}

.bk-soon-title {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(28, 20, 9, .4);
  margin-bottom: 4px;
}

.bk-countdown {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #12123a;
  line-height: 1;
  margin-bottom: 6px;
}

.bk-soon-sub {
  font-size: 13px;
  color: rgba(28, 20, 9, .45);
  line-height: 1.5;
}

/* Página de texto corrido */
.bk-page-text {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.bk-page-text::-webkit-scrollbar {
  display: none;
}

.bk-page-text.visible {
  display: block;
}

.bk-pt-inner {
  padding: 40px 28px 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bk-pt-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(28, 20, 9, .4);
}

.bk-pt-divider {
  width: 32px;
  height: 1px;
  background: rgba(28, 20, 9, .15);
  margin: -4px 0;
}

.bk-pt-body {
  font-size: 14px;
  color: rgba(28, 20, 9, .7);
  line-height: 1.75;
  margin: 0;
}

.bk-pt-body + .bk-pt-body {
  margin-top: 1.1em;
}

.bk-pt-subheading {
  font-weight: 600;
  color: var(--lilac-d);
}

.bk-pt-body strong {
  color: #c01f6e;
  font-style: italic;
}

.bk-pt-body .bk-inline-heading {
  display: block;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--lilac-d);
}

.bk-pt-lead {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(192, 31, 110, .14);
}

.bk-pt-emphasis {
  padding: 14px 16px;
  border-left: 3px solid #c01f6e;
  background: linear-gradient(135deg, rgba(192, 31, 110, .08), rgba(213, 208, 230, .16));
  border-radius: 0 14px 14px 0;
}

.bk-pt-emphasis strong {
  display: block;
  color: #c01f6e;
  font-style: italic;
}

.bk-pt-example {
  padding: 14px 16px;
  background: rgba(213, 208, 230, .22);
  border: 1px solid rgba(121, 98, 160, .14);
  border-radius: 16px;
  color: #4d4560;
  font-style: italic;
}

.bk-pt-note {
  color: #7a2454;
  font-weight: 600;
}

.bk-pt-action {
  padding-left: 16px;
  position: relative;
}

.bk-pt-action::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lavender-d);
  box-shadow: 0 0 0 5px rgba(213, 208, 230, .24);
}

.bk-pt-signoff {
  text-align: center;
  color: rgba(28, 20, 9, .52);
}

.bk-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bk-summary-item {
  display: grid;
  grid-template-columns: minmax(92px, 120px) 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(28, 20, 9, .08);
}

.bk-summary-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bk-summary-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(28, 20, 9, .45);
  line-height: 1.4;
}

.bk-summary-text {
  font-size: 14px;
  color: rgba(28, 20, 9, .78);
  line-height: 1.65;
}

/* Rodapé de navegação */
.bk-reader-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px calc(20px + env(safe-area-inset-bottom, 0px));
  gap: 12px;
}

.bk-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 20, 9, .18);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(28, 20, 9, .75);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  transition: background .15s, box-shadow .15s, opacity .15s;
  -webkit-tap-highlight-color: transparent;
}

.bk-nav-btn:active {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.bk-nav-btn:disabled {
  opacity: .2;
  pointer-events: none;
}

.bk-reader-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 54px;
}

.bk-reader-dots--loop-forward,
.bk-reader-dots--loop-backward {
  overflow: hidden;
}

.bk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(28, 20, 9, .2);
  transition: background .3s ease, transform .3s ease, width .3s ease, opacity .3s ease;
}

.bk-dot--left,
.bk-dot--center,
.bk-dot--right {
  position: relative;
}

.bk-dot--active {
  background: var(--lavender-d);
  transform: scale(1.3);
  width: 18px;
  border-radius: 4px;
  animation: bkActiveDotPulse .34s ease-out;
}

.bk-dot--travel-right {
  animation: bkDotTravelRight .32s cubic-bezier(.22, .7, .2, 1);
}

.bk-dot--travel-left {
  animation: bkDotTravelLeft .32s cubic-bezier(.22, .7, .2, 1);
}

.bk-dot--exit-left {
  animation: bkDotExitLeft .32s cubic-bezier(.22, .7, .2, 1) forwards;
}

.bk-dot--exit-right {
  animation: bkDotExitRight .32s cubic-bezier(.22, .7, .2, 1) forwards;
}

@keyframes bkDotTravelRight {
  0% {
    transform: translateX(0) scale(1.3);
  }

  100% {
    transform: translateX(11px) scale(1.18);
  }
}

@keyframes bkDotTravelLeft {
  0% {
    transform: translateX(0) scale(1.3);
  }

  100% {
    transform: translateX(-11px) scale(1.18);
  }
}

@keyframes bkDotExitLeft {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-8px) scale(.65);
    opacity: 0;
    width: 0;
  }
}

@keyframes bkDotExitRight {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(8px) scale(.65);
    opacity: 0;
    width: 0;
  }
}

@keyframes bkActiveDotPulse {
  0% {
    transform: scale(1.05);
  }

  60% {
    transform: scale(1.42);
  }

  100% {
    transform: scale(1.3);
  }
}

/* ===== EM DESENVOLVIMENTO ===== */
#devScreen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #D5D0E6 0%, #ECE9E2 48%, #F2CEBC 100%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9995;
  padding: 64px 36px;
}

#devScreen.visible {
  display: flex;
}

.dev-wrap {
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.dev-logo {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}

.dev-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dev-icon {
  width: 56px;
  height: 56px;
  background: rgba(28, 20, 9, .06);
  border: .5px solid rgba(28, 20, 9, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-icon svg {
  width: 24px;
  height: 24px;
  stroke: rgba(28, 20, 9, .4);
}

.dev-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
}

.dev-msg {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(28, 20, 9, .5);
}

/* ===== PERFIL ===== */
#profileScreen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #D5D0E6 0%, #ECE9E2 48%, #F2CEBC 100%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9996;
  padding: 64px 36px;
  overflow-y: auto;
}

#profileScreen.visible {
  display: flex;
}

.pf-wrap {
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.pf-logo {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}

.pf-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pf-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.15;
}

.pf-sub {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: rgba(28, 20, 9, .5);
}

.pf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.pf-label {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(28, 20, 9, .5);
}

.pf-input {
  width: 100%;
  background: rgba(255, 255, 255, .6);
  border: .5px solid rgba(28, 20, 9, .2);
  border-radius: 50px;
  padding: 14px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
}

.pf-input::placeholder {
  color: rgba(28, 20, 9, .3);
}

.pf-input:focus {
  border-color: rgba(28, 20, 9, .45);
  background: rgba(255, 255, 255, .8);
}

.pf-divider {
  height: .5px;
  background: rgba(28, 20, 9, .12);
  margin: 8px 0;
}

/* ===== PASSWORD VISIBILITY TOGGLE ===== */
.pw-wrap {
  position: relative;
  width: 100%;
}

.pw-wrap .ob-input,
.pw-wrap .pf-input {
  padding-right: 48px;
}

.pw-eye {
  position: absolute;
  right: 16px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  color: rgba(28, 20, 9, .35);
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}

.pw-eye:hover {
  color: rgba(28, 20, 9, .65);
}

.pw-eye svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  pointer-events: none;
}

.pf-pw-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, .45);
  border: .5px solid rgba(28, 20, 9, .15);
  border-radius: 50px;
  padding: 14px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: rgba(28, 20, 9, .7);
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}

.pf-pw-toggle:hover {
  background: rgba(255, 255, 255, .65);
}

.pf-pw-toggle-icon {
  width: 18px;
  height: 18px;
  opacity: .5;
  transition: transform .25s;
  flex-shrink: 0;
}

.pf-pw-toggle.open .pf-pw-toggle-icon {
  transform: rotate(180deg);
}

.pf-pw-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease;
}

.pf-pw-section.open {
  max-height: 500px;
  opacity: 1;
}

.pf-pw-error {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #c0392b;
  min-height: 18px;
}

.pf-pw-save-btn {
  align-self: flex-start;
  background: rgba(28, 20, 9, .08);
  border: .5px solid rgba(28, 20, 9, .2);
  color: rgba(28, 20, 9, .75);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  letter-spacing: .06em;
  padding: 10px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s;
}

.pf-pw-save-btn:hover {
  background: rgba(28, 20, 9, .14);
}

.pf-btn {
  align-self: flex-start;
  background: linear-gradient(to right, #1a0e52, #c01f6e);
  border: none;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: filter .25s;
  box-shadow: 0 4px 20px rgba(192, 31, 110, .3);
  margin-top: 8px;
}

.pf-btn:hover {
  filter: brightness(1.12);
}

.pf-success {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #2a7a4b;
  letter-spacing: .08em;
  opacity: 0;
  transition: opacity .3s;
  height: 20px;
}

.pf-success.visible {
  opacity: 1;
}

/* ===== VITRINE ===== */
#vitrine {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #D5D0E6 0%, #ECE9E2 48%, #F2CEBC 100%);
  z-index: 9998;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

#vitrine.visible {
  display: flex
}

.vt-wrap {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vt-top {
  display: flex;
  align-items: center;
  gap: 14px
}

.vt-back-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #2C1F10;
  cursor: pointer;
  opacity: .55;
  padding: 4px 10px 4px 0;
  flex-shrink: 0;
  transition: opacity .2s;
}

.vt-back-btn:hover {
  opacity: 1
}

.vt-lbl {
  font-family: "Crimson Pro", serif;
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(44, 31, 16, .45);
}

.vt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 600;
  font-style: italic;
  color: #2C1F10;
  line-height: 1.1;
  margin-top: 3px;
}

/* --- card hero --- */
.vt-featured {
  border: 1.5px solid rgba(44, 31, 16, .18);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, background .25s;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 2px 16px rgba(44, 31, 16, .08), 0 1px 0 rgba(255, 255, 255, .9) inset;
}

.vt-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(to right, #FEDB9E, #DEC0F6, #ABCFFC);
}

.vt-featured:hover {
  background: rgba(255, 255, 255, .8);
  border-color: rgba(44, 31, 16, .28);
  box-shadow: 0 6px 24px rgba(44, 31, 16, .12), 0 1px 0 rgba(255, 255, 255, .9) inset;
}

.vt-feat-body {
  padding: 28px 22px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.vt-feat-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vt-feat-name {
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 700;
  font-style: italic;
  color: #2C1F10;
  line-height: 1.2;
}

.vt-feat-desc {
  font-size: 13px;
  color: rgba(44, 31, 16, .55);
  line-height: 1.65;
}

.vt-feat-cta {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(to right, #1a0e52, #c01f6e);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(192, 31, 110, .3);
  transition: filter .25s;
  cursor: pointer;
}

.vt-featured:hover .vt-feat-cta {
  filter: brightness(1.12)
}

/* --- aviso desenvolvimento (vitrine) --- */
.vt-dev-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(232, 185, 106, .18);
  border: 1px solid rgba(232, 185, 106, .5);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 8px;
}

.vt-dev-notice-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.vt-dev-notice-icon svg {
  width: 20px;
  height: 20px;
  stroke: #a07020;
}

.vt-dev-notice-body strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a5010;
  margin-bottom: 6px;
}

.vt-dev-notice-body p {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(28, 20, 9, .65);
}

/* --- aviso desenvolvimento (dentro do ebook) --- */
.bk-dev-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(232, 185, 106, .18);
  border: 1px solid rgba(232, 185, 106, .5);
  border-radius: 10px;
  padding: 16px 18px;
}

.bk-dev-notice-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.bk-dev-notice-icon svg {
  width: 20px;
  height: 20px;
  stroke: #a07020;
}

.bk-dev-notice-body strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a5010;
  margin-bottom: 6px;
}

.bk-dev-notice-body p {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(28, 20, 9, .65);
}

/* --- bonos (vitrine de livros) --- */
.vt-bonus-lbl {
  font-family: "Poppins", sans-serif;
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(44, 31, 16, .5);
  padding-top: 4px;
}

.vt-bonus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 420px) {
  .vt-bonus-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 600px) {
  .vt-bonus-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (min-width: 820px) {
  .vt-bonus-list {
    grid-template-columns: repeat(5, 1fr);
  }
}

.vt-bonus-item {
  aspect-ratio: 2 / 3;
  background: linear-gradient(160deg, #1a1030 0%, #0f0920 100%);
  border-radius: 3px 6px 6px 3px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  box-shadow:
    -3px 0 0 rgba(0, 0, 0, .35),
    4px 6px 18px rgba(0, 0, 0, .35),
    inset -1px 0 0 rgba(255, 255, 255, .04);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}

.vt-bonus-img-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
  background: linear-gradient(150deg, #1d1240 0%, #0e0a22 100%);
}

/* Large watermark number */
.vt-bonus-img-wrap::after {
  content: attr(data-num);
  position: absolute;
  bottom: -12px;
  right: 4px;
  font-size: 64px;
  font-weight: 900;
  font-style: italic;
  font-family: Georgia, serif;
  color: var(--cover-accent, #FEDB9E);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -2px;
}

.vt-bonus-content {
  padding: 10px 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.vt-bonus-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to right, rgba(0, 0, 0, .4), rgba(255, 255, 255, .06));
  border-radius: 3px 0 0 3px;
}

.vt-bonus-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cover-accent, #FEDB9E);
  opacity: .9;
}

.vt-bonus-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    -3px 0 0 rgba(0, 0, 0, .4),
    8px 14px 28px rgba(0, 0, 0, .4),
    inset -1px 0 0 rgba(255, 255, 255, .06);
}

.vt-bonus-item:nth-child(5n+1) {
  --cover-accent: #FEDB9E;
}

.vt-bonus-item:nth-child(5n+2) {
  --cover-accent: #DEC0F6;
}

.vt-bonus-item:nth-child(5n+3) {
  --cover-accent: #ABCFFC;
}

.vt-bonus-item:nth-child(5n+4) {
  --cover-accent: #FFB6A8;
}

.vt-bonus-item:nth-child(5n+5) {
  --cover-accent: #D3D6FF;
}

.vt-bonus-head {
  display: flex;
  align-items: flex-start;
}

.vt-bonus-num {
  font-family: "Poppins", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cover-accent, #FEDB9E);
  opacity: .85;
}

.vt-bonus-desc {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  color: rgba(240, 238, 248, .88);
  line-height: 1.45;
}


/* ===== PICKER ===== */
#picker {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #D5D0E6 0%, #ECE9E2 48%, #F2CEBC 100%);
  z-index: 9997;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

#picker.visible {
  display: flex
}

.pk-wrap {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pk-top {
  display: flex;
  align-items: center;
  gap: 14px
}

.pk-back-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #2C1F10;
  cursor: pointer;
  opacity: .55;
  padding: 4px 10px 4px 0;
  flex-shrink: 0;
  transition: opacity .2s;
}

.pk-back-btn:hover {
  opacity: 1
}

.pk-lbl {
  font-family: "Crimson Pro", serif;
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(211, 214, 255, 0.45);
}

.pk-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 600;
  font-style: italic;
  color: #2C1F10;
  line-height: 1.1;
  margin-top: 3px;
}

.pk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pk-tile {
  background: rgba(211, 214, 255, .07);
  border: .5px solid rgba(254, 219, 158, .25);
  box-shadow: 0 2px 10px rgba(211, 214, 255, 0.06);
  padding: 14px 12px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  transition: background .2s, border-color .2s;
  position: relative;
}

.pk-tile:hover {
  background: rgba(240, 238, 248, .85);
  border-color: rgba(254, 219, 158, .5);
}

.pk-tile.done {
  background: rgba(254, 219, 158, .1);
  border-color: rgba(254, 219, 158, .35);
}

.pk-tile.done::after {
  content: "✶";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 9px;
  color: var(--gold);
  opacity: .8;
}

.pk-t-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 300;
  font-style: italic;
  color: #2C1F10;
  line-height: 1;
}

.pk-tile.done .pk-t-num {
  color: var(--gold-d)
}

.pk-t-lbl {
  font-family: "Crimson Pro", serif;
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(211, 214, 255, 0.35);
  line-height: 1;
}

.pk-t-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  font-style: italic;
  color: rgba(211, 214, 255, 0.55);
  line-height: 1.3;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== APP ===== */
#app {
  display: none;
  min-height: 100vh;
  flex-direction: column
}

#app.visible {
  display: flex
}

/* ===== HEADER â€” fundo escuro, fino, exatamente como no print ===== */
.hdr {
  background: var(--surface);
  border-bottom: .5px solid rgba(211, 214, 255, .15);
  height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.hdr-left {
  display: flex;
  align-items: center;
  gap: 8px
}

.hdr-back {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  opacity: .6;
  transition: opacity .2s;
  flex-shrink: 0;
}

.hdr-back:hover {
  opacity: 1
}

.hdr-logo {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: .03em;
  color: var(--gold);
}

.hdr-right {
  display: flex;
  align-items: center;
  gap: 10px
}

.hdr-badge {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(254, 219, 158, .1);
  border: .5px solid rgba(254, 219, 158, .3);
  border-radius: 20px;
  padding: 3px 12px;
}

.hdr-menu {
  display: flex;
  background: none;
  border: .5px solid rgba(254, 219, 158, .25);
  color: var(--gold);
  font-size: 16px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
}

/* ===== LAYOUT ===== */
.app-body {
  display: flex;
  flex: 1;
  overflow: hidden
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 248px;
  background: var(--surface);
  border-right: .5px solid rgba(211, 214, 255, .1);
  height: calc(100vh - 44px);
  position: fixed;
  left: -248px;
  top: 44px;
  z-index: 300;
  overflow-y: auto;
  padding: 16px 0;
  transition: left .3s ease;
}

.sidebar.open {
  left: 0;
}

.sidebar::-webkit-scrollbar {
  width: 2px
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(254, 219, 158, .15)
}

.sb-lbl {
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-d);
  padding: 0 18px;
  margin-bottom: 8px;
  opacity: .7;
}

.sb-phase {
  padding: 12px 18px 4px;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(254, 219, 158, .3);
  border-top: .5px solid rgba(254, 219, 158, .08);
  margin-top: 4px;
}

.di {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background .15s;
  border-left: 2px solid transparent;
}

.di:hover:not(.locked) {
  background: rgba(254, 219, 158, .05)
}

.di.active {
  background: rgba(254, 219, 158, .09);
  border-left-color: var(--gold)
}

.di.locked {
  cursor: not-allowed;
  opacity: .28
}

.di-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  border: .5px solid rgba(254, 219, 158, .2);
  color: var(--gold-d);
  background: rgba(254, 219, 158, .05);
  transition: all .2s;
}

.di.active .di-num {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 600
}

.di.done .di-num {
  background: rgba(254, 219, 158, .14);
  color: var(--gold)
}

.di-info {
  flex: 1;
  min-width: 0
}

.di-day {
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-d);
  opacity: .7;
  line-height: 1
}

.di-title {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-style: italic;
  color: rgba(240, 238, 248, .75);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.di.locked .di-title {
  color: rgba(240, 238, 248, .2)
}

.di-lock {
  font-size: 10px;
  color: rgba(254, 219, 158, .22);
  flex-shrink: 0
}

.sb-ov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  z-index: 200
}

/* ===== MAIN ===== */
.main {
  flex: 1;
  overflow-y: auto;
  background: var(--surface);
  min-height: calc(100vh - 44px);
}

/* =====================================================
   PAGE â€” fundo CREME como no print, nÃ£o escuro
   ===================================================== */
.pg {
  background: var(--surface);
  min-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
}

/* ----- SEÃ‡ÃƒO LABEL (MEDITAÃ‡ÃƒO DO DIA / REFLEXÃƒO etc.) ----- */
/* Linha fina + texto uppercase pequeno + linha fina */
.sec-lbl {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 22px 22px 0;
}

.sec-lbl-line {
  flex: 1;
  height: .5px;
  background: var(--parch)
}

.sec-lbl-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 12px;
  white-space: nowrap;
  opacity: .75;
  font-family: "Poppins", sans-serif;
}

/* ----- BLOCO TOPO: capa + tÃ­tulo ----- */
.top-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 22px 18px;
}

.title-col {
  flex: 1;
  padding-top: 4px
}

.title-day-lbl {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: .6;
  margin-bottom: 6px;
  font-family: "Poppins", sans-serif;
}

.pg-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  font-style: italic;
  color: var(--lavender);
  line-height: 1.15;
}

/* ----- VERSÃCULO â€” card escuro no fundo creme ----- */
.verse-wrap {
  padding: 0 22px
}

.verse-card {
  border-left: 2px solid var(--gold-d);
  padding: 10px 16px 12px;
}

.verse-text {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--lavender);
  line-height: 1.65;
}

.verse-ref {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-d);
  opacity: .8;
  font-family: "Poppins", sans-serif;
}

/* ----- TEXTO CORRIDO (meditaÃ§Ã£o / reflexÃ£o) ----- */
/* No print: texto escuro sobre fundo creme, sem card */
.prose {
  padding: 14px 22px 0;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.82;
  font-weight: 500;
}

.prose p+p {
  margin-top: .9em
}

.prose em {
  color: var(--lavender);
  font-style: italic
}

/* Pergunta em itÃ¡lico mais escuro */
.refq {
  padding: 12px 22px 0;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  opacity: .7;
  line-height: 1.65;
  color: var(--sky);
}

/* ----- ORAÃ‡ÃƒO ----- */
.prayer-wrap {
  padding: 0 22px
}

.prayer-box {
  background: var(--surface-2);
  border-top: 1.5px solid var(--peach-d);
  padding: 24px 26px 28px;
}

.prayer-text {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: rgba(240, 238, 248, .85);
  line-height: 1.75;
}

.prayer-amen {
  display: block;
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .6;
}

/* ----- EXERCÃCIO ----- */
.ex-wrap {
  padding: 0 22px
}

.ex-box {
  border: .5px solid rgba(211, 214, 255, .15);
  background: rgba(211, 214, 255, .05);
  padding: 14px 16px;
  border-radius: 1px;
}

.ex-title {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-style: italic;
  color: var(--lavender);
  margin-bottom: 10px;
}

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

.ex-step {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.ex-n {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(254, 219, 158, .1);
  border: .5px solid rgba(254, 219, 158, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--gold-d);
  margin-top: 2px;
}

.ex-t {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65
}

/* EspaÃ§o antes do nav */
.pg-end {
  height: 72px
}

/* ----- NAV FOOTER ----- */
.pg-nav {
  background: var(--surface-2);
  border-top: .5px solid var(--parch);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.nav-side-btn {
  background: none;
  border: none;
  font-family: “Poppins”, sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 0;
  transition: color .2s;
  opacity: .55;
  min-width: 72px;
}

.nav-side-btn:hover:not(:disabled) {
  color: var(--lavender);
  opacity: 1
}

.nav-side-btn:disabled {
  opacity: .15;
  cursor: not-allowed
}

.nav-cmp {
  background: var(--gold);
  color: var(--ink);
  font-family: “Poppins”, sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: none;
  padding: 11px 28px;
  cursor: pointer;
  transition: background .2s;
}

.nav-cmp:hover {
  background: var(--gold-l)
}

.nav-cmp.done {
  background: rgba(254, 219, 158, .15);
  color: var(--gold);
  border: .5px solid rgba(254, 219, 158, .3);
  cursor: default
}

/* ----- LOCKED ----- */
.locked-pg {
  background: var(--bg);
  min-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  text-align: center;
}

.lk-num {
  font-family: "Poppins", sans-serif;
  font-size: 64px;
  font-weight: 300;
  font-style: italic;
  color: rgba(211, 214, 255, .2);
  line-height: 1;
  margin-bottom: 8px;
}

.lk-title {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 10px;
  opacity: .6;
}

.lk-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.7;
  opacity: .5
}

.lk-tag {
  margin-top: 16px;
  background: rgba(254, 219, 158, .08);
  border: .5px solid rgba(254, 219, 158, .18);
  padding: 6px 16px;
  color: var(--gold-d);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .7;
}

/* ===== TOP NAV (desktop) ===== */
.top-nav {
  display: none;
}

.top-nav.hidden {
  display: none !important;
}

@media(min-width:769px) {
  .top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--surface);
    border-bottom: .5px solid rgba(211, 214, 255, .12);
    z-index: 10000;
    padding: 0 40px;
  }

  .top-nav.hidden {
    display: none !important;
  }

  .tn-logo {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: .04em;
  }

  .tn-links {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .tn-tab {
    background: none;
    border: none;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(240, 238, 248, .4);
    cursor: pointer;
    padding: 6px 16px;
    border-radius: 20px;
    transition: color .2s, background .2s;
  }

  .tn-tab:hover {
    color: rgba(240, 238, 248, .75);
    background: rgba(254, 219, 158, .05);
  }

  .tn-tab--active {
    color: var(--gold);
    background: rgba(254, 219, 158, .08);
  }

  /* Push all post-onboarding screen content below the top nav */
  .vt-wrap,
  .pk-wrap,
  .pf-wrap,
  .dev-wrap {
    padding-top: 72px;
  }

  /* App shell: push header below top nav */
  .hdr {
    top: 56px;
  }
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(15, 13, 26, .92);
  color: #F0EEF8;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 10px 22px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 20000;
  backdrop-filter: blur(8px);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  display: none;
}

.bottom-nav.hidden {
  display: none !important;
}

/* ===== MOBILE ===== */
@media(max-width:768px) {
  .sb-ov.active {
    display: block
  }

  /* Bottom sheet sidebar on mobile */
  .sidebar {
    width: 100%;
    height: 72vh;
    left: 0;
    top: auto;
    bottom: -72vh;
    border-right: none;
    border-top: .5px solid rgba(211, 214, 255, .15);
    border-radius: 16px 16px 0 0;
    transition: bottom .35s cubic-bezier(.32, .72, 0, 1);
    padding-top: 20px;
  }

  .sidebar::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(254, 219, 158, .2);
    border-radius: 2px;
    margin: -8px auto 16px;
  }

  .sidebar.open {
    left: 0;
    bottom: 0;
  }

  .pg-title {
    font-size: 32px
  }

  .top-block {
    padding: 12px 16px 14px
  }

  .sec-lbl,
  .verse-wrap,
  .prose,
  .refq,
  .prayer-wrap,
  .ex-wrap {
    padding-left: 16px;
    padding-right: 16px
  }

  .verse-wrap,
  .prayer-wrap,
  .ex-wrap {
    padding-left: 16px;
    padding-right: 16px
  }

  .pg-nav {
    padding: 10px 16px;
    bottom: 64px;
  }

  #vitrine,
  #picker {
    padding-bottom: 72px;
  }

  /* Bottom nav */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--surface);
    border-top: .5px solid rgba(211, 214, 255, .12);
    z-index: 10000;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .bottom-nav.hidden {
    display: none !important;
  }

  .bn-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    color: rgba(240, 238, 248, .35);
    cursor: pointer;
    padding: 8px 4px;
    transition: color .2s;
    -webkit-tap-highlight-color: transparent;
  }

  .bn-tab--active {
    color: var(--gold);
  }

  .bn-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
  }

  .bn-lbl {
    font-family: "Poppins", sans-serif;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1;
  }

  /* Space for pg-nav (fixed, ~56px) + bottom nav (64px) */
  .main {
    padding-bottom: 144px;
  }
}
