/* Hallmark · shape: custom (brand) · genre: atmospheric · theme: brand · idea: "da plateia ao palco: a pomba sai do anel e o leitor sai da arquibancada" · vibe: "sóbrio, escuro, luz que entra, fé firme"
 * paper: oklch(15.5% 0.0027 67.6) · accent: oklch(53% 0.2074 22.3) · display: Cinzel · body: Inter · hero: photo full-bleed under carousel shade, text left, 3D book right · nav: wordmark, scroll ring, one action · footer: symbol mast with name and tagline · signature: the 3D ebook that turns to the pointer beside the logo motion
 * axes: dark/roman-serif/chromatic-red · posture: one red signal, photographs in black and white as in the carousels · contrast: pass · fold: pass · job: buy · copy: verbatim (title from the user) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, the user asked for many micro interactions; each one is tied to the book's argument (plateia/palco switch, chapter ring, flapping dove) and all fall back to still under reduced motion */
/* Hallmark · waive 38iii · the escarlate closing phrase appears once, in the hero title, as on the 20 approved carousel covers · the Além do Pensamento manual sets the final part of the title in escarlate */
/* Hallmark · waive 39b · the 86px rows are accordion rows that open each chapter, not marketing buttons · dez capítulos, um caminho: each row is one chapter of the ebook */
/* Hallmark · waive 59 · full-bleed photo bands meet edge to edge like consecutive carousel slides · the carousel look the user asked for */
/* Hallmark · waive 77 · the chapter list spans seven columns beside the sticky chapter ring · ten rows of chapter titles are the section's mass */
/* Hallmark · waive 80 · the ring is a labelled diagram: ten arcs for ten chapters, the label names the open chapter · the ouroboros ring of the brand drawn as the table of contents */
/* Hallmark · waive 83 · every band is a black and white photograph under the carousel shade · the user asked to follow the carousels, which are photograph-led */
/* Hallmark · waive 44c · the janela photograph under the carousel shade fills the whole 100svh hero; only the text block ends higher · the plateia window is the first screen of the ebook page */
/* Hallmark · dismissed 23 · the accent display glyph is the single quote mark of the verse, as on the carousel verse slides */
/* Hallmark · dismissed F4 · chapter rows are transparent accordion triggers; .btn is the only filled button */
@import url("./ebook-tokens.css");
@import url("./ebook-base.css");

@font-face { font-family: "Cinzel"; src: url("fontes/Cinzel-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("fontes/Cinzel-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fontes/Inter-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fontes/Inter-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fontes/Inter-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root { --display-weight: 600; --tracking-display: 0; --container: 1280px; }
h1, h2 { line-height: 1.12; }
.red { color: var(--color-accent-hi); }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  background: var(--color-accent); color: var(--color-accent-ink); border: 0; border-radius: var(--radius-card);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.btn span { display: inline-block; transform: translate(calc(var(--mx, 0px) * .4), calc(var(--my, 0px) * .4)); transition: transform var(--dur-long) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); box-shadow: 0 10px 30px -12px var(--color-accent); }
.btn:active { transform: translate(var(--mx, 0px), calc(var(--my, 0px) + 1px)); transition-duration: var(--dur-micro); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-small { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); white-space: nowrap; }

.link {
  position: relative; background: none; border: 0; padding: var(--space-xs) 0; color: var(--color-ink); font-weight: 500; white-space: nowrap;
  text-decoration: none; cursor: pointer;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(.35); transform-origin: left; transition: transform var(--dur-long) var(--ease-out);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); transition: background-color var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.nav.scrolled { background: color-mix(in oklab, var(--color-paper) 88%, transparent); backdrop-filter: blur(10px); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.brand-sym { width: 34px; height: 34px; transition: transform var(--dur-long) var(--ease-out); }
.brand:hover .brand-sym { transform: rotate(-30deg); }
.nav-end { display: flex; align-items: center; gap: var(--space-md); }
.progress { width: 30px; height: 30px; transform: rotate(-90deg); }
.progress circle { fill: none; stroke-width: 3; }
.progress-track { stroke: var(--color-rule); }
.progress-bar { stroke: var(--color-accent); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); stroke-linecap: round; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: var(--space-3xl); isolation: isolate; }
.hero-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; transform: scale(var(--zoom, 1.08)); transition: transform 1.6s var(--ease-out); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--color-paper) 0%, color-mix(in oklab, var(--color-paper) 86%, transparent) 42%, color-mix(in oklab, var(--color-paper) 40%, transparent) 100%),
    linear-gradient(180deg, color-mix(in oklab, var(--color-paper) 55%, transparent) 0%, transparent 25%, transparent 70%, var(--color-paper) 100%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; }
.hero-text { display: grid; justify-items: start; gap: var(--space-md); }
.sym-btn { background: none; border: 0; padding: 0; width: 118px; cursor: pointer; margin-bottom: var(--space-xs); border-radius: 50%; }
.sym-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
.anim-sym { width: 100%; height: auto; overflow: visible; }
.kicker { color: var(--color-accent-hi); font-weight: 600; font-size: var(--text-sm); }
.hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 3.6vw + 0.8rem, 4.4rem); }
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--color-accent-hi); }
.hero .lead { color: var(--color-ink-2); max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-sm); }

/* the 3D book */
.book-stage { position: relative; display: grid; place-items: center; perspective: 1700px; min-height: 520px; }
.book {
  --w: 310px; --h: 434px; --d: 44px;
  position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d;
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, 32deg)) translateY(var(--fy, 0px));
  transition: transform .9s var(--ease-out);
}
.book.dragging, .book.live { transition-duration: .25s; }
.book-face { position: absolute; backface-visibility: hidden; }
.book-front { inset: 0; transform: translateZ(calc(var(--d) / 2)); overflow: hidden; border-radius: 0 var(--radius-card) var(--radius-card) 0; background: var(--color-paper); box-shadow: inset 6px 0 8px -4px color-mix(in oklab, var(--color-spine) 90%, transparent), inset 9px 0 0 -8px color-mix(in oklab, var(--color-ink) 25%, transparent), 40px 50px 70px -30px var(--color-spine); }
.book-front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in oklab, var(--color-paper) 30%, transparent) 0%, transparent 30%, color-mix(in oklab, var(--color-paper) 88%, transparent) 62%, var(--color-paper) 86%); }
.cover-glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), color-mix(in oklab, var(--color-ink) 22%, transparent), transparent 55%); mix-blend-mode: soft-light; opacity: var(--go, .6); transition: opacity var(--dur-long) var(--ease-out); }
.cover-body { position: absolute; inset: auto var(--space-lg) var(--space-lg) var(--space-lg); display: grid; gap: var(--space-sm); }
.cover-sym { width: 56px; height: 56px; }
.cover-title { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; line-height: 1.15; color: var(--color-ink); }
.cover-title span { display: block; }
.book-spine { top: 0; left: 0; width: var(--d); height: var(--h); margin-left: calc(var(--d) / -2); transform: rotateY(-90deg); background: linear-gradient(90deg, var(--color-spine) 0%, var(--color-paper-3) 40%, var(--color-paper-2) 70%, var(--color-spine) 100%); display: grid; place-items: center; border-left: 2px solid var(--color-accent); }
.book-spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-display); font-weight: 600; font-size: .78rem; color: var(--color-ink); white-space: nowrap; }
.book-pages { top: 4px; left: var(--w); width: calc(var(--d) - 4px); height: calc(var(--h) - 8px); margin-left: calc((var(--d) - var(--space-2xs)) / -2); transform: rotateY(90deg); background: repeating-linear-gradient(90deg, var(--color-page) 0 2px, var(--color-ink-2) 2px 3px); }
.book-top { top: 0; left: 0; width: calc(var(--w) - 4px); height: calc(var(--d) - 4px); margin-top: calc((var(--d) - var(--space-2xs)) / -2); transform: rotateX(90deg); background: repeating-linear-gradient(0deg, var(--color-page) 0 2px, var(--color-ink-2) 2px 3px); }
.book-back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--color-spine); }
.book-shadow { position: absolute; bottom: 18px; width: 300px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--color-spine) 90%, transparent), transparent); transform: translateX(-20px) scaleX(var(--ss, 1)); transition: transform .9s var(--ease-out); z-index: -1; }
.js .book-stage { animation: float 6s var(--ease-in-out) infinite alternate; }
@keyframes float { from { translate: 0 -6px; } to { translate: 0 8px; } }

/* hero entrance, driven by the logo motion in ebook.js */
.js .rise { opacity: 0; transform: translateY(14px); }
.js .rise.up { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }

/* ---------- plateia / palco ---------- */
.duo { position: relative; min-height: 88svh; display: grid; align-items: center; padding-block: var(--section-gap-s); isolation: isolate; overflow: hidden; }
.duo-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transition: opacity .9s var(--ease-out), transform 1.4s var(--ease-out); }
.js .ph-palco { opacity: 0; transform: scale(1.06); }
.js .duo[data-mode="palco"] .ph-palco { opacity: 1; transform: scale(1); }
.duo[data-mode="palco"] .ph-plateia { opacity: 0; }
.duo-shade { position: absolute; inset: 0; z-index: -2; background: color-mix(in oklab, var(--color-paper) 80%, transparent); transition: opacity .9s var(--ease-out); }
.duo[data-mode="palco"] .duo-shade { opacity: .55; }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease-out); background: radial-gradient(circle 32vmax at var(--sx, 60%) var(--sy, 40%), transparent 0%, color-mix(in oklab, var(--color-paper) 75%, transparent) 70%); }
.duo[data-mode="palco"] .spot { opacity: 1; }
.duo-in { display: grid; justify-items: start; gap: 32px; }
.switch-row { display: flex; align-items: center; gap: var(--space-md); font-weight: 600; }
.sw-label { color: var(--color-muted); transition: color var(--dur-short) var(--ease-out); cursor: pointer; }
.duo[data-mode="plateia"] .sw-label[data-for="plateia"], .duo[data-mode="palco"] .sw-label[data-for="palco"] { color: var(--color-ink); }
.switch { position: relative; width: 76px; height: 40px; border-radius: var(--radius-pill); border: 1px solid var(--color-muted); background: var(--color-paper-2); cursor: pointer; padding: 0; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.switch:hover { border-color: var(--color-ink); }
.switch:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.switch-knob { position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--color-ink); transition: transform var(--dur-long) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.switch[aria-checked="true"] { background: var(--color-accent); border-color: var(--color-accent); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(36px); }
.switch:active .switch-knob { scale: .9; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); grid-area: 3 / 1; }
.duo-in > .lines { grid-row: 3; grid-column: 1; }
.lines li { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.4vw + .6rem, 3rem); line-height: 1.15; max-width: 30ch; text-wrap: balance; }
.lines li { transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.lines li:nth-child(2) { transition-delay: 70ms; } .lines li:nth-child(3) { transition-delay: 140ms; }
.lines-palco li { color: var(--color-ink); }
.lines-plateia li { color: var(--color-ink-2); }
.js .duo[data-mode="plateia"] .lines-palco li, .js .duo[data-mode="palco"] .lines-plateia li { opacity: 0; transform: translateY(var(--space-md)); }
.js .duo[data-mode="plateia"] .lines-palco, .js .duo[data-mode="palco"] .lines-plateia { visibility: hidden; transition: visibility 0s linear .6s; }
.duo[data-mode="palco"] .lines-palco li:last-child { color: var(--color-accent-hi); }

/* ---------- chapters: a seção prende na tela e os capítulos deslizam com a rolagem ---------- */
.chapters { position: relative; padding-block: var(--section-gap-s); }
.chapters-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; }
.chapters-aside { display: grid; gap: var(--space-xl); justify-items: start; }
.ring-wrap { position: relative; width: min(300px, 70%); }
.ring { width: 100%; height: auto; overflow: visible; }
.ring path { fill: none; stroke: var(--color-rule); stroke-width: 9; transition: stroke var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); }
.ring path.lit { stroke: color-mix(in oklab, var(--color-accent) 70%, var(--color-paper)); }
.ring path.on { stroke: var(--color-accent-hi); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--color-muted); font-size: var(--text-sm); }
.ring-n { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl); color: var(--color-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.cap-dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 44px); gap: var(--space-xs); }
.cap-dots button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-rule); background: none; color: var(--color-muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.cap-dots button:hover { border-color: var(--color-ink); color: var(--color-ink); transform: scale(1.08); }
.cap-dots button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.cap-dots button.lit { border-color: var(--color-accent); color: var(--color-ink); }
.cap-dots button.on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.cap-stage { display: grid; gap: var(--space-xl); }
.cap { display: grid; gap: var(--space-sm); justify-items: start; }
.cap-ico { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--color-accent-hi); margin-bottom: var(--space-xs); }
.cap-n { color: var(--color-muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.cap h3 { font-size: var(--text-section); max-width: 16ch; }
.cap-txt { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 46ch; }
.cap-hint { display: none; }

/* com JavaScript: seção alta, painel preso, um capítulo por vez */
.js .chapters.pinned { padding: 0; height: calc(100svh + 10 * 55svh); }
.js .chapters.pinned .chapters-pin { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: clip; }
.js .chapters.pinned .cap-stage { display: grid; min-height: 380px; align-items: center; }
.js .chapters.pinned .cap { grid-area: 1 / 1; opacity: 0; transform: translateY(48px); pointer-events: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.js .chapters.pinned .cap.past { transform: translateY(-48px); }
.js .chapters.pinned .cap.on { opacity: 1; transform: none; pointer-events: auto; }
.js .chapters.pinned .cap-ico path, .js .chapters.pinned .cap-ico circle, .js .chapters.pinned .cap-ico rect { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out) .15s; }
.js .chapters.pinned .cap.on .cap-ico path, .js .chapters.pinned .cap.on .cap-ico circle, .js .chapters.pinned .cap.on .cap-ico rect { stroke-dashoffset: 0; }
.js .chapters.pinned .cap-hint { display: block; position: absolute; bottom: var(--space-lg); left: 50%; translate: -50% 0; color: var(--color-muted); font-size: var(--text-sm); transition: opacity var(--dur-long) var(--ease-out); }
.js .chapters.pinned.end .cap-hint { opacity: 0; }

/* ---------- verse (light block, as the carousel verse slides) ---------- */
.verse {
  --color-paper: var(--color-light-paper); --color-ink: var(--color-light-ink); --color-ink-2: var(--color-light-ink-2);
  --color-muted: var(--color-light-muted); --color-focus: var(--color-light-ink);
  background: var(--color-paper); color: var(--color-ink); padding-block: var(--section-gap);
}
.verse-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: center; }
.verse-sym { background: none; border: 0; padding: 0; width: min(280px, 100%); cursor: pointer; justify-self: center; border-radius: 50%; }
.verse-sym:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 8px; }
.verse-sym svg { width: 100%; height: auto; overflow: visible; transition: transform var(--dur-long) var(--ease-out); }
.verse-sym:hover svg { transform: rotate(-8deg) scale(1.03); }
.q { font-family: var(--font-display); font-weight: 700; font-size: 9rem; line-height: .7; height: 70px; color: var(--color-accent); }
.verse h2 { max-width: 24ch; }
.ref { margin-top: var(--space-lg); color: var(--color-accent); font-weight: 600; }
.verse-body { margin-top: var(--space-md); max-width: 46ch; color: var(--color-ink-2); }

/* ---------- buy ---------- */
.buy { position: relative; padding-block: var(--section-gap-l); isolation: isolate; overflow: hidden; }
.buy-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.buy-shade { position: absolute; inset: 0; z-index: -1; background: color-mix(in oklab, var(--color-paper) 82%, transparent); }
.buy-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; }
.buy-in { display: grid; justify-items: start; gap: 28px; }
.book-stage-buy { animation: none !important; }
.book-buy { --ry: var(--scroll-ry, -20deg); }
.buy h2 { font-size: var(--text-display); }
.offer { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); max-width: 40rem; }
.offer li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-md); align-items: start; padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.offer-n { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); color: var(--color-accent-hi); font-variant-numeric: tabular-nums; }
.offer-t { font-family: var(--font-display); font-weight: 600; font-size: var(--text-title); }
.offer-d { color: var(--color-ink-2); margin-top: var(--space-2xs); }
[data-fill] { color: var(--color-muted); }

/* ---------- faixas de frases ---------- */
.mq-cross { position: relative; z-index: var(--z-raised); overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-xl); background: var(--color-paper); }
.mq { display: flex; width: 108%; min-width: 0; margin-inline: -4%; overflow: clip; white-space: nowrap; padding-block: var(--space-md); }
.mq-cross .mq { position: relative; }
.mq-red { background: var(--color-accent); color: var(--color-accent-ink); transform: rotate(-2deg); z-index: 2; box-shadow: 0 20px 40px -20px var(--color-spine); }
.mq-dark { background: var(--color-paper-2); color: var(--color-ink); transform: rotate(-2deg); border-block: 1px solid var(--color-rule); }
.mq-track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; will-change: transform; }
.mq-track li { display: flex; align-items: center; gap: var(--space-lg); padding-right: var(--space-lg); }
.mq-t { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.6vw + .8rem, 2.4rem); display: inline-block; transform: skewX(var(--skew, 0deg)); transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.mq-red .mq-t:hover { color: var(--color-spine); }
.mq-dark .mq-t:hover { color: var(--color-accent-hi); }
.mq-sym { width: 28px; height: 28px; flex: none; transition: transform var(--dur-long) var(--ease-out); }
.mq li:hover .mq-sym { transform: rotate(-90deg) scale(1.2); }
.mq-red .mq-sym path:first-child { fill: var(--color-accent-ink); }
.mq-cross .mq-dark { background: var(--color-ink); color: var(--color-paper); border: 0; }
.mq-cross .mq-dark .mq-sym path:last-child { fill: var(--color-paper); }
.mq-cross .mq-dark .mq-t:hover { color: var(--color-accent); }
.mq-solo { padding-block: var(--space-xl); overflow: clip; }
.mq-big { transform: none; border: 0; background: transparent; width: 100%; margin: 0; }
.mq-big .mq-t { font-size: clamp(3rem, 7vw, 7.5rem); color: transparent; -webkit-text-stroke: 1px var(--color-muted); }
.mq-big li:nth-child(3) .mq-t { -webkit-text-stroke-color: var(--color-accent-hi); }
.mq-big .mq-t:hover { color: var(--color-ink); -webkit-text-stroke-color: var(--color-ink); }
.mq-big .mq-sym { width: 56px; height: 56px; }
@media (prefers-reduced-motion: reduce) { .mq-track { flex-wrap: nowrap; } }


/* ---------- áudio de brinde ---------- */
.audio { padding-block: var(--section-gap-s); border-top: 1px solid var(--color-rule); }
.audio-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; }
.audio-txt { display: grid; gap: var(--space-md); }
.audio-body { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 44ch; }
.wave { display: flex; align-items: center; gap: var(--space-2xs); height: 220px; cursor: crosshair; }
.wave i { flex: 1; height: 100%; border-radius: var(--radius-pill); background: var(--color-muted); opacity: .55; transform: scaleY(var(--s, .1)); transition: transform var(--dur-long) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.wave i.hot { background: var(--color-accent); opacity: 1; }
@media (max-width: 60rem) { .audio-in { grid-template-columns: minmax(0, 1fr); } .wave { height: 140px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--color-rule); padding-block: 56px; }
.foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-lg); align-items: center; }
.foot-sym { width: 64px; height: 64px; }
.foot-name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.foot-sub, .foot-tag { color: var(--color-muted); font-size: var(--text-sm); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .hero-in, .chapters-in, .verse-in, .buy-grid { grid-template-columns: minmax(0, 1fr); }
  .chapters-in { align-content: center; gap: var(--space-lg); }
  .chapters-aside { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-md); }
  .chapters-aside h2 { grid-column: 1 / -1; font-size: var(--text-2xl); }
  .ring-wrap { width: 92px; }
  .ring-n { font-size: var(--text-xl); }
  .cap-dots { grid-template-columns: repeat(5, 40px); gap: var(--space-2xs); }
  .cap-dots button { width: 40px; height: 40px; }
  .js .chapters.pinned .cap-stage { min-height: 300px; align-items: start; }
  .cap-ico { width: 48px; height: 48px; }
  .cap h3 { font-size: var(--text-2xl); }
  .cap-txt { font-size: var(--text-md); }
  .book-stage { min-height: 460px; }
  .book { --w: 250px; --h: 350px; --d: 28px; }
  .book-shadow { width: 250px; }
  .duo { min-height: 0; }
  .foot-in { grid-template-columns: auto minmax(0, 1fr); }
  .foot-tag { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .hero { padding-top: var(--space-3xl); }
  .mq-cross { padding-block: var(--space-xl); }
  .sym-btn { width: 84px; }
  .q { font-size: 6rem; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .reveal { opacity: 1; transform: none; }
  .js .book-stage { animation: none; }
  .book, .btn, .btn span { transition: none; transform: rotateX(4deg) rotateY(32deg); }
  .btn, .btn span { transform: none; }
  .duo-ph, .ph-palco { transform: none; }
}
