:root {
    --bg-section: #050505;
}

html {
    font-family: 'Archivo Black', sans-serif !important;
}

html,
body {
    touch-action: manipulation;
}

body {
    background-color: #050505;
    overflow-x: hidden;
}

button {
    pointer-events: auto;
}

.fonte-JetBrains {
    font-family: 'JetBrains Mono', monospace;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bg-grid {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    color: transparent;
}

.scroll-element {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.swiper-projects .swiper-wrapper,
.swiper-wrapper {
    transition-timing-function: linear !important;
}

.swiper-pagination-bullet {
    background: #fff !important;
}

.swiper-pagination-bullet-active {
    width: 20px !important;
    border-radius: 5px !important;
    background: #fff !important;
    transition: all 0.3s linear;
}

.swiper-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.swiper-button-next,
.swiper-button-prev {
    transform: scale(0.7);
    color: #fff !important;
}

.swiper-projects,
.swiper-slide,
.swiper-wrapper {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.destaque {
    margin: 0;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: sans-serif;
}

.carousel-container {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    cursor: grab;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel {
    position: relative;
    height: 320px;
    width: 220px;
    transform-style: preserve-3d;
    will-change: transform;
}

.item {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-box-reflect: below 15px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.2));
}

.item img {
    pointer-events: none;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.stroke-dasharray-full {
    stroke-dasharray: 500;
}

.stroke-dashoffset-full {
    stroke-dashoffset: 500;
}

.group-hover\:stroke-dashoffset-zero {
    stroke-dashoffset: 0;
}

.icon-whatsapp {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.icon-social {
    width: 1.15rem;
    height: 1.15rem;
    display: inline-block;
}

.icon-social-lg {
    width: 1.9rem;
    height: 1.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-48px);
}

.reveal-right {
    transform: translateX(48px);
}

.reveal-down {
    transform: translateY(-32px);
}

.reveal-left.active,
.reveal-right.active,
.reveal-down.active {
    transform: translate(0, 0);
}

.behance {
    position: fixed;
    right: 15px;
    bottom: 30px;
    z-index: 50;
    display: flex;
    height: 40px;
    width: 40px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #1769ff;
    background: #1769ff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: #fff;
}

.behance:hover {
    transform: scale(1.1);
    background: #1961e7;
}

@keyframes pulse-shadow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 220px;
        width: 150px;
    }

    .carousel-container {
        perspective: 800px;
    }

    .swiper-slide img {
        height: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-down {
        opacity: 1;
        transform: none;
    }
}
