/* ==========================================================================
   1. RESET, VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --bg-main: #080808;
    --bg-card: #121212;
    --accent: #ffef00; /* Verde Neon / Chroma Key */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
}

html, body {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================================================
   2. CABEÇALHO (HEADER) E NAVEGAÇÃO
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background-color: rgba(8, 8, 8, 0.95);
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #151515;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

header .logo {
    font-weight: 900;
    /*font-size: 1.4rem;*/
    letter-spacing: 3px;
    color: var(--text-primary);
}

header .logo span { color: var(--accent); }

nav.nav-container { display: flex; align-items: center; }
nav.nav-container a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 30px;
    transition: color 0.3s;
    text-transform: uppercase;
}
nav.nav-container a:hover { color: var(--accent); }
nav.nav-container .nav-btn {
    background-color: transparent;
    border: 2px solid var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--accent);
}
nav.nav-container .nav-btn:hover { background-color: var(--accent); color: #000; }

button.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; }


/* ==========================================================================
   4. ESTRUTURA DE SEÇÕES E COMPONENTES GERAIS
   ========================================================================== */
.section-container { padding: 100px 8%; }
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; font-weight: 900; letter-spacing: 1px; }
.section-header h2 span { color: var(--accent); }
.section-header p { color: var(--text-secondary); margin-top: 5px; }

.btn {
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn.primary { background-color: var(--text-primary); color: #000; }
.btn.primary:hover { background-color: var(--accent); }
.btn.secondary { border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text-primary); }
.btn.secondary:hover { border-color: var(--text-primary); background-color: rgba(255, 255, 255, 0.05); }

/* ==========================================================================
   6. SLIDER DE ARTISTAS E POP-UPS MODAL
   ========================================================================== */
.artists-slider { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0 40px 0; }
.artists-slider::-webkit-scrollbar { display: none; }
.artist-slide-card { flex: 0 0 280px; scroll-snap-align: start; background-color: var(--bg-card); padding: 30px 20px; border-radius: 12px; text-align: center; border: 1px solid #151515; cursor: pointer; }
.artist-photo-wrapper { width: 160px; height: 160px; margin: 0 auto 20px auto; border-radius: 50%; overflow: hidden; }
.artist-photo-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.artist-role { color: var(--accent); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background-color: #121212; padding: 40px; max-width: 800px; width: 90%; border-radius: 12px; position: relative; }
.close-modal-btn { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #666; cursor: pointer; }
.modal-body-layout { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.modal-img-box { flex: 0 0 250px; width: 250px; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; }
.modal-img-box img { width: 100%; height: 100%; object-fit: cover; }
.modal-text-box { flex: 1; min-width: 280px; }

/* ==========================================================================
   7. SEÇÃO ESTRUTURA (NOVO LAYOUT PREMIUM DE BLOCOS)
   ========================================================================== */
.about-section { background-color: #0f0f0f; border-top: 1px solid #151515; }
.estrutura-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.estrutura-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.estrutura-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}
.estrutura-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}
.estrutura-card h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-primary);
}
.estrutura-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.main-footer { background-color: #050505; border-top: 1px solid #111; padding: 60px 8% 30px 8%; color: var(--text-secondary); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-links { display: flex; gap: 60px; }
.footer-nav-col ul { list-style: none; }
.footer-nav-col ul li { margin-bottom: 12px; }
.footer-nav-col ul li a { color: var(--text-secondary); text-decoration: none; }
.footer-nav-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #111; padding-top: 30px; margin-top: 30px; display: flex; justify-content: space-between; font-size: 0.85rem; }

/* ==========================================================================
   ANIMAÇÕES CINEMATOGRÁFICAS (REATIVADAS COM TRAVA DE OVERFLOW)
   ========================================================================== */
.hidden-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show-section {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-30px); /* Reduzido de -50px para não empurrar a borda no mobile */
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-right {
    opacity: 0;
    transform: translateX(30px); /* Reduzido de 50px para não vazar a tela */
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.animated-in {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.blur-in {
    opacity: 0;
    filter: blur(15px);
    transition: opacity 1.2s ease-out, filter 1.2s ease-out;
}

.blur-in.animated-in {
    opacity: 1;
    filter: blur(0px);
}

/* Delays das transições */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.55s; }

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVIDADE ABSOLUTA - 0 VAZAMENTOS)
   ========================================================================== */
@media (max-width: 1024px) {
    header { padding: 20px 5%; }
    .hero-content h1 { font-size: 3.2rem; }
    .section-container, .about-section { padding: 80px 5%; }
}

@media (max-width: 768px) {
    header { padding: 15px 5% !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }

    button.menu-toggle { display: flex !important; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; z-index: 2000000 !important; position: relative !important; }
    button.menu-toggle span { width: 100%; height: 3px; background-color: var(--text-primary) !important; transition: all 0.3s ease; border-radius: 2px; display: block; }
    button.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg) !important; background-color: var(--accent) !important; }
    button.menu-toggle.open span:nth-child(2) { opacity: 0 !important; }
    button.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg) !important; background-color: var(--accent) !important; }

    nav.nav-container {
        display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 30px !important;
        position: fixed !important; top: -100vh !important; left: 0 !important; right: 0 !important; width: 100% !important; height: 100vh !important;
        background-color: rgba(8, 8, 8, 0.99) !important; backdrop-filter: blur(25px) !important; z-index: 1000000 !important; transition: top 0.4s ease !important;
    }
    nav.nav-container.open { top: 0 !important; }
    nav.nav-container a { margin-left: 0 !important; margin-right: 0 !important; font-size: 1.6rem !important; color: #ffffff !important; font-weight: 900 !important; text-transform: uppercase; width: 100%; text-align: center; }
    nav.nav-container a.nav-btn { border: 2px solid var(--accent) !important; padding: 12px 35px !important; border-radius: 50px; color: var(--accent) !important; max-width: 220px; margin: 10px auto 0 auto !important; }

    .artists-slider { gap: 20px; padding-left: 20px; }
    .artist-slide-card { flex: 0 0 240px; }
    .modal-body-layout { flex-direction: column; text-align: center; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}