:root {
    --bg-color: #0b0f19;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --card-bg: #121826;
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    /* Bloqueia o scroll até carregar */
    overflow-y: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    font-weight: 100;
    letter-spacing: 2px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section */
#hero-section {
    height: 4000px; /* Será o espaço de scroll */
}

#video-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    /* Para o ScrollTrigger fixar na tela */
}

/* 
  MÁGICA DO MIX-BLEND-MODE
  Cria uma camada preta sobre o vídeo que multiplica as cores.
  O fundo branco puro (#ffffff) vezes o escuro (#0b0f19) vira escuro.
  As cores do objeto 3D serão umedecidas, mas o fundo sumirá perfeitamente.
*/
#video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente radial para deixar o centro (onde fica o vídeo) mais iluminado */
    background: radial-gradient(circle, #2a3b5c 0%, var(--bg-color) 80%);
    mix-blend-mode: multiply;
    pointer-events: none; /* Para não bloquear interações */
    z-index: 1;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Fica acima do overlay do mix-blend-mode */
}

.slogan-part {
    position: absolute;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -2px;
    text-align: center;
    opacity: 0;
    will-change: opacity, transform;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.arrow-down {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Manifesto Section - Asymmetric */
#manifesto-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5vw;
}

.manifesto-content {
    /* Layout 90/10 com tensão no lado esquerdo */
    max-width: 80%;
    margin-right: auto;
}

.massive-text {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 40px;
}

.manifesto-body p {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 100;
    max-width: 600px;
    line-height: 1.5;
    margin-left: clamp(20px, 10vw, 200px); /* Tensão assimétrica */
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 20px;
}

/* Products Section - Staggered */
#products-section {
    padding: 150px 5vw;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; /* Espaçamento mais rígido (brutalista) */
}

/* O card do meio desce no desktop para quebrar o layout tradicional */
@media (min-width: 992px) {
    .card-2 {
        transform: translateY(80px);
    }
}

.product-card {
    background-color: var(--card-bg);
    /* BORDAS AFIADAS, ZERO ARREDONDAMENTO (Brutalismo moderno) */
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

/* Efeito de hover no Desktop */
@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-10px);
    }
    
    .card-2:hover {
        transform: translateY(70px); /* Mantém o offset */
    }
}

.card-image {
    width: 100%;
    height: 300px;
    background-color: #1a2235;
    position: relative;
    /* Adicionando ruído para dar profundidade tech */
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 10px 10px;
}

.card-info {
    padding: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.card-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-info p {
    font-weight: 100;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* CTA Section */
#cta-section {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 50px;
}

.btn-premium {
    display: inline-block;
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-color);
    background-color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 0; /* Bordas afiadas */
}

/* Leve brilho e hover */
.btn-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium:hover {
    background-color: #e0e0e0;
}
