/* ============================================================
   VARIÁVEIS E ESTILOS GLOBAIS - AFROLOGIA DIGITAL EXPERIENCE
   ============================================================ */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #f4ede4;
    --text-primary: #e6e6e6;
    --text-dark: #1a1a1a;
    --accent: #c9956b;
    --accent-dark: #8B4513;
}

.font-urban { font-family: 'Anton', sans-serif; text-transform: uppercase; }
.font-body { font-family: 'Inter', sans-serif; }

html, body { margin: 0; padding: 0; background-color: var(--bg-dark); color: var(--text-primary); overflow-x: hidden; }

/* Arquitetura para o footer Parallax */
body { display: flex; flex-direction: column; min-height: 100vh; }
body.menu-open { overflow: hidden; } /* Previne scroll nativo ao abrir menu */
.main-content-stack { position: relative; z-index: 2; background: var(--bg-dark); }

/* TEXTURA EDITORIAL DE RUÍDO */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04; mix-blend-mode: overlay;
}

/* PRELOADER */
#afro-preloader { position: fixed; inset: 0; background: var(--bg-dark); z-index: 10000; display: flex; align-items: center; justify-content: center; }
.preloader-content { text-align: center; }
.preloader-title { display: block; max-width: 320px; width: clamp(160px, 30vw, 360px); height: auto; margin: 0 auto; }
.preloader-text { font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.1em; color: var(--accent); margin-top: 15px;}
body.loaded #afro-preloader { pointer-events: none; }

/* Esconder conteúdo principal até o pré-loader terminar */
body.loading #smooth-wrapper { opacity: 0; pointer-events: none; }
body.loaded #smooth-wrapper { pointer-events: auto; }

/* Header logo: Mantido invisível por padrão. GSAP controlará a aparição */
#header-logo { opacity: 0; }

/* ============================================================
   HEADER E MENU MOBILE RESPONSIVO
   ============================================================ */
.afro-header-wrapper { position: fixed; top: 0; left: 0; width: 100%; z-index: 9000; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; pointer-events: none; }
.afro-header-wrapper > *:not(.afro-nav-menu) { pointer-events: auto; }
.afro-header-wrapper.menu-active { pointer-events: auto; height: auto; }

.afro-fixed-logo img { height: 40px; object-fit: contain; z-index: 9001; position: relative; will-change: transform; }

/* Aumento do z-index para 9600 para que o Botão Menu e Fechar (X) sobreponha a camada afro-nav-menu */
.afro-nav-btn { background: transparent; border: none; cursor: pointer; z-index: 9600; position: relative; padding: 10px; }

/* MENU HAMBÚRGUER REFATORADO (Animações controladas via GSAP para evitar conflitos) */
.burger { display: block; position: relative; width: 30px; height: 20px; }
.bar { position: absolute; left: 0; width: 100%; height: 2px; background-color: var(--text-primary); transform-origin: center; }
.bar.top { top: 0; }
.bar.mid { top: 9px; }
.bar.bot { top: 18px; }

.afro-nav-menu { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(10, 10, 10, 0.98); display: flex; align-items: center; justify-content: center; transform: translateY(-100%); transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1); z-index: 9500; opacity: 0; pointer-events: none; }
.afro-nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.afro-nav-list { list-style: none; padding: 0; text-align: center; font-size: 2rem; font-family: 'Anton', sans-serif; }
.afro-nav-link, .afro-accordion-btn { color: var(--text-primary); text-decoration: none; transition: color 0.3s; background: none; border: none; font-size: inherit; text-transform: uppercase; cursor: pointer; }
.afro-nav-link:hover, .afro-accordion-btn:hover { color: var(--accent); }
.afro-nav-item-accordion { position: relative; }

.icon-chevron { width: 14px; height: 14px; margin-left: 6px; vertical-align: middle; transition: transform 0.3s ease; }
.afro-accordion-btn[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }
.afro-submenu { list-style: none; padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-family: 'Inter', sans-serif; font-size: 1rem; margin-top: 1rem; }
.afro-submenu.open { max-height: 250px; }
.afro-sub-link { color: #888; text-decoration: none; display: block; margin: 10px 0; transition: 0.3s; }
.afro-sub-link:hover { color: var(--text-primary); }

/* SEÇÕES MANTIDAS INTACTAS - HERO ATÉ GALERIA */
.hero-cinematic { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg-parallax { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: grayscale(100%) contrast(1.2); opacity: 0.3; }
.hero-overlay-dark { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 5%; display: flex; flex-direction: column; height: 80%; justify-content: space-between; pointer-events: none; }
/* Esconder todo o conteúdo interno do hero enquanto o preloader estiver ativo.
    Mantém apenas o background visível para evitar qualquer conteúdo aparecendo antes
    da logo do preloader chegar ao header. */
body.loading .hero-content > * { opacity: 0 !important; transform: translateY(12px) !important; pointer-events: none !important; visibility: hidden !important; }
body.loaded .hero-content > * { opacity: 1 !important; transform: none !important; pointer-events: auto !important; visibility: visible !important; transition: opacity 0.5s ease 0.05s, transform 0.5s ease 0.05s; }
.hero-text-block { margin-top: 10vh; }
.hero-title { font-size: clamp(4rem, 10vw, 9rem); line-height: 0.9; margin: 0; color: #fff; }
.hero-apologia { align-self: flex-end; max-width: 60vw; text-align: right; margin-top: auto; }
.apologia-text { font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1; color: var(--accent); }
.hero-axe { margin-top: 2rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.6; }

.editorial-section { padding: 15vh 5%; background: var(--bg-light); color: var(--text-dark); position: relative; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.editorial-headline { font-size: clamp(3rem, 6vw, 5rem); line-height: 1; margin: 0; }
.editorial-paragraph { font-size: 1.25rem; line-height: 1.8; margin-bottom: 2rem; font-family: var(--font-body); }
@media (max-width: 768px) { .editorial-grid { grid-template-columns: 1fr; gap: 2rem; } }

.territory-section { padding: 10vh 0; background: var(--accent-dark); overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.territory-marquee { font-size: clamp(4rem, 8vw, 7rem); color: var(--bg-light); display: flex; gap: 2rem; }

.poetas-editorial { padding: 15vh 5%; background: var(--bg-dark); }
.section-title-marginal { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--accent); margin-bottom: 5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; }
.poeta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 15vh; opacity: 0; }
.poeta-row.reverse { direction: rtl; }
.poeta-row.reverse > * { direction: ltr; }
.poeta-nome { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; margin-bottom: 1rem; }
.poeta-bio { font-family: var(--font-body); font-size: 1.1rem; line-height: 1.6; opacity: 0.8; max-width: 400px; margin-bottom: 2rem; }
.poeta-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.btn-poeta { display: inline-block; padding: 12px 24px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.3s ease; }
.btn-poeta:hover { background: var(--accent); color: var(--bg-dark); }
.poeta-social { display: flex; gap: 12px; }
.poeta-social a { color: var(--text-primary); transition: color 0.3s ease, transform 0.3s ease; display: inline-flex; align-items: center; justify-content: center; }
.poeta-social a:hover { color: var(--accent); transform: translateY(-2px); }
.poeta-social svg { width: 22px; height: 22px; }
.poeta-image-wrapper { width: 100%; aspect-ratio: 3/4; overflow: hidden; position: relative; background: #111; }
.poeta-image-reveal { width: 100%; height: 100%; transform-origin: top; }
.poeta-image-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 0.5s ease; transform: scale(1.1); }
.poeta-row:hover img { filter: grayscale(0%); }
@media (max-width: 768px) { 
    .poeta-row { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 8vh; } 
    .poeta-bio { font-size: 0.85rem; line-height: 1.4; margin-bottom: 1.2rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; line-clamp: 4; }
    .poeta-nome { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .poeta-image-wrapper { aspect-ratio: 16/9; } 
}

.trajetoria-section { padding: 5vh 5%; background: var(--bg-light); color: var(--text-dark); text-align: center; overflow: hidden; white-space: nowrap; }
.trajetoria-path { font-size: 1.5rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: bold; }

.section-gallery { width: 100vw; overflow-x: hidden; padding: 10vh 0; background: var(--bg-dark); }
.gallery .row { width: auto; display: flex; flex-direction: row; flex-wrap: nowrap; margin: 20px 0; gap: 20px; }
.gallery .row:nth-child(even) { transform: translateX(20%); }
.gallery .row:nth-child(odd) { transform: translateX(-50%); }
.gallery__image-container { width: clamp(200px, 30%, 400px); height: 250px; background: #000; flex-shrink: 0; }
.gallery__image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(80%); transition: 0.4s ease; }
.gallery__image:hover { filter: grayscale(0%); }

.afro-zine-section { position: relative; width: 100%; padding: clamp(5rem, 10vw, 9rem) 1.5rem; overflow: hidden; background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.05); }
.afro-zine-container { position: relative; z-index: 1; width: min(100%, 820px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.afro-zine-text { width: min(100%, 620px); }
.afro-zine-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-family: 'Inter', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.afro-zine-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.afro-zine-text .section-title { margin-bottom: 1.4rem; color: #fff; }
.afro-zine-desc { max-width: 580px; margin: 0 auto; font-size: clamp(.95rem, 2vw, 1.08rem); line-height: 1.75; color: rgba(255, 255, 255, .72); }
.afro-zine-stage { position: relative; display: flex; justify-content: center; width: 100%; }
.afro-zine-scene { position: relative; width: clamp(245px, 72vw, 340px); aspect-ratio: 1 / 1.45; perspective: 1200px; cursor: grab; user-select: none; touch-action: pan-y; }
.afro-zine-scene:active { cursor: grabbing; }
.afro-zine-card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform-origin: 50% 50%; border-radius: 5px; box-shadow: 0 35px 70px rgba(0,0,0,.60), 0 12px 25px rgba(0,0,0,.40); }
.afro-zine-face { position: absolute; inset: 0; overflow: hidden; display: block; border-radius: inherit; backface-visibility: hidden; background: #111; }
.afro-zine-img { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.afro-zine-face-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 30%, transparent 70%, rgba(0,0,0,.30)); opacity: .65; }
.afro-zine-back { transform: rotateY(180deg); }
.afro-zine-hint.premium-hint { position: absolute; left: 50%; top: 50%; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 90px; height: 90px; color: #fff; background: rgba(10, 10, 10, 0.75); border: 1px solid rgba(201, 149, 107, 0.5); border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.6); transform: translate(-50%, -50%); font-family: 'Inter', sans-serif; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; animation: premium-pulse 3s ease-in-out infinite; backdrop-filter: blur(8px); pointer-events: none; }
.afro-zine-hint.premium-hint svg { width: 24px; height: 24px; color: var(--accent); }
@keyframes premium-pulse { 0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(.95); box-shadow: 0 0 0 0 rgba(201, 149, 107, 0.4); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 0 15px rgba(201, 149, 107, 0); } }
.afro-zine-action { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.afro-zine-action-label { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .52); }
.btn-afro-zine-buy { display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; padding: 12px 24px; border: 1px solid var(--accent); color: var(--accent); background: transparent; font-family: 'Anton', sans-serif; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; transition: all .3s ease; text-decoration: none; }
.btn-afro-zine-buy:hover { background: var(--accent); color: var(--bg-dark); }
.btn-afro-zine-buy svg { width: 18px; height: 18px; }

/* ============================================================
   A RUA É O PALCO
   ============================================================ */
.rua-palco-section { min-height: 100vh; background: var(--bg-dark); display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; position: relative; }
.rua-palco-container { perspective: 1000px; transform-style: preserve-3d; display: flex; flex-direction: column; align-items: center; width: 100%; position: relative; }

.rua-word { font-size: clamp(4rem, 12vw, 12rem); line-height: 0.85; margin: 0; color: #fff; text-align: center; will-change: transform, opacity, filter; position: relative; z-index: 2; }
.outline-text { color: transparent; -webkit-text-stroke: 2px var(--accent); }

/* Indicador de scroll (Agora configurado para fixar na tela) */
.scroll-indicator-fixed { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--accent); padding: 10px; font-size: 0.9rem; letter-spacing: 0.15em; animation: float-up-down 2s ease-in-out infinite; opacity: 0; pointer-events: none; }
.scroll-indicator-fixed svg { width: 20px; height: 20px; }
@keyframes float-up-down { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* Mensagem final após manifesto */
.manifesto-final { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; font-size: clamp(3.5rem, 8vw, 10rem); color: var(--accent); text-align: center; width: 100%; opacity: 0; pointer-events: none; margin: 0; line-height: 0.9; }

/* ============================================================
   FOOTER PARALLAX REVEAL (NOVO DESIGN PREMIUM)
   ============================================================ */
.parallax-footer { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1; background: #050505; padding: 10vh 5% 5vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; width: 100%; max-width: 1200px; margin-bottom: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 1.5rem; }

.footer-col-brand .footer-logo { height: clamp(100px, 20vw, 250px); object-fit: contain; opacity: 0.7; transition: 0.3s; align-self: flex-start; will-change: transform; }
.footer-col-brand .footer-logo:hover { opacity: 1; }
.footer-col-brand p { color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 400px; }

.footer-col h4 { font-size: 1.2rem; color: #fff; letter-spacing: 0.1em; margin: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; }
.footer-col-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col-links a { color: #666; text-decoration: none; transition: color 0.3s; font-family: var(--font-body); }
.footer-col-links a:hover { color: var(--accent); }

.footer-col-social p { color: #666; margin: 0; }
.footer-social-links { display: flex; gap: 20px; }
.footer-social-links a { color: #666; transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
.footer-social-links a:hover { color: var(--accent); transform: translateY(-3px); }
.footer-social-links svg { width: 24px; height: 24px; }

.footer-bottom { width: 100%; max-width: 1200px; color: #666; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-creditos a { color: var(--accent); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.footer-creditos a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-col-brand .footer-logo { align-self: center; height: clamp(80px, 25vw, 150px); }
    .footer-col h4 { margin: 0 auto; width: max-content; }
    .footer-social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* Evita que o footer apareça antes do conteúdo ao sair do preloader */
body.loading .parallax-footer { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(20px); transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0s; }
body.loaded .parallax-footer { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.6s ease 0.05s, transform 0.6s ease 0.05s; }

/* 5. Navegação do Poeta (Novo Footer da Subpágina) */
.poet-nav-section { padding: 15vh 5% 5vh; background: var(--bg-light); color: var(--text-dark); text-align: center; }
.poet-nav-eyebrow { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; opacity: 0.6; }
.poet-nav-back { font-size: clamp(3rem, 6vw, 6rem); color: var(--text-dark); text-decoration: none; display: block; line-height: 1; margin-bottom: 4rem; transition: color 0.3s; }
.poet-nav-back:hover { color: var(--accent-dark); }
.poet-nav-pagination { display: flex; justify-content: space-between; align-items: center; }
.poet-nav-link { text-decoration: none; color: var(--text-dark); display: flex; flex-direction: column; transition: transform 0.3s; }
.poet-nav-link.prev { align-items: flex-start; text-align: left; }
.poet-nav-link.next { align-items: flex-end; text-align: right; }
.poet-nav-link:hover { transform: translateY(-5px); color: var(--accent-dark); }
.nav-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; margin-bottom: 0.5rem; }
.nav-name { font-size: clamp(1.5rem, 3vw, 2.5rem); }

/* ============================================================
   ESTANTE DE LIVROS (BOOKSHELF) - INTEGRAÇÃO
   ============================================================ */
.poet-bookshelf { background: var(--bg-dark); position: relative; }
.shelf-container { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; z-index: 1; }
.books-scale-wrapper { position: relative; width: 100%; height: 350px; transform-origin: center bottom; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 50px; }

/* Ajuste Responsivo da Escala dos Livros (Sem quebrar a Matemática 3D) */
@media (max-width: 1024px) { .books-scale-wrapper { transform: scale(0.85); } }
@media (max-width: 768px) { .books-scale-wrapper { transform: scale(0.65); height: 250px; margin-bottom: 30px; } }
@media (max-width: 480px) { .books-scale-wrapper { transform: scale(0.5); height: 200px; margin-bottom: 20px; } }

.shelf { display: block; position: absolute; bottom: 0; width: 100%; max-width: 800px; height: 15px; background: var(--shelf-bg); border-radius: 1px; z-index: 20;
    box-shadow: 0px -1px 1px rgba(255, 255, 255, 0.05), 0px 5px 10px rgba(0, 0, 0, 0.5), 0px 25px 30px rgba(0, 0, 0, 0.7); }
.shelf:after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px; background-color: var(--shelf-edge-bottom); }
.shelf:before { content: ""; position: absolute; top: -2px; left: 0; width: 100%; height: 2px; background-color: var(--shelf-edge-top); }

.books-wrapper { position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; align-items: flex-end; gap: 2rem; z-index: 10; }

.books__item { text-align: center; cursor: default; height: 220px; }
.books__container { position: relative; width: 160px; margin: 0 auto; height: 100%; }
.books__cover { position: relative; will-change: transform; height: 100%; }
.books__hitbox { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 10; cursor: pointer; }
.books__back-cover { position: absolute; width: 96%; height: 96%; top: 2%; left: 2%; background: var(--book-back-cover); border-radius: 0 6px 6px 0; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); z-index: -10; }
.books__inside { position: absolute; width: 90%; height: 94%; top: 3%; left: 5%; z-index: 0; }
.books__page { position: absolute; top: 0; right: 0; width: 98%; height: 100%; background: var(--book-page); border: 1px solid var(--book-page-border); border-radius: 0 6px 6px 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transform-origin: right center; z-index: -5; }
.books__image { line-height: 0; position: relative; border-radius: 2px 6px 6px 2px; height: 100%; box-shadow: var(--book-shadow) 10px -5px 20px, var(--book-shadow) 20px 0px 30px; transform-origin: left center; cursor: pointer; will-change: transform, box-shadow; z-index: 10; }
.books__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px 6px 6px 2px; filter: grayscale(80%) contrast(1.1); transition: filter 0.5s; }
.books__hitbox:hover + .books__image img, .books__hitbox:active + .books__image img { filter: grayscale(0%); }
.books__effect { position: absolute; width: 24px; height: 100%; margin-left: 12px; top: 0; border-left: 2px solid rgba(255, 255, 255, 0.1); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%); transform-origin: left center; z-index: 5; pointer-events: none; }
.books__light { width: 100%; height: 100%; position: absolute; border-radius: 2px 6px 6px 2px; background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%); top: 0; left: 0; opacity: 0.15; transform-origin: left center; z-index: 4; pointer-events: none; mix-blend-mode: overlay; }

.side-book { height: 220px; width: 30px; position: relative; cursor: pointer; background: var(--side-book-bg); border-radius: 2px; box-shadow: var(--book-shadow) 5px -3px 10px, var(--book-shadow) 10px 0px 15px; transform-origin: bottom center; will-change: transform, box-shadow; }
.side-book__title { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); color: var(--side-book-text); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-family: 'Anton', sans-serif; }
.side-book__decoration { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 80%; height: 1px; background-color: var(--side-book-decoration); }
.side-book__decoration:nth-child(2) { top: auto; bottom: 20px; }

.book-shadow { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; align-items: flex-end; gap: 2rem; z-index: 15; }
.book-shadow__item { width: 120px; height: 2px; background: radial-gradient(ellipse at center, var(--book-shadow) 0%, rgba(0, 0, 0, 0) 70%); border-radius: 50%; will-change: width, opacity; }
.book-shadow__item.side { width: 25px; }

/* Textos descritivos das obras (Não sofrem com o CSS Scale do mobile) */
.book-descriptions { position: relative; width: 100%; max-width: 640px; margin: 0 auto; min-height: 220px; z-index: 5; text-align: center; }
.book-description { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; color: var(--text-primary); transition: opacity 0.3s ease, visibility 0.3s ease; }
.book-description.active { opacity: 1; visibility: visible; position: relative; }
.book-description h3 { font-family: 'Anton', sans-serif; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.book-description .author { font-style: italic; font-family: 'Inter', sans-serif; color: var(--accent); margin-bottom: 1rem; font-size: 0.9rem; }
.book-description p { margin-bottom: 1.5rem; font-family: 'Inter', sans-serif; color: #aaa; line-height: 1.6; }

.lines-animation { overflow: hidden; }
.line { overflow: hidden !important; display: block; }
.line .line-inner { display: block; transform: translateY(0); opacity: 1; }