/* Camada visual editorial: o conteúdo bíblico continua vindo da fonte NVA. */
:root {
  --ink: #1e332b;
  --muted: #68786e;
  --paper: #f4f0e7;
  --white: #fffdf8;
  --green: #254b3d;
  --green-dark: #173a2e;
  --sage: #e3e9df;
  --line: #e0ddd3;
  --gold: #bd9350;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --display: Manrope, 'DM Sans', Arial, sans-serif;
}

body {
  color: var(--ink);
  background: radial-gradient(circle at 7% 8%, #fff9e9 0, transparent 32%),
              radial-gradient(circle at 96% 25%, #e9ede4 0, transparent 30%),
              var(--paper);
}
button, input, select { font-family: var(--sans); }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.app-shell { max-width: 1320px; padding: 0 52px; }
.topbar {
  height: 88px;
  border-bottom: 1px solid #254b3d20;
  gap: 18px;
}
.brand { gap: 13px; }
.brand-mark {
  width: 42px; height: 42px;
  background: var(--green-dark);
  box-shadow: 0 5px 12px #183b2c25;
}
.brand strong { font: 700 19px/1.1 var(--display); letter-spacing: -.8px; }
.brand small { font-size: 8px; color: #9a8052; letter-spacing: 3.1px; margin-top: 4px; }
.desktop-nav { gap: 30px; }
.nav-link { font: 600 12px var(--sans); color: #66766b; }
.nav-link.active:after { height: 3px; background: var(--gold); }
.saved-count { background: #dfe8dc; }
.profile-button { border-color: #b9c5b6; border-radius: 7px; background: #ffffff6e; }

.hero-grid {
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(30px, 5vw, 72px);
  padding: 64px 0 42px;
  min-height: 455px;
}
.hero-copy { padding: 12px 0; }
.eyebrow { color: #8a7855; letter-spacing: 2.1px; font-size: 10px; }
.eyebrow-dot { width: 6px; height: 6px; background: var(--gold); }
.hero-copy h1, .page-intro h1 {
  font: 500 clamp(52px, 5.8vw, 79px)/.96 var(--serif);
  letter-spacing: -2px;
  color: var(--green-dark);
}
.hero-copy h1 em, .page-intro h1 em {
  color: #a77943;
  font: italic 400 1em/.96 var(--serif);
  letter-spacing: -2px;
}
.hero-subtitle { max-width: 410px; font-size: 15px; line-height: 1.8; color: #69796f; margin: 26px 0; }
.date-line { display: inline-flex; margin-top: 8px; padding: 13px 18px; border: 1px solid #d8dfd3; border-radius: 30px; background: #fffdf88f; color: #617064; }
.date-icon { color: var(--gold); }

.hero-art {
  height: 335px;
  border-radius: 165px 165px 9px 9px;
  background: radial-gradient(circle at 57% 34%, #f2d793 0, #eacb87 13%, transparent 29%),
              linear-gradient(165deg, #e5ddc5 0%, #dae3d3 51%, #b3c5ac 100%);
  box-shadow: 0 22px 48px #173b2c19;
  isolation: isolate;
}
.hero-art:before {
  content: ''; position: absolute; inset: 11px; z-index: 3;
  border: 1px solid #fff9e68f;
  border-radius: 155px 155px 3px 3px;
  pointer-events: none;
}
.hero-art:after {
  content: ''; position: absolute; z-index: 2;
  width: 68%; height: 105%; left: -20%; top: -21%; transform: rotate(-17deg);
  border: 1px solid #fffef475; border-radius: 50%; pointer-events: none;
}
.sun-disc { width: 142px; height: 142px; top: 55px; right: 22%; background: #e5bb6f; box-shadow: 0 0 0 24px #e8c78132, 0 0 0 49px #e8c78118; }
.hill-back { background: #829d80; bottom: -92px; }
.hill-front { background: #294e3a; bottom: -108px; }
.art-cross { right: 36%; top: 123px; z-index: 1; }
.art-label { left: 31px; bottom: 32px; z-index: 4; font: italic 500 24px/1.05 var(--serif); }
.art-reference { right: 27px; bottom: 34px; z-index: 4; font-size: 9px; letter-spacing: 1.6px; }

.daily-card {
  position: relative; padding: 32px 38px 20px;
  border: 1px solid #e7e1d5;
  border-radius: 12px;
  box-shadow: 0 18px 44px #2637290d, 0 2px 7px #26372906;
}
.daily-card:before { content: ''; position: absolute; top: 38px; bottom: 37px; left: 0; width: 3px; background: #caa464; border-radius: 0 3px 3px 0; }
.label-pill { background: #f0e8d7; color: #80643b; border-radius: 5px; font-size: 10px; padding: 9px 12px; }
.sparkle { color: #a97935; }
.version-label { font-size: 10px; color: #7f877f; }
.verse-layout { grid-template-columns: minmax(0,1fr) 210px; gap: 42px; padding: 28px 0 22px; }
.verse-text { font: 500 clamp(30px, 3.25vw, 43px)/1.19 var(--serif); color: #253f31; letter-spacing: -.4px; max-width: 770px; margin-bottom: 17px; }
.verse-reference { color: #8b713f; letter-spacing: .7px; font-size: 11px; }
.verse-actions { gap: 9px; }
.button { min-height: 42px; border-radius: 6px; padding: 12px 17px; font-size: 11px; transition: transform .2s, box-shadow .2s, background .2s; }
.button.primary { background: var(--green); box-shadow: 0 5px 14px #254b3d22; }
.button.primary:hover { box-shadow: 0 8px 18px #254b3d36; }
.icon-action { width: 42px; height: 42px; border-radius: 6px; color: #526758; border-color: #dce2d7; }
.verse-side { border-color: #e5e2d7; padding-left: 26px; }
.quote-mark { font-size: 50px; color: var(--gold); }
.verse-side p { font: italic 500 20px/1.2 var(--serif); color: #677768; margin: 15px 0 24px; }
.text-button { font-size: 11px; color: var(--green); }
.text-button:hover { color: #a07542; }
.copyright-line { color: #818980; font-size: 10px; line-height: 1.55; }

.section-block { padding: 73px 0 63px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2, .support-banner h2 { font: 500 37px/1.06 var(--serif); letter-spacing: -.9px; color: var(--green-dark); }
.search-box { height: 55px; padding: 0 18px; border-color: #d9ded4; border-radius: 8px; background: #fffdf9dd; box-shadow: 0 5px 18px #253f3108; }
.search-box:focus-within { border-color: #a5b7a3; box-shadow: 0 0 0 3px #a5b7a32c; }
.search-box input { font-size: 13px; }
.theme-grid { gap: 14px; margin-top: 18px; }
.theme-card {
  min-height: 150px; padding: 20px;
  border: 1px solid #e1e4d9; border-radius: 9px;
  background: #fffdf8;
  box-shadow: 0 3px 12px #26372906;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.theme-card:hover { border-color: #a8bca6; box-shadow: 0 11px 24px #26372916; transform: translateY(-3px); }
.theme-icon { font-size: 22px; color: #a07d4b; margin-bottom: 18px; }
.theme-card strong { font-size: 14px; color: var(--green-dark); }
.theme-card small { color: #748176; line-height: 1.35; font-size: 10px; }
.theme-arrow { color: #a2b09e; right: 18px; bottom: 18px; }
.support-banner { gap: 20px; border-radius: 10px; border: 1px solid #d8e1d5; padding: 29px 32px; background: linear-gradient(110deg,#e7eee4,#dbe7db); }
.banner-icon { width: 52px; height: 52px; background: #f8f8ed; color: #a7824a; }
.support-banner h2 { font-size: 28px; }
.support-banner p:not(.eyebrow) { font-size: 12px; color: #617466; }
.support-banner .button { background: var(--white); border: 1px solid #dce3d8; }

.page-intro { padding: 67px 0 35px; }
.page-intro h1 { font-size: clamp(54px,6vw,78px); }
.page-intro>p:not(.eyebrow) { font-size: 14px; color: #69796f; }
.topic-tabs { gap: 9px; padding-bottom: 20px; }
.topic-tab { border-radius: 6px; padding: 10px 15px; background: #fffdf890; }
.topic-tab.active,.topic-tab:hover { background: var(--green); border-color: var(--green); }
.topic-result { padding-top: 31px; }
.topic-result-head h2 { font: 500 35px var(--serif); color: var(--green-dark); }
.topic-result-head p { font-size: 12px; }
.passage-list { gap: 15px; }
.passage-card, .study-controls, .study-outline, .saved-card, .empty-state { border-radius: 9px; border-color: #e4e2d9; box-shadow: 0 4px 14px #26372908; }
.passage-card { padding: 24px; }
.passage-text { font: 500 24px/1.25 var(--serif); }
.study-controls { padding: 23px; }
.study-controls select { border-radius: 6px; height: 43px; }
.study-outline { padding: 29px; }
.study-outline-head h2 { font: 500 34px var(--serif); }
.mind-node { border-radius: 7px; padding: 18px; background: #f7f7f0; }
.mind-node.center { background: var(--green); }
.mind-node.center strong { font-size: 19px; }
.study-columns h3 { font-size: 13px; }
.ai-note { border-radius: 8px; background: #e8eee5; }
.saved-card { padding: 22px 25px; }
.empty-state { padding: 65px 22px; }
.footer { border-color: #dcded3; padding: 30px 0 38px; }
.footer-brand { color: var(--green-dark); }
.footer>p { font: italic 500 17px/1.15 var(--serif); }
.footer-license { line-height: 1.5; }
.context-dialog { border-radius: 11px; border-color: #e2e0d6; }
.context-dialog-head h2 { font: 500 30px var(--serif); }
.context-verse { font-size: 20px; line-height: 1.25; }

@media(max-width:850px) {
  .app-shell { padding: 0 28px; }
  .hero-grid { gap: 24px; padding-top: 43px; min-height: 0; }
  .hero-copy h1 { font-size: clamp(47px,7vw,66px); }
  .hero-art { height: 290px; }
  .verse-layout { gap: 22px; grid-template-columns: minmax(0,1fr) 175px; }
  .theme-grid { grid-template-columns: repeat(3,1fr); }
  .footer { grid-template-columns: 1fr 1.5fr; }
}
@media(max-width:620px) {
  body { padding-bottom: 94px; }
  .app-shell { padding: 0 19px; }
  .topbar { height: 70px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 16px; }
  .hero-grid { padding: 36px 0 27px; gap: 27px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(49px,12vw,66px); line-height: .94; }
  .hero-subtitle { font-size: 13px; line-height: 1.65; margin: 17px 0; }
  .date-line { margin-top: 5px; padding: 10px 13px; font-size: 10px; }
  .hero-art { height: 220px; border-radius: 105px 105px 8px 8px; }
  .hero-art:before { border-radius: 100px 100px 3px 3px; }
  .sun-disc { width: 96px; height: 96px; top: 37px; }
  .art-cross { top: 82px; right: 34%; }
  .art-label { font-size: 19px; left: 22px; bottom: 24px; }
  .art-reference { font-size: 7px; bottom: 27px; right: 21px; }
  .daily-card { padding: 20px 20px 15px; }
  .daily-card:before { top: 24px; bottom: 25px; }
  .daily-card-top { gap: 8px; }
  .label-pill { padding: 7px 9px; font-size: 8px; }
  .version-label { font-size: 8px; }
  .verse-layout { padding: 24px 0 15px; }
  .verse-text { font-size: 32px; line-height: 1.18; }
  .verse-reference { margin-bottom: 19px; }
  .verse-actions { flex-wrap: wrap; gap: 7px; }
  .button { min-height: 40px; }
  .icon-action { width: 40px; height: 40px; }
  .section-block { padding: 59px 0 50px; }
  .section-heading { align-items: end; gap: 12px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading .text-button { white-space: normal; max-width: 95px; margin: 0 0 2px; line-height: 1.3; }
  .search-box { height: 51px; }
  .theme-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .theme-card { min-height: 128px; padding: 15px; }
  .theme-icon { margin-bottom: 12px; }
  .theme-card strong { font-size: 12px; }
  .theme-card small { font-size: 9px; padding-right: 11px; }
  .support-banner { padding: 20px; }
  .support-banner h2 { font-size: 26px; }
  .page-intro { padding: 48px 0 27px; }
  .page-intro h1 { font-size: 59px; }
  .page-intro>p:not(.eyebrow) { font-size: 12px; }
  .topic-result-head { align-items: start; gap: 15px; }
  .topic-result-head h2 { font-size: 30px; }
  .passage-card { padding: 20px; }
  .passage-text { font-size: 23px; }
  .study-controls { padding: 17px; }
  .study-outline { padding: 20px; }
  .study-outline-head h2 { font-size: 28px; }
  .mind-node { padding: 13px; }
  .footer>p { font-size: 16px; }
  .mobile-nav {
    left: 12px; right: 12px; bottom: 11px; height: 67px;
    border: 1px solid #e3e6dd; border-radius: 15px;
    padding: 6px 8px; background: #fffdf8f5;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 35px #19352926;
  }
  .mobile-nav button { cursor: pointer; border-radius: 10px; }
  .mobile-nav button.active { background: #e7eee5; color: var(--green); }
  .toast { bottom: 88px; }
  .context-dialog-head h2 { font-size: 25px; }
  .context-verse { font-size: 18px; }
}
@media(max-width:370px) {
  .hero-copy h1 { font-size: 46px; }
  .section-heading h2 { font-size: 28px; }
  .verse-text { font-size: 28px; }
  .theme-card { min-height: 119px; }
}
