:root {
            --bg-obsidian: #09090B;
            --text-white: #FFFFFF;
            --text-zinc: #A1A1AA;
            --gold-aurora: #D4AF37;
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-blur: blur(24px);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
        }

        body {
            background-color: var(--bg-obsidian);
            color: var(--text-white);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        /* Tipografia Premium */
        h1, h2, h3, h4, .stark-title {
            font-family: 'Plus Jakarta Sans', sans-serif;
            letter-spacing: -0.03em;
            font-weight: 800;
            text-transform: uppercase;
        }
        .gold-text { color: var(--gold-aurora); }
        .thin-text { font-weight: 200; }

        /* Estrutura de Seções (Scrollytelling) */
        section {
            width: 100%;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 80px 20px;
            position: relative;
        }

        .container {
            width: 100%;
            max-width: 1440px;
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        /* Animações de Entrada */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Componentes de Vidro */
        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            transition: border-color 0.3s ease;
        }
        .glass-card:hover { border-color: rgba(212, 175, 55, 0.3); }

        /* Headers de Seção */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding-bottom: 16px;
            margin-bottom: 24px;
        }
        .section-tag {
            font-size: 11px;
            letter-spacing: 0.2em;
            color: var(--text-zinc);
            text-transform: uppercase;
        }

        /* Grids Arquiteturais Blindados */
        .grid-split { 
            display: grid; 
            grid-template-columns: 1.2fr 2fr; 
            gap: 40px; 
            width: 100%; 
            align-items: stretch;
        }
        
        .bento-grid { 
            display: flex; 
            flex-direction: column; 
            gap: 24px; 
            width: 100%; 
        }
        .bento-top { 
            width: 100%; 
            height: 500px; /* Altura fixa para evitar esmagamento */
            flex-shrink: 0;
        }
        .bento-bottom { 
            width: 100%; 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 24px; 
            height: 440px; /* Altura fixa para simetria perfeita */
            flex-shrink: 0;
        }

        /* CARROSSÉIS DE ESTÚDIO COM BARRA DE INFO DESACOPLADA */
        .carousel-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--glass-border);
            background: radial-gradient(circle at center, rgba(39, 39, 42, 0.45) 0%, rgba(9, 9, 11, 0.95) 100%);
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 40px rgba(0,0,0,0.6);
        }
        
        .carousel-track-container {
            position: relative;
            width: 100%;
            flex-grow: 1;
            overflow: hidden;
        }

        .carousel-track {
            display: flex;
            width: 100%;
            height: 100%;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        .carousel-track::-webkit-scrollbar { display: none; }
        
        .carousel-slide {
            flex: 0 0 100%;
            height: 100%;
            scroll-snap-align: start;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .carousel-slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 12px 24px rgba(0,0,0,0.7));
            transition: transform 0.5s ease;
        }
        .carousel-slide:hover img { transform: scale(1.02); }
        
        /* BARRA DE INFORMAÇÃO ESTRUTURAL NO RODAPÉ DO CARD */
        .card-info-bar {
            width: 100%;
            background: rgba(18, 18, 21, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
            flex-shrink: 0;
        }
        .info-title {
            font-size: 15px;
            color: var(--gold-aurora);
            font-weight: 700;
            letter-spacing: 0.05em;
        }
        .info-desc {
            font-size: 12px;
            color: var(--text-zinc);
            margin-top: 2px;
        }
        .info-badge {
            font-size: 11px;
            color: var(--text-white);
            background: rgba(255,255,255,0.08);
            padding: 6px 12px;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.1);
            white-space: nowrap;
        }
        
        /* Controles do Carrossel */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.25);
            color: white;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 15;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        .nav-btn:hover { background: var(--gold-aurora); color: #000; }
        .nav-prev { left: 20px; }
        .nav-next { right: 20px; }

        /* Rodapé Premium */
        footer {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding: 40px 20px;
            display: flex;
            justify-content: center;
            background: #000;
        }
        .footer-content {
            width: 100%;
            max-width: 1440px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: var(--text-zinc);
        }

        .asset-error {
            border: 2px dashed #EF4444 !important;
            padding: 16px;
            text-align: center;
            color: #EF4444;
            font-size: 11px;
            font-family: monospace;
            background: rgba(239, 68, 68, 0.05);
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }



/* ============ MOBILE RESPONSIVENESS ============ */
@media (max-width: 800px) {
    section { padding: 40px 16px; min-height: auto; }
    h1 { font-size: 42px !important; }
    h2 { font-size: 28px !important; }
    .grid-split, .bento-bottom { grid-template-columns: 1fr !important; }
    .bento-top, .bento-bottom, .carousel-wrapper { height: auto !important; min-height: 400px; }
    .card-info-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
    .nav-btn { width: 36px; height: 36px; }
}


/* Fixes */
.estrela { margin-bottom: 24px; }
.estrela svg { width: 50px; height: 50px; }
.gate-box {
    position: relative;
    z-index: 2;
    background: rgba(9, 9, 11, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 60px 40px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
}
.gate-box h1 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 8px;
}
.gate-box p {
    color: var(--text-zinc);
    font-size: 14px;
    margin-bottom: 32px;
}
@media (max-width: 800px) {
    .desktop-nav { display: none !important; }
    #mobile-menu-btn { display: block !important; }
}

html { scroll-behavior: smooth; }


/* ============ SECURITY & ACCESS ============ */
#gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #09090b;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gate-card {
    background: rgba(9, 9, 11, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 60px 40px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
}
.gate-card h1 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 8px;
}
.gate-card p {
    color: var(--text-zinc);
    font-size: 14px;
    margin-bottom: 32px;
}
.gate-star {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
}
.security-blur { filter: blur(25px) grayscale(100%); pointer-events: none; }
.btn-primary { background: var(--gold-aurora); color: #000; border: none; padding: 12px 24px; font-weight: 700; border-radius: 8px; cursor: pointer; }


/* ============ MARQUEE INFINITO ============ */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}
.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
}
.marquee-track img {
    height: 250px;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
}
@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 8px)); }
}
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}
@media (max-width: 800px) {
    .marquee-track img {
        height: 180px;
    }
}
