/* Base & Noise Texture */
body { margin: 0; overflow-x: hidden; cursor: none; }

.noise-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)\'/%3E%3C/svg%3E");
}

/* Custom Cursor Configurado para Aceleración de GPU */
.cursor-dot, .cursor-outline { 
    position: fixed; top: 0; left: 0;
    border-radius: 50%; z-index: 10000; pointer-events: none; 
    will-change: transform;
}
.cursor-dot { 
    width: 8px; height: 8px; 
    background-color: #3BA35A; /* Verde Obrato */
    margin-top: -4px; margin-left: -4px;
}
.cursor-outline { 
    width: 40px; height: 40px; 
    border: 1px solid rgba(59, 163, 90, 0.5); 
    margin-top: -20px; margin-left: -20px;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s; 
}
.hover-active .cursor-outline { 
    width: 60px; height: 60px; 
    margin-top: -30px; margin-left: -30px;
    background-color: rgba(59, 163, 90, 0.1); 
    border-color: transparent; backdrop-filter: blur(2px); 
}

/* Typography Utilities */
.text-outline { -webkit-text-stroke: 1px rgba(0,0,0,0.5); color: transparent; }
.dark .text-outline { -webkit-text-stroke: 1px rgba(255,255,255,0.2); color: transparent; }

.clip-text { 
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%); 
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1); 
}
.clip-text.is-visible { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }

/* Bento Grid Magnetic Glow */
.bento-card {
    background: rgba(0, 0, 0, 0.03); 
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative; overflow: hidden; transition: border-color 0.5s;
}
.dark .bento-card {
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.bento-card::before {
    content: ""; position: absolute; top: var(--y); left: var(--x); transform: translate(-50%, -50%);
    width: 600px; height: 600px; background: radial-gradient(circle, rgba(20,79,102,0.15) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 0;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover { border-color: rgba(20, 79, 102, 0.5); }
.bento-content { position: relative; z-index: 1; }

/* Infinite Marquee */
.marquee-container { 
    overflow: hidden; white-space: nowrap; width: 100%; display: flex; 
    border-top: 1px solid transparent; border-bottom: 1px solid transparent; padding: 20px 0; 
}
.marquee-content { display: flex; animation: marquee 25s linear infinite; will-change: transform; }
.marquee-content span { 
    font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; 
    margin: 0 40px; text-transform: uppercase; 
}

@keyframes marquee { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* Logos Slide Animation */
.animate-slide-logos {
    animation: slide-logos 35s linear infinite;
    will-change: transform;
}
@keyframes slide-logos { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* Images Parallax Container */
.img-parallax-container { overflow: hidden; border-radius: 2rem; position: relative; }
.img-parallax { width: 100%; height: 130%; object-fit: cover; position: absolute; top: -15%; will-change: transform; }

@keyframes scrollDown { 0% {top: -100%} 100% {top: 100%} }

/* Nav Link Premium Hover */
.nav-link {
    position: relative;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
    will-change: transform;
}
.nav-link:hover {
    transform: scale(1.15);
    color: #3BA35A !important;
}
.nav-link::after {
    content: ''; position: absolute; width: 100%; height: 2px;
    bottom: -4px; left: 0; background-color: #3BA35A;
    transform: scaleX(0); transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: bottom left; }