/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --c-black  : #07070b;
  --c-dark   : #0d0d14;
  --c-dark2  : #131320;
  --c-dark3  : #1a1a2a;
  --c-white  : #f0ede8;
  --c-muted  : rgba(240,237,232,.6);
  --c-faint  : rgba(240,237,232,.1);
  --c-red    : #8b0000;
  --c-red2   : #a80000;
  --c-redbr  : #c0392b;
  --c-redglow: rgba(139,0,0,.3);
  --ff-serif : 'Playfair Display', Georgia, serif;
  --ff-sans  : 'Inter', system-ui, sans-serif;
  --ease     : cubic-bezier(.25,.46,.45,.94);
  --ease-out : cubic-bezier(.16,1,.3,1);
}

[data-theme="red"] {
  --c-black: #0b0005;
  --c-dark : #120007;
  --c-dark2: #19000c;
  --c-dark3: #200010;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--c-red) var(--c-dark);
}
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--c-dark); }
::-webkit-scrollbar-thumb { background: var(--c-red); }

body {
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  background: var(--c-black);
  color: var(--c-white);
  overflow-x: hidden;
  cursor: none;
  transition: background .5s var(--ease), color .5s var(--ease);
}

/* grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .03;
  pointer-events: none;
  z-index: 9000;
}

img   { display: block; max-width: 100%; height: auto; }
a, button { cursor: none; }
strong { font-weight: 500; }

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9900;
  background: var(--c-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity .7s var(--ease), visibility .7s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.ld-drop {
  width: 12px; height: 16px;
  background: var(--c-redbr);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: ldFall .9s var(--ease) forwards, ldSplash .4s var(--ease) .9s forwards;
}

@keyframes ldFall {
  from { transform: translateY(-80px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes ldSplash {
  0%   { transform: scale(1);  opacity: 1; }
  100% { transform: scale(8);  opacity: 0; background: var(--c-red); }
}

.ld-title {
  font-family: var(--ff-serif);
  font-size: clamp(.85rem, 2.5vw, 1.1rem);
  color: var(--c-muted);
  letter-spacing: .08em;
  text-align: center;
  opacity: 0;
  animation: fadeUp .6s var(--ease-out) .3s forwards;
}

/* ============================================================
   CANVASES
   ============================================================ */
#cvBg, #cvTrail {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#cvBg    { z-index: 1; }
#cvTrail { z-index: 2; }

/* ============================================================
   CURSOR
   ============================================================ */
#cursorDot, #cursorRing {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: left, top;
}
#cursorDot {
  width: 7px; height: 7px;
  background: var(--c-redbr);
  z-index: 9800;
  mix-blend-mode: difference;
  transition: width .2s, height .2s;
}
#cursorRing {
  width: 34px; height: 34px;
  border: 1px solid rgba(192,57,43,.4);
  z-index: 9799;
  transition: width .25s var(--ease), height .25s var(--ease);
}
body.cursor-hover #cursorDot  { width: 16px; height: 16px; }
body.cursor-hover #cursorRing { width: 50px; height: 50px; }

/* ============================================================
   FLOAT BUTTON
   ============================================================ */
.float-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--c-red);
  color: var(--c-white);
  text-decoration: none;
  padding: .75rem 1.35rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 6px 28px rgba(139,0,0,.45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .4s var(--ease-out),
              transform .4s var(--ease-out),
              background .25s;
}
.float-btn.show { opacity: 1; transform: none; pointer-events: auto; }
.float-btn:hover { background: var(--c-redbr); }
.float-btn::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 100px;
  border: 1.5px solid var(--c-redbr);
  animation: ripple 2.5s ease-out infinite;
}
@keyframes ripple {
  0%   { transform: scale(1);    opacity: .5; }
  100% { transform: scale(1.35); opacity: 0;  }
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  transition: padding .35s var(--ease),
              background .35s var(--ease),
              border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
#nav.stuck {
  background: rgba(7,7,11,.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .85rem 4rem;
  border-bottom-color: rgba(139,0,0,.2);
}

.nav-logo {
  font-family: var(--ff-serif);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--c-white);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: relative;
  transition: color .3s;
}
.nav-links a:not(.nav-buy)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--c-redbr);
  transition: width .3s var(--ease);
}
.nav-links a:not(.nav-buy):hover        { color: var(--c-white); }
.nav-links a:not(.nav-buy):hover::after { width: 100%; }

.nav-icon-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--c-faint);
  background: none;
  color: var(--c-muted);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, color .3s;
}
.nav-icon-btn:hover { border-color: var(--c-red); color: var(--c-redbr); }

.nav-buy {
  background: var(--c-red);
  color: var(--c-white) !important;
  padding: .45rem 1.15rem;
  border-radius: 2px;
  transition: background .25s !important;
}
.nav-buy:hover { background: var(--c-redbr) !important; }
.nav-buy::after { display: none !important; }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 3px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--c-white);
  transition: transform .35s var(--ease), opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(7,7,11,.6);
  backdrop-filter: blur(6px);
  z-index: 698;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.menu-overlay.show { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed;
  inset-block: 0;
  inset-inline-end: -100%;
  width: min(300px, 82vw);
  z-index: 699;
  background: var(--c-dark2);
  border-left: 1px solid rgba(139,0,0,.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 3rem 2.5rem;
  transition: inset-inline-end .45s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.show { inset-inline-end: 0; }

.mm-link {
  color: var(--c-white);
  text-decoration: none;
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  transition: color .25s;
}
.mm-link:hover { color: var(--c-redbr); }
.mm-buy {
  font-family: var(--ff-sans) !important;
  font-size: .78rem !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--c-red);
  padding: .75rem 1.5rem;
  border-radius: 2px;
  display: inline-block;
  margin-top: .5rem;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 4rem; }

.sec-head { text-align: center; margin-bottom: 4rem; }
.sec-head h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-white);
  margin-block: .5rem .9rem;
}

.tag {
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-redbr);
}

.rule {
  width: 48px; height: 1px;
  background: linear-gradient(to right, var(--c-red), transparent);
  margin-inline: auto;
}

/* buttons */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: var(--c-red);
  color: var(--c-white);
  text-decoration: none;
  padding: .85rem 1.85rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--c-red);
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
  white-space: nowrap;
}
.btn-red::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-redbr);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
  z-index: 0;
}
.btn-red:hover::before { transform: scaleX(1); }
.btn-red > * { position: relative; z-index: 1; }
.btn-red svg { transition: transform .3s var(--ease); flex-shrink: 0; }
.btn-red:hover svg { transform: translateX(4px); }
.btn-red--lg { padding: 1rem 2.25rem; font-size: .83rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(240,237,232,.25);
  color: var(--c-muted);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.btn-outline:hover { color: var(--c-white); border-color: var(--c-white); }

/* share */
.share-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.share-row--center { justify-content: center; }
.share-label {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.share-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--c-faint);
  color: var(--c-muted);
  text-decoration: none;
  transition: border-color .25s, color .25s, background .25s;
}
.share-ico svg { width: 16px; height: 16px; }
.share-ico:hover                         { border-color: var(--c-red); color: var(--c-white); background: rgba(139,0,0,.15); }
.share-ico[data-net="whatsapp"]:hover    { border-color: #25d366; color: #25d366; background: rgba(37,211,102,.08); }
.share-ico[data-net="facebook"]:hover   { border-color: #1877f2; color: #1877f2; background: rgba(24,119,242,.08); }

/* reveal animations */
.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal   { transform: translateY(40px); }
.reveal-l { transform: translateX(-40px); }
.reveal-r { transform: translateX(40px); }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 4rem 5rem;
}

.hero-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 15% 60%, rgba(139,0,0,.09) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 20%, rgba(139,0,0,.05) 0%, transparent 60%);
  pointer-events: none;
  will-change: transform;
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

/* text */
.hero-genre {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-redbr);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .7s var(--ease-out) 1.6s forwards;
}
.genre-bar { width: 26px; height: 1px; background: var(--c-redbr); flex-shrink: 0; }

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.0;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) 1.75s forwards;
}

/* glitch */
.glitch { display: block; position: relative; color: var(--c-white); }
.glitch--red { color: var(--c-redbr); }

.glitch::before,
.glitch::after {
  content: attr(data-g);
  position: absolute;
  inset: 0;
  opacity: 0;
}
.glitch::before { color: var(--c-redbr); animation: ga 6s infinite 3s; }
.glitch::after  { color: #7ad4f0;        animation: gb 6s infinite 3s; }
.glitch--red::before,
.glitch--red::after { color: #fff; }

@keyframes ga {
  0%,80%,100% { opacity:0; transform:none; clip-path:none; }
  81% { opacity:.9; transform:translate(-3px,1px) skewX(-5deg);
        clip-path:polygon(0 15%,100% 15%,100% 40%,0 40%); }
  83% { opacity:0; }
  85% { opacity:.7; transform:translate(3px,-1px) skewX(3deg);
        clip-path:polygon(0 60%,100% 60%,100% 80%,0 80%); }
  87% { opacity:0; }
}
@keyframes gb {
  0%,82%,100% { opacity:0; transform:none; clip-path:none; }
  83% { opacity:.5; transform:translate(3px,0) skewX(2deg);
        clip-path:polygon(0 45%,100% 45%,100% 65%,0 65%); }
  86% { opacity:0; }
}

.hero-by {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c-muted);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp .7s var(--ease-out) 1.9s forwards;
}

.hero-sub {
  font-size: .97rem;
  color: var(--c-muted);
  max-width: 400px;
  line-height: 1.85;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp .7s var(--ease-out) 2.0s forwards;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .7s var(--ease-out) 2.1s forwards;
}

.hero-kindle {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .85rem;
  font-size: .7rem;
  color: rgba(240,237,232,.3);
  letter-spacing: .06em;
  opacity: 0;
  animation: fadeUp .7s var(--ease-out) 2.25s forwards;
}

/* book cover */
.hero-cover {
  position: relative;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) 1.65s forwards;
  will-change: transform;
}

.cover-wrap {
  position: relative;
  animation: floatY 7s ease-in-out infinite;
  display: inline-block;
}

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

.cover-wrap img {
  width: clamp(190px, 22vw, 290px);
  box-shadow: 0 24px 68px rgba(0,0,0,.85),
              0 0 0 1px rgba(255,255,255,.05);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.cover-wrap:hover img {
  box-shadow: 0 32px 88px rgba(0,0,0,.9),
              0 0 60px rgba(139,0,0,.2),
              0 0 0 1px rgba(255,255,255,.08);
}

.cover-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.07) 0%, transparent 55%);
  pointer-events: none;
}

.cover-glow {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 45px;
  background: radial-gradient(ellipse, rgba(139,0,0,.4) 0%, transparent 70%);
  filter: blur(16px);
  animation: floatY 7s ease-in-out infinite;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  z-index: 10;
  opacity: 0;
  animation: fadeUp .6s var(--ease-out) 2.4s forwards;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--c-redbr));
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip {
  0%,100% { opacity:.3; transform: scaleY(1); }
  50%     { opacity: 1; transform: scaleY(1.2); }
}
.scroll-hint span {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
  position: relative;
  z-index: 10;
  background: var(--c-dark);
  padding: 6rem 4rem;
  border-top: 1px solid rgba(139,0,0,.18);
  border-bottom: 1px solid rgba(139,0,0,.18);
}

.quote-inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.qm {
  display: block;
  font-family: var(--ff-serif);
  font-size: 5rem;
  line-height: .5;
  color: var(--c-red);
  opacity: .3;
  user-select: none;
}
.qm--right { text-align: right; line-height: 1; margin-top: .4rem; }

#typeTarget {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  line-height: 1.65;
  color: var(--c-white);
  min-height: 2.5em;
  margin-block: .5rem;
}
#typeTarget::after {
  content: '|';
  color: var(--c-redbr);
  animation: blink 1s step-end infinite;
  margin-left: 1px;
}
#typeTarget.done::after { display: none; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ============================================================
   SINOPSE
   ============================================================ */
.sinopse {
  position: relative;
  z-index: 10;
  background: var(--c-black);
  padding: 7rem 0;
}

.sinopse-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: start;
}

.simg-frame {
  position: relative;
  display: inline-block;
}
.simg-frame img {
  width: clamp(170px, 17vw, 230px);
  box-shadow: 0 20px 54px rgba(0,0,0,.75),
              0 0 0 1px rgba(255,255,255,.04);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.simg-frame img:hover {
  transform: scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,.85),
              0 0 38px rgba(139,0,0,.18),
              0 0 0 1px rgba(255,255,255,.07);
}
.simg-badge {
  position: absolute;
  bottom: -12px; right: -12px;
  background: var(--c-red);
  padding: .6rem .85rem;
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: center;
}
.simg-badge strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.s-lead {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--c-white);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.sinopse-body p {
  color: var(--c-muted);
  font-size: .96rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}
.sinopse-body em { color: var(--c-white); font-style: italic; }
.sinopse-body strong { color: var(--c-white); }

.s-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-block: 1.5rem 1.75rem;
}
.s-tags span {
  border: 1px solid rgba(139,0,0,.35);
  color: rgba(240,237,232,.5);
  padding: .25rem .7rem;
  font-size: .63rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: border-color .25s, color .25s;
}
.s-tags span:hover { border-color: var(--c-redbr); color: var(--c-muted); }

.s-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   UNIVERSO
   ============================================================ */
.universo {
  position: relative;
  z-index: 10;
  background: var(--c-dark);
  padding: 7rem 0;
}

.u-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.u-card {
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 3px;
  overflow: hidden;
  background: var(--c-dark2);
  transition: border-color .35s, transform .35s var(--ease);
}
.u-card:hover { border-color: rgba(139,0,0,.45); transform: translateY(-5px); }

/* card arts */
.u-art {
  height: 190px;
  position: relative;
  overflow: hidden;
}

/* Clara — diário, tinta */
.u-art--clara {
  background: linear-gradient(155deg, #080812 0%, #0e1020 60%, #06080f 100%);
}
.u-art-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0, transparent 24px,
    rgba(240,237,232,.04) 24px, rgba(240,237,232,.04) 25px
  );
}
.u-art-ink {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--c-redbr));
  filter: blur(.5px);
  animation: inkDrip 3s ease-in-out infinite;
}
.u-art-ink::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 8px;
  background: var(--c-red);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
}
@keyframes inkDrip {
  0%,100% { height: 60px; opacity: .8; }
  50%      { height: 75px; opacity: 1; }
}

/* Lucas — porta, luz */
.u-art--lucas {
  background: linear-gradient(180deg, #04040a 0%, #0a0812 100%);
}
.u-art-door {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55px; height: 120px;
  border: 1px solid rgba(240,237,232,.12);
  border-bottom: none;
  background: #06060c;
}
.u-art-light {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 100px;
  background: radial-gradient(ellipse at 50% 100%, rgba(139,0,0,.22) 0%, transparent 70%);
  animation: lightPulse 3s ease-in-out infinite;
}
@keyframes lightPulse {
  0%,100% { opacity: .6; }
  50%      { opacity: 1; }
}

/* Memória — fragmentação */
.u-art--memoria {
  background: #040408;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1px;
}
.u-art-frag {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 0deg at 50% 50%,
      rgba(139,0,0,.04) 0deg,
      transparent 90deg,
      rgba(240,237,232,.03) 180deg,
      transparent 270deg,
      rgba(139,0,0,.04) 360deg
    );
  animation: fragSpin 12s linear infinite;
}
@keyframes fragSpin { to { transform: rotate(360deg); } }
.u-art--memoria::before {
  content: '01 10 11 00\A 10 01 00 11\A 11 10 01 00\A 00 11 10 01';
  white-space: pre;
  font-family: monospace;
  font-size: .5rem;
  color: rgba(139,0,0,.25);
  letter-spacing: .2em;
  line-height: 2.2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  padding: 1rem;
  text-align: center;
  animation: codeFlicker 3.5s step-end infinite;
}
@keyframes codeFlicker {
  0%,90%,100% { opacity: 1; }
  92% { opacity: .2; }
  94% { opacity: .8; }
  96% { opacity: .3; }
}

.u-body { padding: 1.5rem 1.5rem 2rem; }
.u-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .55rem;
}
.u-body p {
  font-size: .87rem;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  position: relative;
  z-index: 10;
  background: var(--c-dark2);
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
  padding: 3.5rem 0;
}
.stats-grid {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--ff-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--c-redbr);
  margin-bottom: .35rem;
}
.stat span {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.stat:nth-child(1) { --d: .00s; }
.stat:nth-child(2) { --d: .09s; }
.stat:nth-child(3) { --d: .18s; }
.stat:nth-child(4) { --d: .27s; }

/* ============================================================
   AUTOR
   ============================================================ */
.autor {
  position: relative;
  z-index: 10;
  background: var(--c-black);
  padding: 7rem 0;
  overflow: hidden;
}
.autor::after {
  content: '"';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-serif);
  font-size: 26rem;
  color: var(--c-red);
  opacity: .025;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.autor-body {
  max-width: 680px;
}
.autor-body p {
  font-size: .97rem;
  line-height: 1.9;
  color: var(--c-muted);
  margin-bottom: 1.15rem;
}
.autor-body strong { color: var(--c-white); }
.autor-body blockquote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-white);
  border-left: 2px solid var(--c-red);
  padding-left: 1.5rem;
  margin-block: 2rem;
  line-height: 1.7;
}
.autor-dim  { font-size: .88rem !important; color: rgba(240,237,232,.36) !important; }
.autor-sign { font-family: var(--ff-serif); font-style: italic; color: var(--c-redbr) !important; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  position: relative;
  z-index: 10;
  background: var(--c-dark);
  padding: 6.5rem 4rem;
  border-top: 1px solid rgba(139,0,0,.15);
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 50% 50%, rgba(139,0,0,.06) 0%, transparent 70%);
  pointer-events: none;
}

.nl-inner {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin-inline: auto;
  text-align: center;
}
.nl-inner .tag { display: block; margin-bottom: .75rem; }
.nl-inner h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.nl-inner > p {
  font-size: .94rem;
  color: var(--c-muted);
  margin-bottom: 2rem;
}

.nl-field {
  display: flex;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px;
  padding: .3rem .3rem .3rem 1.1rem;
  transition: border-color .3s;
}
.nl-field:focus-within { border-color: rgba(139,0,0,.55); }

.nl-field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--c-white);
  font-family: var(--ff-sans);
  font-size: .9rem;
  font-weight: 300;
}
.nl-field input::placeholder { color: rgba(240,237,232,.3); }

.nl-msg {
  margin-top: .75rem;
  font-size: .8rem;
  min-height: 1.2em;
}
.nl-msg.ok  { color: #4caf50; }
.nl-msg.err { color: var(--c-redbr); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  z-index: 10;
  background: var(--c-black);
  padding: 9rem 4rem;
  text-align: center;
  overflow: hidden;
}
.fcta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 70% at 50% 50%, rgba(139,0,0,.1) 0%, transparent 65%);
  pointer-events: none;
}
.fcta-inner { position: relative; z-index: 1; max-width: 580px; margin-inline: auto; }

.fcta-eyebrow {
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-redbr);
  margin-bottom: 1.5rem;
}
.fcta-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: .9rem;
}
.fcta-sub {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: .98rem;
  color: var(--c-muted);
  margin-bottom: 2.75rem;
}
.fcta-share {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}
.fcta-share > span {
  font-size: .73rem;
  color: var(--c-muted);
  letter-spacing: .05em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 10;
  background: var(--c-black);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 2.25rem 4rem;
  text-align: center;
}
.footer p {
  font-size: .75rem;
  color: rgba(240,237,232,.25);
  letter-spacing: .05em;
  line-height: 1.9;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal[hidden] { display: none; }

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(4,4,8,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: bgIn .4s var(--ease);
}
@keyframes bgIn { from{opacity:0} to{opacity:1} }

.modal-box {
  position: relative;
  z-index: 1;
  background: var(--c-dark2);
  border: 1px solid rgba(139,0,0,.25);
  border-radius: 3px;
  max-width: 580px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 3rem;
  scrollbar-width: thin;
  scrollbar-color: var(--c-red) var(--c-dark);
  animation: boxIn .45s var(--ease-out);
}
@keyframes boxIn { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }

.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: none;
  color: var(--c-muted);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, color .25s, background .25s;
}
.modal-close:hover { border-color: var(--c-red); color: var(--c-redbr); background: rgba(139,0,0,.1); }

.modal-head { margin-bottom: 2rem; }
.modal-head .tag { display: block; margin-bottom: .5rem; }
.modal-head h2 {
  font-family: var(--ff-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .9rem;
}

.modal-lead {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-white);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.modal-content p {
  font-size: .95rem;
  line-height: 1.9;
  color: var(--c-muted);
  margin-bottom: 1rem;
}
.modal-content em { color: var(--c-white); }

.modal-foot {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero { padding: 7rem 2.5rem 5rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-genre, .hero-btns  { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cover { order: -1; }

  .sinopse-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sinopse-visual { display: flex; justify-content: center; }
  .s-actions { justify-content: center; }

  .u-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .wrap { padding-inline: 1.25rem; }

  #nav                { padding: 1.1rem 1.25rem; }
  #nav.stuck          { padding: .8rem 1.25rem; }
  .nav-links          { display: none; }
  .burger             { display: flex; }

  .hero               { padding: 7rem 1.25rem 5rem; }
  .quote-section      { padding: 4.5rem 1.25rem; }
  .sinopse            { padding: 5.5rem 0; }
  .universo           { padding: 5.5rem 0; }
  .autor              { padding: 5.5rem 0; }
  .newsletter         { padding: 5rem 1.25rem; }
  .final-cta          { padding: 6rem 1.25rem; }
  .footer             { padding: 2rem 1.25rem; }
  .stats-grid         { padding-inline: 1.25rem; }

  .hero-btns          { flex-direction: column; align-items: center; }
  .btn-red            { width: 100%; justify-content: center; }
  .btn-outline        { width: auto; }

  .u-grid             { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  .nl-field           { flex-direction: column; gap: .5rem; padding: .75rem; }
  .nl-field .btn-red  { width: 100%; justify-content: center; }

  .float-btn          { bottom: 1.25rem; right: 1.25rem; }
  .modal-box          { padding: 2rem 1.5rem; }

  .s-actions          { flex-direction: column; align-items: flex-start; }
  .sinopse-img        { display: flex; justify-content: center; }

  /* disable cursor on touch */
  body          { cursor: auto; }
  a, button     { cursor: pointer; }
  #cursorDot,
  #cursorRing   { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.4rem, 11vw, 3rem); }
  .autor::after { font-size: 14rem; }
  .simg-badge { bottom: -10px; right: -10px; }
}
