
  :root {
    --purple-50:#F5F0FA; --purple-100:#E8DDF2; --purple-400:#8557B5; --purple-500:#5E2D8F;
    --purple-600:#4A1F75; --purple-700:#3A1659; --purple-900:#1A0E2E;
    --green-50:#F0F5F1; --green-100:#D9E5DB; --green-500:#3D6249; --green-700:#22392A;
    --blue-50:#EEF2FB; --blue-100:#D6DEF3; --blue-500:#3046A0; --blue-700:#1A2A6E;
    --gold-400:#D4A645; --gold-500:#B5872A; --gold-600:#8E6820;
    --cream-50:#FAF7F0; --cream-100:#F4EFE3; --cream-200:#E8DFCB; --cream-300:#D4C5A5;
    --sepia-700:#3A3326; --sepia-800:#241F18; --sepia-500:#7A6B4F;
    --rose-50:#FBF2F2; --rose-100:#F3DEDF; --red-500:#9E343C; --red-600:#7A2429;
    --display:'Cormorant Garamond', Georgia, serif;
    --serif:'Crimson Pro', Georgia, serif;
    --sans:'Inter', system-ui, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--serif); color: var(--sepia-800); background: var(--cream-50);
    line-height: 1.72; font-size: 19px; -webkit-font-smoothing: antialiased;
  }

  /* ---------- Top bar ---------- */
  .topbar {
    position: sticky; top: 0; z-index: 50; background: rgba(250,247,240,.86);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--cream-200);
    display: flex; align-items: center; justify-content: space-between; padding: 12px 22px;
  }
  .brand { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--purple-600); letter-spacing:.3px; display:flex; align-items:center; gap:8px;}
  .brand .logo { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg,var(--purple-500),var(--purple-700)); display:inline-block;}
  .topbar .dl { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--purple-600); border: 1.5px solid var(--purple-100); padding: 7px 14px; border-radius: 999px; text-decoration: none; display:flex; align-items:center; gap:6px;}

  /* reading progress */
  .progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg,var(--gold-400),var(--purple-500)); width: 0; z-index: 60; }

  /* ---------- Hero ---------- */
  .hero { position: relative; overflow: hidden; background: var(--purple-900); color: #fff; min-height: 82vh; display: flex; align-items: flex-end; }
  .hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: .55; }
  .hero::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(26,14,46,.2) 0%, rgba(26,14,46,.55) 55%, rgba(26,14,46,.96) 100%); }
  .hero-inner { position: relative; z-index: 2; padding: 48px 28px 46px; max-width: 860px; }
  .kicker { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px; }
  .hero h1 { font-family: var(--display); font-weight: 600; line-height: .96; font-size: clamp(56px, 13vw, 108px); letter-spacing: -1px; margin-bottom: 8px; }
  .hero .epithet { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(22px, 5vw, 35px); color: var(--cream-200); margin-bottom: 20px; }
  .hero .lede { font-size: clamp(18px,2.4vw,21px); color: #efe7da; max-width: 660px; }
  .hero .readmeta { font-family: var(--sans); font-size: 12.5px; color: #b69fd1; margin-top: 20px; letter-spacing:.3px; }

  /* ---------- Layout ---------- */
  .wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
  section { padding: 40px 0; }
  .part-label { text-align: center; margin: 30px auto 0; max-width: 760px; padding: 30px 24px 0; }
  .part-label .pl-line { color: var(--gold-500); letter-spacing: 8px; font-size: 18px; }
  .part-label .pl-txt { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--purple-500); margin-top: 10px; }
  .part-label .pl-sub { font-family: var(--display); font-style: italic; font-size: 24px; color: var(--purple-700); margin-top: 2px; }

  h2 { font-family: var(--display); font-weight: 600; color: var(--purple-700); font-size: clamp(28px, 5.2vw, 40px); line-height: 1.04; margin-bottom: 6px; letter-spacing: -.3px; }
  h2 .num { font-family: var(--sans); font-weight: 700; font-size: 12px; color: var(--gold-600); letter-spacing: 2px; display: block; margin-bottom: 8px; }
  h3 { font-family: var(--display); font-weight:600; color: var(--purple-600); font-size: 25px; margin: 26px 0 6px; }
  p { margin-bottom: 18px; }
  .section-lead::first-letter { font-family: var(--display); font-weight: 700; color: var(--purple-500); float: left; font-size: 62px; line-height: .72; padding: 6px 10px 0 0; }
  em { font-style: italic; }
  strong { font-weight: 600; color: var(--sepia-800); }

  /* ---------- Quick facts card ---------- */
  .factcard { background: #fff; border: 1px solid var(--cream-200); border-radius: 18px; padding: 8px 26px; margin: -64px auto 0; position: relative; z-index: 5; max-width: 760px; box-shadow: 0 18px 50px -22px rgba(26,14,46,.45); }
  .factcard .ft { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--purple-500); padding: 22px 0 6px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .fact { padding: 14px 0; border-top: 1px solid var(--cream-100); }
  .fact:nth-child(1), .fact:nth-child(2) { border-top: none; }
  .fact .k { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--sepia-500); margin-bottom: 2px; }
  .fact .v { font-family: var(--serif); font-size: 18px; color: var(--sepia-800); line-height:1.35; }
  @media (max-width: 520px){ .facts{ grid-template-columns: 1fr; } .fact:nth-child(2){ border-top: 1px solid var(--cream-100);} }

  /* ---------- Figures ---------- */
  figure { margin: 30px 0; }
  figure img { width: 100%; border-radius: 14px; display: block; box-shadow: 0 14px 40px -20px rgba(26,14,46,.5); }
  figure.bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
  figure.bleed img { border-radius: 0; max-height: 88vh; object-fit: cover; }
  figcaption { font-family: var(--sans); font-size: 12.5px; color: var(--sepia-500); margin-top: 8px; text-align: center; line-height: 1.45; }
  figcaption b { color: var(--sepia-700); font-weight: 600; }

  /* ---------- Scripture pull-quote ---------- */
  .scripture { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(23px, 4.4vw, 31px); line-height: 1.32; color: var(--purple-700); border-left: 4px solid var(--gold-400); padding: 6px 0 6px 24px; margin: 32px 0; }
  .scripture .ref { display:block; font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 13px; letter-spacing: 1px; color: var(--gold-600); margin-top: 12px; text-transform: uppercase; }

  /* ---------- Bible ref chip ---------- */
  .ref-chip { font-family: var(--sans); font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--purple-50); color: var(--purple-600); border: 1px solid var(--purple-100); border-radius: 6px; padding: 1px 7px; text-decoration: none; vertical-align: 1px; }

  /* ---------- Callout base ---------- */
  .callout { border-radius: 14px; padding: 20px 24px 18px; margin: 28px 0; border: 1px solid; border-left-width: 5px; }
  .callout .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 11px; }
  .callout .tag .dot { font-size: 15px; }
  .callout p:last-child { margin-bottom: 0; }
  .callout .gk { font-family: var(--display); font-style: italic; font-weight: 600; }

  /* grego */
  .grego { background: linear-gradient(180deg,var(--blue-50),#fff); border-color: var(--blue-100); border-left-color: var(--blue-500); }
  .grego .tag { color: var(--blue-700); }
  .grego .gk { color: var(--blue-700); }

  /* coração */
  .coracao { background: linear-gradient(180deg,var(--rose-50),#fff); border-color: var(--rose-100); border-left-color: var(--red-500); }
  .coracao .tag { color: var(--red-600); }

  /* semente de sermão */
  .sermao { background: linear-gradient(180deg,var(--green-50),#fff); border-color: var(--green-100); border-left-color: var(--green-500); }
  .sermao .tag { color: var(--green-700); }

  /* tradição */
  .tradicao { background: linear-gradient(180deg, var(--cream-100), var(--cream-50)); border-color: var(--cream-300); border-left-color: var(--gold-500); }
  .tradicao .tag { color: var(--gold-600); }
  .tradicao .disc { font-family: var(--sans); font-size: 12.5px; color: var(--sepia-500); font-style: italic; margin-top: 10px; }

  /* ---------- Timeline ---------- */
  .timeline { border-left: 2px solid var(--cream-300); margin: 24px 0 0 6px; padding-left: 26px; }
  .tl { position: relative; padding-bottom: 22px; }
  .tl::before { content:''; position: absolute; left: -33px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--purple-500); border: 3px solid var(--cream-50); }
  .tl .when { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 1px; color: var(--gold-600); text-transform: uppercase; }
  .tl .what { font-size: 17px; }

  /* ---------- Curiosidades ---------- */
  .curios { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
  @media (max-width: 560px){ .curios{ grid-template-columns: 1fr; } }
  .curio { background:#fff; border:1px solid var(--cream-200); border-radius: 14px; padding: 20px; }
  .curio .ico { font-size: 22px; }
  .curio h4 { font-family: var(--display); font-weight: 600; color: var(--purple-600); font-size: 20px; margin: 8px 0 4px; }
  .curio p { font-size: 16px; margin: 0; color: var(--sepia-700); }

  /* ---------- Key verses ---------- */
  .verses { display: grid; gap: 10px; margin-top: 20px; }
  .verse { display:flex; gap: 14px; align-items: baseline; background:#fff; border:1px solid var(--cream-200); border-radius: 12px; padding: 14px 18px; }
  .verse .vref { font-family: var(--sans); font-weight: 700; font-size: 12px; color: var(--purple-500); white-space: nowrap; letter-spacing:.5px; min-width: 92px; }
  .verse .vtxt { font-family: var(--serif); font-style: italic; color: var(--sepia-700); font-size: 17px; }

  /* ---------- CTA ---------- */
  .cta { background: linear-gradient(150deg, var(--purple-700), var(--purple-900)); color:#fff; border-radius: 22px; padding: 40px 32px; text-align: center; margin: 30px 0 0; }
  .cta h3 { color: #fff; font-size: 32px; margin: 0 0 8px; }
  .cta p { color: #e7dcf3; max-width: 480px; margin: 0 auto 24px; }
  .cta a { display:inline-flex; align-items:center; gap:10px; font-family: var(--sans); font-weight: 700; font-size: 16px; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--purple-900); padding: 15px 30px; border-radius: 999px; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(212,166,69,.6); }
  .cta .small { font-family: var(--sans); font-size: 12.5px; color: #b69fd1; margin-top: 16px; }

  /* ---------- Footer ---------- */
  footer { text-align:center; padding: 40px 24px 60px; color: var(--sepia-500); font-family: var(--sans); font-size: 13px; }
  footer .next { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--purple-600); margin-bottom: 18px; }
  .divider { text-align:center; color: var(--gold-500); font-size: 22px; letter-spacing: 8px; margin: 8px 0; }

  /* ---------- Legend ---------- */
  .legend { max-width: 760px; margin: 0 auto; padding: 26px 24px 0; }
  .legend-box { background:#fff; border:1px solid var(--cream-200); border-radius: 14px; padding: 18px 22px; }
  .legend-box h4 { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--sepia-500); margin-bottom: 12px; }
  .legend-row { display:flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 13.5px; color: var(--sepia-700); margin-bottom: 8px; }
  .legend-row b { font-weight: 700; }
  .legend-chip { width: 12px; height: 12px; border-radius: 3px; margin-top: 4px; flex: none; }

  /* ---------- Print / PDF ---------- */
  @media print {
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    .topbar, .progress, .cta a, .hero .readmeta { display: none !important; }
    body { font-size: 11.5pt; background:#fff; }
    .hero { min-height: auto; color:#1A0E2E; background:#fff; }
    .hero img.bg, .hero::after { display:none; }
    .hero-inner { padding: 0 0 12px; }
    .kicker { color: var(--gold-600); }
    .hero h1 { color: var(--purple-700); font-size: 44pt; }
    .hero .epithet { color: var(--purple-500); }
    .hero .lede { color: #333; }
    .factcard { margin-top: 16px; box-shadow:none; break-inside: avoid; }
    figure.bleed { width: auto; margin-left:0; margin-right:0; }
    figure, .callout, .curio, .cta, .scripture, .verse, .part-label, h2 { break-inside: avoid; }
    h2, h3 { break-after: avoid; }
    .cta { background:#fff; color: var(--purple-900); border:2px solid var(--gold-500); }
    .cta h3, .cta p { color: var(--purple-900); }
    section { padding: 14px 0; }
    a { color: inherit; text-decoration: none; }
    @page { margin: 15mm 14mm; }
  }

.print-source{display:none}
@media print{.print-source{display:block;position:fixed;left:0;right:0;bottom:6mm;text-align:center;font-family:var(--sans);font-size:8pt;letter-spacing:.4px;color:#a89a86} .cta-download{display:none!important}}

/* UOPI — leitura ontologica */
.ontologico{background:linear-gradient(180deg,#E6F3F1,#ffffff);border-color:#bfe0db;border-left-color:#2C8C84}
.ontologico .tag{color:#1f6e66}
.ontologico .gk{color:#1f6e66}

a.brand{text-decoration:none;cursor:pointer;transition:opacity .15s}
a.brand:hover{opacity:.72}
