@charset "UTF-8";

/* RESET E VARIÁVEIS DO TEMA TECH-MÍSTICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #07080b;         /* Fundo ultra-escuro de cinema */
    --bg-card: rgba(15, 18, 26, 0.7); /* Card translúcido escuro */
    --text-main: #f0f1f5;       /* Branco nítido */
    --text-muted: #8e92a2;      /* Cinza moderno para descrições */
    --gold: #d4af37;            /* Dourado brilhante místico */
    --gold-dark: #96794d;       /* Ouro envelhecido editorial */
    --cyan-glow: rgba(0, 150, 255, 0.04);
    --gold-glow: rgba(212, 175, 55, 0.08);
    
    /* Fontes */
    --font-title: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* EFEITOS DE LUZ AMBIENTAL DE FUNDO (COSMIC GLOW) */
.cosmic-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(150, 121, 77, 0.07) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}
.cosmic-glow-2 {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 100, 255, 0.04) 0%, transparent 70%);
    top: 600px;
    left: -200px;
    z-index: 1;
    pointer-events: none;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.container-narrow { max-width: 760px; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.content-center { align-items: center; }

/* MENUS E NAVEGAÇÃO */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    background: rgba(7, 8, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    color: var(--text-main);
}
.logo-symbol { color: var(--gold); margin-right: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-btn {
    background: transparent;
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 2px;
    color: var(--gold) !important;
    transition: all 0.3s !important;
}
.nav-btn:hover { background: var(--gold); color: var(--bg-dark) !important; }

/* REGRAS TIPOGRÁFICAS ADVANCED */
h1, h2, h3 {
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
}
h1 { font-size: 3.5rem; margin-bottom: 24px; }
h2 { font-size: 2.2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }

.gold-gradient {
    background: linear-gradient(135deg, #f5d061 0%, #a8833b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.suptitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}
.sub-h2 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* BOTÕES PREMIUM */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #96794d 100%);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 2px;
    padding: 16px 36px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.btn-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
}
.cta-group { display: flex; gap: 20px; align-items: center; }
.full-width { width: 100%; }

/* SEÇÃO HERO */
.hero {
    padding: 160px 0 100px 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-grid { 
    display: grid; 
    grid-template-columns: 5fr 7fr; /* Proporção perfeita para o mockup de entrada */
    gap: 52px; 
    align-items: center; 
}
.hero-text {
    text-align: left;
    position: relative;
    z-index: 10;
}
.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

/* PALCO DE TRANSIÇÃO DO HERO (IMAGENS FOTOGRÁFICAS) */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 550px;
    min-width: 440px;
}

.book-interactive-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 5;
    animation: float 6s ease-in-out infinite; /* Flutuação suave */
}

.book-layer {
    position: absolute;
    width: 100%;
    height: auto;
    max-width: 420px;
    filter: drop-shadow(0px 25px 45px rgba(0, 0, 0, 0.75));
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    backface-visibility: hidden;
    transform-origin: center center;
}

.book-closed-view {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    z-index: 10;
}

.book-opened-view {
    opacity: 0;
    transform: scale(0.85) rotate(3deg);
    z-index: 5;
}

/* Transição Hover no Topo */
.book-interactive-container:hover .book-closed-view {
    opacity: 0;
    transform: scale(0.9) rotate(-8deg);
}
.book-interactive-container:hover .book-opened-view {
    opacity: 1;
    transform: scale(1.15) rotate(0deg);
    z-index: 15;
    filter: drop-shadow(0px 30px 60px rgba(212, 175, 55, 0.25));
}

/* SEÇÃO 2: MANIFESTO */
.manifesto { padding: 120px 0; background: #0c0e14; position: relative; }
.compass-icon { font-size: 2.5rem; margin-bottom: 24px; display: inline-block; opacity: 0.8; }
.manifesto-quote {
    font-family: var(--font-title);
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-main);
    font-style: italic;
    font-weight: 300;
}
.divider-gold {
    width: 80px;
    height: 1px;
    background: var(--gold-dark);
    margin: 40px auto 0 auto;
}

/* SEÇÃO 3: OS PILARES */
.pillars { padding: 120px 0; }
.section-header { margin-bottom: 60px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.pillar-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 48px 32px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(20, 24, 35, 0.8);
}
.card-border {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: transparent;
    transition: background 0.3s;
}
.pillar-card:hover .card-border {
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}
.pillar-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 20px; }
.pillar-card p { color: var(--text-muted); font-size: 0.95rem; font-weight: 300; }

/* SEÇÃO 4: CARDS DE DOWNLOAD */
.download-donate { padding: 100px 0; background: radial-gradient(circle at 50% 50%, #10131a 0%, var(--bg-dark) 100%); }
.premium-card {
    background: rgba(15, 18, 26, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 60px 48px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.gold-border { border-color: rgba(212, 175, 55, 0.15); }
.card-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 16px;
}
.gold-text { color: var(--gold); }
.premium-card p { color: var(--text-muted); margin: 16px 0 40px 0; font-weight: 300; font-size: 1rem; }

/* SEÇÃO 5: PORTAL DA SALA DE LEITURA (ESTILOS DO LIVRO 3D REAL) */
.reading-portal-section {
    padding: 120px 0;
    background: radial-gradient(circle at 85% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
    border-top: 1px solid rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
}
.portal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 64px;
}
.portal-suptitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
    font-weight: 600;
}
.portal-title {
    font-family: var(--font-title);
    font-size: 2.6rem;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.2;
}
.portal-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 300;
}
.btn-portal-gold {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-portal-gold:hover {
    background: var(--gold);
    color: #07080b;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.2);
}
.portal-btn-icon {
    font-size: 12px;
    transition: transform 0.4s;
}
.btn-portal-gold:hover .portal-btn-icon { transform: rotate(90deg); }

/* BOX DO VISUALIZADOR 3D DA SALA DE LEITURA */
.portal-visual-box {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 18, 26, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 6px;
    overflow: hidden;
}
.portal-visual-box model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    z-index: 5;
    background-color: transparent;
}
.portal-glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
    pointer-events: none;
}
.book-radial-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* SEÇÃO 6: EDIÇÃO IMPRESSA */
.printed-section { padding: 140px 0; background-color: #0c0e14; }
.printed-image {
    position: relative;
    padding: 12px;
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 4px;
}
.img-responsive { width: 100%; height: auto; display: block; border-radius: 2px; }
.printed-text p { margin-bottom: 24px; font-weight: 300; }
.printed-text .text-muted { font-size: 0.9rem; font-style: italic; }

/* FOOTER */
.footer {
    background-color: #050608;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: center; }
.footer-profile h3 { color: var(--gold); margin-bottom: 12px; }
.footer-profile p { color: var(--text-muted); font-weight: 300; max-width: 450px; }
.footer-info { text-align: right; color: #525560; }
.tech-tag { color: var(--gold-dark); margin-top: 4px; font-weight: 500; }

/* KEYFRAMES */
@keyframes scrollMouse {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }

/* RESPONSIVIDADE (MOBILE) */
@media (max-width: 900px) {
    .grid-2, .grid-3, .hero-grid, .footer-grid, .portal-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    h1 { font-size: 2.2rem; }
    .hero { padding: 140px 0 80px 0; }
    .hero-text { text-align: center; } 
    .hero-image-wrapper { min-width: auto; height: 450px; min-height: 350px; } 
    .book-interactive-container { max-width: 320px; }
    .book-opened-view { display: none; }
    .portal-visual-box { height: 350px; }
    .cta-group { justify-content: center; flex-direction: column; width: 100%; gap: 16px; }
    .btn, .btn-secondary { width: 100%; }
    .nav-links { display: none; }
    .footer-info { text-align: center; }
    .premium-card { padding: 40px 24px; }
}