/* Customizações da barra de navegação do materialize */

/* Botão Hamburguer */
.sidenav-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    color: var(--primary-text) !important;
}

@media(max-width: 600px) {
    .sidenav-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 32px;
        color: var(--primary-text) !important;
    }

}

/* Background da barra de navegação */
.custom-nav {
    background-color: white !important;
    color: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;

}

.custom-nav .nav-wrapper .brand-logo {
    color: var(--primary-text) !important;
    height: 100%;
    display: flex;
    align-items: center;
}

.custom-nav ul li a {
    color: var(--primary-text) !important;
    font-weight: bold;
    font-family: 'Nunito', sans-serif;
}

.custom-nav ul li a:hover {
    color: var(--primary-text) !important;
    background-color: var(--primary-background) !important;
}

/* Efeito de zoom nas regiões do mapa ao acionar o hover */
.zomify {
    transition: all .6s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 1;
    background-position: center;
    transform: translateZ(0px);
    transition-delay: .2s;
}

.zomify:hover {
    transform: scale(1.10) translate(-6%, -5%);

    filter: drop-shadow(3px 2px rgba(0, 0, 2px, .6));
    z-index: 2;
}

/* Carrossel de produtos e parcerias */
.solucoes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.solucoes .item {
    overflow: hidden;
    display: block;
    position: relative;
    aspect-ratio: 12/16;
    border-radius: var(--main-curve);
}

.solucoes .item .mask {
    min-height: 100%;
    border-radius: var(--main-curve);
    background-size: 100%;
    background-position: center;
    transition: all .6s cubic-bezier(0.075, 0.82, 0.165, 1);
    filter: brightness(1);
    z-index: 1
}

.solucoes .item:hover .mask {
    transition: all .6s cubic-bezier(0.075, 0.82, 0.165, 1);
    filter: brightness(0.8);
}

.solucoes .item .overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    display: block;
    z-index: 2;
    aspect-ratio: 12/16;
    padding: 16px;
    bottom: -60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    transition: all .6s cubic-bezier(0.075, 0.82, 0.165, 1);
    opacity: 0;
}

.solucoes .item:hover .overlay {
    bottom: 0%;
    backdrop-filter: blur(10px);
    transition: all .6s cubic-bezier(0.075, 0.82, 0.165, 1);
    opacity: 1;
}

@media (hover:none) {
    .solucoes .item .overlay {
        height: 100%;
        width: 100%;
        position: absolute;
        display: block;
        z-index: 2;
        aspect-ratio: 12/16;
        padding: 8px;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        transition: all .6s cubic-bezier(0.075, 0.82, 0.165, 1);
    }
}

/* Alterações no tema do owl-carousel */
.carroussel {
    display: grid;
    overflow-x: auto;
    overscroll-behavior-block: contain;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth 3s;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 0px;
    height: inherit;
    align-items: center;
}

.car-section img {
    width: 120px;
    height: 120px;
    align-items: center;
    width: inherit;
}

.owl-stage {
    display: flex;
    align-items: center;
}

.owl-stage .owl-item {
    height: 100%;
    

}

.owl-nav {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: flex-end;
    right: 0px;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: 0 !important;
    height: calc(100% - 16px);
    top: 0px;
}

.owl-carousel button.owl-dot {

    border: none;
    padding: 0 !important;
    font: inherit;
}

.owl-dots {
    z-index: 20;
    padding: 0px !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 16px 0px 0px 0px;
    z-index: 10;
}

.owl-dots .owl-dot {
    width: 16px !important;
    height: 16px !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-radius: 100%;
    margin: 8px;
    transition: all 0.2s ease-in-out;
}

@media(min-width: 320px) and (max-width: 769px) {
    .owl-dots .owl-dot {
        width: 12px !important;
        height: 12px !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
        border-radius: 100%;
        margin: 4px;
        transition: all 0.2s ease-in-out;
    }
}

.owl-dot.active {
    transition: all 0.2s ease-in-out;
    background-color: var(--accent) !important;
    box-shadow: 0px 0px 20px var(--accent);
}


/* Botões personalizados para o carrosel */
.main_btn {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    padding: 0px 24px;
    font-family: 'Nunito', sans-serif !important;
    font-weight: bold;
    gap: 16px;
    font-size: 1rem;
}

.main_btn .icon {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 24px;
    border-radius: var(--main-curve)
}

.big_btn {
    height: 56px;
    border-radius: var(--main-curve);
    border: 0px solid #ffffff;
}

.prim_btn {
    background-color: white;
    color: var(--main-text-color);
    transition: all 0.2s ease-in-out;
    -webkit-box-shadow: 0px 0px 0px 1px var(--main-text-color);
    -moz-box-shadow: 0px 0px 0px 1px var(--main-text-color);
    box-shadow: 0px 0px 0px 1px var(--main-text-color);
    border-radius: var(--main-curve);

}

.prim_btn.verde {
    background-color: #25D366 !important;
}

.prim_btn:hover {
    background-color: var(--primary-color);
    color: white;
    -webkit-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease-in-out;
    transform: scale(1.02);
}



.prim_btn:focus {
    background-color: var(--button-focused-background);
    transition: all 0.2s ease-in-out;
}



.sec_btn {
    background-color: transparent;
    color: white;
    transition: all 0.2s ease-in-out;
    -webkit-box-shadow: 0px 0px 0px 1px white;
    -moz-box-shadow: 0px 0px 0px 1px white;
    box-shadow: 0px 0px 0px 1px white;
    border-radius: var(--main-curve);

}

.sec_btn:hover {
    background-color: white;
    color: var(--primary-text);
    transform: scale(1.02);
    transition: all 0.2s ease-in-out;
}

.sec_btn:focus {
    background-color: var(--button-focused-background);
    color: var(--prim-color);
    transition: all 0.2s ease-in-out;
}

.hero .hero-background {
    transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
    border-radius: 1.5rem;
    opacity: 0;
    transform: translateY(100%);
    backdrop-filter: blur(10px);
}

.hero:hover .hero-background {
    opacity: 1;
    transform: translateY(0%);
}

.animationBackground{
    animation: pan 6s ease-in-out forwards;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.animateTextOverBackground{
    animation: up .6s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
    animation-delay: 6s;
    opacity: 0;
}

.animateTextOverBackground.delay{
    animation: up .6s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
    animation-delay: 6.2s;
    opacity: 0;
}

@keyframes pan {
    0% {
        transform: skew(0deg, 2deg) scale(1.1) translateX(10%);
    }
    100% {
        transform: skew(0deg, -2deg) scale(1.1) translateX(-25%);
    }
}

@keyframes up{
    0%{
        transform: translateY(20px);
        opacity: 0;
    }
    100%{
        transform: translateY(0%);
        opacity: 1;
    }
}