/* Custom styles for smooth transitions */
.off-canvas {
    transition: transform 0.3s ease-in-out;
}

.overlay {
    transition: opacity 0.3s ease-in-out;
}

/* Esconde scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Media queries para alternar entre imagens desktop e mobile */
/* Mobile: mostra apenas imagens com classe slide-mobile */
@media (max-width: 768px) {
    .slide-desktop {
        display: none !important;
    }

    .slide-mobile {
        display: block !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Adiciona margem superior no carrossel para compensar o header fixo no mobile */
    #slideContainer {
        margin-top: 0;
    }
}

/* Desktop: mostra apenas imagens com classe slide-desktop */
@media (min-width: 769px) {
    .slide-mobile {
        display: none !important;
    }

    .slide-desktop {
        display: block !important;
    }
}

/* Estilos para OWL Carousel */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(237, 109, 17, 0.9) !important;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
    border: none;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: rgba(237, 109, 17, 1) !important;
    transform: translateY(-50%) scale(1.1);
}

.owl-carousel .owl-nav button.owl-prev {
    left: -25px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -25px;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(0, 23, 129, 0.3);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot span {
    display: none;
}

.owl-carousel .owl-dot.active {
    background: #ed6d11;
    width: 30px;
    border-radius: 6px;
}

/* Centraliza os itens do carrossel quando há poucos items */
.planos-carousel .owl-stage-outer {
    overflow: hidden;
}

.planos-carousel .owl-stage {
    display: flex !important;
    margin: 0 auto !important;
    width: fit-content !important;
}

.planos-carousel {
    display: flex;
    justify-content: center;
}

/* Ícones Flutuantes de Redes Sociais */
.floating-social {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-social a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-social a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-social .facebook {
    background: #1877f2;
}

.floating-social .instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Ícone Flutuante WhatsApp */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.floating-whatsapp a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8);
    }
}

/* Responsivo - Esconder em mobile */
@media (max-width: 768px) {
    .floating-social {
        left: 10px;
    }

    .floating-social a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .floating-whatsapp a {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .floating-whatsapp {
        right: 10px;
        bottom: 10px;
    }
}