body {
    font-family: 'Inter', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-bricolage {
    font-family: 'Bricolage Grotesque', sans-serif !important;
}

.font-mono-aurora {
    font-family: 'Geist Mono', monospace !important;
}

.bg-grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.grid-lines {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    pointer-events: none;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    opacity: 0.12;
}

@media (min-width: 768px) {
    .grid-lines {
        padding: 0 3rem;
    }
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: rgba(226, 232, 221, 0.2);
}

@keyframes cinematicEntrance {
    0% {
        transform: scale(1.4);
        filter: blur(20px) grayscale(100%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        filter: blur(0px) grayscale(0%);
        opacity: 1;
    }
}

.animate-cinematic {
    animation: cinematicEntrance 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUpFade 1s ease-out forwards;
}

@keyframes shimmerMove {
    0% {
        transform: translateX(-150%) skewX(-20deg);
    }

    100% {
        transform: translateX(200%) skewX(-20deg);
    }
}

.animate-shimmer-effect {
    animation: shimmerMove 3s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes drop {
    0% {
        top: -50%;
    }

    100% {
        top: 110%;
    }
}

.line-anim::after {
    content: '';
    display: block;
    position: absolute;
    height: 18vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: linear-gradient(to bottom, rgba(210, 245, 60, 0) 0%, rgba(210, 245, 60, 0.35) 75%, rgba(210, 245, 60, 0.35) 100%);
    animation: drop 7s 0s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.line-1::after {
    animation-delay: 1s;
}

.line-2::after {
    animation-delay: 3.2s;
}

.line-3::after {
    animation-delay: 2.1s;
}

.glass-panel {
    background: rgba(11, 13, 9, 0.6);
    border: 1px solid rgba(226, 232, 221, 0.1);
    backdrop-filter: blur(20px) saturate(1.25);
    -webkit-backdrop-filter: blur(20px) saturate(1.25);
}

.btn-gradient {
    background-image: linear-gradient(144deg, #d2f53c, #728c69 50%, #333a2a);
    box-shadow: 0 15px 30px -5px rgba(210, 245, 60, 0.25);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}

.btn-gradient:active {
    transform: scale(0.96);
}

.btn-gradient .btn-gradient-inner {
    background-color: #0b0d09;
    transition: background-color .25s ease;
}

.btn-gradient:hover .btn-gradient-inner {
    background-color: transparent;
}

.btn-slide span.label-default {
    transition: all .5s ease-out;
}

.btn-slide span.label-hover {
    opacity: 0;
    transform: translateY(-32px);
    filter: blur(6px);
    transition: all .35s ease-in-out;
}

.btn-slide:hover span.label-default {
    transform: translateY(32px);
    opacity: 0;
    filter: blur(6px);
}

.btn-slide:hover span.label-hover {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
}

.btn-slide {
    transition: transform 1s cubic-bezier(.15, .83, .66, 1);
}

.btn-slide:hover {
    transform: translateY(-3px);
}

::selection {
    background: rgba(210, 245, 60, 0.2);
    color: #e2e8dd;
}

/* ============================================================
   Animações da Seção de Projetos Premium
   ============================================================ */

/* Entrada dos cards de projeto */
@keyframes fanSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) rotate(2deg) scale(0.96);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0) scale(1);
        filter: blur(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.animate-on-scroll.animate {
    animation-play-state: running !important;
    opacity: 1;
}

/* Auto-scroll showcase no hover */
.scroll-showcase {
    position: relative;
    overflow: hidden;
}

.scroll-showcase-img {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(0%);
    transition: transform 0s ease;
    will-change: transform;
}

.scroll-showcase:hover .scroll-showcase-img {
    transform: translateY(var(--scroll-travel, -70%));
    transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-showcase:hover .scroll-showcase-img--slow {
    transition: transform 14s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


