:root {
    --bg: #050505;
    --text: #ffffff;
    --gray: #333333;
    --orange: #FF5500;
    --font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
}

/* --- NAVBAR & HAMBURGER --- */
.navbar {
    position: fixed; top: 0; width: 100%; 
    padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    /* SEM mix-blend-mode no container pai */
}

/* Inversão apenas nos textos e logo */
.logo, .nav-items a:not(.btn-fox-neon-nav), .hamburger { 
    mix-blend-mode: difference; 
    color: #fff; z-index: 1001;
}
.orange { color: var(--orange); }

.nav-items { display: flex; align-items: center; gap: 2rem; }
.nav-items a { text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
/* --- HOVER NO MENU (Forçando Laranja em qualquer fundo) --- */
.nav-items a {
    position: relative;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* O Segredo: Ao passar o mouse, desligamos o mix-blend-mode */
.nav-items a:hover {
    color: var(--orange) !important; /* Força Laranja */
    mix-blend-mode: normal !important; /* Desliga a inversão de cor (evita azul neon) */
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.4); /* Um brilho leve */
}

/* Garante que funcione também na lista do Mobile Overlay se quiser */
.mobile-link:hover {
    color: var(--orange) !important;
}

/* Botão Navbar */
.btn-fox-neon-nav {
    padding: 0.6rem 1.5rem;
    background: rgba(5, 5, 5, 0.85); /* Fundo escuro fixo */
    border: 1px solid var(--orange);
    color: #fff !important; 
    border-radius: 50px; font-size: 0.8rem; transition: all 0.3s ease;
    isolation: isolate; 
}
.btn-fox-neon-nav:hover { background: var(--orange); box-shadow: 0 0 15px rgba(255, 85, 0, 0.6); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; width: 30px; mix-blend-mode: difference; }
.line { width: 100%; height: 2px; background-color: #fff; transition: all 0.3s ease; }
body.menu-open .line-1 { transform: rotate(45deg) translate(5px, 6px); }
body.menu-open .line-2 { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: #000; z-index: 999; display: flex; flex-direction: column; justify-content: center;
    padding: 10%; opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.4s ease;
}
body.menu-open .mobile-overlay { opacity: 1; visibility: visible; pointer-events: all; }
.mobile-links { display: flex; flex-direction: column; gap: 2rem; }
.mobile-link { font-size: 3rem; font-weight: 800; color: #fff; text-decoration: none; transition: color 0.3s; }
.mobile-link:hover, .mobile-link.highlight { color: var(--orange); }
.mobile-footer { position: absolute; bottom: 40px; left: 10%; font-size: 0.9rem; color: #666; }
.mobile-footer .socials { margin-top: 10px; display: flex; gap: 20px; }
.mobile-footer a { color: #fff; text-decoration: none; }

/* --- HERO --- */
.hero { position: relative; height: 100vh; display: flex; align-items: center; padding: 0 5%; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.bg-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(5,5,5,0.7), rgba(5,5,5,0.95)); }
.hero-content { position: relative; z-index: 10; max-width: 900px; }
.tagline { color: var(--orange); font-size: 0.85rem; letter-spacing: 0.3em; font-weight: 800; margin-bottom: 1.5rem; display: inline-block; background: rgba(255, 85, 0, 0.1); padding: 0.5rem 1rem; border-radius: 4px; border: 1px solid rgba(255, 85, 0, 0.2); }
.headline { font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; line-height: 1.05; margin-bottom: 2rem; color: #fff; }
.outline-text { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); }
.description { font-size: 1.1rem; color: #ccc; max-width: 550px; line-height: 1.6; margin-bottom: 3rem; border-left: 2px solid var(--orange); padding-left: 1.5rem; }

.btn-fox-neon { position: relative; display: inline-flex; justify-content: center; align-items: center; padding: 1rem 2.5rem; background: rgba(255, 85, 0, 0.05); border: 1px solid var(--orange); border-radius: 50px; color: #fff; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; overflow: hidden; transition: all 0.3s ease; z-index: 1; cursor: pointer; }
.btn-fox-neon:hover { background: var(--orange); box-shadow: 0 0 20px rgba(255, 85, 0, 0.6); transform: translateY(-2px); }
.btn-fox-neon::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,85,0,0.4), rgba(255,255,255,0.8), rgba(255,85,0,0.4), transparent); filter: blur(8px); transform: skewX(-25deg); animation: mist-pass 4s infinite; z-index: -1; }
@keyframes mist-pass { 0% { left: -100%; opacity: 0; } 10% { opacity: 1; } 40% { left: 200%; opacity: 0; } 100% { left: 200%; opacity: 0; } }

/* --- MANIFESTO (Branco) --- */
/* --- MANIFESTO COM EFEITO BLUR REVEAL --- */
.manifesto-section {
    background-color: #ffffff;
    color: #000000;
    padding: 8rem 5%;
    position: relative;
    z-index: 20;
}

.manifesto-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Estilo Base (Estado Inicial: Invisível e Desfocado) */
.reveal-on-scroll {
    opacity: 0;                /* Invisível */
    filter: blur(15px);        /* Muito Desfocado */
    transform: translateY(40px); /* Deslocado para baixo */
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1); /* Transição Ultra Suave */
}

/* Quando o JS adiciona a classe .active (Estado Final: Visível e Nítido) */
.reveal-on-scroll.active {
    opacity: 1;                /* Aparece */
    filter: blur(0px);         /* Fica Nítido */
    transform: translateY(0);  /* Sobe para o lugar certo */
}

/* --- TIPOGRAFIA --- */
.manifesto-text {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: #050505; /* Preto Profundo */
}

.manifesto-sub {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.5;
    color: #666; /* Cinza escuro */
    max-width: 800px;
    margin: 0 auto;
    /* Atraso leve para o parágrafo aparecer depois do título */
    transition-delay: 0.2s; 
}

/* Destaques */
.manifesto-text .orange { color: var(--orange); }
.highlight-black { font-weight: 800; color: #000; }

/* --- NOVO: SERVICES LIST LAYOUT (Tipo Menu) --- */
.services-list-layout {
    background-color: var(--bg);
    padding: 8rem 5%;
    position: relative;
    z-index: 10;
}
.list-container { max-width: 1200px; margin: 0 auto; }
.section-label { color: var(--orange); font-size: 0.9rem; letter-spacing: 0.2em; font-weight: 800; margin-bottom: 3rem; display: block; }

.service-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.4s ease;
}
.service-num { font-size: 1rem; color: #666; margin-right: 2rem; font-family: monospace; }
.service-name { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; color: #fff; margin: 0; transition: color 0.3s ease, padding-left 0.3s ease; }
.service-arrow { font-size: 2rem; color: #666; transition: all 0.3s ease; opacity: 0; transform: translateX(-20px); }

/* Hover Effect na Lista */
.service-item:hover { border-bottom: 1px solid var(--orange); }
.service-item:hover .service-name { color: var(--orange); padding-left: 20px; font-weight: 500; }
.service-item:hover .service-arrow { opacity: 1; transform: translateX(0); color: var(--orange); }

/* --- CONTROLE DE CORES DO MENU NO BRANCO --- */
body.menu-on-white .logo, body.menu-on-white .nav-items a { color: #000000 !important; }
body.menu-on-white .hamburger .line { background-color: #000000 !important; }
body.menu-on-white .btn-fox-neon-nav { background-color: #FF5500 !important; border-color: #FF5500 !important; color: #ffffff !important; mix-blend-mode: normal !important; }

/* --- PRELOADER & HELPERS --- */
#fox-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1); }
.loader-container { width: 300px; position: relative; text-align: center; }
.fox-runner { position: absolute; bottom: 15px; left: 0; transform: translateX(-50%); width: 60px; height: 60px; z-index: 2; }
.fox-img { width: 100%; height: 100%; object-fit: contain; }
.progress-track { width: 100%; height: 4px; background-color: var(--gray); border-radius: 2px; position: relative; overflow: hidden; }
.progress-fill { width: 0%; height: 100%; background-color: var(--orange); transition: width 0.1s linear; box-shadow: 0 0 15px rgba(255, 85, 0, 0.8); }
.percentage-text { margin-top: 15px; font-size: 0.8rem; color: #666; font-weight: 500; }
body.loaded #fox-loader { transform: translateY(-100%); }

.bg-fox-shape { position: absolute; right: -20%; top: 10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(255,85,0,0.1) 0%, transparent 70%); pointer-events: none; opacity: 0.4; }

.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.fade-up.visible, .visible .fade-up { opacity: 1; transform: translateY(0); }

/* Responsividade Mobile */
@media (max-width: 768px) {
    .desktop-only { display: none; }
    .hamburger { display: flex; }
    .hero-content { padding-top: 60px; }
}

/* --- SEÇÃO VÍDEO PORTFÓLIO (CORRIGIDO: Grid 2x3 Minimalista) --- */
.video-portfolio-section {
    background-color: #F5F5F7; /* Fundo Claro */
    color: #000;
    /* Aumentei o padding para dar mais ar (minimalismo) */
    padding: 10rem 5%;
    position: relative;
    z-index: 10;
}

.portfolio-wrapper {
    display: flex;
    /* No desktop, não deixa quebrar linha */
    flex-wrap: nowrap; 
    justify-content: space-between;
    /* Limita a largura máxima para os vídeos não ficarem gigantes */
    max-width: 1200px; 
    margin: 0 auto;
    position: relative;
    gap: 4rem; /* Espaço entre texto e grid */
}

/* 1. Coluna da Esquerda (Texto Sticky Minimalista) */
.portfolio-text-col {
    flex: 0 0 35%; /* Ocupa 35% */
    position: sticky;
    top: 25%; /* Posição de fixação */
    height: fit-content;
}

.sticky-title {
    /* Fonte grande, mas controlada */
    font-size: clamp(2rem, 3vw, 3rem); 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #000;
    letter-spacing: -0.02em;
}

/* Destaque Laranja */
.sticky-title .orange { color: var(--orange); }

.sticky-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 300px;
}

.btn-fox-simple {
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 85, 0, 0.3);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}
.btn-fox-simple:hover { border-color: var(--orange); }

/* 2. Coluna da Direita (GRID 2x3 FIXO) */
.portfolio-grid-col {
    flex: 1; /* Ocupa o resto do espaço */
    display: grid;
    /* --- AQUI ESTÁ A CORREÇÃO CHAVE --- */
    /* Força exatamente 2 colunas de tamanhos iguais */
    grid-template-columns: 1fr 1fr; 
    /* Espaçamento entre os vídeos (ajuste se quiser mais/menos) */
    gap: 2rem; 
}

/* Card de Vídeo (Menor e mais arredondado) */
.video-card {
    position: relative;
    /* Cantos muito arredondados como na imagem */
    border-radius: 35px; 
    overflow: hidden;
    /* Proporção 3:4 (Retrato, mas não tão alto quanto stories)
       Isso faz eles parecerem "menores" e caberem melhor em 3 linhas */
    aspect-ratio: 3 / 4; 
    background: #000;
    cursor: pointer;
    /* Sombra suave para destacar do fundo claro */
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transform: translateZ(0); /* Correção de performance para Safari */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

/* O Vídeo e o Poster */
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Levemente escuro quando parado para destacar o texto branco */
    filter: brightness(0.85);
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* Informações (Texto sobre o vídeo) */
.video-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
    color: #fff;
    pointer-events: none;
}

.client-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255,255,255,0.25);
    padding: 6px 12px;
    border-radius: 30px;
    backdrop-filter: blur(10px); /* Efeito vidro fosco */
}

/* --- EFEITOS DE INTERAÇÃO (HOVER) --- */
.video-card:hover {
    /* Sobe um pouco */
    transform: translateY(-8px); 
    /* Sombra aumenta */
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.video-card:hover video {
    /* Fica com brilho normal */
    filter: brightness(1); 
    /* Leve zoom interno */
    transform: scale(1.03);
}

/* Responsividade */
@media (max-width: 900px) {
    .video-portfolio-section { padding: 6rem 5%; }
    .portfolio-wrapper { flex-direction: column; gap: 3rem; }
    .portfolio-text-col { 
        flex: auto; position: relative; top: 0; width: 100%; margin-bottom: 2rem; text-align: center;
    }
    .sticky-desc { margin: 0 auto 2rem auto; }
    /* No mobile/tablet, mantém 2 colunas mas com gap menor */
    .portfolio-grid-col { gap: 1rem; }
    .video-card { border-radius: 25px; }
}

@media (max-width: 480px) {
    /* Em telas muito pequenas (celular em pé), vira 1 coluna */
    .portfolio-grid-col { grid-template-columns: 1fr; }
    .video-card { aspect-ratio: 4/5; /* Um pouco mais quadrado no mobile */ }
}