@font-face {
    font-family: 'Aurelio';
    src: url('assets/Aurelio-TitlingCompressed.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #0d0d0f;
    --surface: #18181c;
    --text-color: #e2e2e5;
    --text-muted: #9a9a9f;
    --accent: #cd1b20;
    --accent-glow: rgba(205, 27, 32, 0.4);
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;
    
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Loading Screen */
.loader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
}
.loader-text { font-family: var(--font-heading); font-size: 2vw; opacity: 0; animation: pulse 1s infinite alternate; }
@keyframes pulse { from { opacity: 0.5; } to { opacity: 1; } }

/* Grain */
.grain-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Dissolve_Noise_Texture.png');
    opacity: 0.04; pointer-events: none; z-index: 50; mix-blend-mode: overlay;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px; height: 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 1000;
    transition: transform 0.2s ease, background 0.2s ease;
    mix-blend-mode: difference;
}
.custom-cursor.hover { transform: scale(2.5); background: var(--accent); border: none; }

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 1.2rem 0; z-index: 90;
    background: #cd1b20;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}
.navbar.hidden { transform: translateY(-100%); }
.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0 5%;
    display: flex; justify-content: space-between; align-items: center;
}
.logo img { height: 60px; object-fit: contain; }

.nav-links { list-style: none; display: flex; gap: 3.5rem; align-items: center; }
.nav-links a { 
    color: #fff; text-decoration: none; 
    font-family: 'Aurelio', sans-serif;
    font-size: 1.5rem; font-weight: 300; 
    text-transform: uppercase; letter-spacing: 2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative; transition: opacity 0.3s ease;
}
.nav-links a:hover { opacity: 0.7; }


/* Section Base */
.section { padding: 8rem 5%; position: relative; }
.container { max-width: 1400px; margin: 0 auto; }
.section-title { font-family: var(--font-heading); font-size: 4vw; line-height: 1.1; font-weight: 700; margin-bottom: 1rem; }
i.accent { color: var(--accent); font-style: normal; position: relative; }
.center { text-align: center; }
.margin-b { margin-bottom: 4rem; }

/* Hero */
.hero { height: 100vh; position: relative; display: flex; align-items: center; padding: 0 5%; }
.hero-image-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 110%; z-index: -1; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9) contrast(1.05); }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,13,15,0.7) 0%, rgba(13,13,15,0.2) 50%, rgba(13,13,15,0.6) 100%), linear-gradient(to bottom, transparent 70%, var(--bg-color) 100%); }
.hero-content { max-width: 800px; z-index: 10; margin-top: 5rem; }
.hero-badge { display: inline-block; padding: 0.5rem 1rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2rem; }
.hero-title { font-family: var(--font-heading); font-size: 5.5vw; line-height: 1.05; letter-spacing: -1px; margin-bottom: 2rem; }
.line-wrap { overflow: hidden; display: block; }
.line { display: block; transform: translateY(100%); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 500px; opacity: 0; }

.scroll-down { position: absolute; bottom: 3rem; left: 5%; display: flex; align-items: center; gap: 1rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }
.scroll-down .line { width: 40px; height: 1px; background: var(--text-muted); position: relative; overflow: hidden; }
.scroll-down .line::after { content: ''; position: absolute; top:0; left:-100%; width: 100%; height: 100%; background: var(--accent); animation: scroll-line 2s infinite ease-in-out; }
@keyframes scroll-line { 0% { left: -100%; } 100% { left: 100%; } }

/* Banner Light */
.banner-light { position: relative; height: 60vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.banner-img-wrapper { position: absolute; inset: -10%; z-index: -1; }
.banner-img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) opacity(0.3); }
.banner-text-overlay h2 { font-family: var(--font-heading); font-size: 5vw; text-transform: uppercase; }

/* Conceito */
.container-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.col-right p { font-size: 1.4rem; color: var(--text-muted); line-height: 1.8; }

/* Colecionador */
.colecionador-card { display: flex; gap: 4rem; align-items: center; background: var(--surface); border-radius: 20px; overflow: hidden; padding: 3rem; border: 1px solid rgba(255,255,255,0.05); }
.colecionador-img-wrap { flex: 1; border-radius: 12px; overflow: hidden; height: 500px; }
.colecionador-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(50%); }
.colecionador-info { flex: 1; }
.colecionador-info .subtitle { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 1rem; display: block; }
.colecionador-info h3 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 1.5rem; }
.colecionador-info p { color: var(--text-muted); font-size: 1.1rem; }

/* Acervo Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 400px;
    gap: 1.5rem;
}
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; }
.block-1 { grid-column: span 2; grid-row: span 1; }
.block-2 { grid-column: span 1; grid-row: span 1; }
.block-3 { grid-column: span 1; grid-row: span 2; }
.block-4 { grid-column: span 1; grid-row: span 1; }
.block-5 { grid-column: span 1; grid-row: span 1; }
.block-6 { grid-column: span 2; grid-row: span 1; background: var(--surface); border-radius: 16px; padding: 3rem; display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.05); }

.acervo-text-block h3 { font-family: var(--font-heading); font-size: 2.5rem; line-height: 1.2; }
.img-zoom { width: 100%; height: 100%; overflow: hidden; }
.img-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); filter: grayscale(40%) contrast(1.1); }
.gallery-item:hover .img-zoom img { transform: scale(1.05); filter: grayscale(0%); }
.gallery-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); transform: translateY(20px); opacity: 0; transition: all 0.4s ease; z-index: 2; pointer-events: none; }
.gallery-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }
.gallery-caption h4 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.2rem; }
.gallery-caption span { font-size: 0.8rem; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; }
.hover-overlay-btn { position: absolute; top:50%; left:50%; transform: translate(-50%, -50%) scale(0.9); opacity: 0; background: var(--accent); color:#fff; padding: 0.8rem 1.5rem; border-radius: 30px; font-weight: 500; font-size: 0.9rem; transition: all 0.3s ease; text-transform: uppercase; z-index: 3; pointer-events: none; }
.gallery-item:hover .hover-overlay-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Imprensa Section */
.imprensa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.imprensa-card { text-decoration: none; color: inherit; display: block; padding: 2rem; background: var(--surface); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s; position: relative; overflow: hidden; }
.imprensa-card:hover { transform: translateY(-10px); }
.card-date { font-size: 0.8rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; display: block; }
.card-title { font-size: 1.5rem; font-family: var(--font-heading); line-height: 1.4; }
.card-line { position: absolute; bottom: 0; left: 0; height: 4px; width: 0; background: var(--accent); transition: width 0.4s ease; }
.imprensa-card:hover .card-line { width: 100%; }

/* Narrativas */
.dark-container { display: flex; align-items: center; background: #e2e2e5; border-radius: 20px; padding: 5rem; gap: 4rem; color: #0d0d0f; margin-bottom: 4rem; }
.texto-narrativa h2 { margin-bottom: 1.5rem; color: #0d0d0f; }
.white-text { color: #444; font-size: 1.2rem; margin-bottom: 2.5rem; }
.image-narrativa { flex: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.image-narrativa img { width: 100%; height: auto; display: block; filter: grayscale(20%); }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { display: block; text-decoration: none; color: inherit; transition: opacity 0.3s; }
.blog-card:hover { opacity: 0.8; }
.blog-thumb { width:100%; height: 250px; border-radius: 12px; overflow: hidden; margin-bottom: 1.5rem; }
.blog-thumb img { width:100%; height:100%; object-fit: cover; }
.blog-card h3 { font-family: var(--font-heading); font-size: 1.3rem; }
.btn-outline { display: inline-block; padding: 1rem 2.5rem; border: 1px solid var(--text-color); color: var(--text-color); border-radius: 30px; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; font-size: 0.9rem; transition: background 0.3s, color 0.3s; }
.btn-outline:hover { background: var(--text-color); color: var(--bg-color); }

/* Contato Form */
.contato-desc { font-size: 1.2rem; color: var(--text-muted); line-height: 1.6; }
.form-wrapper { background: var(--surface); padding: 3rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.contato-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff; font-family: var(--font-body); font-size: 1rem; outline: none; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); background: rgba(0,0,0,0.4); }
.btn-submit { background: var(--accent); color: #fff; border: none; padding: 1.2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; font-family: var(--font-heading); cursor: pointer; transition: background 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.btn-submit:hover { background: #b03232; }

/* Fechamento */
.fechamento { padding: 15rem 5%; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); background: linear-gradient(180deg, transparent, rgba(211, 60, 60, 0.03)); }
.closing-title { font-family: var(--font-heading); font-size: 4.5vw; line-height: 1.1; }

/* Footer */
.footer { padding-top: 5rem; padding-bottom: 2rem; background: #08080a; }
.footer-grid { display: flex; justify-content: space-between; margin-bottom: 5rem; }
.footer-logo { height: 40px; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); margin-top: 1rem; max-width: 250px; }
.link-group h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; color:#fff; }
.link-group a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.8rem; transition: color 0.3s; }
.link-group a:hover { color: var(--accent); }
.footer-bottom { text-align: center; color: #555; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; }

/* Responsiveness */
@media (max-width: 1024px) {
    .container-grid, .colecionador-card, .dark-container { flex-direction: column; grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .block-1, .block-3, .block-6 { grid-column: span 2; }
    .imprensa-grid, .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .gallery { grid-template-columns: 1fr; }
    .block-1, .block-2, .block-3, .block-4, .block-5, .block-6 { grid-column: span 1; grid-row: span 1; }
    .nav-links { display: none; }
    .footer-grid { flex-direction: column; gap: 3rem; }
    .footer-links { flex-direction: column; gap: 2rem; }
}
