:root{--bg:#fbfaf7;--surface:#fff;--text:#27352e;--muted:#929a93;--line:#eaece6;--green:#285844;--lime:#dce9ae;--accent:#cae18f;--peach:#f4e8d8;--shadow:0 15px 40px rgba(34,55,35,.06)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9cba74;outline-offset:3px}.layout{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;width:236px;height:100vh;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:28px 16px 20px;display:flex;flex-direction:column;z-index:12}.brand{display:flex;align-items:center;gap:12px;padding:3px 12px 45px;font:30px 'DM Serif Display',serif;letter-spacing:-1.5px}.brand-mark{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:var(--green);color:#e3f0b0;font-family:'DM Sans';font-size:26px}.brand small{display:block;font:700 8px 'DM Sans';letter-spacing:2px;color:#a2a9a1;margin-top:0}.nav-label{padding:0 16px 12px;color:#aaa;font-size:10px;font-weight:800;letter-spacing:1.3px}.nav{display:grid;gap:7px}.navitem{width:100%;border:0;background:transparent;color:#78877e;text-align:left;border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:13px;font-size:13px;font-weight:600}.navitem span{font-size:22px;line-height:15px;width:23px;text-align:center;font-weight:400}.navitem:hover{background:#f3f6ef;color:var(--green)}.navitem.active{background:#eaf1e2;color:#244e37}.side-bottom{margin-top:auto}.side-quote{position:relative;padding:18px 18px 22px;border-radius:13px;background:#eff3e7;font:italic 18px/1.32 'DM Serif Display';margin:12px 0 20px;color:#49644c}.quote-glyph{display:block;font-size:37px;color:#93ae76;height:29px}.side-quote small{display:block;font:700 9px 'DM Sans';letter-spacing:1px;margin-top:15px;color:#839883}.sidebar-foot{font-size:10px;color:#a5ada5;padding:0 9px}.sidebar-foot span{color:#c4898a}.main-shell{flex:1;min-width:0}.topbar{height:91px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 clamp(20px,4vw,65px);border-bottom:1px solid var(--line);background:var(--bg)}.crumb{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#9ca99a;white-space:nowrap}.crumb span{color:#99bb70;margin-left:7px}.top-actions{display:flex;align-items:center;gap:14px}.search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:10px;height:41px;width:min(26vw,300px);padding:0 13px;color:#a1aba0}.search span{font-size:25px;line-height:1}.search input{border:0;outline:0;background:transparent;width:100%;min-width:0;font-size:12px;color:var(--text)}.search kbd{font-size:13px;color:#bec4bd}.round-btn{height:41px;width:41px;border:1px solid var(--line);background:white;border-radius:11px;font-size:20px;color:#617667}.avatar{width:37px;height:37px;border-radius:50%;background:var(--lime);display:grid;place-items:center;font:19px 'DM Serif Display';color:var(--green)}.mobile-menu{display:none}main{padding:34px clamp(20px,4vw,65px) 55px;max-width:1570px;margin:auto;min-height:calc(100vh - 150px)}.eyebrow{color:#7e9884;font-size:10px;letter-spacing:2px;font-weight:800;text-transform:uppercase}.hero{position:relative;overflow:hidden;min-height:327px;border-radius:19px;background:#e8efdc;display:grid;grid-template-columns:1.18fr .82fr;padding:45px 6% 32px}.hero:before{content:'';position:absolute;width:430px;height:430px;right:-90px;top:-280px;border:90px solid rgba(255,255,255,.25);border-radius:50%}.hero h1{font:clamp(38px,4.4vw,66px)/1.05 'DM Serif Display';letter-spacing:-1.5px;margin:19px 0 14px;color:#284d3c}.hero h1 em{color:#87a96b;font-weight:400}.hero p{font-size:13px;max-width:410px;line-height:1.8;color:#65816a;margin-bottom:23px}.primary{border:0;border-radius:10px;background:var(--green);color:white;padding:13px 20px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;gap:12px}.primary:hover{background:#183f2c}.secondary{border:1px solid #dde6d9;background:#fff;border-radius:10px;color:#35543e;padding:12px 17px;font-weight:700;font-size:12px}.hero-art{position:relative;min-height:250px;display:flex;align-items:center;justify-content:center}.art-orb{width:246px;height:246px;border-radius:50%;background:#d4e2bf;position:absolute;right:12%;top:-14px}.art-stars{position:absolute;right:7%;top:5%;font-size:48px;color:#85ad76}.art-book{position:relative;width:173px;height:235px;background:linear-gradient(135deg,#396451,#203e34);transform:rotate(-12deg);border-radius:4px 14px 14px 4px;box-shadow:19px 20px 0 #f5f1e5,25px 23px 0 #d0d8bf,32px 35px 32px #566f5345;display:flex;flex-direction:column;text-align:center;justify-content:center;align-items:center;padding:16px;border-left:8px solid #1d3c30;color:#f3e2a7}.art-book b{font:26px 'DM Serif Display';line-height:1.1}.art-book i{font-style:normal;font-size:10px;letter-spacing:3px;margin-bottom:19px}.art-book small{font-size:9px;margin-top:14px;letter-spacing:1px}.section{margin-top:36px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.section-heading h2,.page-title{font:30px 'DM Serif Display';margin:7px 0 0;font-weight:400;letter-spacing:-.5px}.section-heading p{margin:8px 0 0;font-size:12px;color:#8b978d}.textlink{background:none;border:0;color:#577862;font-size:12px;font-weight:800;white-space:nowrap}.book-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}.book-card{min-width:0}.cover{height:auto;aspect-ratio:2/2.75;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:19px 14px;border-radius:8px 12px 12px 8px;box-shadow:7px 8px 15px #253c3221;border-left:6px solid #ffffff30;transition:transform .2s}.cover:before{content:'';position:absolute;inset:9px;border:1px solid #ffffff55;pointer-events:none}.cover:after{content:'';position:absolute;width:135px;height:135px;border:1px solid #ffffff40;border-radius:50%;right:-47px;bottom:25px;box-shadow:0 0 0 30px #ffffff0d,0 0 0 60px #ffffff0c}.book-card:hover .cover{transform:translateY(-5px)}.cover-symbol{font:45px 'DM Serif Display';align-self:center;margin-top:auto;margin-bottom:12px;opacity:.7}.cover-title{font:clamp(16px,1.55vw,25px)/1.07 'DM Serif Display';text-align:center;position:relative;z-index:1;text-wrap:balance}.cover-author{text-align:center;margin-top:auto;font-size:8px;letter-spacing:1.2px;font-weight:800;text-transform:uppercase;position:relative;z-index:1}.book-info{display:flex;justify-content:space-between;align-items:flex-start;gap:7px;margin-top:15px}.book-info h3{font-size:13px;line-height:1.35;margin:0 0 5px}.book-info p{font-size:11px;color:#9ba69c;margin:0}.heart{border:0;background:none;color:#b2bcb1;font-size:21px;padding:0;line-height:1}.heart.liked{color:#cc6f6e}.pill-row{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0 25px}.pill{background:#fff;border:1px solid #e7eae3;border-radius:99px;padding:9px 16px;color:#76877b;font-size:11px;font-weight:700}.pill.selected,.pill:hover{background:#294c3b;border-color:#294c3b;color:#fff}.feature-row{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;margin-top:38px}.feature-card{background:#f5eae0;border-radius:15px;min-height:180px;display:flex;align-items:center;justify-content:space-between;padding:26px 29px;overflow:hidden}.feature-card.green{background:#eaf0de}.feature-card h3{font:27px/1.1 'DM Serif Display';margin:8px 0}.feature-card p{font-size:12px;color:#8c9185;max-width:280px;line-height:1.6}.feature-icon{font:85px 'DM Serif Display';opacity:.38;color:#b47d69}.feature-card.green .feature-icon{color:#678767}.footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:22px clamp(20px,4vw,65px);color:#a0a9a0;font-size:10px}.footer b{padding:0 7px}.footer a{color:var(--green);text-decoration:underline}.intro{margin-bottom:20px}.intro p{color:#879688;line-height:1.7;font-size:13px}.count{font-weight:800;color:#a5afa4;font-size:11px}.empty{margin:35px 0;padding:60px 20px;border:1px dashed #ccd7c9;text-align:center;border-radius:14px}.empty i{display:block;font:45px 'DM Serif Display';color:#96ad88}.empty p{color:#89988c}.detail{display:grid;grid-template-columns:230px 1fr;gap:45px;align-items:start;max-width:870px;margin:20px auto}.detail .cover{width:230px}.detail h1{font:clamp(35px,4vw,56px)/1.07 'DM Serif Display';margin:14px 0}.detail p{color:#76867c;line-height:1.8}.detail .meta{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.tag{padding:8px 12px;background:#edf3e7;border-radius:7px;font-size:11px;color:#507256}.notice{padding:14px 17px;background:#f1f4eb;border-left:3px solid #92ac82;color:#718571;border-radius:6px;line-height:1.65;font-size:12px;margin:21px 0}.reader-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.reader-toolbar .controls{display:flex;align-items:center;gap:8px}.reader-toolbar button,.reader-toolbar select{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;padding:9px 11px}.reading-shell{max-width:770px;margin:30px auto;padding:40px clamp(20px,6vw,75px);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;min-height:450px}.reader-title{font:38px 'DM Serif Display';text-align:center;margin-bottom:7px}.reader-by{text-align:center;color:#9aa79b;font-size:12px;margin-bottom:37px}.reader-text{font:var(--font-size,19px)/1.9 Georgia,'Times New Roman',serif;white-space:pre-wrap;overflow-wrap:break-word;color:var(--text)}.reader-text p{margin:0 0 1.2em;text-indent:1.1em}.progress-wrap{max-width:770px;margin:20px auto;color:#869686;font-size:12px}.progress-track{height:6px;background:#e9eee4;border-radius:100px;overflow:hidden;margin-top:8px}.progress-bar{height:100%;background:#6d9871;transition:width .2s}.bible-head{display:flex;justify-content:space-between;align-items:end;gap:15px;flex-wrap:wrap}.bible-picker{display:flex;gap:10px;margin:23px 0;flex-wrap:wrap}.bible-picker select{padding:12px 14px;background:white;border:1px solid var(--line);border-radius:9px;min-width:180px;flex:1}.verse{font:21px/1.9 Georgia,serif;margin:0 0 14px}.verse sup{color:#8baa79;font:700 11px 'DM Sans';padding-right:9px;vertical-align:super}.loading{text-align:center;padding:70px 20px;color:#8a9b8f}.reading-shell.sepia{background:#f4e9d3;color:#513d31}.reading-shell.sepia .reader-text{color:#513d31}.reading-shell.night{background:#1e2a25;border-color:#1e2a25;color:#e6e7d9}.reading-shell.night .reader-text{color:#e6e7d9}.reading-shell.night .reader-by{color:#b4c4b8}.back{background:none;border:0;color:#698a71;padding:7px 0;font-weight:700}.mini-status{font-size:11px;color:#849489}.about{max-width:780px;line-height:1.9;color:#6f8074}.about a{color:var(--green);text-decoration:underline}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,90px);padding:13px 22px;background:#233f31;color:white;border-radius:10px;z-index:50;box-shadow:var(--shadow);opacity:0;transition:.25s;pointer-events:none}#toast.show{transform:translate(-50%,0);opacity:1}#overlay[hidden]{display:none}body.dark{--bg:#17231d;--surface:#202f26;--text:#e5eadf;--muted:#a2b1a4;--line:#344539;--green:#4f8367;--lime:#34543b;--shadow:none}body.dark .sidebar,body.dark .search,body.dark .round-btn,body.dark .pill,body.dark .bible-picker select,body.dark .reader-toolbar button,body.dark .reader-toolbar select{background:var(--surface);color:var(--text)}body.dark .side-quote,body.dark .notice{background:#2d4133}body.dark .hero{background:#365641}body.dark .hero h1,body.dark .hero p{color:#ebf2dc}body.dark .hero em{color:#b5d68c}body.dark .feature-card{background:#4c3e34}body.dark .feature-card.green{background:#2c4737}body.dark .book-info p{color:#a1b0a4}body.dark .pill.selected{background:#5e906a}body.dark .tag{background:#375340;color:#c4dbbf}@media(max-width:1150px){.sidebar{width:215px}.book-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{min-height:280px}.hero-art .art-book{transform:rotate(-12deg) scale(.85)}}@media(max-width:820px){.sidebar{position:fixed;left:-255px;transition:left .2s;width:240px;box-shadow:16px 0 30px #00000012}.sidebar.open{left:0}#overlay:not([hidden]){position:fixed;inset:0;background:#0006;z-index:11}.mobile-menu{display:block;border:0;background:transparent;color:var(--text);font-size:23px}.topbar{height:75px}.crumb{display:none}.top-actions{margin-left:auto}.search{width:min(48vw,300px)}.hero{padding:30px;grid-template-columns:1fr .55fr;min-height:275px}.hero-art .art-book{transform:rotate(-12deg) scale(.66)}.art-orb{right:-35px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.feature-row{grid-template-columns:1fr 1fr}.footer{flex-wrap:wrap}.detail{grid-template-columns:180px 1fr;gap:25px}.detail .cover{width:180px}}@media(max-width:560px){main{padding:21px 17px 43px}.topbar{padding:0 17px}.top-actions{gap:8px}.search{width:44vw}.search kbd{display:none}.avatar{display:none}.hero{display:block;padding:33px 25px;min-height:298px}.hero h1{font-size:43px;max-width:280px;margin-top:13px}.hero p{max-width:260px}.hero-art{position:absolute;right:-80px;bottom:-75px;min-height:180px;width:170px;opacity:.65;pointer-events:none}.hero-art .art-book{transform:rotate(-12deg) scale(.56)}.hero .primary{position:relative;z-index:2}.section{margin-top:29px}.section-heading h2{font-size:27px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 17px}.cover-title{font-size:24px}.feature-row{grid-template-columns:1fr}.feature-card{min-height:145px}.detail{grid-template-columns:1fr;gap:23px}.detail .cover{width:min(55vw,220px)}.detail h1{font-size:40px}.reading-shell{padding:28px 21px;margin-top:15px}.reader-toolbar{gap:14px}.bible-picker select{min-width:130px}.footer{font-size:10px}}

/* V1.1: hierarquia e legibilidade dos textos */
.hero h1{max-width:620px;text-wrap:balance;line-height:1.08}
.hero p{max-width:490px;font-size:14px;line-height:1.75;color:#526f5c}
.section-heading h2,.page-title{line-height:1.18;text-wrap:balance}
.section-heading p{max-width:560px;font-size:13px;line-height:1.6;color:#728376}
.intro{max-width:820px;margin-bottom:26px}
.intro p{max-width:660px;font-size:14px;line-height:1.7}
.feature-card h3{line-height:1.18;text-wrap:balance}
.feature-card p{font-size:13px;line-height:1.7;color:#697e6f}
.book-info h3{line-height:1.42;overflow-wrap:anywhere}
.side-quote{font-size:17px;line-height:1.45}
.footer{line-height:1.6}
@media(max-width:650px){.hero p{font-size:13px}.section-heading{align-items:start}.section-heading h2{font-size:27px}.feature-card p{font-size:12px}.intro p{font-size:13px}}

/* Leitor paginado e marcações — V1.2 */
.reader-actions{max-width:770px;margin:12px auto;display:flex;flex-wrap:wrap;align-items:center;gap:9px}.reader-actions .mini-status{margin-left:auto}.reader-pagination{max-width:770px;margin:18px auto 40px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:700;font-size:12px;color:var(--muted)}.reader-pagination button:disabled{opacity:.4;cursor:not-allowed}.reading-shell{min-height:510px}.reader-text{white-space:normal}.reader-text p{white-space:normal}.reader-text .marked-p{background:rgba(216,193,100,.2);border-radius:4px}.selection-tools{text-align:center;margin:16px 0}.selection-tools[hidden],.mark-panel[hidden]{display:none}.mark-panel{max-width:770px;margin:13px auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:19px}.mark-panel h3{margin:0 0 15px;font:23px 'DM Serif Display',serif}.mark-list{display:grid;gap:9px}.mark-list>div{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:8px 0}.mark-link{border:0;background:transparent;color:var(--text);flex:1;text-align:left;cursor:pointer;line-height:1.6}.mark-link small{color:var(--muted)}.remove-mark{border:1px solid var(--line);background:transparent;border-radius:6px;color:var(--text);font-size:20px;padding:3px 10px}.reader-text p::selection{background:#d6cc85;color:#25362c}@media(max-width:560px){.reader-actions .mini-status{width:100%;margin-left:0}.reader-pagination{gap:5px}.reader-pagination button{padding:10px 12px;font-size:11px}}

/* V1.5 — capas do acervo e paginação de catálogo */
.cover{position:relative;overflow:hidden}.cover .source-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2}.cover .source-cover:not([src]){display:none}.catalog-more{text-align:center;padding:35px 12px}.catalog-more button{min-width:190px}

/* V1.6: menu contextual fixo sobre o texto selecionado */
.selection-tools{position:fixed!important;z-index:1000;display:flex;gap:3px;padding:5px;background:#20382b;color:white;border-radius:10px;box-shadow:0 12px 35px #0005;max-width:calc(100vw - 16px);margin:0!important}
.selection-tools button{border:0;background:transparent;color:white;border-radius:6px;padding:9px 12px;font:600 12px 'DM Sans',sans-serif;white-space:nowrap}
.selection-tools button:hover{background:#ffffff25}
.reader-highlight{background:#e3d27a;color:#263322;border-radius:2px;padding:1px 0}
.reading-start{outline:2px solid #b7bb6c;outline-offset:8px;border-radius:4px}
.reader-text{white-space:normal;overflow-wrap:break-word}
.reader-text p{white-space:pre-wrap}

/* V1.16 — leitura aberta, sem moldura ou folha artificial */
body.reading-mode main{max-width:none;padding:0 clamp(16px,2.8vw,54px) 36px}
body.reading-mode .reading-shell{width:100%;max-width:none;margin:0;padding:clamp(20px,3vw,50px) 0 12px;min-height:0;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.reading-mode .reader-text{width:100%;max-width:none;line-height:1.85}
body.reading-mode .reader-pagination{max-width:none;margin:24px 0 32px;padding:16px 0;border-top:1px solid var(--line)}
body.reading-mode #pageCounter{display:none}
body.reading-mode .reading-shell.sepia{background:transparent!important}
body.reading-mode .reading-shell.night{background:transparent!important}
@media(max-width:560px){body.reading-mode main{padding:0 17px 25px}body.reading-mode .reading-shell{padding:19px 0 8px}body.reading-mode .reader-text{font-size:var(--font-size,19px);line-height:1.8}}

/* V1.17 — leitura contínua sem botões ou paginação artificial */
body.reading-mode .reader-pagination{display:none!important}
body.reading-mode .reader-section{margin:0;padding:0}
body.reading-mode .reader-section + .reader-section{margin-top:0}
body.reading-mode .reader-section p:first-child{margin-top:0}

/* V1.18: leitura integral, contínua e sem moldura */
body.reading-mode .reader-text .chapter-heading{font-weight:700;font-size:1.22em;text-indent:0;margin:1.8em 0 .7em}body.reading-mode .reader-section{overflow:visible;max-height:none;height:auto;content-visibility:visible}body.reading-mode .reader-text{overflow:visible;max-height:none;height:auto}

/* Imagens originais inseridas entre os trechos da obra, sem moldura. */
.reader-illustration{margin:1.8rem auto;text-align:center;max-width:100%;}
.reader-illustration img{display:block;max-width:min(100%,850px);width:auto;height:auto;max-height:85vh;object-fit:contain;margin:auto;}

/* AURORA V1.22 — Tipografia editorial; sem alterar HTML dos livros ou marcações. */
body.reading-mode .reader-text {
  font-family: 'Literata', Georgia, 'Times New Roman', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-kerning: normal;
  font-size: var(--font-size, 19px);
  line-height: 1.9;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
body.reading-mode .reader-text p:not(.chapter-heading) {
  text-align: left;
  text-indent: 0;
  margin: 0 0 1.1em;
  white-space: normal;
}
body.reading-mode .reader-text .chapter-heading {
  display: block;
  width: 100%;
  text-align: center;
  text-indent: 0;
  font-family: 'Literata', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.2em, 2vw, 1.55em);
  line-height: 1.4;
  letter-spacing: .005em;
  margin: 2.2em auto 1.2em;
  padding: 0 min(4vw, 30px);
  text-wrap: balance;
}
body.reading-mode .reader-section:first-child .chapter-heading:first-child {margin-top: .6em;}
@media (max-width: 560px) {
  body.reading-mode .reader-text {line-height: 1.8;}
  body.reading-mode .reader-text .chapter-heading {font-size: 1.28em;margin: 1.8em auto 1em;}
}
