html {
    overflow-x: hidden;
    max-width: 100vw;
}

canvas {
    display: block;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    max-width: 100vw;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

::-webkit-scrollbar {
    width: 2px;
}
::-webkit-scrollbar-track {
    background: none;
}
::-webkit-scrollbar-thumb {
    background: #1ed760;
}
::-webkit-scrollbar-thumb:hover {
    background: #818181;
}

body .loading {
    overflow: hidden !important;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;

    background-color: #2810e8;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out;
}

#preloader img {
    width: initial;
    height: initial;
}

#preloader.fade-out {
    opacity: 0;
}

.team-overlay {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.team-overlay.active {
    clip-path: inset(0 0 0 0);
    border: 3px solid white;
    transition:
        clip-path 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
        border 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

#logo-rumpi {
    height: fit-content;
}

video {
    width: 100%;
    height: 100%;
}

video {
    display: block;
}

section {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

#oferecemos {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.sound-bar {
    flex: 1;
    min-width: 8px;
    max-width: 8px;
    min-height: 20px;
    background: linear-gradient(180deg, #fff200 100%);
    border-radius: 10px;
}

.team {
    max-width: 8px;
    background: #1900ff;
}

@media (min-width: 768px) {
    .sound-bar {
        max-width: 12px;
    }
}

.btn-animated {
    position: relative;
    background: #fff200;
    border: 3px solid #2810e8;
    padding: 12px 24px;
    color: #2810e8;
    font-weight: bold;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 0;
    cursor: pointer;
}

.btn-animated span {
    color: #2810e8;
    transition: color 0.3s ease;
}

.btn-animated::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #2810e8;
    border-right: 1px solid #2810e8;
    content: "";
    transition: width 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-animated::after {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: inherit;
    width: 100%;
    height: 100%;
    background: #2810e8;
    clip-path: inset(0 100%);
    color: #fff200;
    transition: clip-path 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 1;
}

.btn-animated:hover {
    color: #fff200;
}

.btn-animated:hover span {
    color: #fff200;
}

.btn-animated:hover::before {
    width: 100%;
    border: #1900ff solid 3px;
}

.btn-animated:hover::after {
    clip-path: inset(0 0);
}

.faq-question {
    position: relative;
    background: #fff200;
    border: 3px solid #2810e8;
    padding: 12px 24px;
    color: #2810e8;
    font-weight: bold;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-question::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #2810e8;
    border-right: 1px solid #2810e8;
    content: "";
    transition: width 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.faq-question::after {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: inherit;
    width: 100%;
    height: 100%;
    background: #2810e8;
    clip-path: inset(0 100%);
    color: #fff200;
    transition: clip-path 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    content: attr(data-text);
    z-index: 1;
}

.faq-question:hover,
.faq-question.active {
    color: #fff200;
}

.faq-question:hover h3,
.faq-question.active h3 {
    color: #fff200;
    z-index: 100000000;
}

.faq-question:hover::before,
.faq-question.active::before {
    width: 100%;
    border: #1900ff solid 3px;
}

.faq-question:hover::after,
.faq-question.active::after {
    clip-path: inset(0 0);
}

.faq-question:hover svg,
.faq-question.active svg {
    stroke: #fff200;
    z-index: 100000000;
}
.carousel-container {
    position: relative;
    width: 100%;
    padding: 0 60px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-out;
}

.carousel-item {
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff200;
    border: 3px solid #2810e8;
    color: #2810e8;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover:not(:disabled) {
    background: #2810e8;
    color: #fff200;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .carousel-container {
        padding: 0 15px;
    }

    .carousel-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 20px 41px;
        grid-auto-flow: column;
    }

    .carousel-btn {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 1024px) {
    .carousel-container {
        padding: 0;
        max-width: 890px;
        margin: 0 auto;
    }

    .carousel-track {
        gap: 20px 30px;
        padding-left: 30px;
    }
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2810e8;
    border: 2px solid #fff200;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    transform: scale(1.1);
}

.carousel-indicator.active {
    background: #fff200;
    border: 2px solid #2810e8;
}
.cards-stack-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    overflow: hidden;
}

.cards-stack {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.stack-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: fit-content;
    background: #f4f5f5;
    border: 3px solid #2810e8;
    box-shadow: -16px 4px 0px 0px #fff200;
    transform-origin: center center;
    opacity: 1;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.stack-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stack-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding: 0;
    background: #f4f5f5;
    z-index: 1;
    gap: 10px;
}

.stack-card-header {
    padding: 16px 12px;
    border-bottom: 3px solid #2810e8;
}

.stack-card-title {
    padding: 0 10px 0 12px;
    border-bottom: 3px solid transparent;
}

.stack-card-description {
    padding: 14px 12px;
}

@media (min-width: 768px) {
    .cards-stack-container {
        padding: 60px 30px;
    }

    .cards-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .cards-stack-container {
        padding: 40px 40px;
    }

    .cards-stack {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        max-width: 1200px;
    }
}

.carousel-item {
    display: flex;
    flex-direction: column-reverse;
}

.btn-slider[aria-current="true"] {
    background: #1ed760;
    transition: all 0.3s ease;
    border: #fff200 solid 1px;
}

#yt-popup.active {
    opacity: 1;
    pointer-events: auto;
}
