:root {
  --site-root-size: 16px;
  --navy-950: #021a31;
  --navy-900: #063a72;
  --navy-800: #07509a;
  --teal-800: #034889;
  --teal-700: #0259b1;
  --teal-100: #e5f1fc;
  --orange-600: #c65300;
  --orange-500: #fe7e13;
  --orange-100: #fff0e2;
  --gold-600: #a96b16;
  --gold-100: #f4e4c2;
  --wine-700: #773248;
  --red-700: #963c35;
  --red-100: #f5e3df;
  --paper: #f5f8fb;
  --surface: #ffffff;
  --surface-2: #eaf1f7;
  --ink: #24394d;
  --ink-strong: #082c52;
  --muted: #5d7184;
  --line: #d5e0ea;
  --line-strong: #afc3d5;
  --shadow: 0 24px 70px rgba(2, 48, 91, .14);
  --shadow-soft: 0 9px 30px rgba(2, 48, 91, .09);
  --portal-width: 1180px;
  --gutter: clamp(16px, 4vw, 28px);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 280px; scroll-behavior: smooth; background: var(--paper); font-size: var(--site-root-size); text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-wrap: break-word; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
img { display: block; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--orange-600); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.portal-shell { min-height: 100vh; overflow-x: clip; background: var(--paper); }
.portal-container { width: min(var(--portal-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange-600); font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; cursor: pointer; font-size: .76rem; font-weight: 800; }
.button.large { min-height: 50px; padding: 13px 20px; }
.button.primary { color: #fff; border-color: var(--teal-700); background: var(--teal-700); }
.button.primary:hover { background: var(--teal-800); }
.button.secondary { color: var(--ink-strong); border-color: var(--line-strong); background: var(--surface); }
.button.purchase { color: #fff; background: var(--orange-600); }
.text-link { color: var(--teal-700); text-underline-offset: 3px; font-weight: 750; }
.text-link.arrow { text-decoration: none; white-space: nowrap; }

/* Cabeçalho público */
.site-header { position: sticky; z-index: 200; top: 0; padding-top: env(safe-area-inset-top); border-bottom: 1px solid rgba(2,89,177,.13); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
.site-header-inner { width: min(var(--portal-width), calc(100% - var(--gutter) * 2)); min-height: 76px; display: flex; align-items: center; gap: 12px; margin: auto; }
.site-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink-strong); text-decoration: none; }
.site-brand > span:last-child { min-width: 0; }
.site-brand strong, .site-brand small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-brand strong { font-size: .78rem; letter-spacing: .045em; text-transform: uppercase; }
.site-brand small { margin-top: 3px; color: var(--muted); font-size: .64rem; }
.brand-logo { width: 64px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: #fff; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.site-nav > a, .site-nav summary { min-height: 40px; display: flex; align-items: center; gap: 5px; padding: 0 11px; border-radius: 8px; color: var(--muted); text-decoration: none; cursor: pointer; list-style: none; font-size: .72rem; font-weight: 750; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav > a:hover, .site-nav summary:hover, .site-nav > a.active, .site-nav details.active > summary { color: var(--ink-strong); background: var(--teal-100); }
.site-nav details { position: relative; }
.site-nav details > div { position: absolute; top: calc(100% + 10px); left: 0; width: 230px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.site-nav details:not([open]) > div { display: none; }
.site-nav details > div a { padding: 11px; border-radius: 7px; color: var(--ink); text-decoration: none; font-size: .73rem; }
.site-nav details > div a:hover { background: var(--surface-2); }
.site-nav .nav-search { margin-left: 4px; border: 1px solid var(--line); }
.mobile-menu-button { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 0; border-radius: 8px; background: transparent; }
.mobile-menu-button span { display: block; height: 2px; margin: 4px 0; background: var(--ink-strong); }
.mobile-font-controls { display: none; align-items: center; margin-left: auto; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.mobile-font-controls button { width: 44px; height: 44px; border: 0; color: var(--navy-900); background: transparent; font-size: .72rem; font-weight: 850; }
.mobile-font-controls button + button { border-left: 1px solid var(--line); }
.site-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; margin-left: 8px; }
.font-sizer { min-height: 40px; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.font-sizer > span { min-width: 0; padding: 0 9px; overflow: hidden; color: var(--muted); font-size: .6rem; font-weight: 750; white-space: nowrap; text-overflow: ellipsis; }
.font-sizer button, .font-sizer output { min-width: 36px; height: 38px; display: grid; place-items: center; border: 0; border-left: 1px solid var(--line); color: var(--navy-900); background: transparent; font-size: .65rem; font-weight: 850; }
.font-sizer button { cursor: pointer; }
.font-sizer button:hover, .mobile-font-controls button:hover { background: var(--teal-100); }
.font-sizer button:disabled, .mobile-font-controls button:disabled { opacity: .35; cursor: not-allowed; }
.font-sizer .font-reset { width: auto; padding: 0 8px; color: var(--muted); font-size: .56rem; }
.header-install { min-height: 40px; padding: 0 11px; border: 1px solid var(--orange-500); border-radius: 9px; color: var(--navy-950); background: var(--orange-100); cursor: pointer; font-size: .64rem; font-weight: 850; white-space: nowrap; }
.header-install.ready { background: var(--orange-500); }
.install-guidance { flex-basis: 100%; max-width: 390px; padding: 8px 10px; border-left: 3px solid var(--orange-500); color: var(--muted); background: var(--orange-100); font-size: .62rem; line-height: 1.45; }

/* Página inicial */
.portal-hero { position: relative; min-height: 650px; display: grid; align-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 86% 14%, rgba(2,89,177,.7), transparent 34%), radial-gradient(circle at 8% 100%, rgba(254,126,19,.32), transparent 31%), linear-gradient(135deg, var(--navy-950), var(--navy-900)); }
.portal-hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.hero-grid { width: min(var(--portal-width), calc(100% - var(--gutter) * 2)); display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; margin: auto; padding: 80px 0; position: relative; z-index: 1; }
.hero-copy { max-width: 690px; }
.hero-copy .eyebrow { color: #ffb56f; }
.hero-copy h1 { max-width: 700px; margin: 21px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 7vw, 6.25rem); line-height: .91; letter-spacing: -.052em; overflow-wrap: normal; word-break: normal; hyphens: auto; }
.hero-copy h1 em { display: block; color: var(--orange-500); font-style: normal; }
.hero-copy > p { max-width: 620px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.portal-hero .button.primary { color: var(--navy-950); border-color: var(--orange-500); background: var(--orange-500); }
.portal-hero .button.primary:hover { background: #ff9a47; }
.install-button { min-height: 50px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 17px; border: 1px solid rgba(255,255,255,.32); border-radius: 9px; color: #fff; background: rgba(255,255,255,.07); cursor: pointer; font-size: .75rem; font-weight: 800; }
.install-button:hover { background: rgba(255,255,255,.13); }
.install-button.compact { min-height: 42px; color: var(--ink-strong); border-color: var(--line); background: var(--surface-2); }
.installed-pill { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 999px; color: #d8eaff; background: rgba(255,255,255,.08); font-size: .72rem; font-weight: 750; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 42px; color: rgba(255,255,255,.58); font-size: .66rem; }
.hero-proof span { display: grid; gap: 3px; }
.hero-proof b { color: #fff; font-size: .72rem; }
.hero-library { min-height: 510px; position: relative; perspective: 1200px; }
.shelf-book { position: absolute; display: flex; flex-direction: column; padding: 34px 28px; border-radius: 7px 14px 14px 7px; color: #fff; text-decoration: none; box-shadow: -10px 25px 55px rgba(0,0,0,.3), inset 5px 0 0 rgba(255,255,255,.08); transform-origin: bottom; }
.shelf-book::after { content: ""; position: absolute; inset: 0 auto 0 15px; width: 1px; background: rgba(255,255,255,.16); }
.shelf-book span { font-size: .62rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.shelf-book b { margin-top: 22px; font-family: Georgia, serif; font-size: 1.25rem; }
.shelf-book strong { margin-top: auto; font-family: Georgia, serif; font-size: 1.9rem; line-height: 1.03; }
.shelf-book small { margin-top: 19px; color: rgba(255,255,255,.66); font-size: .64rem; }
.shelf-book.front { z-index: 3; inset: 15px 5% 35px 21%; background: linear-gradient(145deg, #0870d4, #063a72); transform: rotateY(-5deg) rotateZ(1deg); }
.shelf-book.middle { z-index: 2; inset: 65px 0 10px 42%; background: linear-gradient(145deg, #fe7e13, #a84200); transform: rotateY(-10deg) rotateZ(5deg); }
.shelf-book.back { z-index: 1; inset: 95px 32% 0 0; background: linear-gradient(145deg, #07509a, #021a31); transform: rotateY(8deg) rotateZ(-7deg); }
.shelf-line { position: absolute; z-index: 5; left: -10%; right: -10%; bottom: 0; height: 15px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 18px 30px rgba(0,0,0,.35); }
.portal-section { padding: 82px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 30px; }
.section-heading > div { max-width: 760px; }
.section-heading h2, .page-hero h1, .author-intro h2, .solutions-principle h2 { margin: 10px 0 13px; color: var(--ink-strong); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.045em; }
.section-heading p, .page-hero > p { max-width: 710px; margin: 0; color: var(--muted); line-height: 1.7; }
.continue-strip { display: grid; grid-template-columns: 1fr 180px auto; gap: 26px; align-items: center; margin-top: -30px; padding: 22px 25px; position: relative; z-index: 10; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.continue-strip > div:first-child span { color: var(--orange-600); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.continue-strip h2 { margin: 7px 0 2px; color: var(--ink-strong); font-size: 1.05rem; }
.continue-strip p { margin: 0; color: var(--muted); font-size: .78rem; }
.continue-meter { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.continue-meter b { color: var(--teal-700); font-size: .77rem; }
.continue-meter i, .card-progress i, .book-completion > i { height: 6px; display: block; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.continue-meter em, .card-progress em, .book-completion em { height: 100%; display: block; border-radius: inherit; background: var(--teal-700); }

/* Cartões editoriais */
.book-card { display: grid; grid-template-columns: 310px 1fr; min-height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.book-cover, .detail-cover { position: relative; display: flex; flex-direction: column; padding: 32px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: inset 8px 0 0 rgba(255,255,255,.06); }
.book-cover::before, .detail-cover::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 35px 35px; }
.tone-teal { background: linear-gradient(145deg, #0870d4, #063a72); }
.tone-navy { background: linear-gradient(145deg, #07509a, #021a31); }
.tone-orange { background: linear-gradient(145deg, #fe7e13, #9f3f00); }
.tone-earth { background: linear-gradient(145deg, #78613f, #342d27); }
.book-cover > *, .detail-cover > * { position: relative; z-index: 1; }
.book-cover > span, .detail-cover > span { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.book-cover > b, .detail-cover > b { margin-top: 24px; color: #ffb56f; font-family: Georgia, serif; font-size: 1.4rem; }
.book-cover > strong, .detail-cover > strong { margin-top: auto; font-family: Georgia, serif; font-size: 2rem; line-height: 1.03; }
.book-cover > small, .detail-cover > small { margin-top: 24px; color: rgba(255,255,255,.65); }
.uploaded-cover { position: absolute !important; z-index: 2 !important; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.book-card-copy { display: flex; flex-direction: column; padding: clamp(26px, 5vw, 54px); }
.card-kicker { color: var(--orange-600); font-size: .65rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.book-card-copy h3 { margin: 13px 0 12px; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.02; }
.book-card-copy h3 a { color: var(--ink-strong); text-decoration: none; }
.book-card-copy > p { max-width: 670px; margin: 0; color: var(--muted); line-height: 1.7; }
.card-progress { max-width: 480px; margin-top: 24px; }
.card-progress > div { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: .66rem; }
.book-card-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: auto; padding-top: 28px; }
.book-card-actions .text-link { margin-left: 5px; font-size: .72rem; }
.future-volumes, .post-grid, .solution-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.future-volumes article { padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,253,248,.68); }
.future-volumes article > span, .post-card > span, .solution-strip article > span { color: var(--orange-600); font-size: .62rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.future-volumes h3, .solution-strip h3 { margin: 13px 0 9px; color: var(--ink-strong); font-family: Georgia, serif; font-size: 1.25rem; }
.future-volumes p, .solution-strip p { margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.55; }
.future-volumes article > b, .solution-strip article > b { display: block; margin-top: 20px; color: var(--teal-700); font-size: .6rem; text-transform: uppercase; }
.blog-home { background: var(--surface-2); }
.post-card { min-height: 270px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.post-card h3, .post-card h2 { margin: 16px 0 11px; font-family: Georgia, serif; font-size: 1.3rem; line-height: 1.18; }
.post-card h3 a, .post-card h2 a { color: var(--ink-strong); text-decoration: none; }
.post-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.post-card > a { margin-top: auto; padding-top: 20px; color: var(--teal-700); font-size: .72rem; font-weight: 800; }
.post-card > div { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-top: auto; padding-top: 20px; }
.post-card > div small { color: var(--muted); }
.post-card > div a { color: var(--teal-700); font-size: .72rem; font-weight: 800; }
.author-intro { display: grid; grid-template-columns: 290px 1fr; gap: 55px; align-items: center; }
.author-intro > div:last-child { max-width: 740px; }
.author-intro > div:last-child > p { color: var(--muted); line-height: 1.75; }
.author-seal { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; position: relative; background: var(--surface); box-shadow: var(--shadow-soft); }
.author-seal::before, .author-seal::after { content: ""; position: absolute; inset: 13px; border: 1px solid var(--line); border-radius: 50%; }
.author-seal::after { inset: 40%; background: var(--orange-500); border: 0; }
.author-seal span { color: var(--ink-strong); font-family: Georgia, serif; font-size: 3.5rem; }
.author-seal i { position: absolute; bottom: 42px; color: var(--muted); text-align: center; font-size: .58rem; font-style: normal; line-height: 1.45; text-transform: uppercase; }
.solutions-home { color: #fff; background: var(--navy-900); }
.solutions-home .section-heading h2 { color: #fff; }
.solutions-home .section-heading p { color: rgba(255,255,255,.6); }
.solutions-home .text-link { color: #ffb56f; }
.solution-strip { grid-template-columns: repeat(4, 1fr); }
.solution-strip article { padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); }
.solution-strip article > span { color: #ffb56f; }
.solution-strip h3 { color: #fff; }
.solution-strip p { color: rgba(255,255,255,.59); }
.solution-strip article > b { color: #b8d9fa; }
.solution-link { display: block; margin-top: 20px; color: #ffb56f; font-size: .66rem; font-weight: 800; }

/* Páginas internas */
.page-hero { padding-top: 85px; padding-bottom: 45px; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.8rem, 7vw, 5.7rem); }
.page-hero.compact { padding-bottom: 10px; }
.page-hero form { max-width: 760px; margin-top: 28px; }
.page-hero form > label { display: block; margin-bottom: 8px; color: var(--ink-strong); font-size: .72rem; font-weight: 800; }
.page-hero form > div { display: flex; }
.page-hero input { min-width: 0; flex: 1; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 9px 0 0 9px; color: var(--ink); background: var(--surface); }
.page-hero form button { padding: 0 22px; border: 0; border-radius: 0 9px 9px 0; color: #fff; background: var(--teal-700); font-weight: 800; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.catalog-toolbar > div { display: flex; gap: 7px; align-items: baseline; }
.catalog-toolbar > div b { color: var(--teal-700); font-size: 2rem; }
.catalog-toolbar > div span, .catalog-toolbar label { color: var(--muted); font-size: .7rem; }
.catalog-toolbar label { display: grid; gap: 5px; }
.catalog-toolbar input { width: 250px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.book-catalog { display: grid; gap: 20px; }
.collection-roadmap { margin-top: 70px; padding: 35px; border-radius: 16px; background: var(--navy-900); color: #fff; }
.collection-roadmap > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 25px; background: rgba(255,255,255,.12); }
.collection-roadmap article { min-height: 190px; padding: 23px; background: var(--navy-900); }
.collection-roadmap b { color: #ffb56f; font-size: .7rem; }
.collection-roadmap h2 { margin: 14px 0 8px; font-family: Georgia, serif; }
.collection-roadmap p { color: rgba(255,255,255,.6); font-size: .8rem; line-height: 1.55; }
.book-detail-hero { padding: 72px 0; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.book-detail-grid { display: grid; grid-template-columns: 330px 1fr; gap: 60px; align-items: center; }
.detail-cover { aspect-ratio: .72; border-radius: 7px 16px 16px 7px; box-shadow: -12px 25px 50px rgba(0,0,0,.3); }
.book-detail-copy { max-width: 730px; }
.book-detail-copy .eyebrow { color: #ffb56f; }
.book-detail-copy h1 { margin: 16px 0 10px; font-family: Georgia, serif; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .93; letter-spacing: -.055em; }
.detail-subtitle { color: #ffb56f !important; font-family: Georgia, serif; font-size: 1.35rem; }
.book-detail-copy > p { color: rgba(255,255,255,.68); line-height: 1.65; }
.book-detail-copy dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 28px 0; background: rgba(255,255,255,.12); }
.book-detail-copy dl div { padding: 13px; background: var(--navy-900); }
.book-detail-copy dt { color: rgba(255,255,255,.48); font-size: .62rem; text-transform: uppercase; }
.book-detail-copy dd { margin: 5px 0 0; font-size: .75rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.book-summary { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.book-summary > div:first-child { position: sticky; top: 100px; }
.book-summary h2 { margin: 10px 0 13px; color: var(--ink-strong); font-family: Georgia, serif; font-size: 2.5rem; line-height: 1.02; }
.book-summary > div:first-child p { color: var(--muted); line-height: 1.7; }
.book-summary ol { margin: 0; padding: 0; list-style: none; }
.book-summary li a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 17px 10px; border-bottom: 1px solid var(--line); text-decoration: none; }
.book-summary li a:hover { background: var(--surface); }
.book-summary li b { color: var(--orange-600); font-size: .7rem; }
.book-summary li strong { display: block; color: var(--ink-strong); font-family: Georgia, serif; }
.book-summary li small { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.book-summary li em { color: var(--muted); font-size: .65rem; font-style: normal; }
.development-box { grid-column: 2; padding: 20px; border-radius: 11px; background: var(--gold-100); }
.development-box span { color: var(--gold-600); font-size: .65rem; font-weight: 850; text-transform: uppercase; }
.development-box p { margin: 8px 0; font-size: .78rem; line-height: 1.55; }
.development-box a { color: var(--teal-700); font-size: .72rem; font-weight: 800; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.blog-filter button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); }
.blog-filter button.active { color: #fff; border-color: var(--teal-700); background: var(--teal-700); }
.post-grid.large .highlight { grid-column: span 2; }
.blog-article { width: min(780px, calc(100% - var(--gutter) * 2)); margin: 0 auto; padding: 70px 0; }
.blog-article > header nav { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 35px; color: var(--muted); font-size: .68rem; }
.blog-article > header h1 { margin: 16px 0; color: var(--ink-strong); font-family: Georgia, serif; font-size: clamp(2.8rem, 7vw, 5.3rem); line-height: .94; letter-spacing: -.05em; }
.blog-article > header > p { color: var(--muted); font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.55; }
.blog-article > header > div { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 24px; color: var(--muted); font-size: .66rem; }
.article-body { margin-top: 50px; font-family: Georgia, serif; font-size: 1.08rem; line-height: 1.8; }
.article-body h2 { margin: 2.1em 0 .6em; color: var(--ink-strong); font-size: 1.7rem; line-height: 1.15; }
.article-body .lead { color: var(--ink-strong); font-size: 1.2em; }
.article-body blockquote { margin: 2em 0; padding: 22px 25px; border-left: 4px solid var(--orange-500); background: var(--orange-100); color: var(--ink-strong); font-size: 1.2em; }
.reader-callout { margin: 2em 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.reader-callout strong { color: var(--teal-700); font-family: Arial, sans-serif; font-size: .7rem; text-transform: uppercase; }
.blog-article > footer { margin-top: 55px; padding: 28px; border-radius: 13px; color: #fff; background: var(--navy-900); }
.blog-article > footer p { color: rgba(255,255,255,.65); }
.related-reading { padding-bottom: 70px; }
.related-reading > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.related-reading article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.related-reading article > span { color: var(--orange-600); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.related-reading h2 { font-family: Georgia, serif; }
.related-reading h2 a { text-decoration: none; }
.related-reading p { color: var(--muted); font-size: .8rem; line-height: 1.55; }
.about-hero { padding: 75px 0; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: center; }
.about-grid h1 { max-width: 780px; margin: 15px 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 5.7rem); line-height: .92; letter-spacing: -.05em; }
.about-grid p { color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.65; }
.about-grid .eyebrow { color: #ffb56f; }
.about-monogram { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; position: relative; }
.about-monogram span { font-family: Georgia, serif; font-size: 4rem; }
.about-monogram small { position: absolute; bottom: 42px; color: rgba(255,255,255,.55); font-size: .58rem; text-transform: uppercase; }
.about-content { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; }
.about-content article { font-family: Georgia, serif; font-size: 1.07rem; line-height: 1.8; }
.about-content h2 { margin-top: 1.8em; color: var(--ink-strong); font-size: 1.8rem; }
.about-content h2:first-child { margin-top: 0; }
.about-content blockquote { margin: 2em 0; padding: 23px; border-left: 4px solid var(--orange-500); background: var(--orange-100); font-size: 1.18em; }
.about-content aside { display: grid; gap: 13px; align-content: start; }
.about-content aside > div { padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.about-content aside span { color: var(--orange-600); font-size: .65rem; font-weight: 850; text-transform: uppercase; }
.about-content aside ul { padding-left: 18px; color: var(--muted); line-height: 1.8; }
.about-content aside p { color: var(--muted); line-height: 1.6; }
.editorial-method { padding: 80px 0; background: var(--surface-2); }
.editorial-method h2 { max-width: 720px; margin: 12px 0 30px; color: var(--ink-strong); font-family: Georgia, serif; font-size: 2.8rem; }
.editorial-method .portal-container > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.editorial-method article { padding: 24px; background: var(--surface); }
.editorial-method article b { color: var(--orange-600); font-size: .65rem; }
.editorial-method article h3 { font-family: Georgia, serif; }
.editorial-method article p { color: var(--muted); font-size: .8rem; line-height: 1.55; }
.solution-catalog { display: grid; gap: 10px; }
.solution-catalog article { display: grid; grid-template-columns: 55px 1fr auto; gap: 22px; align-items: center; padding: 25px; scroll-margin-top: 90px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.solution-catalog article > b { color: var(--orange-600); font-size: .7rem; }
.solution-catalog article span { color: var(--teal-700); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.solution-catalog h2 { margin: 7px 0; color: var(--ink-strong); font-family: Georgia, serif; }
.solution-catalog p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.solution-catalog em { padding: 7px 10px; border-radius: 999px; color: var(--teal-700); background: var(--teal-100); font-size: .6rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.solution-cta { padding: 9px 11px; border-radius: 8px; color: #fff; background: var(--teal-700); text-decoration: none; white-space: nowrap; font-size: .66rem; font-weight: 800; }
.solutions-principle { margin-top: 50px; padding: 35px; border-radius: 15px; color: #fff; background: var(--navy-900); }
.solutions-principle h2 { color: #fff; font-size: 2.8rem; }
.solutions-principle p { max-width: 800px; color: rgba(255,255,255,.65); line-height: 1.65; }
.search-results { display: grid; gap: 10px; padding-top: 30px; }
.search-results > div:first-child { display: flex; gap: 8px; align-items: baseline; margin-bottom: 10px; }
.search-results > div:first-child b { color: var(--teal-700); font-size: 1.6rem; }
.search-results > div:first-child span { color: var(--muted); }
.search-results article { padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.search-results article > span { color: var(--orange-600); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.search-results article h2 { margin: 9px 0; font-family: Georgia, serif; }
.search-results article h2 a { text-decoration: none; }
.search-results article p { color: var(--muted); font-size: .82rem; }
.search-results article > a { color: var(--teal-700); font-size: .72rem; font-weight: 800; }
.empty-search { padding: 30px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); text-align: center; }

/* Leitor central */
.reader-app { --reader-paper: #f5f8fb; --reader-surface: #fff; --reader-ink: #17334f; --reader-muted: #617487; --reader-line: #ccdbe8; --reader-accent: #0259b1; min-height: 100vh; color: var(--reader-ink); background: var(--reader-paper); font-family: Georgia, "Times New Roman", serif; }
.reader-app[data-reader-theme="light"] { --reader-paper: #f2f4f3; --reader-surface: #fff; --reader-ink: #26343a; --reader-muted: #68767b; --reader-line: #d8dddd; }
.reader-app[data-reader-theme="dark"] { --reader-paper: #021a31; --reader-surface: #06305a; --reader-ink: #e9f3fc; --reader-muted: #a9bfd3; --reader-line: #285b89; --reader-accent: #ff9a47; color-scheme: dark; }
.reader-app[data-reader-font="sans"] { font-family: Arial, Helvetica, sans-serif; }
.reader-progress-line { position: fixed; z-index: 510; top: 0; left: 0; height: 3px; max-width: 100%; background: var(--orange-500); }
.book-reader-bar { position: sticky; z-index: 500; top: 0; height: 64px; display: flex; align-items: center; gap: 9px; padding: 0 max(10px, env(safe-area-inset-left)); color: #fff; background: rgba(2,26,49,.97); backdrop-filter: blur(15px); }
.reader-icon-button, .reader-bar-tools button { width: 42px; height: 42px; border: 0; border-radius: 8px; color: #fff; background: transparent; cursor: pointer; }
.reader-icon-button:hover, .reader-bar-tools button:hover { background: rgba(255,255,255,.1); }
.book-reader-brand { min-width: 0; display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.reader-logo { width: 45px; height: 32px; border-radius: 5px; }
.book-reader-brand > span:last-child { min-width: 0; }
.book-reader-brand strong, .book-reader-brand small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-reader-brand strong { font: 800 .69rem Arial, sans-serif; text-transform: uppercase; }
.book-reader-brand small { max-width: min(48vw, 480px); margin-top: 2px; color: rgba(255,255,255,.62); font: 500 .6rem Arial, sans-serif; }
.reader-bar-tools { display: flex; gap: 2px; margin-left: auto; }
.reader-bar-tools button { width: auto; min-width: 42px; padding: 0 9px; font: 750 .67rem Arial, sans-serif; }
.reader-bar-tools button span { margin-left: 5px; }
.reader-install-notice { position: sticky; z-index: 490; top: 64px; margin: 0; padding: 10px max(16px, var(--gutter)); border-bottom: 1px solid #ffc48d; color: #5f320b; background: #fff0e2; text-align: center; font: 700 .68rem/1.4 Arial, sans-serif; }
.reader-page-wrap { min-height: calc(100vh - 64px); padding: clamp(25px, 6vw, 75px) var(--gutter) 110px; }
.reader-page { width: min(780px, 100%); margin: 0 auto; padding: clamp(25px, 5vw, 55px); border: 1px solid var(--reader-line); border-radius: 3px; background: var(--reader-surface); box-shadow: 0 18px 60px rgba(0,0,0,.1); font-size: calc(1.02rem * var(--reader-scale)); line-height: 1.78; }
.reader-chapter-head { padding-bottom: 32px; border-bottom: 1px solid var(--reader-line); }
.reader-chapter-head > div { display: flex; flex-wrap: wrap; gap: 9px; color: var(--reader-accent); font: 800 .62rem Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.reader-chapter-head h1 { margin: 18px 0 14px; color: var(--reader-ink); font-size: clamp(2.4rem, 7vw, 4.7rem); line-height: .96; letter-spacing: -.045em; }
.reader-chapter-head > p { margin: 0; color: var(--reader-muted); font-size: 1.14em; line-height: 1.55; }
.chapter-reading-content { margin-top: 34px; }
.chapter-reading-content h2 { margin: 2.1em 0 .62em; color: var(--reader-ink); font-size: 1.65em; line-height: 1.13; letter-spacing: -.02em; }
.chapter-reading-content h3 { margin: 1.7em 0 .55em; color: var(--reader-ink); font-size: 1.12em; line-height: 1.25; }
.chapter-reading-content p { margin: 0 0 1.08em; }
.chapter-reading-content ul, .chapter-reading-content ol { padding-left: 1.3em; }
.chapter-reading-content li { margin: .45em 0; }
.chapter-reading-content a { color: var(--reader-accent); text-underline-offset: .2em; }
.chapter-reading-content .lead { color: var(--reader-ink); font-size: 1.14em; }
.chapter-reading-content .chapter-quote { margin: 2em 0; padding: 21px 24px; border-left: 4px solid var(--orange-500); background: color-mix(in srgb, var(--gold-100) 75%, var(--reader-surface)); font-size: 1.15em; }
.scenario, .worked-example, .callout, .memory-card, .source-note, .reflection { margin: 2em 0; border-radius: 12px; }
.scenario { padding: clamp(19px, 4vw, 29px); border: 1px solid var(--reader-line); background: var(--reader-surface); box-shadow: 0 8px 25px rgba(0,0,0,.07); }
.box-label { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-600); font: 850 .62rem Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.box-label::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.dialogue { display: grid; gap: 9px; margin-top: 16px; }
.dialogue p { margin: 0; padding: 12px 14px; border-radius: 9px; background: color-mix(in srgb, var(--reader-paper) 72%, var(--reader-surface)); font-size: .92em; line-height: 1.5; }
.dialogue p:nth-child(even) { margin-left: 7%; background: color-mix(in srgb, var(--teal-100) 70%, var(--reader-surface)); }
.question-prompt { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--reader-line); }
.question-prompt strong { display: block; margin-bottom: 8px; color: var(--orange-600); }
.activity-field { width: 100%; min-height: 94px; resize: vertical; padding: 12px; border: 1px solid var(--reader-line); border-radius: 8px; color: var(--reader-ink); background: var(--reader-paper); line-height: 1.5; }
.definition-grid, .capacity-grid, .reflection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin: 1.4em 0; }
.definition-card, .capacity-grid > * { padding: 19px; border: 1px solid var(--reader-line); border-radius: 10px; background: var(--reader-surface); }
.definition-card > span { color: var(--reader-accent); font: 800 .61rem Arial, sans-serif; text-transform: uppercase; }
.definition-card h3 { margin-top: .6em; }
.memory-card { padding: 24px; color: #fff; background: var(--navy-900); }
.memory-card > span { color: #b8d9fa; font: 800 .62rem Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.memory-card > strong { display: block; margin-top: 10px; color: #fff; font-size: 1.25em; line-height: 1.4; }
.memory-card p { margin: 9px 0 0; color: rgba(255,255,255,.68); }
.worked-example { padding: 23px; border: 1px solid var(--reader-line); background: color-mix(in srgb, var(--teal-100) 56%, var(--reader-surface)); }
.worked-example .step { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; margin-top: 11px; }
.worked-example .step > b { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal-700); font: 800 .65rem Arial, sans-serif; }
.worked-example .step p { margin: 0; }
.callout { padding: 22px; border-left: 4px solid var(--orange-500); background: color-mix(in srgb, var(--orange-100) 68%, var(--reader-surface)); }
.callout.warning { border-color: var(--red-700); background: color-mix(in srgb, var(--red-100) 70%, var(--reader-surface)); }
.source-note { padding: 18px; border: 1px solid var(--reader-line); color: var(--reader-muted); background: var(--reader-paper); font-size: .8em; }
.source-note > span { color: var(--reader-accent); font: 850 .62rem Arial, sans-serif; text-transform: uppercase; }
.source-note p { margin: 7px 0 0; }
.reflection { padding: 23px; border: 1px dashed var(--reader-line); }
.reflection-grid label { display: grid; gap: 6px; color: var(--reader-ink); font-weight: 700; }
.reflection-grid small { color: var(--reader-muted); font-weight: 400; line-height: 1.45; }
.table-wrap { margin: 1.5em 0; overflow-x: auto; border: 1px solid var(--reader-line); border-radius: 10px; }
.table-wrap table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: .82em; }
.table-wrap th, .table-wrap td { padding: 12px; border-bottom: 1px solid var(--reader-line); text-align: left; vertical-align: top; }
.table-wrap th { color: var(--reader-ink); background: var(--reader-paper); font: 800 .7rem Arial, sans-serif; }
.thinking-chain { padding-left: 0 !important; list-style: none; counter-reset: chain; }
.thinking-chain li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; counter-increment: chain; }
.thinking-chain li::before { content: counter(chain, decimal-leading-zero); color: var(--orange-600); font: 850 .65rem Arial, sans-serif; }
.reader-chapter-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--reader-line); }
.reader-chapter-actions button { min-height: 42px; padding: 9px 13px; border: 1px solid var(--reader-line); border-radius: 8px; color: var(--reader-ink); background: var(--reader-surface); cursor: pointer; font: 750 .69rem Arial, sans-serif; }
.reader-chapter-actions button:first-child { color: #fff; border-color: var(--teal-700); background: var(--teal-700); }
.reader-chapter-actions button.done { color: var(--teal-700); background: var(--teal-100); }
.chapter-pager { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 35px; }
.chapter-pager button { min-height: 76px; padding: 13px; border: 1px solid var(--reader-line); border-radius: 9px; color: var(--reader-ink); background: var(--reader-paper); cursor: pointer; text-align: left; }
.chapter-pager button:last-child { text-align: right; }
.chapter-pager button:disabled { opacity: .3; cursor: default; }
.chapter-pager span, .chapter-pager b { display: block; }
.chapter-pager span { color: var(--reader-accent); font: 800 .61rem Arial, sans-serif; text-transform: uppercase; }
.chapter-pager b { margin-top: 4px; font-size: .75rem; }
.reader-side-panel { position: fixed; z-index: 720; top: 0; left: 0; bottom: 0; width: min(390px, 94vw); overflow-y: auto; color: var(--reader-ink); background: var(--reader-surface); box-shadow: none; transform: translateX(-105%); transition: transform .22s ease, box-shadow .22s ease; }
.reader-side-panel.open { transform: none; box-shadow: 25px 0 70px rgba(0,0,0,.28); }
.reader-panel-head { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 17px; border-bottom: 1px solid var(--reader-line); background: var(--reader-surface); }
.reader-panel-head span { color: var(--reader-accent); font: 800 .6rem Arial, sans-serif; text-transform: uppercase; }
.reader-panel-head strong { display: block; margin-top: 3px; font-size: .9rem; }
.reader-panel-head button { width: 40px; height: 40px; border: 0; border-radius: 8px; color: var(--reader-ink); background: var(--reader-paper); cursor: pointer; font-size: 1.3rem; }
.reader-scrim { position: fixed; z-index: 710; inset: 0; border: 0; background: rgba(2,13,20,.6); backdrop-filter: blur(2px); }
.book-completion { padding: 18px; }
.book-completion > div { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--reader-muted); font: 700 .66rem Arial, sans-serif; }
.reader-toc-list { padding: 0 10px 15px; }
.reader-toc-list button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 11px 9px; border: 0; border-radius: 8px; color: var(--reader-muted); background: transparent; cursor: pointer; text-align: left; }
.reader-toc-list button:hover, .reader-toc-list button.active { color: var(--reader-ink); background: var(--reader-paper); }
.reader-toc-list button > b { color: var(--reader-accent); font: 800 .64rem Arial, sans-serif; }
.reader-toc-list button > span { font-size: .77rem; line-height: 1.25; }
.reader-toc-list small { display: block; margin-top: 3px; color: var(--reader-muted); font: 500 .59rem Arial, sans-serif; }
.reader-toc-list i { color: var(--orange-500); font-size: .65rem; }
.panel-utility { display: grid; gap: 8px; padding: 16px; border-top: 1px solid var(--reader-line); }
.panel-utility > button, .panel-utility > a { min-height: 42px; display: flex; align-items: center; justify-content: center; padding: 9px; border: 1px solid var(--reader-line); border-radius: 8px; color: var(--reader-ink); background: var(--reader-paper); cursor: pointer; text-decoration: none; font: 750 .69rem Arial, sans-serif; }
.notes-scroll { padding: 18px; }
.notes-scroll > p { color: var(--reader-muted); font: 500 .72rem/1.5 Arial, sans-serif; }
.note-label { display: grid; gap: 7px; color: var(--reader-ink); font: 750 .7rem Arial, sans-serif; }
.note-label textarea, .pronto-note textarea { width: 100%; min-height: 105px; resize: vertical; padding: 11px; border: 1px solid var(--reader-line); border-radius: 8px; color: var(--reader-ink); background: var(--reader-paper); line-height: 1.45; }
.notes-scroll details { margin-top: 18px; border-top: 1px solid var(--reader-line); }
.notes-scroll summary { padding: 16px 0; cursor: pointer; color: var(--reader-ink); font-weight: 700; }
.pronto-note { display: block; margin-bottom: 14px; }
.pronto-note > span { display: flex; gap: 7px; align-items: center; color: var(--reader-ink); font: 750 .69rem Arial, sans-serif; }
.pronto-note > span b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal-700); }
.pronto-note small { display: block; margin: 5px 0 7px 32px; color: var(--reader-muted); font: 500 .63rem/1.35 Arial, sans-serif; }
.pronto-note textarea { min-height: 70px; }
.reader-settings { padding: 19px; font-family: Arial, sans-serif; }
.reader-settings > span { display: block; margin: 19px 0 8px; color: var(--reader-muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.reader-settings > span:first-child { margin-top: 0; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--reader-line); border-radius: 8px; }
.segmented.two { grid-template-columns: repeat(2, 1fr); }
.segmented button { min-height: 42px; border: 0; border-right: 1px solid var(--reader-line); color: var(--reader-ink); background: var(--reader-surface); cursor: pointer; font-size: .67rem; font-weight: 750; }
.segmented button:last-child { border-right: 0; }
.segmented button.selected { color: #fff; background: var(--teal-700); }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; overflow: hidden; border: 1px solid var(--reader-line); border-radius: 8px; }
.stepper button { height: 42px; border: 0; color: var(--reader-ink); background: var(--reader-paper); cursor: pointer; }
.stepper output { text-align: center; font-size: .68rem; font-weight: 750; }
.print-reader { width: 100%; min-height: 42px; margin-top: 22px; border: 1px solid var(--reader-line); border-radius: 8px; color: var(--reader-ink); background: var(--reader-paper); cursor: pointer; font-weight: 750; }
.reader-mobile-nav { display: none; }

/* Rodapé */
.site-footer { color: #fff; background: var(--navy-950); }
.footer-main { width: min(var(--portal-width), calc(100% - var(--gutter) * 2)); display: grid; grid-template-columns: 1.3fr .7fr .7fr 1fr; gap: 35px; margin: auto; padding: 60px 0; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-logo { width: 92px; height: 64px; border-radius: 8px; }
.footer-brand strong { display: block; margin-top: 8px; }
.footer-brand p, .footer-main > div:last-child p { max-width: 280px; color: rgba(255,255,255,.52); font-size: .74rem; line-height: 1.55; }
.footer-main > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.footer-main > div > span { color: #ffb56f; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.footer-main a { color: rgba(255,255,255,.68); font-size: .72rem; text-decoration: none; }
.footer-bottom { width: min(var(--portal-width), calc(100% - var(--gutter) * 2)); display: flex; justify-content: space-between; gap: 20px; margin: auto; padding: 17px 0 calc(17px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: .62rem; }

/* Estúdio editorial */
.admin-shell { min-height: 100vh; color: var(--ink); background: #eef1ef; }
.admin-topbar { min-height: 68px; display: flex; align-items: center; gap: 24px; padding: 0 clamp(16px, 3vw, 38px); border-bottom: 1px solid var(--line); background: var(--surface); }
.admin-brand { display: flex; align-items: center; gap: 11px; color: var(--ink-strong); text-decoration: none; }
.admin-logo { width: 57px; height: 40px; border: 1px solid var(--line); }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-brand small { margin-top: 3px; color: var(--muted); font-size: .64rem; }
.admin-topbar nav { display: flex; gap: 17px; align-items: center; margin-left: auto; color: var(--muted); font-size: .7rem; }
.admin-topbar nav a { color: var(--teal-700); font-weight: 800; }
.admin-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.admin-sidebar { display: flex; flex-direction: column; gap: 3px; padding: 28px 18px; border-right: 1px solid var(--line); background: #f7f8f5; }
.admin-sidebar > span { margin: 18px 10px 7px; color: #8a9898; font-size: .59rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.admin-sidebar > span:first-child { margin-top: 0; }
.admin-sidebar > a { padding: 11px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 750; }
.admin-sidebar > a.active, .admin-sidebar > a:hover { color: var(--ink-strong); background: var(--teal-100); }
.admin-sidebar > div { margin-top: auto; padding: 15px; border-radius: 11px; color: #fff; background: var(--navy-900); }
.admin-sidebar > div b { font-size: .68rem; }
.admin-sidebar > div p { margin: 8px 0 0; color: rgba(255,255,255,.62); font-size: .66rem; line-height: 1.55; }
.admin-main { width: min(980px, calc(100% - 48px)); margin: 0 auto; padding: 54px 0 100px; }
.admin-main > header { margin-bottom: 30px; }
.admin-main > header h1 { margin: 12px 0 8px; color: var(--ink-strong); font-family: Georgia, serif; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.045em; }
.admin-main > header p { max-width: 690px; margin: 0; color: var(--muted); line-height: 1.65; }
.admin-studio { display: grid; gap: 14px; }
.admin-editor-card, .admin-content-list { padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 8px 25px rgba(6,23,36,.04); }
.admin-section-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 24px; }
.admin-section-head > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--teal-700); font-size: .7rem; font-weight: 850; }
.admin-section-head h2 { margin: 1px 0 4px; color: var(--ink-strong); font-family: Georgia, serif; font-size: 1.35rem; }
.admin-section-head p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.admin-type-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.admin-type-switch button { display: grid; gap: 3px; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #f7f7f3; cursor: pointer; }
.admin-type-switch button.active { color: var(--ink-strong); border-color: var(--teal-700); background: var(--teal-100); box-shadow: inset 0 0 0 1px var(--teal-700); }
.admin-type-switch b { font-size: .78rem; }
.admin-type-switch small { font-size: .65rem; }
.admin-dropzone { min-height: 145px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 22px; border: 1.5px dashed var(--line-strong); border-radius: 12px; text-align: center; color: var(--muted); background: #fafaf7; cursor: pointer; }
.admin-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-dropzone span { color: var(--teal-700); font-size: .8rem; font-weight: 850; }
.admin-dropzone small { font-size: .66rem; }
.import-report { display: grid; grid-template-columns: repeat(3, auto 1fr); gap: 6px; align-items: baseline; margin-top: 14px; padding: 12px 15px; border-radius: 9px; color: var(--muted); background: var(--teal-100); font-size: .66rem; }
.import-report b { color: var(--teal-800); font-size: .95rem; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.admin-form-grid label, .admin-publish-bar label { min-width: 0; display: grid; gap: 6px; color: var(--ink-strong); font-size: .67rem; font-weight: 800; }
.admin-form-grid label.wide { grid-column: 1 / -1; }
.admin-form-grid input, .admin-form-grid textarea, .admin-form-grid select, .admin-publish-bar select { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; font-size: .76rem; font-weight: 400; }
.admin-form-grid textarea { resize: vertical; line-height: 1.5; }
.slug-input { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #f0f2ef; }
.slug-input i { padding-left: 11px; color: var(--muted); font-style: normal; }
.slug-input input { border: 0; background: transparent; }
.admin-form-grid .admin-check { display: flex; flex-direction: row; align-items: center; padding: 12px; border-radius: 8px; background: var(--orange-100); }
.admin-check input { width: 18px; min-height: 18px; accent-color: var(--teal-700); }
.admin-publish-bar { position: sticky; z-index: 40; bottom: 10px; display: flex; justify-content: space-between; gap: 20px; align-items: end; padding: 17px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(255,253,248,.95); box-shadow: var(--shadow); backdrop-filter: blur(13px); }
.admin-publish-bar > label { width: 210px; }
.admin-publish-bar > div { display: flex; gap: 14px; align-items: center; }
.admin-publish-bar button:disabled { opacity: .55; cursor: wait; }
.admin-message { max-width: 470px; margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.admin-message.error { color: var(--red-700); }
.admin-message.success { color: var(--teal-800); }
.admin-message a { color: inherit; font-weight: 850; white-space: nowrap; }
.admin-content-list { margin-top: 55px; }
.admin-content-list > div:last-child { display: grid; }
.admin-content-list article { display: grid; grid-template-columns: 9px 1fr auto auto; gap: 12px; align-items: center; padding: 13px 4px; border-top: 1px solid var(--line); }
.admin-content-list article b { color: var(--ink-strong); font-size: .76rem; }
.admin-content-list article small { color: var(--muted); font-size: .64rem; }
.admin-content-list article a { color: var(--teal-700); font-size: .66rem; font-weight: 800; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-600); }
.status-dot.published { background: var(--teal-700); }
.admin-empty { margin: 0; padding: 20px; border-radius: 8px; color: var(--muted); background: #f7f7f3; font-size: .72rem; }

/* Componentes do sistema PHP */
.footer-install, .link-button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; text-align: left; font: inherit; }
.footer-install { color: rgba(255,255,255,.68); font-size: .72rem; }
.link-button { color: var(--teal-700); font-weight: 800; }
.admin-topbar form { margin: 0; }
.admin-mobile-nav { display: none; }
.flash { margin: 0 0 20px; padding: 13px 16px; border: 1px solid; border-radius: 9px; font-size: .75rem; line-height: 1.5; }
.flash.success { color: var(--teal-800); border-color: #a9c8e6; background: #e5f1fc; }
.flash.error { color: var(--red-700); border-color: #e0b7b1; background: var(--red-100); }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 25px var(--gutter); background: radial-gradient(circle at 15% 15%, rgba(20,116,119,.3), transparent 30%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.auth-card { width: min(510px, 100%); padding: clamp(25px, 6vw, 48px); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.auth-card > .admin-brand { margin-bottom: 35px; }
.auth-intro > span { color: var(--orange-600); font-size: .65rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.auth-intro h1 { margin: 10px 0; color: var(--ink-strong); font-family: Georgia, serif; font-size: clamp(2.4rem, 8vw, 4.2rem); line-height: .95; letter-spacing: -.05em; }
.auth-intro p { margin: 0 0 25px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 6px; color: var(--ink-strong); font-size: .7rem; font-weight: 800; }
.auth-form input { min-height: 46px; width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; }
.auth-form small, .admin-form-grid small { color: var(--muted); font-size: .62rem; font-weight: 400; line-height: 1.45; }
.auth-form .button { width: 100%; margin-top: 6px; }
.auth-help, .auth-back { display: block; margin: 20px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.auth-back { color: var(--teal-700); font-weight: 800; }
.auth-help code, .admin-main code { padding: 2px 5px; border-radius: 4px; color: var(--ink-strong); background: var(--surface-2); }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.dashboard-grid article { min-height: 150px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.dashboard-grid span { color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.dashboard-grid b { margin: 12px 0; color: var(--ink-strong); font-family: Georgia, serif; font-size: 2.8rem; }
.dashboard-grid a, .dashboard-grid small { margin-top: auto; color: var(--teal-700); font-size: .65rem; font-weight: 800; }
.quick-actions { margin-bottom: 18px; }
.quick-actions > div:last-child, .form-submit, .admin-list-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.form-submit { margin-top: 25px; }
.admin-list-actions { justify-content: flex-end; margin: -55px 0 22px; }
.admin-content-table { display: grid; gap: 9px; }
.admin-content-table > article { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.admin-content-table h2 { margin: 5px 0; color: var(--ink-strong); font-family: Georgia, serif; font-size: 1.25rem; }
.admin-content-table span { color: var(--orange-600); font-size: .61rem; font-weight: 850; text-transform: uppercase; }
.admin-content-table p { margin: 0; color: var(--muted); font-size: .66rem; }
.content-row-actions { display: flex; gap: 8px; align-items: center; }
.content-row-actions a, .content-row-actions button { padding: 8px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--teal-700); background: transparent; cursor: pointer; text-decoration: none; font-size: .65rem; font-weight: 800; }
.content-row-actions form { margin: 0; }
.status-dot.draft { background: var(--gold-600); }
.status-dot.archived { background: #8b9697; }
.admin-dropzone.wide, .import-report.wide { grid-column: 1 / -1; }
.error-page { width: min(680px, calc(100% - var(--gutter) * 2)); min-height: 72vh; display: grid; align-content: center; justify-items: start; margin: auto; }
.error-page h1 { margin: 12px 0; color: var(--ink-strong); font-family: Georgia, serif; font-size: clamp(3rem, 9vw, 6rem); line-height: .92; letter-spacing: -.05em; }
.error-page p { max-width: 550px; margin: 0 0 22px; color: var(--muted); line-height: 1.7; }

@media (max-width: 760px) {
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-list-actions { justify-content: flex-start; margin: 0 0 18px; }
  .admin-content-table > article { grid-template-columns: 9px 1fr; }
  .content-row-actions { grid-column: 2; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .admin-mobile-nav { min-height: 47px; display: flex; gap: 4px; align-items: center; padding: 5px var(--gutter); overflow-x: auto; border-bottom: 1px solid var(--line); background: #f7f8f5; }
  .admin-mobile-nav a { flex: 0 0 auto; padding: 9px 11px; border-radius: 7px; color: var(--teal-700); text-decoration: none; font-size: .66rem; font-weight: 800; }
  .admin-mobile-nav a:hover { background: var(--teal-100); }
  .admin-layout { min-height: calc(100vh - 115px); }
}

@media (max-width: 430px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .admin-topbar { gap: 8px; }
  .admin-topbar .admin-brand small { display: none; }
}

@media (max-width: 1100px) {
  .site-header-inner { min-height: 70px; }
  .mobile-font-controls { display: flex; }
  .mobile-menu-button { display: block; flex: 0 0 auto; margin-left: 0; }
  .site-nav { position: fixed; top: calc(70px + env(safe-area-inset-top)); left: 0; right: 0; max-height: calc(100dvh - 70px - env(safe-area-inset-top)); display: none; align-content: start; gap: 4px; margin: 0; padding: 12px var(--gutter) calc(25px + env(safe-area-inset-bottom)); overflow-y: auto; border-top: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav > a, .site-nav summary { min-height: 48px; padding-inline: 12px; font-size: .78rem; }
  .site-nav details > div { position: static; width: auto; margin: 3px 0 9px 14px; border: 0; box-shadow: none; background: var(--paper); }
  .site-nav details > div a { min-height: 44px; display: flex; align-items: center; }
  .site-nav .nav-search { margin-left: 0; }
  .site-tools { order: -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; justify-content: stretch; margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .font-sizer { min-width: 0; }
  .font-sizer > span { flex: 1; }
  .font-sizer button, .font-sizer output { min-width: 44px; height: 44px; }
  .header-install { min-height: 44px; }
  .install-guidance { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-library { min-height: 430px; width: min(560px, 100%); margin-inline: auto; }
  .book-card { grid-template-columns: 250px 1fr; }
  .solution-strip { grid-template-columns: repeat(2, 1fr); }
  .author-intro { grid-template-columns: 220px 1fr; gap: 30px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .book-detail-grid { grid-template-columns: 270px 1fr; gap: 35px; }
  .book-summary { grid-template-columns: 1fr; gap: 25px; }
  .book-summary > div:first-child { position: static; }
  .development-box { grid-column: 1; }
  .about-grid { grid-template-columns: 220px 1fr; gap: 35px; }
  .about-content { grid-template-columns: 1fr; }
  .editorial-method .portal-container > div { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}

@media (max-width: 680px) {
  .site-header-inner { gap: 7px; }
  .site-brand { gap: 7px; }
  .brand-logo { width: 54px; height: 38px; }
  .site-brand strong { font-size: .69rem; letter-spacing: .025em; }
  .site-brand small { display: none; }
  .mobile-font-controls button { width: 44px; }
  .portal-hero { min-height: auto; }
  .hero-grid { gap: 34px; padding: 48px 0 34px; }
  .hero-copy { min-width: 0; max-width: 100%; }
  .hero-copy h1 { width: 100%; max-width: 100%; margin: 17px 0 20px; font-size: clamp(1.9rem, 12.8vw, 4.4rem); line-height: .96; letter-spacing: -.045em; }
  .hero-copy > p { font-size: 1rem; line-height: 1.65; }
  .hero-actions { margin-top: 25px; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
  .hero-library { min-height: 360px; }
  .shelf-book { padding: 24px 20px; }
  .shelf-book.front { inset: 0 0 30px 13%; }
  .shelf-book.middle { inset: 45px -4% 7px 43%; }
  .shelf-book.back { inset: 80px 38% 0 -3%; }
  .shelf-book strong { font-size: 1.45rem; }
  .continue-strip { grid-template-columns: 1fr; gap: 13px; margin-top: -15px; }
  .continue-meter { width: 180px; }
  .portal-section { padding: 58px 0; }
  .section-heading { display: grid; align-items: start; }
  .book-card { grid-template-columns: 1fr; }
  .book-cover { min-height: 390px; }
  .book-card-copy { min-height: 380px; padding: 25px 18px; }
  .future-volumes, .post-grid, .solution-strip { grid-template-columns: 1fr; }
  .post-grid.large .highlight { grid-column: auto; }
  .author-intro { grid-template-columns: 1fr; }
  .author-seal { width: min(270px, 80vw); }
  .book-detail-grid, .about-grid { grid-template-columns: 1fr; }
  .detail-cover, .about-monogram { width: min(310px, 84vw); margin: auto; }
  .book-detail-copy h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .book-detail-copy dl { grid-template-columns: 1fr; }
  .book-summary { padding-top: 50px; }
  .book-summary li a { grid-template-columns: 36px 1fr; }
  .book-summary li em { grid-column: 2; }
  .collection-roadmap { padding: 25px 15px; }
  .collection-roadmap > div { grid-template-columns: 1fr; }
  .catalog-toolbar { display: grid; }
  .catalog-toolbar input { width: min(100%, 320px); }
  .related-reading > div { grid-template-columns: 1fr; }
  .solution-catalog article { grid-template-columns: 38px 1fr; }
  .solution-catalog em { grid-column: 2; justify-self: start; }
  .editorial-method .portal-container > div { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .reader-bar-tools button span { display: none; }
  .reader-page-wrap { padding: 18px 6px 95px; }
  .reader-page { padding: 24px 10px; border-left: 0; border-right: 0; box-shadow: none; }
  .reader-chapter-head h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .definition-grid, .capacity-grid, .reflection-grid { grid-template-columns: 1fr; }
  .chapter-pager { grid-template-columns: 1fr; }
  .reader-chapter-actions { display: grid; }
  .reader-mobile-nav { position: fixed; z-index: 480; left: 0; right: 0; bottom: 0; min-height: calc(60px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 54px 1fr 54px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--reader-line); background: color-mix(in srgb, var(--reader-surface) 94%, transparent); backdrop-filter: blur(15px); }
  .reader-mobile-nav button { border: 0; color: var(--reader-ink); background: transparent; cursor: pointer; }
  .reader-mobile-nav button:disabled { opacity: .25; }
  .reader-mobile-nav button:nth-child(2) { min-width: 0; }
  .reader-mobile-nav b, .reader-mobile-nav span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .reader-mobile-nav b { color: var(--reader-accent); font: 800 .58rem Arial, sans-serif; }
  .reader-mobile-nav span { margin-top: 3px; font: 650 .66rem Arial, sans-serif; }
  .admin-topbar nav span { display: none; }
  .admin-main { width: min(100% - 20px, 980px); padding-top: 35px; }
  .admin-form-grid, .admin-type-switch { grid-template-columns: 1fr; }
  .admin-form-grid label.wide { grid-column: auto; }
  .import-report { overflow-x: auto; }
  .admin-publish-bar { align-items: stretch; flex-direction: column; }
  .admin-publish-bar > label { width: 100%; }
  .admin-publish-bar > div { align-items: stretch; flex-direction: column; }
  .admin-publish-bar button { width: 100%; }
  .admin-content-list article { grid-template-columns: 9px 1fr auto; }
  .admin-content-list article small { grid-column: 2; }
}

@media (max-width: 460px) {
  .hero-actions .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-library { min-height: 325px; }
  .shelf-book.front { inset: 0 1% 28px 8%; }
  .shelf-book.middle { inset: 42px -8% 7px 38%; }
  .shelf-book.back { inset: 76px 35% 0 -7%; }
  .section-heading .text-link.arrow, .solution-cta { white-space: normal; }
  .footer-logo { width: 78px; height: 54px; }
}

@media (max-width: 360px) {
  .site-brand > span:last-child { display: none; }
  .mobile-font-controls { margin-left: auto; }
  .font-sizer > span { display: none; }
  .site-tools { grid-template-columns: 1fr; }
  .header-install { width: 100%; }
  .hero-copy h1 { font-size: clamp(1.65rem, 12.3vw, 3.2rem); }
  .shelf-book { padding: 20px 16px; }
  .shelf-book strong { font-size: 1.25rem; }
}

/* Identidade editável, uploads e compartilhamento */
.author-seal.has-photo, .about-monogram.has-photo { overflow: hidden; }
.author-seal.has-photo::before, .author-seal.has-photo::after { display: none; }
.author-seal.has-photo > img, .about-monogram.has-photo > img { width: 100%; height: 100%; object-fit: cover; }
.about-monogram.has-photo > small { left: 20px; right: 20px; bottom: 18px; z-index: 2; padding: 7px 9px; border-radius: 999px; color: #fff; background: rgba(2,26,49,.78); text-align: center; backdrop-filter: blur(8px); }
.inline-media-edit { position: absolute; z-index: 12; right: 10px; bottom: 10px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 11px; border: 2px solid #fff; border-radius: 999px; color: #fff; background: var(--orange-600); box-shadow: 0 6px 20px rgba(0,0,0,.24); text-decoration: none; font: 800 .64rem/1 Arial, sans-serif; }
.about-monogram .inline-media-edit, .author-seal .inline-media-edit { top: 10px; bottom: auto; }
.share-feedback { min-height: 1.2em; margin: 9px 0 0; color: var(--teal-700); font-size: .68rem; font-weight: 750; }
.blog-article > header > .button { margin-top: 22px; }

.admin-control-note { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 18px; padding: 17px 19px; border: 1px solid #9fc4e8; border-radius: 13px; background: var(--teal-100); }
.admin-control-note b { color: var(--ink-strong); }
.admin-control-note p { margin: 5px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.admin-section-separated { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.media-control-grid { display: grid; grid-template-columns: minmax(190px, 280px) minmax(0, 1fr); gap: 28px; align-items: center; }
.admin-media-preview { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 9px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; position: relative; background: var(--paper); }
.admin-media-preview img { width: 100%; height: 220px; object-fit: contain; background: #fff; }
.admin-media-preview.author-photo-preview { aspect-ratio: 1; border-radius: 50%; }
.admin-media-preview.author-photo-preview img { height: 100%; object-fit: cover; }
.admin-media-preview > span { color: var(--ink-strong); font: 700 3.4rem Georgia, serif; }
.admin-media-preview > small { color: var(--muted); font-size: .65rem; }
.admin-media-placeholder { display: grid; place-items: center; gap: 8px; }
.admin-media-placeholder > span { color: var(--ink-strong); font: 700 3.4rem Georgia, serif; }
.admin-media-placeholder > small { color: var(--muted); font-size: .65rem; }
.admin-media-preview figcaption { position: absolute; left: 10px; right: 10px; bottom: 9px; padding: 7px 9px; border-radius: 7px; color: #fff; background: rgba(2,26,49,.82); text-align: center; font-size: .6rem; font-weight: 750; }
.admin-media-fields { display: grid; gap: 14px; }
.admin-media-fields > label { min-width: 0; display: grid; gap: 7px; color: var(--ink-strong); font-size: .68rem; font-weight: 800; }
.admin-media-fields input[type="text"], .admin-media-fields input[type="file"] { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; font-size: .75rem; font-weight: 400; }
.admin-media-fields small { color: var(--muted); font-size: .62rem; font-weight: 400; line-height: 1.5; }
.admin-media-fields .admin-check { display: flex; flex-direction: row; align-items: center; padding: 12px; border-radius: 8px; background: var(--orange-100); }
.admin-media-fields .admin-check input { width: 18px; min-height: 18px; flex: 0 0 auto; }
.content-block-manager { display: grid; gap: 16px; }
.content-block-group .admin-section-head { align-items: center; }
.content-block-group .admin-section-head > div { min-width: 0; flex: 1; }
.content-block-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.content-block-fields label { min-width: 0; display: grid; align-content: start; gap: 6px; color: var(--ink-strong); font-size: .68rem; font-weight: 800; }
.content-block-fields input, .content-block-fields textarea { width: 100%; min-height: 44px; padding: 10px 11px; resize: vertical; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; font-size: .75rem; font-weight: 400; line-height: 1.5; }
.content-block-fields small { overflow-wrap: anywhere; color: var(--muted); font-size: .58rem; font-weight: 400; }
.content-block-save { margin-top: 2px; }
.block-history article form { margin: 0; }
.block-history article .button { min-height: 36px; padding: 7px 10px; }

/* Edição visual autenticada */
body.visual-editing { padding-bottom: 92px; }
.visual-editor-bar { position: fixed; z-index: 3000; left: 0; right: 0; bottom: 0; min-height: 82px; display: grid; grid-template-columns: auto minmax(260px, 1fr) auto; gap: 8px 18px; align-items: center; padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); color: #fff; background: rgba(2,26,49,.98); border-top: 3px solid var(--orange-500); box-shadow: 0 -18px 55px rgba(0,0,0,.28); font-family: Arial, Helvetica, sans-serif; }
.visual-editor-identity { display: flex; gap: 9px; align-items: center; }
.visual-editor-identity > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--navy-950); background: var(--orange-500); font-weight: 900; }
.visual-editor-identity strong, .visual-editor-identity small { display: block; white-space: nowrap; }
.visual-editor-identity strong { font-size: .72rem; }
.visual-editor-identity small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: .58rem; }
.visual-editor-bar > nav { min-width: 0; display: flex; gap: 3px; justify-content: center; overflow-x: auto; scrollbar-width: thin; }
.visual-editor-bar > nav a, .visual-context-link, .visual-exit { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 9px; border-radius: 7px; color: rgba(255,255,255,.75); text-decoration: none; white-space: nowrap; font-size: .61rem; font-weight: 750; }
.visual-editor-bar > nav a:hover, .visual-context-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.visual-editor-actions { display: flex; gap: 5px; align-items: center; justify-content: flex-end; }
.visual-editor-actions [data-visual-save] { min-height: 40px; padding: 8px 13px; border: 0; border-radius: 8px; color: var(--navy-950); background: var(--orange-500); cursor: pointer; white-space: nowrap; font-size: .66rem; font-weight: 900; }
.visual-editor-actions [data-visual-save]:disabled { opacity: .46; cursor: default; }
.visual-exit { border: 1px solid rgba(255,255,255,.2); }
.visual-editor-bar > p { grid-column: 1 / -1; margin: -3px 0 0; color: rgba(255,255,255,.56); text-align: center; font-size: .58rem; }
.visual-editor-bar > p.success { color: #9be7c1; }
.visual-editor-bar > p.error { color: #ffb6ab; }
[data-edit-key] { min-width: 1ch; outline: 2px dashed rgba(254,126,19,.78); outline-offset: 4px; border-radius: 3px; cursor: text !important; transition: outline-color .15s ease, background .15s ease; }
[data-edit-key]:hover { outline-color: #fff; background: rgba(254,126,19,.14); }
[data-edit-key][contenteditable="true"]:focus { outline: 3px solid var(--orange-500); background: rgba(255,240,226,.16); box-shadow: 0 0 0 7px rgba(254,126,19,.12); }
.portal-shell [data-edit-key] { scroll-margin-bottom: 120px; }
.visual-has-changes .visual-editor-bar { border-top-color: #ffb56f; }
.book-card, .post-card, .solution-strip article, .solution-catalog article { position: relative; }
.visual-item-edit { position: absolute; z-index: 20; top: 10px; right: 10px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; border: 2px solid #fff; border-radius: 999px; color: #fff !important; background: var(--orange-600); box-shadow: 0 5px 18px rgba(0,0,0,.2); text-decoration: none !important; white-space: nowrap; font: 850 .6rem/1 Arial, sans-serif !important; }
.visual-editing .post-card, .visual-editing .solution-strip article, .visual-editing .solution-catalog article { padding-top: 58px; }

@media (max-width: 980px) {
  body.visual-editing { padding-bottom: 154px; }
  .visual-editor-bar { min-height: 145px; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 7px 10px; }
  .visual-editor-bar > nav { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
  .visual-editor-actions { min-width: 0; }
  .visual-editor-actions .visual-context-link { display: none; }
  .visual-editor-bar > p { order: 4; }
}

@media (max-width: 680px) {
  .media-control-grid { grid-template-columns: 1fr; }
  .admin-media-preview { width: min(100%, 310px); margin-inline: auto; }
  .content-block-fields { grid-template-columns: 1fr; }
  .content-block-group .admin-section-head { align-items: flex-start; flex-wrap: wrap; }
  .content-block-group .admin-section-head .button { width: 100%; }
  .admin-control-note { align-items: stretch; flex-direction: column; }
  .admin-control-note .button { width: 100%; }
  .book-reader-brand > span:last-child { display: none; }
  .reader-bar-tools { gap: 0; }
  .reader-bar-tools button { min-width: 38px; width: 38px; padding-inline: 5px; }
  .visual-editor-identity small { display: none; }
  .visual-editor-actions [data-visual-save] { min-height: 38px; padding-inline: 10px; }
  .visual-editor-actions .visual-exit { padding-inline: 7px; }
}

@media (max-width: 430px) {
  body.visual-editing { padding-bottom: 170px; }
  .visual-editor-bar { min-height: 160px; grid-template-columns: 1fr; }
  .visual-editor-identity { justify-content: center; }
  .visual-editor-actions { justify-content: center; }
  .visual-editor-bar > nav { grid-column: 1; }
  .visual-editor-bar > p { grid-column: 1; }
}

@media (max-width: 360px) {
  .reader-logo, .reader-bar-tools [data-share-reader] { display: none; }
  .book-reader-bar { gap: 3px; padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

@media print {
  @page { size: A4; margin: 18mm 16mm; }
  .book-reader-bar, .reader-progress-line, .reader-side-panel, .reader-scrim, .reader-mobile-nav, .reader-chapter-actions, .chapter-pager, .activity-field, .visual-editor-bar { display: none !important; }
  .reader-app, .reader-page-wrap { background: #fff !important; }
  .reader-page-wrap { padding: 0; }
  .reader-page { width: auto; max-width: none; padding: 0; border: 0; box-shadow: none; color: #222; background: #fff; font-size: 10.5pt; }
  .reader-chapter-head h1 { font-size: 30pt; }
  .scenario, .worked-example, .callout, .memory-card, .reflection, table { break-inside: avoid; }
}

/* =========================================================
   DCM 2.0 — camada editorial, leitura digital e comunidade
   ========================================================= */

.public-flash { border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 750; }
.public-flash > div { padding-block: 12px; }
.public-flash.success { color: #165f3d; background: #e9f7ef; }
.public-flash.error { color: #8b2f2b; background: #fff0ed; }
.human-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* Início editorial */
.editorial-home-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 108px) 0; color: #fff; background: radial-gradient(circle at 86% 17%, rgba(31, 129, 216, .42), transparent 29%), radial-gradient(circle at 8% 100%, rgba(254,126,19,.2), transparent 34%), linear-gradient(135deg, #021a31 0%, #063a72 58%, #034889 100%); }
.editorial-home-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000 0, transparent 90%); }
.editorial-home-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(260px, .72fr); gap: clamp(42px, 7vw, 92px); align-items: center; }
.editorial-home-copy { max-width: 760px; }
.editorial-home-copy .eyebrow { color: #ffb56f; }
.editorial-home-copy h1 { max-width: 760px; margin: 22px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.7vw, 6.5rem); line-height: .93; letter-spacing: -.052em; text-wrap: balance; }
.editorial-home-copy h1 em { display: block; margin-top: .08em; color: #ff9a47; font-style: normal; }
.editorial-home-copy > p { max-width: 660px; margin: 0; color: rgba(255,255,255,.8); font-size: clamp(1.03rem, 1.7vw, 1.3rem); line-height: 1.64; }
.editorial-home-hero .button.secondary { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.editorial-home-hero .button.secondary:hover { background: rgba(255,255,255,.14); }
.editorial-home-hero .button.primary { color: #12283d; border-color: #ff9a47; background: #ff9a47; }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 8px 19px; margin-top: 36px; color: rgba(255,255,255,.66); font-size: .73rem; font-weight: 720; }
.hero-trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust-row span::before { content: "✓"; color: #ffb56f; font-weight: 900; }
.featured-book-object { justify-self: center; width: min(100%, 350px); display: grid; gap: 24px; text-decoration: none; perspective: 1000px; }
.featured-book-object .detail-cover, .book-object-wrap .detail-cover { position: relative; overflow: hidden; transform: rotateY(-7deg) rotateX(1deg); transform-origin: left center; transition: transform .25s ease, box-shadow .25s ease; }
.featured-book-object .detail-cover::after, .book-object-wrap .detail-cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 9px; background: linear-gradient(90deg, rgba(0,0,0,.3), rgba(255,255,255,.14), rgba(0,0,0,.08)); mix-blend-mode: multiply; }
.featured-book-object:hover .detail-cover { transform: rotateY(-2deg) translateY(-5px); }
.featured-book-object > small { color: rgba(255,255,255,.7); text-align: center; font-size: .7rem; line-height: 1.5; }
.featured-book-object .uploaded-cover, .book-object-wrap .uploaded-cover { width: 100%; height: 100%; object-fit: cover; }
.home-blog-section { background: #f8fafc; }
.editorial-post-grid .post-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.editorial-post-grid .post-card:hover { transform: translateY(-3px); border-color: #b8cbdc; box-shadow: var(--shadow-soft); }
.editorial-post-grid .post-card.highlight { background: linear-gradient(150deg, #fff, #f2f7fb); }
.author-intro-professional { align-items: center; }
.author-credentials-line { color: var(--navy-900) !important; font-size: .75rem !important; font-weight: 800; letter-spacing: .01em; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; }
.quiet-cta { padding-top: 0; }
.quiet-cta > div { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 32px clamp(24px,4vw,45px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.quiet-cta h2 { max-width: 820px; margin: 9px 0 10px; color: var(--ink-strong); font-family: Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.1; }
.quiet-cta p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.7; }

/* Heróis e páginas editoriais */
.refined-page-hero { padding-top: clamp(62px, 8vw, 100px); padding-bottom: clamp(36px, 5vw, 58px); }
.refined-page-hero h1 { max-width: 980px; margin: 16px 0 18px; color: var(--ink-strong); font-family: Georgia, serif; font-size: clamp(2.65rem, 6.5vw, 5.8rem); line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.refined-page-hero > p { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1rem,1.5vw,1.17rem); line-height: 1.7; }
.blog-search-inline { max-width: 720px !important; }
.blog-search-inline label { display: grid !important; grid-template-columns: minmax(0,1fr) auto; margin: 0 !important; }
.blog-search-inline input { border-radius: 12px 0 0 12px !important; min-height: 52px; }
.blog-search-inline button { border-radius: 0 12px 12px 0 !important; min-width: 110px; }
.blog-to-book { padding: 0 0 clamp(65px,8vw,100px); }
.blog-to-book > div { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.blog-to-book span { color: var(--ink-strong); font-weight: 850; }
.blog-to-book p { margin: 0; line-height: 1.55; }
.blog-to-book a { color: var(--teal-700); font-weight: 850; }

/* Sobre mim / currículo profissional */
.professional-about-hero { padding: clamp(64px,8vw,105px) 0; }
.professional-about-grid { display: grid; grid-template-columns: minmax(270px,.65fr) minmax(0,1.35fr); gap: clamp(42px,7vw,92px); align-items: center; }
.professional-about-grid h1 { max-width: 780px; margin: 14px 0 20px; font-family: Georgia, serif; font-size: clamp(3rem,7vw,6.2rem); line-height: .93; letter-spacing: -.05em; text-wrap: balance; }
.professional-about-grid .about-lead { max-width: 760px; color: rgba(255,255,255,.8); font-size: clamp(1.03rem,1.7vw,1.25rem); line-height: 1.72; }
.professional-about-grid .button.secondary { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.professional-portrait-card { max-width: 360px; justify-self: center; padding: 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 22px; background: rgba(255,255,255,.07); box-shadow: 0 28px 75px rgba(0,0,0,.17); }
.professional-portrait-card .about-monogram { aspect-ratio: 4/5; width: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 14px; color: #fff; background: linear-gradient(145deg,#0d5da9,#022c53); font: 800 clamp(4rem,9vw,7rem)/1 Georgia,serif; }
.professional-portrait-card .about-monogram img { width: 100%; height: 100%; object-fit: cover; }
.professional-portrait-card > div:last-child { padding: 17px 7px 5px; }
.professional-portrait-card strong, .professional-portrait-card small { display: block; }
.professional-portrait-card strong { font-family: Georgia, serif; font-size: 1.12rem; }
.professional-portrait-card small { margin-top: 5px; color: rgba(255,255,255,.68); line-height: 1.5; }
.cv-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,340px); gap: clamp(40px,7vw,88px); align-items: start; }
.cv-main { max-width: 770px; }
.cv-main > h2, .cv-section h2 { margin: 12px 0 18px; color: var(--ink-strong); font-family: Georgia,serif; font-size: clamp(1.9rem,3.7vw,3.2rem); line-height: 1.08; letter-spacing: -.025em; }
.cv-main > p, .cv-section p { color: var(--muted); font-size: 1rem; line-height: 1.82; }
.cv-main blockquote { margin: 34px 0 52px; padding: 25px 28px; border: 0; border-left: 4px solid var(--orange-500); color: var(--ink-strong); background: #fff8ef; font: 1.2rem/1.65 Georgia,serif; }
.cv-section { padding: 42px 0; border-top: 1px solid var(--line); }
.cv-sidebar { position: sticky; top: 105px; display: grid; gap: 14px; }
.cv-card { padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 28px rgba(2,48,91,.05); }
.cv-card > span { display: block; margin-bottom: 13px; color: var(--orange-600); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cv-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.cv-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.cv-card li { position: relative; padding-left: 17px; color: var(--ink); line-height: 1.5; }
.cv-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }
.professional-method { margin-top: 20px; }

/* Livro: página de apresentação e objeto físico */
.book-landing-hero { position: relative; padding: clamp(62px,8vw,112px) 0; overflow: hidden; background: linear-gradient(180deg,#eef4f9 0,#f8fafc 100%); }
.book-landing-hero::after { content:""; position:absolute; right:-160px; top:-250px; width:560px; height:560px; border-radius:50%; background:rgba(2,89,177,.07); pointer-events:none; }
.book-landing-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(260px,390px) minmax(0,1fr); gap: clamp(45px,8vw,105px); align-items: center; }
.book-object-wrap { position: relative; width: min(100%, 360px); justify-self: center; perspective: 1100px; }
.book-object-wrap .book-shadow { position: absolute; z-index: -1; left: 12%; right: -8%; bottom: -25px; height: 48px; border-radius: 50%; background: rgba(3,42,77,.24); filter: blur(18px); transform: rotate(-3deg); }
.book-object-wrap.compact { width: min(100%,270px); }
.book-landing-copy { max-width: 750px; }
.book-landing-copy h1 { margin: 15px 0 12px; color: var(--ink-strong); font-family: Georgia,serif; font-size: clamp(2.75rem,6vw,5.6rem); line-height: .96; letter-spacing: -.046em; text-wrap: balance; }
.book-landing-copy .detail-subtitle { margin: 0 0 22px; color: var(--teal-800); font: 1.15rem/1.5 Georgia,serif; }
.book-description { max-width: 700px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.book-meta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.book-meta-row span { min-width: 130px; padding: 10px 14px; border-left: 2px solid var(--orange-500); color: var(--muted); font-size: .7rem; line-height: 1.45; }
.book-meta-row b { display: block; color: var(--ink-strong); font-size: .78rem; }
.front-matter-grid { display: grid; grid-template-columns: 1fr minmax(280px,.7fr); gap: clamp(36px,7vw,90px); align-items: start; }
.front-matter-grid article h2 { max-width: 700px; margin: 13px 0 15px; color: var(--ink-strong); font-family: Georgia,serif; font-size: clamp(2rem,4vw,3.7rem); line-height: 1.06; }
.front-matter-grid article p { max-width: 720px; color: var(--muted); line-height: 1.8; }
.front-matter-grid aside { padding: 27px; border: 1px solid var(--line); border-radius: 16px; background:#fff; box-shadow: var(--shadow-soft); }
.front-matter-grid aside > span, .front-matter-grid aside > strong { display:block; }
.front-matter-grid aside > span { color: var(--orange-600); font-size:.68rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.front-matter-grid aside > strong { margin-top:8px; color:var(--ink-strong); font:1.55rem/1.2 Georgia,serif; }
.front-matter-grid aside p { color:var(--muted); line-height:1.65; }
.front-matter-grid aside a { color:var(--teal-700); font-weight:800; }
.book-pact-section { padding-top: 0; }
.book-pact-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:17px; }
.book-pact-grid article { padding:clamp(24px,4vw,36px); border:1px solid var(--line); border-radius:16px; background:#fff; }
.book-pact-grid article p, .book-pact-grid article li { color:var(--muted); line-height:1.75; }
.book-pact-grid article ul { margin:18px 0 0; padding-left:20px; }
.book-pact-grid .reading-pact-card { grid-column:1/-1; border-color:#ead4b5; background:linear-gradient(135deg,#fff9ef,#fff); }
.reading-pact-card p { max-width:900px; color:var(--ink) !important; font:1.08rem/1.8 Georgia,serif; }
.refined-summary { display:grid; grid-template-columns:minmax(250px,.55fr) minmax(0,1fr); gap:clamp(38px,7vw,90px); align-items:start; }
.refined-summary > div:first-child { position:sticky; top:105px; }
.refined-summary > div:first-child h2 { margin:12px 0 12px; color:var(--ink-strong); font:clamp(2rem,4vw,3.7rem)/1.05 Georgia,serif; }
.refined-summary > div:first-child p { color:var(--muted); line-height:1.7; }
.refined-summary ol { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.refined-summary li { border-bottom:1px solid var(--line); }
.refined-summary li a { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:18px; align-items:center; padding:22px 6px; text-decoration:none; }
.refined-summary li a:hover { background:#f7fafc; }
.refined-summary li b { color:var(--orange-600); font:700 1rem Georgia,serif; }
.refined-summary li span { min-width:0; }
.refined-summary li strong, .refined-summary li small { display:block; }
.refined-summary li strong { color:var(--ink-strong); font:1.05rem/1.3 Georgia,serif; }
.refined-summary li small { margin-top:5px; color:var(--muted); line-height:1.5; }
.refined-summary li em { color:var(--muted); font-size:.67rem; font-style:normal; white-space:nowrap; }
.summary-start { grid-column:2; }

/* Abertura do livro, antes do capítulo 1 */
.reader-front-matter { min-height:calc(100vh - 76px); padding:clamp(28px,5vw,65px) 0 80px; background:#e9edf1; }
.front-book-page { max-width:1080px; padding:clamp(25px,6vw,72px); border:1px solid #d6d2c8; background:#fffefb; box-shadow:0 35px 90px rgba(23,39,53,.16); }
.front-book-header { display:flex; justify-content:space-between; gap:20px; padding-bottom:22px; border-bottom:1px solid #e6e0d6; color:#66727c; font-size:.7rem; }
.front-book-header a { color:var(--teal-700); font-weight:800; text-decoration:none; }
.front-book-grid { display:grid; grid-template-columns:minmax(210px,290px) minmax(0,1fr); gap:clamp(36px,7vw,85px); align-items:center; padding:clamp(44px,7vw,80px) 0; }
.front-book-copy h1 { margin:14px 0 13px; color:#17344d; font:clamp(2.5rem,5.5vw,5rem)/.98 Georgia,serif; letter-spacing:-.045em; text-wrap:balance; }
.front-book-copy > p { color:#5e6c77; font:1.12rem/1.6 Georgia,serif; }
.front-author { margin-top:35px; padding-top:20px; border-top:1px solid #e6e0d6; }
.front-author span,.front-author strong,.front-author small { display:block; }
.front-author span { color:#8a6a42; font-size:.65rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.front-author strong { margin-top:7px; color:#17344d; font:1.3rem/1.3 Georgia,serif; }
.front-author small { max-width:570px; margin-top:5px; color:#71808b; line-height:1.5; }
.front-author a { display:inline-block; margin-top:12px; color:var(--teal-700); font-size:.75rem; font-weight:800; }
.front-book-sections { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; padding-top:36px; border-top:1px solid #e6e0d6; }
.front-book-sections section { padding:25px; border:1px solid #e6e0d6; background:#fff; }
.front-book-sections p,.front-book-sections li { color:#576974; line-height:1.78; }
.front-book-sections ul { margin:17px 0 0; padding-left:20px; }
.front-book-sections .front-pact { grid-column:1/-1; padding:clamp(28px,5vw,45px); background:#fbf5e9; }
.front-pact p { max-width:880px; margin-bottom:0; color:#314759; font:1.08rem/1.85 Georgia,serif; }
.front-book-start { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:28px; align-items:center; margin-top:30px; padding:26px 0 0; border-top:1px solid #e6e0d6; }
.front-book-start span,.front-book-start strong,.front-book-start small { display:block; }
.front-book-start span { color:#8a6a42; font-size:.66rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.front-book-start strong { margin-top:5px; color:#17344d; font:1.12rem/1.4 Georgia,serif; }
.front-book-start small { margin-top:4px; color:#71808b; }

/* Catálogo */
.refined-catalog { gap:24px; }
.refined-catalog .book-card { transition:transform .2s ease,box-shadow .2s ease; }
.refined-catalog .book-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-soft); }

/* Artigo: leitura digital */
.refined-article { width:min(860px,calc(100% - var(--gutter)*2)); padding-top:clamp(55px,8vw,95px); }
.refined-article .article-header { max-width:820px; margin-inline:auto; }
.refined-article .article-header h1 { font-size:clamp(2.75rem,6vw,5.6rem); text-wrap:balance; }
.article-byline { padding:14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.article-byline a { color:var(--teal-700); font-weight:800; }
.refined-article-body { max-width:720px; margin:55px auto 0; color:#263c4f; font-size:clamp(1.05rem,1.3vw,1.16rem); line-height:1.86; }
.refined-article-body > :first-child { margin-top:0; }
.refined-article-body p { margin:0 0 1.45em; }
.refined-article-body h2 { margin-top:2.35em; text-wrap:balance; }
.refined-article-body h3 { margin:2em 0 .7em; color:var(--ink-strong); font-size:1.28rem; line-height:1.25; }
.refined-article-body a { color:var(--teal-700); text-decoration-thickness:.08em; text-underline-offset:.15em; }
.refined-article-body img { height:auto; margin:2.1em auto; border-radius:10px; }
.refined-article-body figure { margin:2.1em 0; }
.refined-article-body figcaption { margin-top:8px; color:var(--muted); font-family:Arial,sans-serif; font-size:.72rem; line-height:1.5; text-align:center; }
.refined-article-body table { width:100%; display:block; overflow-x:auto; border-collapse:collapse; font-family:Arial,sans-serif; font-size:.82rem; }
.refined-article-body th,.refined-article-body td { min-width:130px; padding:11px 12px; border:1px solid var(--line); vertical-align:top; }
.article-book-bridge { max-width:720px; margin-inline:auto; }
.article-book-bridge > span,.article-book-bridge > strong { display:block; }
.article-book-bridge > span { color:#ffbb77; font-size:.67rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.article-book-bridge > strong { margin-top:8px; font:1.55rem/1.25 Georgia,serif; }
.article-book-bridge .button { margin-top:10px; }

/* Comentários */
.comments-section { padding:clamp(60px,8vw,100px) 0; border-top:1px solid var(--line); background:#edf3f8; }
.comments-wrap { max-width:1080px; }
.comments-heading { max-width:700px; margin-bottom:32px; }
.comments-heading h2 { margin:10px 0 8px; color:var(--ink-strong); font:clamp(2rem,4vw,3.2rem)/1 Georgia,serif; }
.comments-heading p { color:var(--muted); line-height:1.65; }
.comments-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,390px); gap:clamp(30px,6vw,70px); align-items:start; }
.comment-list { display:grid; gap:13px; }
.reader-comment { padding:22px 24px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.reader-comment header { display:flex; gap:11px; align-items:center; }
.reader-comment header > span { width:38px; height:38px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; color:#fff; background:var(--navy-900); font-size:.75rem; font-weight:900; }
.reader-comment header strong,.reader-comment header small { display:block; }
.reader-comment header small { margin-top:2px; color:var(--muted); font-size:.65rem; }
.reader-comment p { margin:15px 0 0; color:var(--ink); line-height:1.72; white-space:normal; }
.empty-comments { padding:25px; border:1px dashed var(--line-strong); border-radius:14px; color:var(--muted); background:rgba(255,255,255,.55); }
.empty-comments strong { color:var(--ink-strong); }
.empty-comments p { margin-bottom:0; }

/* Formulários públicos */
.public-form { display:grid; gap:17px; padding:clamp(24px,4vw,34px); border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:var(--shadow-soft); }
.public-form h3,.public-form h2 { margin:0; color:var(--ink-strong); font-family:Georgia,serif; }
.public-form label:not(.privacy-consent):not(.human-trap) { display:grid; gap:7px; color:var(--ink-strong); font-size:.72rem; font-weight:800; }
.public-form label small { color:var(--muted); font-weight:600; }
.public-form input:not([type="checkbox"]),.public-form textarea,.public-form select { width:100%; min-width:0; padding:13px 14px; border:1px solid var(--line-strong); border-radius:9px; color:var(--ink); background:#fff; outline:none; font-size:.88rem; }
.public-form input:focus,.public-form textarea:focus,.public-form select:focus { border-color:var(--teal-700); box-shadow:0 0 0 3px rgba(2,89,177,.10); }
.public-form textarea { resize:vertical; line-height:1.58; }
.public-form .button { justify-self:start; }
.form-privacy-note { color:var(--muted); font-size:.66rem; line-height:1.5; }

/* Contato */
.contact-hero { padding:clamp(64px,8vw,105px) 0; color:#fff; background:linear-gradient(135deg,#021a31,#07509a); }
.contact-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.58fr); gap:clamp(40px,7vw,90px); align-items:center; }
.contact-hero h1 { margin:14px 0 17px; font:clamp(3rem,7vw,6rem)/.95 Georgia,serif; letter-spacing:-.05em; }
.contact-hero p { max-width:680px; color:rgba(255,255,255,.78); font-size:1.08rem; line-height:1.72; }
.contact-hero aside { padding:25px; border:1px solid rgba(255,255,255,.18); border-radius:15px; background:rgba(255,255,255,.07); }
.contact-hero aside > span { font-weight:850; }
.contact-hero ul { margin:14px 0 0; padding-left:19px; color:rgba(255,255,255,.72); line-height:1.7; }
.contact-form-shell { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,330px); gap:clamp(34px,6vw,70px); align-items:start; }
.contact-form { padding:clamp(26px,5vw,48px); }
.form-heading { max-width:670px; margin-bottom:4px; }
.form-heading h2 { margin:10px 0; font-size:clamp(2rem,4vw,3.3rem); line-height:1.05; }
.form-heading p { margin:0; color:var(--muted); line-height:1.65; }
.public-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.public-form-grid .wide { grid-column:1/-1; }
.privacy-consent { display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-size:.72rem; line-height:1.55; }
.privacy-consent input { width:18px; height:18px; flex:0 0 auto; margin-top:1px; accent-color:var(--teal-700); }
.privacy-consent a { color:var(--teal-700); font-weight:800; }
.contact-side-note { padding:26px; border-left:3px solid var(--orange-500); color:var(--muted); background:#fff8ef; }
.contact-side-note > span { color:var(--ink-strong); font-weight:900; }
.contact-side-note ol { padding-left:20px; line-height:1.7; }
.contact-side-note p { margin-bottom:0; font-size:.75rem; line-height:1.6; }
.privacy-content { max-width:900px; }
.privacy-content article { padding:clamp(25px,5vw,48px); border:1px solid var(--line); border-radius:16px; background:#fff; }
.privacy-content h2 { margin:1.8em 0 .55em; color:var(--ink-strong); font:1.65rem/1.2 Georgia,serif; }
.privacy-content h2:first-child { margin-top:0; }
.privacy-content p { color:var(--muted); line-height:1.8; }

/* Moderação / administração */
.admin-submission-list { display:grid; gap:12px; }
.admin-submission-card { padding:18px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.admin-submission-card p { line-height:1.6; }
.admin-submission-card small { color:var(--muted); }

@media (max-width: 900px) {
  .editorial-home-grid,.professional-about-grid,.book-landing-grid,.front-matter-grid,.cv-layout,.contact-hero-grid,.contact-form-shell { grid-template-columns:1fr; }
  .editorial-home-copy { max-width:none; }
  .featured-book-object { width:min(75vw,320px); }
  .professional-portrait-card { width:min(75vw,340px); }
  .professional-about-grid > div:last-child { max-width:800px; }
  .cv-sidebar,.refined-summary > div:first-child { position:static; }
  .book-object-wrap { width:min(64vw,330px); }
  .refined-summary { grid-template-columns:1fr; }
  .summary-start { grid-column:1; }
  .comments-layout { grid-template-columns:1fr; }
  .comment-form { max-width:620px; }
  .blog-to-book > div { grid-template-columns:1fr; }
  .front-book-grid { grid-template-columns:minmax(180px,240px) minmax(0,1fr); }
}

@media (max-width: 680px) {
  .editorial-home-hero { padding-top:52px; }
  .editorial-home-copy h1,.professional-about-grid h1,.contact-hero h1 { letter-spacing:-.038em; }
  .hero-actions .button { width:100%; }
  .hero-trust-row { gap:7px 14px; }
  .quiet-cta > div { grid-template-columns:1fr; padding:25px 22px; }
  .front-book-page { width:calc(100% - 18px); padding:22px 19px; }
  .front-book-grid { grid-template-columns:1fr; padding:38px 0; }
  .front-book-grid .book-object-wrap { width:min(68vw,250px); }
  .front-book-copy { text-align:left; }
  .front-book-sections,.book-pact-grid { grid-template-columns:1fr; }
  .front-book-sections .front-pact,.book-pact-grid .reading-pact-card { grid-column:1; }
  .front-book-start { grid-template-columns:1fr; }
  .front-book-start .button { width:100%; }
  .refined-summary li a { grid-template-columns:32px minmax(0,1fr); gap:11px; padding:18px 0; }
  .refined-summary li em { grid-column:2; }
  .public-form-grid { grid-template-columns:1fr; }
  .public-form-grid .wide { grid-column:1; }
  .blog-search-inline label { grid-template-columns:1fr; gap:8px; }
  .blog-search-inline input,.blog-search-inline button { border-radius:10px !important; }
  .blog-search-inline button { min-height:46px; }
  .refined-article { width:min(100% - 30px,860px); }
  .refined-article-body { font-size:1.05rem; line-height:1.82; }
  .article-book-bridge { padding:23px !important; }
  .comments-section { padding-top:52px; }
  .reader-comment { padding:19px; }
}

@media (max-width: 430px) {
  .editorial-home-copy h1 { font-size:clamp(2.65rem,14vw,4rem); }
  .featured-book-object { width:min(78vw,280px); }
  .professional-portrait-card { width:min(83vw,310px); }
  .book-object-wrap { width:min(72vw,280px); }
  .book-meta-row { display:grid; grid-template-columns:1fr 1fr; }
  .book-meta-row span:last-child { grid-column:1/-1; }
  .front-book-header { align-items:flex-start; flex-direction:column; }
  .front-book-copy h1 { font-size:clamp(2.3rem,12vw,3.6rem); }
}

/* Moderação administrativa */
.moderation-list > div:last-child { display:grid; gap:12px; }
.moderation-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:start; padding:20px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.moderation-item > div:first-child { min-width:0; }
.moderation-item b,.moderation-item small { display:block; }
.moderation-item small { margin-top:5px; color:var(--muted); font-size:.68rem; }
.moderation-item small a { color:var(--teal-700); font-weight:800; }
.moderation-item p { max-width:850px; margin:14px 0 0; line-height:1.65; white-space:normal; }
.moderation-actions { display:grid; gap:8px; min-width:145px; }
.contact-admin-item.is-new { border-left:4px solid var(--orange-500); }
.contact-admin-data { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:14px; }
.contact-admin-data a { color:var(--teal-700); font-size:.73rem; font-weight:800; overflow-wrap:anywhere; }
.button.danger { color:#8b2f2b; border-color:#e9bbb4; background:#fff2ef; }
@media (max-width:680px) {
  .moderation-item { grid-template-columns:1fr; }
  .moderation-actions { min-width:0; }
  .moderation-actions .button,.moderation-item > form .button { width:100%; }
}
@media print {
  .editorial-home-hero,.site-header,.site-footer,.comments-section,.blog-to-book,.contact-side-note { box-shadow:none !important; }
  .front-book-page { width:auto; max-width:none; padding:0; border:0; box-shadow:none; }
}
